Home
last modified time | relevance | path

Searched refs:CallbackEntry (Results 1 – 6 of 6) sorted by relevance

/frameworks/libs/net/common/devicetests/com/android/testutils/
DTestableNetworkCallback.kt25 import com.android.testutils.RecorderCallback.CallbackEntry.Available
26 import com.android.testutils.RecorderCallback.CallbackEntry.BlockedStatus
27 import com.android.testutils.RecorderCallback.CallbackEntry.CapabilitiesChanged
28 import com.android.testutils.RecorderCallback.CallbackEntry.LinkPropertiesChanged
29 import com.android.testutils.RecorderCallback.CallbackEntry.Losing
30 import com.android.testutils.RecorderCallback.CallbackEntry.Lost
31 import com.android.testutils.RecorderCallback.CallbackEntry.Resumed
32 import com.android.testutils.RecorderCallback.CallbackEntry.Suspended
33 import com.android.testutils.RecorderCallback.CallbackEntry.Unavailable
46 private val backingRecord: ArrayTrackRecord<CallbackEntry>
[all …]
/frameworks/base/tests/net/common/java/android/net/
DNetworkProviderTest.kt22 import android.net.NetworkProviderTest.TestNetworkCallback.CallbackEntry.OnUnavailable in <lambda>()
23 import android.net.NetworkProviderTest.TestNetworkProvider.CallbackEntry.OnNetworkRequestWithdrawn in <lambda>()
24 import android.net.NetworkProviderTest.TestNetworkProvider.CallbackEntry.OnNetworkRequested in <lambda>()
66 private val seenEvents = ArrayTrackRecord<CallbackEntry>().newReadHead() in <lambda>()
68 sealed class CallbackEntry { in <lambda>() class
73 ) : CallbackEntry() in <lambda>()
74 data class OnNetworkRequestWithdrawn(val request: NetworkRequest) : CallbackEntry() in <lambda>()
85 inline fun <reified T : CallbackEntry> expectCallback( in <lambda>()
156 private val seenEvents = ArrayTrackRecord<CallbackEntry>().newReadHead() in <lambda>()
157 sealed class CallbackEntry { in <lambda>() class in TestNetworkCallback
[all …]
/frameworks/base/core/java/android/app/
DVrManager.java30 private static class CallbackEntry { class in VrManager
48 CallbackEntry(VrStateCallback callback, Executor executor) { in CallbackEntry() method in VrManager.CallbackEntry
56 private Map<VrStateCallback, CallbackEntry> mCallbackMap = new ArrayMap<>();
80 CallbackEntry entry = new CallbackEntry(callback, executor); in registerVrStateCallback()
104 CallbackEntry entry = mCallbackMap.remove(callback); in unregisterVrStateCallback()
/frameworks/base/core/java/com/android/internal/os/
DFuseAppLoop.java58 private final SparseArray<CallbackEntry> mCallbackMap = new SparseArray<>();
118 mCallbackMap.put(id, new CallbackEntry( in registerCallback()
149 final CallbackEntry entry = args.entry;
265 final CallbackEntry entry = getCallbackEntryOrThrowLocked(inode);
292 private CallbackEntry getCallbackEntryOrThrowLocked(long inode) throws ErrnoException {
293 final CallbackEntry entry = mCallbackMap.get(checkInode(inode));
332 private static class CallbackEntry {
337 CallbackEntry(ProxyFileDescriptorCallback callback, Handler handler) {
391 CallbackEntry entry;
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java246 import com.android.testutils.RecorderCallback.CallbackEntry;
1452 callback.expectCallback(CallbackEntry.AVAILABLE, mCellNetworkAgent); in testNetworkFeature()
1745 public <T extends CallbackEntry> T expectCallback(final KClass<T> type, final HasNetwork n, in expectCallback()
1748 if (callback instanceof CallbackEntry.Losing) { in expectCallback()
1750 final CallbackEntry.Losing losing = (CallbackEntry.Losing) callback; in expectCallback()
1811 genericNetworkCallback.expectCallback(CallbackEntry.LOST, mWiFiNetworkAgent); in testStateChangeNetworkCallbacks()
1812 wifiNetworkCallback.expectCallback(CallbackEntry.LOST, mWiFiNetworkAgent); in testStateChangeNetworkCallbacks()
1819 genericNetworkCallback.expectCallback(CallbackEntry.LOST, mCellNetworkAgent); in testStateChangeNetworkCallbacks()
1820 cellNetworkCallback.expectCallback(CallbackEntry.LOST, mCellNetworkAgent); in testStateChangeNetworkCallbacks()
1841 genericNetworkCallback.expectCallback(CallbackEntry.LOSING, mCellNetworkAgent); in testStateChangeNetworkCallbacks()
[all …]
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt9595 Landroid/app/VrManager$CallbackEntry;-><init>(Landroid/app/VrStateCallback;Landroid/os/Handler;)V
9596 Landroid/app/VrManager$CallbackEntry;->mCallback:Landroid/app/VrStateCallback;
9597 Landroid/app/VrManager$CallbackEntry;->mHandler:Landroid/os/Handler;
9598 Landroid/app/VrManager$CallbackEntry;->mPersistentStateCallback:Landroid/service/vr/IPersistentVrSt…
9599 Landroid/app/VrManager$CallbackEntry;->mStateCallback:Landroid/service/vr/IVrStateCallbacks;
89119 …om/android/internal/os/FuseAppLoop$Args;->entry:Lcom/android/internal/os/FuseAppLoop$CallbackEntry;
89132 Lcom/android/internal/os/FuseAppLoop$CallbackEntry;-><init>(Landroid/os/ProxyFileDescriptorCallback…
89133 Lcom/android/internal/os/FuseAppLoop$CallbackEntry;->callback:Landroid/os/ProxyFileDescriptorCallba…
89134 Lcom/android/internal/os/FuseAppLoop$CallbackEntry;->getThreadId()J
89135 Lcom/android/internal/os/FuseAppLoop$CallbackEntry;->handler:Landroid/os/Handler;
[all …]