/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/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/ |
D | Player.java | 31 private ArrayList<BufferCallback> mCallbacks = new ArrayList<BufferCallback>(); field in Player 133 mCallbacks.add(callback); in addBufferCallback() 141 mCallbacks.remove(callback); in removeBufferCallback() 148 for (BufferCallback callback : mCallbacks) { in onPull()
|
/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/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() 438 private final BluetoothGattServerCallback mCallbacks = new BluetoothGattServerCallback() { field in BleCocServerService
|
D | BleServerService.java | 257 mGattServer = mBluetoothManager.openGattServer(this, mCallbacks); in onCreate() 888 private final BluetoothGattServerCallback mCallbacks = new BluetoothGattServerCallback() { field in BleServerService
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | WindowInsetsAnimationControllerTests.java | 115 List<VerifyingCallback> mCallbacks = new ArrayList<>(); field in WindowInsetsAnimationControllerTests 182 mCallbacks.forEach(VerifyingCallback::assertNoPendingAnimations); in tearDown() 187 mCallbacks.clear(); in tearDown() 234 mCallbacks.clear(); in retryIfCancelled() 521 mCallbacks.add(callback); in setupAnimationListener() 571 + " WindowInsetsAnimation.Callback was registered", mCallbacks, equalTo(List.of())); in setVisibilityAndWait()
|