/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/tests/src/com/android/car/portraitlauncher/common/test/ |
D | UserEventReceiverTest.java | 83 TestCallback callback = new TestCallback(); in onRegister_addsUserListener() 92 TestCallback callback = new TestCallback(); in onUnregister_removesListeners() 104 TestCallback callback = new TestCallback(); in onUserSwitch_notPreviousUser_noCallback() 117 TestCallback callback = new TestCallback(); in onUserSwitch_wasPreviousUser_triggersCallback() 130 TestCallback callback = new TestCallback(); in onUserUnlock_otherUser_noCallback() 143 TestCallback callback = new TestCallback(); in onUserUnlock_currentUser_triggersCallback() 162 private static class TestCallback implements UserEventReceiver.Callback { class in UserEventReceiverTest
|
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/data/ |
D | DataAccessServiceImplTest.java | 145 new TestCallback()); in testRemoteDataLookup() 169 new TestCallback()); in testRemoteDataLookupWithOverride() 186 new TestCallback()); in testLocalDataLookup() 209 new TestCallback()); in testRemoteDataKeysetWithOverride() 227 new TestCallback()); in testRemoteDataKeyset() 246 new TestCallback()); in testLocalDataKeyset() 268 new TestCallback()); in testLocalDataPut() 287 new TestCallback()); in testLocalDataRemove() 308 new TestCallback()); in testGetEventUrl() 332 new TestCallback()); in testGetClickUrl() [all …]
|
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/ |
D | callbacks.rs | 101 struct TestCallback { struct 105 impl TestCallback { implementation 106 fn new(id: String) -> TestCallback { in new() argument 107 TestCallback { id } in new() 111 impl RPCProxy for TestCallback { implementation 130 let cbid = callbacks.add_callback(Box::new(TestCallback::new(cb_string.clone()))); in test_add_and_remove() 142 let cbid1 = callbacks.add_callback(Box::new(TestCallback::new(cb_string.clone()))); in test_add_and_remove() 152 let cbid2 = callbacks.add_callback(Box::new(TestCallback::new(cb_string.clone()))); in test_add_and_remove()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarPropertyManagerTest.java | 575 TestCallback callback = new TestCallback(/* initValueCount= */ 0, in testSubscribePropertyEvents_noReadOrWritePermission() 592 TestCallback callback = new TestCallback(/* initValueCount= */ 0, in testSubscribePropertyEvents_onlyWritePermission() 603 TestCallback callback = new TestCallback(/* initValueCount= */ 0, in testSubscribePropertyEvents_unsupportedProperty() 617 TestCallback callback = new TestCallback(/* initValueCount= */ 0, in testSubscribePropertyEvents_unsupportedProperty_noPermission() 634 TestCallback callback = new TestCallback(/* initValueCount= */ 0, in testRegisterCallback_noReadOrWritePermission() 644 TestCallback callback = new TestCallback(/* initValueCount= */ 0, in testRegisterCallback_unsupportedProperty() 663 TestCallback callback = new TestCallback(/* initValueCount= */ 0, in testRegisterCallback_onlyWritePermission() 672 TestCallback callback = new TestCallback(/* initValueCount= */ 1, in testRegisterPropertyGetInitialValueHandleNotAvailableStatusCode() 688 TestCallback callback = new TestCallback(/* initValueCount= */ 1, in testRegisterPropertyGetInitialValueHandleAccessDeniedStatusCodes() 704 TestCallback callback = new TestCallback(/* initValueCount= */ 1, in testRegisterPropertyGetInitialValueHandleInternalErrorStatusCodes() [all …]
|
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/federatedcompute/ |
D | FederatedComputeServiceImplTest.java | 136 mServiceProxy.schedule(options, new TestCallback()); in testSchedule() 160 mServiceProxy.schedule(options, new TestCallback()); in testScheduleMeasurementControlRevoked() 183 mServiceProxy.schedule(options, new TestCallback()); in testScheduleUrlOverride() 213 mServiceProxy.schedule(options, new TestCallback()); in testScheduleUrlDeviceConfigOverride() 234 mServiceProxy.schedule(options, new TestCallback()); in testScheduleErr() 250 mServiceProxy.cancel("population", new TestCallback()); in testCancel() 258 mServiceProxy.cancel("population", new TestCallback()); in testCancelNoPopulation() 273 mServiceProxy.cancel("population", new TestCallback()); in testCancelErr() 293 class TestCallback extends IFederatedComputeCallback.Stub { class in FederatedComputeServiceImplTest
|
D | OdpResultHandlingServiceTests.java | 117 ((IResultHandlingService.Stub) binder).handleResult(input, new TestCallback()); in testHandleResult() 148 ((IResultHandlingService.Stub) binder).handleResult(input, new TestCallback()); in testHandleResultWithCollectionUri() 181 ((IResultHandlingService.Stub) binder).handleResult(input, new TestCallback()); in testHandleResultTrainingFailed() 187 public class TestCallback implements IFederatedComputeCallback { class in OdpResultHandlingServiceTests
|
/packages/services/Mtp/perf_tests/src/com/android/mtp/ |
D | AppFusePerfTest.java | 53 ParcelFileDescriptor.MODE_READ_ONLY, new TestCallback()); in testReadWriteFile() 65 new TestCallback()); in testReadWriteFile() 100 private static class TestCallback extends ProxyFileDescriptorCallback { class in AppFusePerfTest
|
/packages/apps/TV/common/tests/robotests/src/com/android/tv/common/support/tis/ |
D | TisSessionTest.java | 35 private TestCallback testCallback; 39 testCallback = new TestCallback(); in setup() 119 private static final class TestCallback implements TifSessionCallbacks { class in TisSessionTest
|
/packages/services/Car/tests/android_car_api_test/src/com/android/car/internal/test/ |
D | LargeParcelableJavaStableAIDLTest.java | 58 private static class TestCallback extends IStableAIDLTestCallback.Stub { class in LargeParcelableJavaStableAIDLTest 217 TestCallback callback = new TestCallback(); in doTestEchoWithCallback()
|