Home
last modified time | relevance | path

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

123456

/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/premade/
DEventLibDeviceAdminReceiverTest.java134 EventLibDeviceAdminReceiver receiver = new EventLibDeviceAdminReceiver(); in disableProfileOwner_logsDisableRequestedEvent() local
145 EventLibDeviceAdminReceiver receiver = new EventLibDeviceAdminReceiver(); in disableProfileOwner_logsDisabledEvent() local
156 EventLibDeviceAdminReceiver receiver = new EventLibDeviceAdminReceiver(); in changePassword_logsPasswordChangedEvent() local
167 EventLibDeviceAdminReceiver receiver = new EventLibDeviceAdminReceiver(); in changePasswordWithUserHandle_logsPasswordChangedEvent() local
180 EventLibDeviceAdminReceiver receiver = new EventLibDeviceAdminReceiver(); in failPassword_logsPasswordFailedEvent() local
191 EventLibDeviceAdminReceiver receiver = new EventLibDeviceAdminReceiver(); in failPasswordWithUserHandle_logsPasswordFailedEvent() local
204 EventLibDeviceAdminReceiver receiver = new EventLibDeviceAdminReceiver(); in succeedPassword_logsPasswordSucceededEvent() local
215 EventLibDeviceAdminReceiver receiver = new EventLibDeviceAdminReceiver(); in succeedPasswordWithUserHandle_logsPasswordSucceededEvent() local
228 EventLibDeviceAdminReceiver receiver = new EventLibDeviceAdminReceiver(); in passwordExpiring_logsPasswordExpiringEvent() local
239 EventLibDeviceAdminReceiver receiver = new EventLibDeviceAdminReceiver(); in passwordExpiringWithUserHandle_logsPasswordExpiringEvent() local
[all …]
DEventLibDelegatedAdminReceiverTest.java60 EventLibDelegatedAdminReceiver receiver = new EventLibDelegatedAdminReceiver(); in choosePrivateKeyAlias_logsChoosePrivateKeyAliasEvent() local
71 EventLibDelegatedAdminReceiver receiver = new EventLibDelegatedAdminReceiver(); in securityLogsAvailable_logsSecurityLogsAvailableEvent() local
82 EventLibDelegatedAdminReceiver receiver = new EventLibDelegatedAdminReceiver(); in networkLogsAvailable_logsNetworksLogsAvailableEvent() local
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/
DTestAppHelper.java43 public static void registerTestCaseReceiver(Context context, BroadcastReceiver receiver, in registerTestCaseReceiver()
52 public static void registerTestCaseReceiver(Context context, BroadcastReceiver receiver, in registerTestCaseReceiver()
70 public static void unregisterTestCaseReceiver(Context context, BroadcastReceiver receiver) { in unregisterTestCaseReceiver()
78 public static void unregisterTestCaseReceiver(Context context, BroadcastReceiver receiver, in unregisterTestCaseReceiver()
DTestAppCallbacksReceiver.java98 private void handleDispatchIntent(BroadcastReceiver receiver, Context context, in handleDispatchIntent()
105 static void registerReceiver(Context context, BroadcastReceiver receiver, in registerReceiver()
122 static void unregisterReceiver(Context context, BroadcastReceiver receiver) { in unregisterReceiver()
DDeviceOwnerHelper.java69 public static boolean runManagerMethod(BroadcastReceiver receiver, Context context, in runManagerMethod()
263 private static void sendError(BroadcastReceiver receiver, Exception e) { in sendError()
268 private static void sendResult(BroadcastReceiver receiver, Object result) { in sendResult()
273 private static void sendNoLog(BroadcastReceiver receiver, int code, Object result) { in sendNoLog()
/cts/hostsidetests/tagging/sdk_30/src/android/cts/tagging/sdk30/
DTaggingTest.java71 final DropBoxReceiver receiver = in testMemoryTagSyncChecksEnabled() local
89 final DropBoxReceiver receiver = in testMemoryTagAsyncChecksEnabled() local
106 final DropBoxReceiver receiver = in testPermissive() local
128 final DropBoxReceiver receiver = in testMemoryTagSyncActivityChecksEnabled() local
145 final DropBoxReceiver receiver = in testMemoryTagAsyncActivityChecksEnabled() local
/cts/hostsidetests/monkey/src/com/android/cts/monkey/
DCategoryTest.java29 CollectingOutputReceiver receiver = new CollectingOutputReceiver(); in testDefaultCategories() local
45 CollectingOutputReceiver receiver = new CollectingOutputReceiver(); in testSingleCategory() local
76 CollectingOutputReceiver receiver = new CollectingOutputReceiver(); in testMultipleCategories() local
DPackageTest.java38 CollectingOutputReceiver receiver = new CollectingOutputReceiver(); in testSinglePackage() local
68 CollectingOutputReceiver receiver = new CollectingOutputReceiver(); in testMultiplePackages() local
/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/
DSatelliteManagerTest.java330 OutcomeReceiver<Boolean, SatelliteManager.SatelliteException> receiver = in testRequestIsSatelliteProvisioned() local
370 OutcomeReceiver<Boolean, SatelliteManager.SatelliteException> receiver = in testRequestIsSatelliteEnabled() local
397 OutcomeReceiver<Boolean, SatelliteManager.SatelliteException> receiver = in testRequestIsSatelliteSupported() local
413 receiver); in testRequestIsSatelliteSupported() local
433 OutcomeReceiver<SatelliteCapabilities, SatelliteManager.SatelliteException> receiver = in testRequestSatelliteCapabilities() local
633 OutcomeReceiver<Boolean, SatelliteManager.SatelliteException> receiver = in testRequestIsSatelliteCommunicationAllowedForCurrentLocation() local
657 OutcomeReceiver<Duration, SatelliteManager.SatelliteException> receiver = in testRequestTimeForNextSatelliteVisibility() local
699 OutcomeReceiver<Boolean, SatelliteManager.SatelliteException> receiver = in testRequestIsSatelliteAttachEnabledForCarrier() local
766 OutcomeReceiver<NtnSignalStrength, SatelliteManager.SatelliteException> receiver = in testRequestNtnSignalStrength() local
/cts/tests/tests/content/src/android/content/pm/cts/
DChecksumsTest.java217 LocalListener receiver = new LocalListener(); in testNameNotFound() local
243 LocalListener receiver = new LocalListener(); in testDefaultChecksums() local
259 LocalListener receiver = new LocalListener(); in testSplitsDefaultChecksums() local
286 LocalListener receiver = new LocalListener(); in testFixedDefaultChecksums() local
304 LocalListener receiver = new LocalListener(); in testFixedV1DefaultChecksums() local
318 LocalListener receiver = new LocalListener(); in testFixedSha512DefaultChecksums() local
341 LocalListener receiver = new LocalListener(); in testFixedFSVerityDefaultChecksums() local
375 LocalListener receiver = new LocalListener(); in testFixedFSVerityDefaultChecksumsIncremental() local
399 LocalListener receiver = new LocalListener(); in testFixedVerityDefaultChecksums() local
426 LocalListener receiver = new LocalListener(); in testArchivedDefaultChecksums() local
[all …]
/cts/tests/tests/dreams/src/android/service/dreams/cts/
DSystemDreamTest.java112 final DreamShownReceiver receiver = registerReceiver(ACTION_DREAM_SHOWN); in startDream_systemDreamNotSet_startUserDream() local
120 final DreamShownReceiver receiver = registerReceiver(ACTION_SYSTEM_DREAM_SHOWN); in startDream_systemDreamSet_startSystemDream() local
173 final DreamShownReceiver receiver = new DreamShownReceiver(); in registerReceiver() local
182 private void assertDreamShown(DreamShownReceiver receiver) { in assertDreamShown()
/cts/tests/app/src/android/app/cts/
DDownloadManagerTest.java79 final DownloadCompleteReceiver receiver = new DownloadCompleteReceiver(); in testDownloadManager() local
108 final DownloadCompleteReceiver receiver = new DownloadCompleteReceiver(); in testDownloadManagerSupportsHttp() local
141 final DownloadCompleteReceiver receiver = new DownloadCompleteReceiver(); in testDownloadManagerSupportsHttpWithExternalWebServer() local
175 final DownloadCompleteReceiver receiver = new DownloadCompleteReceiver(); in testDownloadManagerSupportsHttpsWithExternalWebServer() local
199 final DownloadCompleteReceiver receiver = new DownloadCompleteReceiver(); in testMinimumDownload() local
251 final DownloadCompleteReceiver receiver = new DownloadCompleteReceiver(); in testDownloadManagerDestination() local
299 final DownloadCompleteReceiver receiver = new DownloadCompleteReceiver(); in testDownloadManagerDestinationExtension() local
334 final DownloadCompleteReceiver receiver = new DownloadCompleteReceiver(); in testSetDestinationUri_privateAppDir() local
397 final DownloadCompleteReceiver receiver = new DownloadCompleteReceiver(); in testSetDestinationUri() local
435 final DownloadCompleteReceiver receiver = new DownloadCompleteReceiver(); in testSetDestinationInExternalPublicDownloadDir() local
[all …]
DNewDocumentTest.java40 try (final Receiver receiver = new Receiver(NewDocumentTestActivity.NOTIFY_RESUME)) { in testNewDocument()
45 try (final Receiver receiver = new Receiver(NewDocumentTestActivity.NOTIFY_NEW_INTENT)) { in testNewDocument()
DForceStopTest.java155 final BroadcastReceiver receiver = new BroadcastReceiver() { in testPackageRestartedBroadcast() local
200 final BroadcastReceiver receiver = new BroadcastReceiver() { in testPackageUnstoppedBroadcast() local
244 final BroadcastReceiver receiver = new BroadcastReceiver() { in testBootCompletedBroadcasts_activity() local
288 final BroadcastReceiver receiver = new BroadcastReceiver() { in testBootCompletedBroadcasts_broadcast() local
373 final BroadcastReceiver receiver = new BroadcastReceiver() { in testApplicationStartInfoWasForceStopped_activity() local
/cts/tests/app/DownloadManagerApi28Test/src/android/app/cts/
DDownloadManagerApi28Test.java57 final DownloadCompleteReceiver receiver = new DownloadCompleteReceiver(); in testSetDestinationUri_publicDir() local
83 final DownloadCompleteReceiver receiver = new DownloadCompleteReceiver(); in testSetDestinationUri_sdcardPath() local
111 final DownloadCompleteReceiver receiver = new DownloadCompleteReceiver(); in testSetDestinationUri_privateAppDir() local
133 final DownloadCompleteReceiver receiver = new DownloadCompleteReceiver(); in testDestinationInExternalPublicDir() local
189 final DownloadCompleteReceiver receiver = new DownloadCompleteReceiver(); in testDownloadManager_mediaStoreEntry() local
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DPolicyUpdateReceiverTest.java73 PolicyUpdateReceiverImpl receiver = new PolicyUpdateReceiverImpl(); in onReceive_devicePolicySetResultReceived_callsOnPolicySetResultWithCorrectParams() local
90 PolicyUpdateReceiverImpl receiver = new PolicyUpdateReceiverImpl(); in onReceive_DevicePolicyChangedReceived_callsOnPolicyChangedWithCorrectParams() local
108 private void assertPolicyUpdateCallbackParams(PolicyUpdateReceiverImpl receiver) { in assertPolicyUpdateCallbackParams()
/cts/hostsidetests/os/test-apps/StaticSharedLibTestApp/src/android/os/lib/app/
DStaticSharedLibsTests.java174 InstallUninstallBroadcastReceiver receiver = new InstallUninstallBroadcastReceiver(); in testStaticSharedLibInstall_broadcastReceived() local
195 InstallUninstallBroadcastReceiver receiver = new InstallUninstallBroadcastReceiver(); in testStaticSharedLibInstall_incorrectInstallerPkgName_broadcastNotReceived() local
215 InstallUninstallBroadcastReceiver receiver = new InstallUninstallBroadcastReceiver(); in testStaticSharedLibUninstall_broadcastReceived() local
237 InstallUninstallBroadcastReceiver receiver = new InstallUninstallBroadcastReceiver(); in testStaticSharedLibUninstall_incorrectInstallerPkgName_broadcastNotReceived() local
/cts/tests/process/src/android/os/cts/process/
DProcessTest2.java87 try (Receiver<Message> receiver = new Receiver<>(sContext, Consts.TAG)) { in checkStartTime()
146 try (Receiver<Message> receiver = new Receiver<>(sContext, Consts.TAG)) { in testStartTime_sharedProcess()
198 try (Receiver<Message> receiver = new Receiver<>(sContext, Consts.TAG)) { in checkApplicationClass()
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/queries/
DReceiverQuery.java32 static ReceiverQueryHelper.ReceiverQueryBase receiver() { in receiver() method
/cts/tests/framework/base/windowmanager/backgroundactivity/TestApp/src/android/server/wm/backgroundactivity/appa/
DStartNextMatchingActivity.java32 ResultReceiver receiver = getIntent().getParcelableExtra(EVENT_NOTIFIER_EXTRA, in onCreate() local
/cts/tests/tests/content/src/android/content/cts/
DContextTest.java704 private void registerBroadcastReceiver(BroadcastReceiver receiver, IntentFilter filter) { in registerBroadcastReceiver()
708 private void registerBroadcastReceiver(BroadcastReceiver receiver, IntentFilter filter, in registerBroadcastReceiver()
789 final ResultReceiver receiver = new HighPriorityBroadcastReceiver(); in testSendOrderedBroadcastWithAppOp() local
830 final ResultReceiver receiver = new ResultReceiver(); in testSendOrderedBroadcastWithAppOp_NotGranted() local
1855 final ResultReceiver receiver = new ResultReceiver(); in testSendBroadcast1() local
1872 final ResultReceiver receiver = new ResultReceiver(); in testSendBroadcast2() local
1893 final ResultReceiver receiver = new ResultReceiver(); in testSendBroadcastRequireAllOfPermissions_receiverHasAllPermissions() local
1918 final ResultReceiver receiver = new ResultReceiver(); in testSendBroadcast_requireAppOpPermission_receiverHasPermissionAndDefaultAppOp() local
1942 final ResultReceiver receiver = new ResultReceiver(); in testSendBroadcast_requireAppOpPermission_receiverHasPermissionAndAllowedAppOp() local
1965 final ResultReceiver receiver = new ResultReceiver(); in testSendBroadcast_requireAppOpPermission_receiverHasPermissionAndErroredAppOp() local
[all …]
/cts/tests/app/AppStartTest/src/android/app/cts/
DActivityManagerAppStartInfoTest.java266 ResultReceiverFilter receiver = new ResultReceiverFilter(REPLY_ACTION_COMPLETE, 1); in testQueryThisProcess() local
303 ResultReceiverFilter receiver = new ResultReceiverFilter(REPLY_ACTION_COMPLETE, 1); in testAddingTimestamps() local
344 ResultReceiverFilter receiver = new ResultReceiverFilter(REPLY_ACTION_COMPLETE, 1); in testTriggerListeners() local
372 ResultReceiverFilter receiver = new ResultReceiverFilter(REPLY_ACTION_COMPLETE, 2); in testTriggerMultipleListeners() local
407 ResultReceiverFilter receiver = new ResultReceiverFilter(REPLY_ACTION_COMPLETE, 2); in testRemoveListener() local
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DAlwaysOnVpnTest.java125 final BlockingBroadcastReceiver receiver = VpnTestHelper.registerOnStartReceiver(mContext); in testVpnLockdownUpdateAllowlist() local
166 final BlockingBroadcastReceiver receiver = VpnTestHelper.registerOnStartReceiver(mContext); in testVpnLockdownAllowlistVpnComesUp() local
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DBasicTest.java58 BlockingBroadcastReceiver receiver = in testLaunchAppInstalledInProfileOnly() local
/cts/tests/framework/base/windowmanager/overlayappbase/src/android/server/wm/overlay/
DOverlayActivity.java55 ResultReceiver receiver = getIntent().getParcelableExtra(EXTRA_TOKEN_RECEIVER); in onResume() local

123456