apkfuckery/com.discord/smali/androidx/concurrent/futures/AbstractResolvableFuture$SafeAtomicHelper.smali

207 lines
8.9 KiB
Smali
Raw Normal View History

2020-11-12 02:11:44 +00:00
.class public final Landroidx/concurrent/futures/AbstractResolvableFuture$SafeAtomicHelper;
.super Landroidx/concurrent/futures/AbstractResolvableFuture$AtomicHelper;
.source "AbstractResolvableFuture.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/concurrent/futures/AbstractResolvableFuture;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "SafeAtomicHelper"
.end annotation
# instance fields
.field public final listenersUpdater:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater<",
"Landroidx/concurrent/futures/AbstractResolvableFuture;",
"Landroidx/concurrent/futures/AbstractResolvableFuture$Listener;",
">;"
}
.end annotation
.end field
.field public final valueUpdater:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater<",
"Landroidx/concurrent/futures/AbstractResolvableFuture;",
"Ljava/lang/Object;",
">;"
}
.end annotation
.end field
.field public final waiterNextUpdater:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater<",
"Landroidx/concurrent/futures/AbstractResolvableFuture$Waiter;",
"Landroidx/concurrent/futures/AbstractResolvableFuture$Waiter;",
">;"
}
.end annotation
.end field
.field public final waiterThreadUpdater:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater<",
"Landroidx/concurrent/futures/AbstractResolvableFuture$Waiter;",
"Ljava/lang/Thread;",
">;"
}
.end annotation
.end field
.field public final waitersUpdater:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater<",
"Landroidx/concurrent/futures/AbstractResolvableFuture;",
"Landroidx/concurrent/futures/AbstractResolvableFuture$Waiter;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater<",
"Landroidx/concurrent/futures/AbstractResolvableFuture$Waiter;",
"Ljava/lang/Thread;",
">;",
"Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater<",
"Landroidx/concurrent/futures/AbstractResolvableFuture$Waiter;",
"Landroidx/concurrent/futures/AbstractResolvableFuture$Waiter;",
">;",
"Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater<",
"Landroidx/concurrent/futures/AbstractResolvableFuture;",
"Landroidx/concurrent/futures/AbstractResolvableFuture$Waiter;",
">;",
"Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater<",
"Landroidx/concurrent/futures/AbstractResolvableFuture;",
"Landroidx/concurrent/futures/AbstractResolvableFuture$Listener;",
">;",
"Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater<",
"Landroidx/concurrent/futures/AbstractResolvableFuture;",
"Ljava/lang/Object;",
">;)V"
}
.end annotation
const/4 v0, 0x0
invoke-direct {p0, v0}, Landroidx/concurrent/futures/AbstractResolvableFuture$AtomicHelper;-><init>(Landroidx/concurrent/futures/AbstractResolvableFuture$1;)V
iput-object p1, p0, Landroidx/concurrent/futures/AbstractResolvableFuture$SafeAtomicHelper;->waiterThreadUpdater:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
iput-object p2, p0, Landroidx/concurrent/futures/AbstractResolvableFuture$SafeAtomicHelper;->waiterNextUpdater:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
iput-object p3, p0, Landroidx/concurrent/futures/AbstractResolvableFuture$SafeAtomicHelper;->waitersUpdater:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
iput-object p4, p0, Landroidx/concurrent/futures/AbstractResolvableFuture$SafeAtomicHelper;->listenersUpdater:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
iput-object p5, p0, Landroidx/concurrent/futures/AbstractResolvableFuture$SafeAtomicHelper;->valueUpdater:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
return-void
.end method
# virtual methods
.method public casListeners(Landroidx/concurrent/futures/AbstractResolvableFuture;Landroidx/concurrent/futures/AbstractResolvableFuture$Listener;Landroidx/concurrent/futures/AbstractResolvableFuture$Listener;)Z
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/concurrent/futures/AbstractResolvableFuture<",
"*>;",
"Landroidx/concurrent/futures/AbstractResolvableFuture$Listener;",
"Landroidx/concurrent/futures/AbstractResolvableFuture$Listener;",
")Z"
}
.end annotation
iget-object v0, p0, Landroidx/concurrent/futures/AbstractResolvableFuture$SafeAtomicHelper;->listenersUpdater:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
invoke-virtual {v0, p1, p2, p3}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
return p1
.end method
.method public casValue(Landroidx/concurrent/futures/AbstractResolvableFuture;Ljava/lang/Object;Ljava/lang/Object;)Z
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/concurrent/futures/AbstractResolvableFuture<",
"*>;",
"Ljava/lang/Object;",
"Ljava/lang/Object;",
")Z"
}
.end annotation
iget-object v0, p0, Landroidx/concurrent/futures/AbstractResolvableFuture$SafeAtomicHelper;->valueUpdater:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
invoke-virtual {v0, p1, p2, p3}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
return p1
.end method
.method public casWaiters(Landroidx/concurrent/futures/AbstractResolvableFuture;Landroidx/concurrent/futures/AbstractResolvableFuture$Waiter;Landroidx/concurrent/futures/AbstractResolvableFuture$Waiter;)Z
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/concurrent/futures/AbstractResolvableFuture<",
"*>;",
"Landroidx/concurrent/futures/AbstractResolvableFuture$Waiter;",
"Landroidx/concurrent/futures/AbstractResolvableFuture$Waiter;",
")Z"
}
.end annotation
iget-object v0, p0, Landroidx/concurrent/futures/AbstractResolvableFuture$SafeAtomicHelper;->waitersUpdater:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
invoke-virtual {v0, p1, p2, p3}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
return p1
.end method
.method public putNext(Landroidx/concurrent/futures/AbstractResolvableFuture$Waiter;Landroidx/concurrent/futures/AbstractResolvableFuture$Waiter;)V
.locals 1
iget-object v0, p0, Landroidx/concurrent/futures/AbstractResolvableFuture$SafeAtomicHelper;->waiterNextUpdater:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
invoke-virtual {v0, p1, p2}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->lazySet(Ljava/lang/Object;Ljava/lang/Object;)V
return-void
.end method
.method public putThread(Landroidx/concurrent/futures/AbstractResolvableFuture$Waiter;Ljava/lang/Thread;)V
.locals 1
iget-object v0, p0, Landroidx/concurrent/futures/AbstractResolvableFuture$SafeAtomicHelper;->waiterThreadUpdater:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
invoke-virtual {v0, p1, p2}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->lazySet(Ljava/lang/Object;Ljava/lang/Object;)V
return-void
.end method