Home
last modified time | relevance | path

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

/packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/
DIsolatedService.java90 public abstract IsolatedWorker onRequest(@NonNull RequestToken requestToken); in onRequest() argument
117 public final KeyValueStore getRemoteData(@NonNull RequestToken requestToken) { in getRemoteData() argument
118 return new RemoteDataImpl(requestToken.getDataAccessService()); in getRemoteData()
134 public final MutableKeyValueStore getLocalData(@NonNull RequestToken requestToken) { in getLocalData() argument
135 return new LocalDataImpl(requestToken.getDataAccessService()); in getLocalData()
149 public final LogReader getLogReader(@NonNull RequestToken requestToken) { in getLogReader() argument
150 return new LogReader(requestToken.getDataAccessService()); in getLogReader()
164 public final EventUrlProvider getEventUrlProvider(@NonNull RequestToken requestToken) { in getEventUrlProvider() argument
165 return new EventUrlProvider(requestToken.getDataAccessService()); in getEventUrlProvider()
176 public final UserData getUserData(@NonNull RequestToken requestToken) { in getUserData() argument
[all …]
/packages/modules/OnDevicePersonalization/tests/cts/service/src/com/android/ondevicepersonalization/testing/sampleservice/
DSampleService.java25 public IsolatedWorker onRequest(RequestToken requestToken) { in onRequest() argument
27 getRemoteData(requestToken), in onRequest()
28 getLocalData(requestToken), in onRequest()
29 getUserData(requestToken), in onRequest()
30 getEventUrlProvider(requestToken), in onRequest()
31 getModelManager(requestToken), in onRequest()
32 getLogReader(requestToken), in onRequest()
33 getFederatedComputeScheduler(requestToken)); in onRequest()
/packages/modules/OnDevicePersonalization/samples/odpsamplenetwork/src/main/java/com/example/odpsamplenetwork/
DSampleService.java28 public IsolatedWorker onRequest(RequestToken requestToken) { in onRequest() argument
30 getRemoteData(requestToken), in onRequest()
31 getEventUrlProvider(requestToken), in onRequest()
32 getUserData(requestToken), in onRequest()
33 getFederatedComputeScheduler(requestToken), in onRequest()
34 getLogReader(requestToken), in onRequest()
35 getModelManager(requestToken)); in onRequest()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioServiceUnitTest.java2889 requestToken = new TestPrimaryZoneMediaAudioRequestCallback(); in requestMediaAudioOnPrimaryZone_withPassengerOccupant_succeeds() local
2892 service.registerPrimaryZoneMediaAudioRequestCallback(requestToken); in requestMediaAudioOnPrimaryZone_withPassengerOccupant_succeeds()
2905 requestToken = new TestPrimaryZoneMediaAudioRequestCallback(); in requestMediaAudioOnPrimaryZone_withDriverOccupant_fails() local
2908 service.registerPrimaryZoneMediaAudioRequestCallback(requestToken); in requestMediaAudioOnPrimaryZone_withDriverOccupant_fails()
2925 requestToken = new TestPrimaryZoneMediaAudioRequestCallback(); in requestMediaAudioOnPrimaryZone_withNonAssignedOccupant_fails() local
2932 service.registerPrimaryZoneMediaAudioRequestCallback(requestToken); in requestMediaAudioOnPrimaryZone_withNonAssignedOccupant_fails()
2944 requestToken = new TestPrimaryZoneMediaAudioRequestCallback(); in requestMediaAudioOnPrimaryZone_withPassengerOccupant_callsApprover() local
2947 service.registerPrimaryZoneMediaAudioRequestCallback(requestToken); in requestMediaAudioOnPrimaryZone_withPassengerOccupant_callsApprover()
2952 requestToken.waitForCallback(); in requestMediaAudioOnPrimaryZone_withPassengerOccupant_callsApprover()
2954 .that(requestToken.mRequestId).isEqualTo(requestId); in requestMediaAudioOnPrimaryZone_withPassengerOccupant_callsApprover()
[all …]
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/exportimport/
DDatabaseMerger.java246 PageTokenWrapper requestToken, in getRecordsToMerge() argument
251 .setPageToken(requestToken.encode()) in getRecordsToMerge()
/packages/modules/OnDevicePersonalization/tests/frameworktests/src/android/adservices/ondevicepersonalization/
DIsolatedServiceExceptionSafetyTestImpl.java29 public IsolatedWorker onRequest(@NonNull RequestToken requestToken) { in onRequest() argument