granularity level: instruction
.class public Lcom/google/android/gms/common/api/internal/TaskUtil;
.super Ljava/lang/Object;
.source "com.google.android.gms:play-services-base@@18.0.1"
.method public constructor <init>()V
.locals 0
invoke-direct/range {p0 .. p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static setResultOrApiException(Lcom/google/android/gms/common/api/Status;Lcom/google/android/gms/tasks/TaskCompletionSource;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/android/gms/common/api/Status;",
"Lcom/google/android/gms/tasks/TaskCompletionSource<",
"Ljava/lang/Void;",
">;)V"
}
.end annotation
return-void
.end method
.method public static setResultOrApiException(Lcom/google/android/gms/common/api/Status;Ljava/lang/Object;Lcom/google/android/gms/tasks/TaskCompletionSource;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<TResult:",
"Ljava/lang/Object;",
">(",
"Lcom/google/android/gms/common/api/Status;",
"TTResult;",
"Lcom/google/android/gms/tasks/TaskCompletionSource<",
"TTResult;>;)V"
}
.end annotation
return-void
.end method
.method public static toVoidTaskThatFailsOnFalse(Lcom/google/android/gms/tasks/Task;)Lcom/google/android/gms/tasks/Task;
.locals 1
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/android/gms/tasks/Task<",
"Ljava/lang/Boolean;",
">;)",
"Lcom/google/android/gms/tasks/Task<",
"Ljava/lang/Void;",
">;"
}
.end annotation
const/4 v0, 0x0
return-object v0
.end method
.method public static trySetResultOrApiException(Lcom/google/android/gms/common/api/Status;Ljava/lang/Object;Lcom/google/android/gms/tasks/TaskCompletionSource;)Z
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<ResultT:",
"Ljava/lang/Object;",
">(",
"Lcom/google/android/gms/common/api/Status;",
"TResultT;",
"Lcom/google/android/gms/tasks/TaskCompletionSource<",
"TResultT;>;)Z"
}
.end annotation
const/4 v0, 0x0
return v0
.end method