Home
last modified time | relevance | path

Searched refs:TestCallback (Results 1 – 12 of 12) sorted by relevance

/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/tests/src/com/android/car/portraitlauncher/common/test/
DUserEventReceiverTest.java83 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/
DDataAccessServiceImplTest.java165 new TestCallback()); in testRemoteDataLookup()
189 new TestCallback()); in testRemoteDataLookupWithOverride()
206 new TestCallback()); in testLocalDataLookup()
229 new TestCallback()); in testRemoteDataKeysetWithOverride()
247 new TestCallback()); in testRemoteDataKeyset()
266 new TestCallback()); in testLocalDataKeyset()
288 new TestCallback()); in testLocalDataPut()
307 new TestCallback()); in testLocalDataRemove()
328 new TestCallback()); in testGetEventUrl()
352 new TestCallback()); in testGetClickUrl()
[all …]
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dcallbacks.rs101 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/CarServiceTest/src/com/android/car/
DCarPropertyManagerTest.java568 TestCallback callback = new TestCallback(/* initValueCount= */ 0, in testSubscribePropertyEvents_noReadOrWritePermission()
585 TestCallback callback = new TestCallback(/* initValueCount= */ 0, in testSubscribePropertyEvents_onlyWritePermission()
596 TestCallback callback = new TestCallback(/* initValueCount= */ 0, in testSubscribePropertyEvents_unsupportedProperty()
610 TestCallback callback = new TestCallback(/* initValueCount= */ 0, in testSubscribePropertyEvents_unsupportedProperty_noPermission()
627 TestCallback callback = new TestCallback(/* initValueCount= */ 0, in testRegisterCallback_noReadOrWritePermission()
637 TestCallback callback = new TestCallback(/* initValueCount= */ 0, in testRegisterCallback_unsupportedProperty()
656 TestCallback callback = new TestCallback(/* initValueCount= */ 0, in testRegisterCallback_onlyWritePermission()
665 TestCallback callback = new TestCallback(/* initValueCount= */ 1, in testRegisterPropertyGetInitialValueHandleNotAvailableStatusCode()
681 TestCallback callback = new TestCallback(/* initValueCount= */ 1, in testRegisterPropertyGetInitialValueHandleAccessDeniedStatusCodes()
697 TestCallback callback = new TestCallback(/* initValueCount= */ 1, in testRegisterPropertyGetInitialValueHandleInternalErrorStatusCodes()
[all …]
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/federatedcompute/
DFederatedComputeServiceImplTest.java134 mServiceProxy.schedule(TEST_OPTIONS, new TestCallback()); in testSchedule()
150 mServiceProxy.schedule(TEST_OPTIONS, new TestCallback()); in testScheduleMeasurementControlRevoked()
165 mServiceProxy.schedule(TEST_OPTIONS, new TestCallback()); in testScheduleUrlOverride()
177 mServiceProxy.schedule(TEST_OPTIONS, new TestCallback()); in testScheduleErr()
195 mServiceProxy.cancel(TEST_POPULATION_NAME, new TestCallback()); in testCancel()
204 mServiceProxy.cancel(TEST_POPULATION_NAME, new TestCallback()); in testCancelNoPopulation()
221 mServiceProxy.cancel(TEST_POPULATION_NAME, new TestCallback()); in testCancelErr()
243 private class TestCallback extends IFederatedComputeCallback.Stub { class in FederatedComputeServiceImplTest
DOdpResultHandlingServiceTests.java117 ((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/
DAppFusePerfTest.java53 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/
DTisSessionTest.java35 private TestCallback testCallback;
39 testCallback = new TestCallback(); in setup()
119 private static final class TestCallback implements TifSessionCallbacks { class in TisSessionTest
/packages/services/Car/tests/CarExtendedApiTest/src/com/android/car/internal/test/
DLargeParcelableJavaStableAIDLTest.java70 private static class TestCallback extends IStableAIDLTestCallback.Stub { class in LargeParcelableJavaStableAIDLTest
250 TestCallback callback = new TestCallback(); in doTestEchoWithCallback()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DDdrTrackerTest.java55 private @Mock TestCallback mCallback;
60 private static class TestCallback implements DdrTracker.Callback { class in DdrTrackerTest
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/data/errors/
DAggregatedErrorReportingProtocolTest.java262 Futures.addCallback(reportingFuture, new TestCallback(), MoreExecutors.directExecutor()); in reportExceptionData_httpClientTimeout()
387 private class TestCallback implements FutureCallback<Boolean> { class in AggregatedErrorReportingProtocolTest
/packages/modules/Nfc/libnfc-nci/tests/src/
Dnfa_dm_act_test.cc702 void TestCallback(uint8_t event, tNFA_DM_CBACK_DATA* data) { in TestCallback() function
709 nfa_dm_cb.p_dm_cback = TestCallback; in TEST_F()
716 nfa_dm_cb.p_dm_cback = TestCallback; in TEST_F()