Home
last modified time | relevance | path

Searched refs:mCallbacks (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/print/printTestUtilLib/src/android/print/test/services/
DStubbablePrinterDiscoverySession.java30 private final PrinterDiscoverySessionCallbacks mCallbacks; field in StubbablePrinterDiscoverySession
35 mCallbacks = callbacks; in StubbablePrinterDiscoverySession()
36 if (mCallbacks != null) { in StubbablePrinterDiscoverySession()
37 mCallbacks.setSession(this); in StubbablePrinterDiscoverySession()
47 if (mCallbacks != null) { in onStartPrinterDiscovery()
48 mCallbacks.onStartPrinterDiscovery(priorityList); in onStartPrinterDiscovery()
54 if (mCallbacks != null) { in onStopPrinterDiscovery()
55 mCallbacks.onStopPrinterDiscovery(); in onStopPrinterDiscovery()
61 if (mCallbacks != null) { in onValidatePrinters()
62 mCallbacks.onValidatePrinters(printerIds); in onValidatePrinters()
[all …]
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DAdvertiseCallbackTest.java56 private Set<AdvertiseCallback> mCallbacks = new HashSet<>(); field in AdvertiseCallbackTest.MockAdvertiser
59 synchronized (mCallbacks) { in startAdvertise()
60 if (mCallbacks.contains(callback)) { in startAdvertise()
64 mCallbacks.add(callback); in startAdvertise()
DScanCallbackTest.java68 private Set<ScanCallback> mCallbacks = new HashSet<>(); field in ScanCallbackTest.MockScanner
71 synchronized (mCallbacks) { in startScan()
72 if (mCallbacks.contains(callback)) { in startScan()
76 mCallbacks.add(callback); in startScan()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAnimatedStateListDrawableTest.java269 private HashSet<AnimationCallback> mCallbacks = new HashSet<>(); field in AnimatedStateListDrawableTest.MockTransition
273 mCallbacks.add(callback); in registerAnimationCallback()
278 return mCallbacks.remove(callback); in unregisterAnimationCallback()
283 mCallbacks.clear(); in clearAnimationCallbacks()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DNetworkCallbackTest.java90 private final LinkedBlockingQueue<CallbackInfo> mCallbacks = new LinkedBlockingQueue<>(); field in NetworkCallbackTest.TestNetworkCallback
93 mCallbacks.offer(new CallbackInfo(state, network, o)); in setLastCallback()
99 cb = mCallbacks.poll(timeoutMs, TimeUnit.MILLISECONDS); in nextCallback()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleConnectionPriorityServerService.java79 mGattServer = mBluetoothManager.openGattServer(this, mCallbacks); in onCreate()
169 private final BluetoothGattServerCallback mCallbacks = new BluetoothGattServerCallback() { field in BleConnectionPriorityServerService
DBleEncryptedServerService.java112 mGattServer = mBluetoothManager.openGattServer(this, mCallbacks); in onCreate()
301 private final BluetoothGattServerCallback mCallbacks = new BluetoothGattServerCallback() { field in BleEncryptedServerService
DBleCocServerService.java210 mGattServer = mBluetoothManager.openGattServer(this, mCallbacks); in onCreate()
439 private final BluetoothGattServerCallback mCallbacks = new BluetoothGattServerCallback() { field in BleCocServerService
DBleServerService.java246 mGattServer = mBluetoothManager.openGattServer(this, mCallbacks); in onCreate()
850 private final BluetoothGattServerCallback mCallbacks = new BluetoothGattServerCallback() { field in BleServerService
/cts/tests/tests/net/src/android/net/cts/
DConnectivityManagerTest.java844 private final LinkedBlockingQueue<CallbackValue> mCallbacks = new LinkedBlockingQueue<>(); field in ConnectivityManagerTest.TestSocketKeepaliveCallback
848 mCallbacks.add(new CallbackValue.OnStartedCallback()); in onStarted()
853 mCallbacks.add(new CallbackValue.OnStoppedCallback()); in onStopped()
858 mCallbacks.add(new CallbackValue.OnErrorCallback(error)); in onError()
863 return mCallbacks.poll(KEEPALIVE_CALLBACK_TIMEOUT_MS, in pollCallback()