Home
last modified time | relevance | path

Searched refs:TestDataAccessService (Results 1 – 6 of 6) sorted by relevance

/packages/modules/OnDevicePersonalization/tests/frameworktests/src/android/adservices/ondevicepersonalization/
DIsolatedServiceTest.java101 params.putBinder(Constants.EXTRA_DATA_ACCESS_SERVICE_BINDER, new TestDataAccessService()); in testOnExecute()
127 params.putBinder(Constants.EXTRA_DATA_ACCESS_SERVICE_BINDER, new TestDataAccessService()); in testOnExecutePropagatesError()
144 params.putBinder(Constants.EXTRA_DATA_ACCESS_SERVICE_BINDER, new TestDataAccessService()); in testOnExecuteWithoutAppParams()
166 params.putBinder(Constants.EXTRA_DATA_ACCESS_SERVICE_BINDER, new TestDataAccessService()); in testOnExecuteThrowsIfInputMissing()
192 params.putBinder(Constants.EXTRA_DATA_ACCESS_SERVICE_BINDER, new TestDataAccessService()); in testOnExecuteThrowsIfFederatedComputeServiceMissing()
204 params.putBinder(Constants.EXTRA_DATA_ACCESS_SERVICE_BINDER, new TestDataAccessService()); in testOnExecuteThrowsIfCallbackMissing()
216 .setDataAccessServiceBinder(new TestDataAccessService()) in testOnDownload()
220 params.putBinder(Constants.EXTRA_DATA_ACCESS_SERVICE_BINDER, new TestDataAccessService()); in testOnDownload()
245 params.putBinder(Constants.EXTRA_DATA_ACCESS_SERVICE_BINDER, new TestDataAccessService()); in testOnDownloadThrowsIfInputMissing()
255 .setDataAccessServiceBinder(new TestDataAccessService()) in testOnDownloadThrowsIfDataAccessServiceMissing()
[all …]
DIsolatedServiceExceptionSafetyTest.java114 params.putBinder(Constants.EXTRA_DATA_ACCESS_SERVICE_BINDER, new TestDataAccessService()); in testOnRequestExceptions()
128 .setDataAccessServiceBinder(new TestDataAccessService(operation)) in testOnDownloadExceptions()
132 params.putBinder(Constants.EXTRA_DATA_ACCESS_SERVICE_BINDER, new TestDataAccessService()); in testOnDownloadExceptions()
150 params.putBinder(Constants.EXTRA_DATA_ACCESS_SERVICE_BINDER, new TestDataAccessService()); in testOnRender()
164 params.putBinder(Constants.EXTRA_DATA_ACCESS_SERVICE_BINDER, new TestDataAccessService()); in testOnEvent()
181 params.putBinder(Constants.EXTRA_DATA_ACCESS_SERVICE_BINDER, new TestDataAccessService()); in testOnTrainingExamples()
196 params.putBinder(Constants.EXTRA_DATA_ACCESS_SERVICE_BINDER, new TestDataAccessService()); in testOnWebTrigger()
217 static class TestDataAccessService extends IDataAccessService.Stub { class in IsolatedServiceExceptionSafetyTest
221 TestDataAccessService(String operation) { in TestDataAccessService() method in IsolatedServiceExceptionSafetyTest.TestDataAccessService
225 TestDataAccessService() { in TestDataAccessService() method in IsolatedServiceExceptionSafetyTest.TestDataAccessService
DModelManagerTest.java50 IDataAccessService.Stub.asInterface(new TestDataAccessService()),
63 IDataAccessService.Stub.asInterface(new TestDataAccessService())); in setup()
185 static class TestDataAccessService extends IDataAccessService.Stub { class in ModelManagerTest
DInferenceInputTest.java42 IDataAccessService.Stub.asInterface(new TestDataAccessService())); in setup()
149 static class TestDataAccessService extends IDataAccessService.Stub { class in InferenceInputTest
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/inference/
DIsolatedModelServiceImplTest.java72 IDataAccessService.Stub.asInterface(new TestDataAccessService())); in setup()
85 bundle.putBinder(Constants.EXTRA_DATA_ACCESS_SERVICE_BINDER, new TestDataAccessService()); in runModelInference_singleExample_success()
115 bundle.putBinder(Constants.EXTRA_DATA_ACCESS_SERVICE_BINDER, new TestDataAccessService()); in runModelInference_setBatchSizeNotMatch_success()
144 bundle.putBinder(Constants.EXTRA_DATA_ACCESS_SERVICE_BINDER, new TestDataAccessService()); in runModelInferenceBatch_setBatchSize_success()
172 bundle.putBinder(Constants.EXTRA_DATA_ACCESS_SERVICE_BINDER, new TestDataAccessService()); in runModelInferenceBatch_notSetBatchSize_success()
201 bundle.putBinder(Constants.EXTRA_DATA_ACCESS_SERVICE_BINDER, new TestDataAccessService()); in runModelInference_invalidInputFormat()
257 bundle.putBinder(Constants.EXTRA_DATA_ACCESS_SERVICE_BINDER, new TestDataAccessService()); in runModelInference_missingModelOutput()
322 static class TestDataAccessService extends IDataAccessService.Stub { class in IsolatedModelServiceImplTest
/packages/modules/OnDevicePersonalization/tests/cts/endtoend/src/com/android/ondevicepersonalization/cts/e2e/
DInferenceInputTest.java45 IDataAccessService.Stub.asInterface(new TestDataAccessService())); in setup()
167 static class TestDataAccessService extends IDataAccessService.Stub { class in InferenceInputTest