/cts/tests/tests/print/printTestUtilLib/src/android/print/test/services/ |
D | StubbablePrinterDiscoverySession.java | 30 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/ |
D | AdvertiseCallbackTest.java | 56 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()
|
D | ScanCallbackTest.java | 68 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/ |
D | AnimatedStateListDrawableTest.java | 269 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/ |
D | NetworkCallbackTest.java | 90 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/ |
D | BleConnectionPriorityServerService.java | 79 mGattServer = mBluetoothManager.openGattServer(this, mCallbacks); in onCreate() 169 private final BluetoothGattServerCallback mCallbacks = new BluetoothGattServerCallback() { field in BleConnectionPriorityServerService
|
D | BleEncryptedServerService.java | 112 mGattServer = mBluetoothManager.openGattServer(this, mCallbacks); in onCreate() 301 private final BluetoothGattServerCallback mCallbacks = new BluetoothGattServerCallback() { field in BleEncryptedServerService
|
D | BleCocServerService.java | 210 mGattServer = mBluetoothManager.openGattServer(this, mCallbacks); in onCreate() 439 private final BluetoothGattServerCallback mCallbacks = new BluetoothGattServerCallback() { field in BleCocServerService
|
D | BleServerService.java | 246 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/ |
D | ConnectivityManagerTest.java | 844 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()
|