granularity level: instruction

		.class public Lcom/google/android/gms/common/util/WorkSourceUtil;
.super Ljava/lang/Object;
.source "com.google.android.gms:play-services-basement@@18.1.0"


.field private static final zza:I
.field private static final zzb:Ljava/lang/reflect/Method;
.field private static final zzc:Ljava/lang/reflect/Method;
.field private static final zzd:Ljava/lang/reflect/Method;
.field private static final zze:Ljava/lang/reflect/Method;
.field private static final zzf:Ljava/lang/reflect/Method;
.field private static final zzg:Ljava/lang/reflect/Method;
.field private static final zzh:Ljava/lang/reflect/Method;
.field private static final zzi:Ljava/lang/reflect/Method;


.method static constructor <clinit>()V
	.locals 8

	const-string v0, "add"
	invoke-static {}, Landroid/os/Process;->myUid()I
	move-result v1
	sput v1, Lcom/google/android/gms/common/util/WorkSourceUtil;->zza:I
	const/4 v1, 0x1
	const/4 v2, 0x0
	const/4 v3, 0x0
	new-array v4, v1, [Ljava/lang/Class;
	sget-object v5, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
	aput-object v5, v4, v2
	const-class v5, Landroid/os/WorkSource;
	invoke-virtual {v5, v0, v4}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
	move-result-object v4
	sput-object v4, Lcom/google/android/gms/common/util/WorkSourceUtil;->zzb:Ljava/lang/reflect/Method;
	invoke-static {}, Lcom/google/android/gms/common/util/PlatformVersion;->isAtLeastJellyBeanMR2()Z
	move-result v4
	const/4 v5, 0x2
	new-array v4, v5, [Ljava/lang/Class;
	sget-object v6, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
	aput-object v6, v4, v2
	const-class v6, Ljava/lang/String;
	aput-object v6, v4, v1
	const-class v6, Landroid/os/WorkSource;
	invoke-virtual {v6, v0, v4}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
	move-result-object v0
	sput-object v0, Lcom/google/android/gms/common/util/WorkSourceUtil;->zzc:Ljava/lang/reflect/Method;
	const-class v0, Landroid/os/WorkSource;
	const-string v4, "size"
	new-array v6, v2, [Ljava/lang/Class;
	invoke-virtual {v0, v4, v6}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
	move-result-object v0
	sput-object v0, Lcom/google/android/gms/common/util/WorkSourceUtil;->zzd:Ljava/lang/reflect/Method;
	new-array v0, v1, [Ljava/lang/Class;
	sget-object v4, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
	aput-object v4, v0, v2
	const-class v4, Landroid/os/WorkSource;
	const-string v6, "get"
	invoke-virtual {v4, v6, v0}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
	move-result-object v0
	sput-object v0, Lcom/google/android/gms/common/util/WorkSourceUtil;->zze:Ljava/lang/reflect/Method;
	invoke-static {}, Lcom/google/android/gms/common/util/PlatformVersion;->isAtLeastJellyBeanMR2()Z
	move-result v0
	new-array v0, v1, [Ljava/lang/Class;
	sget-object v4, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
	aput-object v4, v0, v2
	const-class v4, Landroid/os/WorkSource;
	const-string v6, "getName"
	invoke-virtual {v4, v6, v0}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
	move-result-object v0
	sput-object v0, Lcom/google/android/gms/common/util/WorkSourceUtil;->zzf:Ljava/lang/reflect/Method;
	invoke-static {}, Lcom/google/android/gms/common/util/PlatformVersion;->isAtLeastP()Z
	move-result v0
	const-string v4, "WorkSourceUtil"
	const-class v0, Landroid/os/WorkSource;
	const-string v6, "createWorkChain"
	new-array v7, v2, [Ljava/lang/Class;
	invoke-virtual {v0, v6, v7}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
	move-result-object v0
	sput-object v0, Lcom/google/android/gms/common/util/WorkSourceUtil;->zzg:Ljava/lang/reflect/Method;
	invoke-static {}, Lcom/google/android/gms/common/util/PlatformVersion;->isAtLeastP()Z
	move-result v0
	const-string v0, "android.os.WorkSource$WorkChain"
	invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
	move-result-object v0
	new-array v5, v5, [Ljava/lang/Class;
	sget-object v6, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
	aput-object v6, v5, v2
	const-class v6, Ljava/lang/String;
	aput-object v6, v5, v1
	const-string v6, "addNode"
	invoke-virtual {v0, v6, v5}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
	move-result-object v0
	sput-object v0, Lcom/google/android/gms/common/util/WorkSourceUtil;->zzh:Ljava/lang/reflect/Method;
	invoke-static {}, Lcom/google/android/gms/common/util/PlatformVersion;->isAtLeastP()Z
	move-result v0
	if-eqz v0, :cond_4
	:try_start_7
	const-class v0, Landroid/os/WorkSource;
	const-string v4, "isEmpty"
	new-array v2, v2, [Ljava/lang/Class;
	invoke-virtual {v0, v4, v2}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
	move-result-object v3
	invoke-virtual {v3, v1}, Ljava/lang/reflect/Method;->setAccessible(Z)V
	:try_end_7
	.catch Ljava/lang/Exception; {:try_start_7 .. :try_end_7} :catch_7
	:catch_7
	:cond_4
	sput-object v3, Lcom/google/android/gms/common/util/WorkSourceUtil;->zzi:Ljava/lang/reflect/Method;
	return-void
.end method

.method private constructor <init>()V
	.locals 0

	invoke-direct/range {p0 .. p0}, Ljava/lang/Object;-><init>()V
	return-void
.end method

.method public static add(Landroid/os/WorkSource;ILjava/lang/String;)V
	.locals 6

	return-void
.end method

.method public static fromPackage(Landroid/content/Context;Ljava/lang/String;)Landroid/os/WorkSource;
	.locals 3

	const/4 v0, 0x0
	return-object v0
.end method

.method public static fromPackageAndModuleExperimentalPi(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Landroid/os/WorkSource;
	.locals 9

	const/4 v0, 0x0
	return-object v0
.end method

.method public static get(Landroid/os/WorkSource;I)I
	.locals 3

	const/4 v0, 0x0
	return v0
.end method

.method public static getName(Landroid/os/WorkSource;I)Ljava/lang/String;
	.locals 3

	const/4 v0, 0x0
	return-object v0
.end method

.method public static getNames(Landroid/os/WorkSource;)Ljava/util/List;
	.locals 5
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"(",
	"Landroid/os/WorkSource;",
	")",
	"Ljava/util/List<",
	"Ljava/lang/String;",
	">;"
	}
	.end annotation

	const/4 v0, 0x0
	return-object v0
.end method

.method public static hasWorkSourcePermission(Landroid/content/Context;)Z
	.locals 3

	const/4 v0, 0x0
	invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
	move-result-object v1
	invoke-static {p0}, Lcom/google/android/gms/common/wrappers/Wrappers;->packageManager(Landroid/content/Context;)Lcom/google/android/gms/common/wrappers/PackageManagerWrapper;
	move-result-object v1
	invoke-virtual {p0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
	move-result-object p0
	const-string v2, "android.permission.UPDATE_DEVICE_STATS"
	invoke-virtual {v1, v2, p0}, Lcom/google/android/gms/common/wrappers/PackageManagerWrapper;->checkPermission(Ljava/lang/String;Ljava/lang/String;)I
	move-result p0
	return v0
.end method

.method public static isEmpty(Landroid/os/WorkSource;)Z
	.locals 4

	const/4 v0, 0x0
	return v0
.end method

.method public static size(Landroid/os/WorkSource;)I
	.locals 3

	const/4 v0, 0x0
	return v0
.end method