Add decompiled APK source code (JADX)

- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-02-18 14:52:23 -08:00
parent cc210a65ea
commit f9d20bb3fc
26991 changed files with 2541449 additions and 0 deletions

View File

@@ -0,0 +1,149 @@
package com.google.android.gms.common.internal;
import android.util.Log;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.android.gms.common.annotation.KeepForSdk;
@KeepForSdk
/* loaded from: classes2.dex */
public final class GmsLogger {
private final String zza;
@Nullable
private final String zzb;
@KeepForSdk
public GmsLogger(@NonNull String str) {
this(str, null);
}
private final String zza(String str) {
String str2 = this.zzb;
return str2 == null ? str : str2.concat(str);
}
private final String zzb(String str, Object... objArr) {
String str2 = this.zzb;
String format = String.format(str, objArr);
return str2 == null ? format : str2.concat(format);
}
@KeepForSdk
public boolean canLog(int i) {
return Log.isLoggable(this.zza, i);
}
@KeepForSdk
public boolean canLogPii() {
return false;
}
@KeepForSdk
public void d(@NonNull String str, @NonNull String str2) {
if (canLog(3)) {
zza(str2);
}
}
@KeepForSdk
public void e(@NonNull String str, @NonNull String str2) {
if (canLog(6)) {
Log.e(str, zza(str2));
}
}
@KeepForSdk
public void efmt(@NonNull String str, @NonNull String str2, @NonNull Object... objArr) {
if (canLog(6)) {
Log.e(str, zzb(str2, objArr));
}
}
@KeepForSdk
public void i(@NonNull String str, @NonNull String str2) {
if (canLog(4)) {
zza(str2);
}
}
@KeepForSdk
public void pii(@NonNull String str, @NonNull String str2) {
}
@KeepForSdk
public void pii(@NonNull String str, @NonNull String str2, @NonNull Throwable th) {
}
@KeepForSdk
public void v(@NonNull String str, @NonNull String str2) {
if (canLog(2)) {
zza(str2);
}
}
@KeepForSdk
public void w(@NonNull String str, @NonNull String str2) {
if (canLog(5)) {
Log.w(str, zza(str2));
}
}
@KeepForSdk
public void wfmt(@NonNull String str, @NonNull String str2, @NonNull Object... objArr) {
if (canLog(5)) {
Log.w(this.zza, zzb(str2, objArr));
}
}
@KeepForSdk
public void wtf(@NonNull String str, @NonNull String str2, @NonNull Throwable th) {
if (canLog(7)) {
Log.e(str, zza(str2), th);
Log.wtf(str, zza(str2), th);
}
}
@KeepForSdk
public GmsLogger(@NonNull String str, @Nullable String str2) {
Preconditions.checkNotNull(str, "log tag cannot be null");
Preconditions.checkArgument(str.length() <= 23, "tag \"%s\" is longer than the %d character maximum", str, 23);
this.zza = str;
this.zzb = (str2 == null || str2.length() <= 0) ? null : str2;
}
@KeepForSdk
public void d(@NonNull String str, @NonNull String str2, @NonNull Throwable th) {
if (canLog(3)) {
zza(str2);
}
}
@KeepForSdk
public void e(@NonNull String str, @NonNull String str2, @NonNull Throwable th) {
if (canLog(6)) {
Log.e(str, zza(str2), th);
}
}
@KeepForSdk
public void i(@NonNull String str, @NonNull String str2, @NonNull Throwable th) {
if (canLog(4)) {
zza(str2);
}
}
@KeepForSdk
public void v(@NonNull String str, @NonNull String str2, @NonNull Throwable th) {
if (canLog(2)) {
zza(str2);
}
}
@KeepForSdk
public void w(@NonNull String str, @NonNull String str2, @NonNull Throwable th) {
if (canLog(5)) {
Log.w(str, zza(str2), th);
}
}
}