- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
23 lines
701 B
Java
23 lines
701 B
Java
package com.google.android.gms.common.stats;
|
|
|
|
import android.os.PowerManager;
|
|
import android.os.Process;
|
|
import android.text.TextUtils;
|
|
import androidx.annotation.NonNull;
|
|
import com.google.android.gms.common.annotation.KeepForSdk;
|
|
|
|
@KeepForSdk
|
|
@Deprecated
|
|
/* loaded from: classes2.dex */
|
|
public class StatsUtils {
|
|
@NonNull
|
|
@KeepForSdk
|
|
public static String getEventKey(@NonNull PowerManager.WakeLock wakeLock, @NonNull String str) {
|
|
String valueOf = String.valueOf((Process.myPid() << 32) | System.identityHashCode(wakeLock));
|
|
if (true == TextUtils.isEmpty(str)) {
|
|
str = "";
|
|
}
|
|
return String.valueOf(valueOf).concat(String.valueOf(str));
|
|
}
|
|
}
|