Home
last modified time | relevance | path

Searched defs:receiver (Results 1 – 25 of 235) sorted by relevance

12345678910

/packages/modules/OnDevicePersonalization/tests/cts/endtoend/src/com/android/ondevicepersonalization/cts/e2e/
DCtsOdpManagerTests.java220 var receiver = new ResultReceiver<ExecuteResult>(); in testExecuteReturnsIllegalStateIfServiceNotEnrolled() local
235 var receiver = new ResultReceiver<ExecuteResult>(); in testExecuteReturnsNameNotFoundIfServiceNotInstalled() local
251 var receiver = new ResultReceiver<ExecuteResult>(); in testExecuteReturnsClassNotFoundIfServiceClassNotFound() local
266 var receiver = new ResultReceiver<ExecuteResult>(); in testExecuteNoOp() local
282 var receiver = new ResultReceiver<ExecuteResult>(); in testExecuteWithRenderAndLogging() local
305 var receiver = new ResultReceiver<ExecuteResult>(); in testExecuteWithRender() local
324 var receiver = new ResultReceiver<ExecuteResult>(); in testExecuteWithOutputData() local
344 var receiver = new ResultReceiver<ExecuteResult>(); in testExecuteReadRemoteData() local
360 var receiver = new ResultReceiver<ExecuteResult>(); in testExecuteReadUserData() local
376 var receiver = new ResultReceiver<ExecuteResult>(); in testExecuteWithLogging() local
[all …]
DIsolatedWorkerTest.java72 WorkerResultReceiver<ExecuteOutput> receiver = new WorkerResultReceiver<>(); in testOnExecute() local
87 WorkerResultReceiver<RenderOutput> receiver = new WorkerResultReceiver<>(); in testOnRender() local
97 WorkerResultReceiver<DownloadCompletedOutput> receiver = new WorkerResultReceiver<>(); in testOnDownloadCompleted() local
108 WorkerResultReceiver<EventOutput> receiver = new WorkerResultReceiver<>(); in testOnEvent() local
120 WorkerResultReceiver<TrainingExamplesOutput> receiver = new WorkerResultReceiver<>(); in testOnTrainingExamples() local
134 WorkerResultReceiver<WebTriggerOutput> receiver = new WorkerResultReceiver<>(); in testOnWebTrigger() local
146 OutcomeReceiver<ExecuteOutput, IsolatedServiceException> receiver) { in onExecute()
154 OutcomeReceiver<RenderOutput, IsolatedServiceException> receiver) { in onRender()
163 OutcomeReceiver<DownloadCompletedOutput, IsolatedServiceException> receiver) { in onDownloadCompleted()
172 OutcomeReceiver<EventOutput, IsolatedServiceException> receiver) { in onEvent()
[all …]
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/
DAdServicesCommonManagerTest.java70 OutcomeReceiverForTests<Boolean> receiver = new OutcomeReceiverForTests<>(); in testStatusManagerNotAuthorizedOnSPlus() local
81 OutcomeReceiverForTests<Boolean> receiver = new OutcomeReceiverForTests<>(); in testSetStatusEnabledNotExecutedOnSPlus() local
92 AdServicesOutcomeReceiverForTests<Boolean> receiver = in testStatusManagerNotAuthorizedCompat() local
103 AdServicesOutcomeReceiverForTests<Boolean> receiver = in testSetStatusEnabledNotExecutedCompat() local
116 OutcomeReceiverForTests<Boolean> receiver = new OutcomeReceiverForTests<>(); in testUpdateAdIdCache_notAuthorized_sPlus() local
129 OutcomeReceiverForTests<Boolean> receiver = new OutcomeReceiverForTests<>(); in testUpdateAdIdCache_notEnabled_sPlus() local
138 AdServicesOutcomeReceiverForTests<Boolean> receiver = in testUpdateAdIdCache_notAuthorized_rPlus() local
150 AdServicesOutcomeReceiverForTests<Boolean> receiver = in testUpdateAdIdCache_notEnabled_rPlus() local
178 AdServicesOutcomeReceiverForTests<AdServicesCommonStatesResponse> receiver = in testGetAdservicesCommonStates_notEnabled_rPlus() local
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/
DOutcomeReceiverForTestsTest.java70 OutcomeReceiverForTests<String> receiver = newReceiver(TIMEOUT_MS * 3); in testOnResult() local
79 OutcomeReceiverForTests<String> receiver = mCallback; in testOnResult_calledTwice() local
93 OutcomeReceiverForTests<String> receiver = mCallback; in testOnResult_afterOnError() local
106 OutcomeReceiverForTests<String> receiver = mCallback; in testAssertFailure_nullArg() local
114 OutcomeReceiverForTests<String> receiver = newReceiver(TIMEOUT_MS * 3); in testOnError() local
123 OutcomeReceiverForTests<String> receiver = newReceiver(TIMEOUT_MS * 3); in testOnError_wrongExceptionClass() local
141 OutcomeReceiverForTests<String> receiver = mCallback; in testOnError_calledTwice() local
155 OutcomeReceiverForTests<String> receiver = mCallback; in testOnError_afterOnResult() local
179 private void assertSuccess(OutcomeReceiverForTests<String> receiver, String expectedResult) in assertSuccess()
189 private void assertFailure(OutcomeReceiverForTests<String> receiver, Exception expectedError) in assertFailure()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DReceiverTrackingContext.java51 public Intent registerReceiver(@Nullable BroadcastReceiver receiver, IntentFilter filter) { in registerReceiver()
58 public Intent registerReceiver(@Nullable BroadcastReceiver receiver, IntentFilter filter, in registerReceiver()
66 public Intent registerReceiver(@Nullable BroadcastReceiver receiver, IntentFilter filter, in registerReceiver()
76 public Intent registerReceiver(@Nullable BroadcastReceiver receiver, IntentFilter filter, in registerReceiver()
87 public Intent registerReceiverForAllUsers(@Nullable BroadcastReceiver receiver, in registerReceiverForAllUsers()
99 public Intent registerReceiverForAllUsers(@Nullable BroadcastReceiver receiver, in registerReceiverForAllUsers()
110 public Intent registerReceiverAsUser(@Nullable BroadcastReceiver receiver, UserHandle user, in registerReceiverAsUser()
121 public Intent registerReceiverAsUser(@Nullable BroadcastReceiver receiver, UserHandle user, in registerReceiverAsUser()
132 public void unregisterReceiver(BroadcastReceiver receiver) { in unregisterReceiver()
162 private void addReceiver(BroadcastReceiver receiver, String methodPattern, Object... args) { in addReceiver()
/packages/modules/Connectivity/thread/framework/java/android/net/thread/
DIThreadNetworkController.aidl38 void join(in ActiveOperationalDataset activeOpDataset, in IOperationReceiver receiver); in join()
39 …d scheduleMigration(in PendingOperationalDataset pendingOpDataset, in IOperationReceiver receiver); in scheduleMigration()
40 void leave(in IOperationReceiver receiver); in leave()
42 … void setTestNetworkAsUpstream(in String testNetworkInterfaceName, in IOperationReceiver receiver); in setTestNetworkAsUpstream()
43 void setChannelMaxPowers(in ChannelMaxPower[] channelMaxPowers, in IOperationReceiver receiver); in setChannelMaxPowers()
46 void createRandomizedDataset(String networkName, IActiveOperationalDatasetReceiver receiver); in createRandomizedDataset()
48 void setEnabled(boolean enabled, in IOperationReceiver receiver); in setEnabled()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/extdata/
DAdServicesExtDataStorageServiceWorkerTest.java105 AdServicesOutcomeReceiverForTests<AdServicesExtDataParams> receiver = in testGetAdServicesExtData_serviceNotFound_resultsInOnErrorSet() local
118 AdServicesOutcomeReceiverForTests<AdServicesExtDataParams> receiver = in testGetAdServicesExtData_onResultSet() local
131 AdServicesOutcomeReceiverForTests<AdServicesExtDataParams> receiver = in testGetAdServicesExtData_onErrorSet() local
144 AdServicesOutcomeReceiverForTests<AdServicesExtDataParams> receiver = in testSetAdServicesExtData_serviceNotFound_resultsInOnErrorSet() local
157 AdServicesOutcomeReceiverForTests<AdServicesExtDataParams> receiver = in testSetAdServicesExtData_onResultSet() local
170 AdServicesOutcomeReceiverForTests<AdServicesExtDataParams> receiver = in testSetAdServicesExtData_onErrorSet() local
185 AdServicesOutcomeReceiverForTests<AdServicesExtDataParams> receiver = in testSetAdServicesExtData_serviceNotFound_useProxy() local
198 AdServicesOutcomeReceiverForTests<AdServicesExtDataParams> receiver = in testGetAdServicesExtData_serviceNotFound_useProxy() local
DAdServicesExtDataStorageServiceDebugProxyTest.java116 AdServicesOutcomeReceiverForTests<AdServicesExtDataParams> receiver = in testGetAdServicesExtData_onResultSet() local
140 AdServicesOutcomeReceiverForTests<AdServicesExtDataParams> receiver = in testGetAdServicesExtData_onErrorSet() local
149 AdServicesOutcomeReceiverForTests<AdServicesExtDataParams> receiver = in testSetAdServicesExtData_onResultSet() local
159 AdServicesOutcomeReceiverForTests<AdServicesExtDataParams> receiver = in testSetAdServicesExtData_onErrorSet() local
/packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/
DIsolatedWorker.java58 @NonNull OutcomeReceiver<ExecuteOutput, IsolatedServiceException> receiver) { in onExecute()
76 @NonNull OutcomeReceiver<DownloadCompletedOutput, IsolatedServiceException> receiver) { in onDownloadCompleted()
97 @NonNull OutcomeReceiver<RenderOutput, IsolatedServiceException> receiver) { in onRender()
115 @NonNull OutcomeReceiver<EventOutput, IsolatedServiceException> receiver) { in onEvent()
133 @NonNull OutcomeReceiver<TrainingExamplesOutput, IsolatedServiceException> receiver) { in onTrainingExamples()
154 @NonNull OutcomeReceiver<WebTriggerOutput, IsolatedServiceException> receiver) { in onWebTrigger()
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DTestUtils.java202 HealthConnectReceiver<ChangeLogTokenResponse> receiver = new HealthConnectReceiver<>(); in getChangeLogToken() local
260 HealthConnectReceiver<InsertRecordsResponse> receiver = new HealthConnectReceiver<>(); in insertRecords() local
263 unmodifiableList(records), Executors.newSingleThreadExecutor(), receiver); in insertRecords() local
289 HealthConnectReceiver<Void> receiver = new HealthConnectReceiver<>(); in updateRecords() local
292 unmodifiableList(records), Executors.newSingleThreadExecutor(), receiver); in updateRecords() local
303 HealthConnectReceiver<ChangeLogsResponse> receiver = new HealthConnectReceiver<>(); in getChangeLogs() local
311 HealthConnectReceiver<AggregateRecordsResponse<T>> receiver = in getAggregateResponse() local
324 HealthConnectReceiver<AggregateRecordsResponse<T>> receiver = new HealthConnectReceiver<>(); in getAggregateResponse() local
333 HealthConnectReceiver<List<AggregateRecordsGroupedByDurationResponse<T>>> receiver = in getAggregateResponseGroupByDuration() local
344 HealthConnectReceiver<List<AggregateRecordsGroupedByPeriodResponse<T>>> receiver = in getAggregateResponseGroupByPeriod() local
[all …]
/packages/modules/Connectivity/Tethering/common/TetheringLib/src/android/net/
DITetheringConnector.aidl26 IIntResultListener receiver); in tether()
29 IIntResultListener receiver); in untether()
32 String callingAttributionTag, IIntResultListener receiver); in setUsbTethering()
35 String callingAttributionTag, IIntResultListener receiver); in startTethering()
38 IIntResultListener receiver); in stopTethering()
40 void requestLatestTetheringEntitlementResult(int type, in ResultReceiver receiver, in requestLatestTetheringEntitlementResult()
48 IIntResultListener receiver); in isTetheringSupported()
51 IIntResultListener receiver); in stopAllTethering()
/packages/modules/OnDevicePersonalization/tests/frameworktests/src/android/adservices/ondevicepersonalization/
DIsolatedServiceExceptionSafetyTestImpl.java38 @NonNull OutcomeReceiver<ExecuteOutput, IsolatedServiceException> receiver) { in onExecute()
48 receiver) { in onDownloadCompleted()
57 @NonNull OutcomeReceiver<RenderOutput, IsolatedServiceException> receiver) { in onRender()
65 @NonNull OutcomeReceiver<EventOutput, IsolatedServiceException> receiver) { in onEvent()
75 receiver) { in onTrainingExamples()
83 @NonNull OutcomeReceiver<WebTriggerOutput, IsolatedServiceException> receiver) { in onWebTrigger()
DOnDevicePersonalizationManagerTest.java95 var receiver = new ResultReceiver<ExecuteResult>(); in testExecuteSuccess() local
113 var receiver = new ResultReceiver<ExecuteResult>(); in testExecuteUnknownError() local
130 var receiver = new ResultReceiver<ExecuteResult>(); in testExecuteServiceError() local
148 var receiver = new ResultReceiver<ExecuteResult>(); in testExecuteErrorWithCode() local
171 var receiver = new ResultReceiver<ExecuteResult>(); in testExecuteErrorWithMessage() local
187 var receiver = new ResultReceiver<ExecuteResult>(); in testExecuteCatchesIaeFromService() local
203 var receiver = new ResultReceiver<ExecuteResult>(); in testExecuteCatchesNpeFromService() local
219 var receiver = new ResultReceiver<ExecuteResult>(); in testExecuteCatchesOtherExceptions() local
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/test/
DTestPersonalizationHandler.java61 OutcomeReceiver<DownloadCompletedOutput, IsolatedServiceException> receiver) { in onDownloadCompleted()
83 @NonNull OutcomeReceiver<ExecuteOutput, IsolatedServiceException> receiver) { in onExecute()
112 @NonNull OutcomeReceiver<RenderOutput, IsolatedServiceException> receiver) { in onRender()
127 @NonNull OutcomeReceiver<EventOutput, IsolatedServiceException> receiver) { in onEvent()
158 @NonNull OutcomeReceiver<TrainingExamplesOutput, IsolatedServiceException> receiver) { in onTrainingExamples()
187 @NonNull OutcomeReceiver<WebTriggerOutput, IsolatedServiceException> receiver) { in onWebTrigger()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/voicerecognition/
DConnectedDeviceVoiceRecognitionNotifierTest.java96 BroadcastReceiver receiver = onBootCompleteGetBroadcastReceiver(); in testReceiveIntent_started_showToast() local
111 BroadcastReceiver receiver = onBootCompleteGetBroadcastReceiver(); in testReceiveIntent_invalidExtra_noToast() local
123 BroadcastReceiver receiver = onBootCompleteGetBroadcastReceiver(); in testReceiveIntent_noExtra_noToast() local
134 BroadcastReceiver receiver = onBootCompleteGetBroadcastReceiver(); in testReceiveIntent_invalidIntent_noToast() local
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/
DOnDevicePersonalizationBroadcastReceiverTests.java91 OnDevicePersonalizationBroadcastReceiver receiver = in testOnReceive() local
132 OnDevicePersonalizationBroadcastReceiver receiver = in testOnReceiveKillSwitchOn() local
171 OnDevicePersonalizationBroadcastReceiver receiver = in testOnReceiveDeviceNotSupported() local
207 OnDevicePersonalizationBroadcastReceiver receiver = in testOnReceiveInvalidIntent() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/nfc/
DNfcPreferenceControllerTest.java194 final NfcUpdateReceiver receiver = worker.new NfcUpdateReceiver(worker); in ncfSliceWorker_nfcBroadcast_noExtra_sliceDoesntUpdate() local
206 final NfcUpdateReceiver receiver = worker.new NfcUpdateReceiver(worker); in ncfSliceWorker_nfcBroadcast_turningOn_sliceDoesntUpdate() local
219 final NfcUpdateReceiver receiver = worker.new NfcUpdateReceiver(worker); in ncfSliceWorker_nfcBroadcast_turningOff_sliceDoesntUpdate() local
232 final NfcUpdateReceiver receiver = worker.new NfcUpdateReceiver(worker); in ncfSliceWorker_nfcBroadcast_nfcOn_sliceUpdates() local
245 final NfcUpdateReceiver receiver = worker.new NfcUpdateReceiver(worker); in ncfSliceWorker_nfcBroadcast_nfcOff_sliceUpdates() local
/packages/modules/RemoteKeyProvisioning/system-server/tests/unit/src/android/security/rkp/service/test/
DRegistrationProxyTests.java157 final var receiver = new ErrorReceiver<RegistrationProxy>(); in serviceNotFound() local
175 final var receiver = new ErrorReceiver<RegistrationProxy>(); in tooManyServicesFound() local
192 final var receiver = new ErrorReceiver<RegistrationProxy>(); in bindServiceAsUserReturnsFalse() local
212 final var receiver = new ErrorReceiver<RegistrationProxy>(); in boundRegistrationServiceIsNull() local
234 final var receiver = new ErrorReceiver<RegistrationProxy>(); in boundRegistrationServiceDisconnected() local
258 final var receiver = new ErrorReceiver<RegistrationProxy>(); in boundRegistrationServiceBindingDied() local
280 final var receiver = new ErrorReceiver<RegistrationProxy>(); in timeoutWaitingForBoundService() local
292 final var receiver = new ResultReceiver<RegistrationProxy>(); in getRegistrationBinderReturnsSuccess() local
310 final var receiver = new ErrorReceiver<RegistrationProxy>(); in getRegistrationBinderReturnsError() local
485 final OutcomeReceiver<Void, Exception> receiver = mock(OutcomeReceiver.class); in storeUpgradedKeyAsyncSuccess() local
[all …]
/packages/modules/StatsD/tests/src/android/cts/statsd/subscriber/
DShellSubscriberTest.java52 CollectingByteOutputReceiver receiver; field in ShellSubscriberTest.ShellSubscriptionThread
57 CollectingByteOutputReceiver receiver, in ShellSubscriptionThread()
86 CollectingByteOutputReceiver receiver = startSubscription(); in testShellSubscription() local
98 CollectingByteOutputReceiver receiver = startSubscription(); in testShellSubscriptionReconnect() local
257 CollectingByteOutputReceiver receiver = new CollectingByteOutputReceiver(); in startSubscription() local
297 private void checkOutput(CollectingByteOutputReceiver receiver) { in checkOutput()
/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/
DTestAsset.java60 public void decodeBitmap(BitmapReceiver receiver) { in decodeBitmap()
67 BitmapReceiver receiver) { in decodeBitmap()
74 boolean shouldAdjustForRtl, BitmapReceiver receiver) { in decodeBitmapRegion()
80 public void decodeRawDimensions(Activity unused, DimensionsReceiver receiver) { in decodeRawDimensions()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/
DFederatedComputeBroadcastReceiverTest.java77 FederatedComputeBroadcastReceiver receiver = in testOnReceive() local
96 FederatedComputeBroadcastReceiver receiver = new FederatedComputeBroadcastReceiver(); in testOnReceiveKillSwitchOn() local
112 FederatedComputeBroadcastReceiver receiver = new FederatedComputeBroadcastReceiver(); in testOnReceiveDeviceNotSupported() local
/packages/modules/AdServices/adservices/framework/java/android/adservices/adselection/
DAdSelectionManager.java230 @NonNull OutcomeReceiver<GetAdSelectionDataOutcome, Exception> receiver) { in getAdSelectionData()
327 @NonNull OutcomeReceiver<AdSelectionOutcome, Exception> receiver) { in persistAdSelectionResult()
433 @NonNull OutcomeReceiver<AdSelectionOutcome, Exception> receiver) { in selectAds()
543 @NonNull OutcomeReceiver<AdSelectionOutcome, Exception> receiver) { in selectAds()
683 @NonNull OutcomeReceiver<Object, Exception> receiver) { in reportImpression()
762 @NonNull OutcomeReceiver<Object, Exception> receiver) { in reportEvent()
842 @NonNull OutcomeReceiver<Object, Exception> receiver) { in setAppInstallAdvertisers()
DTestAdSelectionManager.java80 @NonNull OutcomeReceiver<Object, Exception> receiver) { in overrideAdSelectionConfigRemoteInfo()
139 @NonNull OutcomeReceiver<Object, Exception> receiver) { in removeAdSelectionConfigRemoteInfoOverride()
192 @NonNull OutcomeReceiver<Object, Exception> receiver) { in resetAllAdSelectionConfigRemoteOverrides()
247 @NonNull OutcomeReceiver<Object, Exception> receiver) { in overrideAdSelectionFromOutcomesConfigRemoteInfo()
305 @NonNull OutcomeReceiver<Object, Exception> receiver) { in removeAdSelectionFromOutcomesConfigRemoteInfoOverride()
358 @NonNull OutcomeReceiver<Object, Exception> receiver) { in resetAllAdSelectionFromOutcomesConfigRemoteOverrides()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DCompatUtils.java93 public static Object invoke(final Object receiver, final Object defaultValue, in invoke()
107 public static Object getFieldValue(final Object receiver, final Object defaultValue, in getFieldValue()
120 public static void setFieldValue(final Object receiver, final Field field, final Object value) { in setFieldValue()
178 public T invoke(final Object receiver, final Object... args) { in invoke()
190 public int invoke(final Object receiver, final Object... args) { in invoke()
202 public float invoke(final Object receiver, final Object... args) { in invoke()
214 public boolean invoke(final Object receiver, final Object... args) { in invoke()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entries/api/
DLoadEntriesHelperUseCaseTest.kt417 val receiver = in <lambda>() constant
428 val receiver = in <lambda>() constant
454 val receiver = in <lambda>() constant
465 val receiver = in <lambda>() constant
476 val receiver = in <lambda>() constant
486 val receiver = in <lambda>() constant
497 val receiver = in <lambda>() constant
507 val receiver = in <lambda>() constant
517 val receiver = in <lambda>() constant
527 val receiver = in <lambda>() constant

12345678910