Home
last modified time | relevance | path

Searched defs:intent (Results 1 – 25 of 1243) sorted by relevance

12345678910>>...50

/cts/tests/tests/content/src/android/content/cts/
DAvailableIntentsTest.java61 private void assertCanBeHandled(final Intent intent) { in assertCanBeHandled()
73 private void assertDefaultHandlerValidPriority(final Intent intent) { in assertDefaultHandlerValidPriority()
86 private void assertHandledBySystemOnly(final Intent intent) { in assertHandledBySystemOnly()
100 private void assertHandledBySelfOnly(final Intent intent) { in assertHandledBySelfOnly()
118 Intent intent = new Intent(Intent.ACTION_VIEW, uri); in testViewNormalUrl() local
128 Intent intent = new Intent(Intent.ACTION_VIEW, uri); in testViewSecureUrl() local
138 Intent intent = new Intent(Intent.ACTION_WEB_SEARCH); in testWebSearchNormalUrl() local
149 Intent intent = new Intent(Intent.ACTION_WEB_SEARCH); in testWebSearchSecureUrl() local
160 Intent intent = new Intent(Intent.ACTION_WEB_SEARCH); in testWebSearchPlainText() local
172 Intent intent = new Intent(Intent.ACTION_CALL, uri); in testCallPhoneNumber() local
[all …]
/cts/common/device-side/bedstead/testapp/src/testapps/main/java/com/android/bedstead/testapp/
DBaseTestAppDeviceAdminReceiver.java35 public void onEnabled(Context context, Intent intent) { in onEnabled()
40 public CharSequence onDisableRequested(Context context, Intent intent) { in onDisableRequested()
45 public void onDisabled(Context context, Intent intent) { in onDisabled()
50 public void onPasswordChanged(Context context, Intent intent) { in onPasswordChanged()
55 public void onPasswordChanged(Context context, Intent intent, UserHandle user) { in onPasswordChanged()
60 public void onPasswordFailed(Context context, Intent intent) { in onPasswordFailed()
65 public void onPasswordFailed(Context context, Intent intent, UserHandle user) { in onPasswordFailed()
70 public void onPasswordSucceeded(Context context, Intent intent) { in onPasswordSucceeded()
75 public void onPasswordSucceeded(Context context, Intent intent, UserHandle user) { in onPasswordSucceeded()
80 public void onPasswordExpiring(Context context, Intent intent) { in onPasswordExpiring()
[all …]
/cts/tests/tests/provider/src/android/provider/cts/media/
DMediaStoreIntentsTest.java71 public void assertCanBeHandled(Intent intent) { in assertCanBeHandled()
81 Intent intent = new Intent(Intent.ACTION_PICK); in testPickImageDir() local
88 Intent intent = new Intent(Intent.ACTION_PICK); in testPickVideoDir() local
95 Intent intent = new Intent(Intent.ACTION_PICK); in testPickAudioDir() local
102 Intent intent = new Intent(Intent.ACTION_VIEW); in testViewImageDir() local
109 Intent intent = new Intent(Intent.ACTION_VIEW); in testViewVideoDir() local
126 Intent intent = new Intent(Intent.ACTION_VIEW); in testViewImageFile() local
145 Intent intent = new Intent(Intent.ACTION_VIEW); in testViewVideoFile() local
164 Intent intent = new Intent(Intent.ACTION_VIEW); in testViewAudioFile() local
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/premade/
DEventLibDeviceAdminReceiver.java78 public void onEnabled(Context context, Intent intent) { in onEnabled()
92 public CharSequence onDisableRequested(Context context, Intent intent) { in onDisableRequested()
106 public void onDisabled(Context context, Intent intent) { in onDisabled()
120 public void onPasswordChanged(Context context, Intent intent) { in onPasswordChanged()
134 public void onPasswordChanged(Context context, Intent intent, UserHandle user) { in onPasswordChanged()
147 public void onPasswordFailed(Context context, Intent intent) { in onPasswordFailed()
161 public void onPasswordFailed(Context context, Intent intent, UserHandle user) { in onPasswordFailed()
174 public void onPasswordSucceeded(Context context, Intent intent) { in onPasswordSucceeded()
188 public void onPasswordSucceeded(Context context, Intent intent, UserHandle user) { in onPasswordSucceeded()
201 public void onPasswordExpiring(Context context, Intent intent) { in onPasswordExpiring()
[all …]
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/premade/
DEventLibActivityTest.java64 Intent intent = new Intent(); in launchEventLibActivity_logsActivityCreatedEvent() local
78 Intent intent = new Intent(); in launchEventLibActivity_withGeneratedActivityClass_logsActivityCreatedEventWithCorrectClassName() local
92 Intent intent = new Intent(); in startEventLibActivity_logsActivityStartedEvent() local
109 Intent intent = new Intent(); in startEventLibActivity_withGeneratedActivityClass_logsActivityStartedEventWithCorrectClassName() local
126 Intent intent = new Intent(); in stopEventLibActivity_logsActivityStoppedEvent() local
143 Intent intent = new Intent(); in stopEventLibActivity_withGeneratedActivityClass_logsActivityStoppedEventWithCorrectClassName() local
160 Intent intent = new Intent(); in destroyEventLibActivity_logsActivityDestroyedEvent() local
177 Intent intent = new Intent(); in destroyEventLibActivity_withGeneratedActivityClass_logsActivityDestroyedEventWithCorrectClassName() local
194 Intent intent = new Intent(); in pauseEventLibActivity_logsActivityPausedEvent() local
213 Intent intent = new Intent(); in pauseEventLibActivity_withGeneratedActivityClass_logsActivityPausedEventWithCorrectClassName() local
[all …]
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContactsContractIntentsTest.java32 public void assertCanBeHandled(Intent intent) { in assertCanBeHandled()
41 Intent intent = new Intent(Intent.ACTION_VIEW); in testViewContactDir() local
47 Intent intent = new Intent(Intent.ACTION_PICK); in testPickContactDir() local
53 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in testGetContentContactDir() local
64 Intent intent = new Intent(ContactsContract.Settings.ACTION_SET_DEFAULT_ACCOUNT); in testSetDefaultAccount() local
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DNfcTest.java32 Intent intent = getTextShareIntent(); in testNfcShareDisabled() local
40 Intent intent = getTextShareIntent(); in testNfcShareEnabled() local
44 private void waitForNfcBeamActivityDisabled(Intent intent, int maxDelayMillis) in waitForNfcBeamActivityDisabled()
54 Intent intent = new Intent(); in getTextShareIntent() local
61 private boolean isNfcBeamActivityResolved(Intent intent) { in isNfcBeamActivityResolved()
/cts/common/device-side/bedstead/queryable/src/test/java/com/android/queryable/queries/
DIntentQueryHelperTest.java40 Intent intent = new Intent(); in matches_noRestrictions_returnsTrue() local
49 Intent intent = new Intent(); in matches_action_meetsRestriction_returnsTrue() local
61 Intent intent = new Intent(); in matches_action_doesNotMeetRestriction_returnsFalse() local
73 Intent intent = new Intent(); in matches_extras_meetsRestriction_returnsTrue() local
85 Intent intent = new Intent(); in matches_extras_doesNotMeetRestriction_returnsFalse() local
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DBasicAdminReceiver.java51 public void onReceive(Context context, Intent intent) { in onReceive()
60 public void onUserAdded(Context context, Intent intent, UserHandle userHandle) { in onUserAdded()
65 public void onUserRemoved(Context context, Intent intent, UserHandle userHandle) { in onUserRemoved()
70 public void onUserStarted(Context context, Intent intent, UserHandle userHandle) { in onUserStarted()
75 public void onUserStopped(Context context, Intent intent, UserHandle userHandle) { in onUserStopped()
80 public void onUserSwitched(Context context, Intent intent, UserHandle userHandle) { in onUserSwitched()
85 public void onNetworkLogsAvailable(Context context, Intent intent, long batchToken, in onNetworkLogsAvailable()
102 Intent intent = OperationSafetyChangedCallback.intentFor(event); in onOperationSafetyStateChanged() local
109 Intent intent = new Intent(action).putExtra(EXTRA_USER_HANDLE, userHandle); in sendUserBroadcast() local
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DUtils.java49 private static void call(Intent intent) { in call()
85 Intent intent = new Intent(); in grantClipUriPermission() local
92 Intent intent = new Intent(); in grantClipUriPermissionViaContext() local
101 Intent intent = new Intent(); in revokeClipUriPermissionViaContext() local
109 Intent intent = new Intent(); in setPrimaryClip() local
116 Intent intent = new Intent(); in clearPrimaryClip() local
122 Intent intent = new Intent(); in verifyOutgoingPersisted() local
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/
DBackgroundActivityLaunchTest.java193 Intent intent = new Intent(); in testBackgroundActivityBlocked() local
251 Intent intent = new Intent(); in testBackgroundActivityNotBlockedWhenSystemAlertWindowGranted() local
261 Intent intent = new Intent(); in testBackgroundActivityNotBlockedWhenForegroundActivityExists() local
283 Intent intent = new Intent(); in testActivityNotBlockedWhenForegroundActivityLaunch() local
298 Intent intent = new Intent(); in testActivityBroughtToTopOfTaskWhenLaunchedInTheBackground() local
323 Intent intent = new Intent(); in testActivityBlockedWhenLaunchedAfterHomePress() local
350 final Intent intent = new Intent() in testActivityNotBlockedFromBgActivityInFgTask() local
381 Intent intent = new Intent(); in testActivityBlockedWhenForegroundActivityRestartsItself() local
402 Intent intent = new Intent(); in testSecondActivityNotBlockedWhenForegroundActivityLaunch() local
476 Intent intent = new Intent(); in testPendingIntentActivityNotBlocked_appAIsForeground() local
[all …]
/cts/tests/app/src/android/app/cts/
DRemoteInputTest.java114 Intent intent = new Intent(); in testRemoteInputBuilder_addAndGetDataResultsFromIntent() local
125 Intent intent = new Intent(); in testRemoteInputBuilder_addAndGetTextResultsFromIntent() local
140 Intent intent = new Intent(); in testRemoteInputBuilder_addAndGetDataAndTextResultsFromIntentDataFirst() local
155 Intent intent = new Intent(); in testRemoteInputBuilder_addAndGetDataAndTextResultsFromIntentTextFirst() local
166 Intent intent = new Intent(); in testGetResultsSource_emptyIntent() local
175 Intent intent = new Intent(); in testGetResultsSource_addDataAndTextResults() local
184 Intent intent = new Intent(); in testGetResultsSource_setSource() local
195 Intent intent = new Intent(); in testGetResultsSource_setSourceAndAddDataAndTextResults() local
204 private static void addTextResultsToIntent(RemoteInput input, Intent intent, in addTextResultsToIntent()
213 private static void addDataResultsToIntent(RemoteInput input, Intent intent, Uri uri) { in addDataResultsToIntent()
[all …]
DAttributionTagsTest.java64 final Intent intent = new Intent(mTargetContext, LocalActivity.class); in testActivity() local
77 final Intent intent = new Intent(); in testActivityAlias() local
92 final Intent intent = new Intent(mTargetContext, LocalService.class); in testService() local
104 final Intent intent = new Intent(mTargetContext, LocalProvider.class); in testProvider() local
116 final Intent intent = new Intent(mTargetContext, LocalReceiver.class); in testReceiver() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleServerService.java282 Intent intent = new Intent(BLE_BLUETOOTH_DISABLED); in notifyBluetoothDisabled() local
287 Intent intent = new Intent(BLE_BLUETOOTH_MISMATCH_SECURE); in notifyMismatchSecure() local
299 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand()
327 public IBinder onBind(Intent intent) { in onBind()
374 Intent intent = new Intent(BLE_OPEN_FAIL); in notifyOpenFail() local
382 Intent intent = new Intent(BLE_ADD_SERVICE_FAIL); in notifyAddServiceFail() local
390 Intent intent = new Intent(BLE_ADVERTISE_UNSUPPORTED); in notifyAdvertiseUnsupported() local
398 Intent intent = new Intent(BLE_SERVER_CONNECTED); in notifyConnected() local
408 Intent intent = new Intent(BLE_SERVER_DISCONNECTED); in notifyDisconnected() local
416 Intent intent = new Intent(BLE_SERVICE_ADDED); in notifyServiceAdded() local
[all …]
DBleConnectionPriorityServerService.java110 public IBinder onBind(Intent intent) { in onBind()
115 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand()
123 Intent intent = new Intent(ACTION_BLUETOOTH_DISABLED); in notifyBluetoothDisabled() local
128 …Intent intent = new Intent(BleConnectionPriorityServerService.ACTION_START_CONNECTION_PRIORITY_TES… in notifyTestStart() local
136 Intent intent = new Intent(BleServerService.BLE_OPEN_FAIL); in notifyOpenFail() local
144 Intent intent = new Intent(BleServerService.BLE_ADVERTISE_UNSUPPORTED); in notifyAdvertiseUnsupported() local
222 Intent intent = new Intent(); in notifyMeasurementFinished() local
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0586/src/android/security/cts/CVE_2021_0586/
DPocActivity.java28 Intent intent = new Intent(PocActivity.this, PocService.class); in startOverlayService() local
32 Intent intent = new Intent(Settings.ACTION_MANAGE_OVERLAY_PERMISSION); in startOverlayService() local
41 Intent intent = new Intent(PocActivity.this, PocService.class); in stopOverlayService() local
/cts/tests/tests/permission/telephony/src/android/permission/cts/telephony/
DTelephonyManagerPermissionTest.java225 Intent intent = new Intent("android.intent.action.SIM_STATE_CHANGED"); in testProtectedBroadcasts() local
230 Intent intent = new Intent("android.intent.action.SERVICE_STATE"); in testProtectedBroadcasts() local
235 Intent intent = new Intent("android.telephony.action.DEFAULT_SUBSCRIPTION_CHANGED"); in testProtectedBroadcasts() local
240 Intent intent = new Intent( in testProtectedBroadcasts() local
246 Intent intent = new Intent( in testProtectedBroadcasts() local
252 Intent intent = new Intent( in testProtectedBroadcasts() local
258 Intent intent = new Intent("android.intent.action.SIG_STR"); in testProtectedBroadcasts() local
263 Intent intent = new Intent("android.provider.Telephony.SECRET_CODE"); in testProtectedBroadcasts() local
/cts/tests/app/app/src/android/app/stubs/
DLocalActivityManagerTestHelper.java91 final Intent intent = new Intent(this, LocalActivityManagerStubActivity.class); in testRemoveAllActivity() local
119 final Intent intent = new Intent(this, LocalActivityManagerStubActivity.class); in testDispatchDestroy() local
161 final Intent intent = new Intent(this, LocalActivityManagerStubActivity.class); in testSaveInstanceState() local
180 final Intent intent = new Intent(this, LocalActivityManagerStubActivity.class); in testDispatchPauseFalse() local
194 final Intent intent = new Intent(this, LocalActivityManagerStubActivity.class); in testDispatchPauseTrue() local
208 final Intent intent = new Intent(this, LocalActivityManagerStubActivity.class); in testDispatchStop() local
230 final Intent intent = new Intent(this, LocalActivityManagerStubActivity.class); in testDispatchCreate() local
265 final Intent intent = new Intent(this, LocalActivityManagerStubActivity.class); in testStartActivity() local
319 final Intent intent = new Intent(this, LocalActivityManagerStubActivity.class); in testDispatchResume() local
/cts/libs/install/src/com/android/cts/install/lib/
DLocalIntentSender.java45 public void onReceive(Context context, Intent intent) { in onReceive()
59 Intent intent = new Intent(action); in getIntentSender() local
68 Intent intent = mResults.take(); in getResult() local
73 private static String prettyPrint(Intent intent) { in prettyPrint()
/cts/tests/translation/src/android/translation/cts/
DCtsTestIme.java83 void registerUiTranslationStateCallback(Intent intent) { in registerUiTranslationStateCallback()
92 void unregisterUiTranslationStateCallback(Intent intent) { in unregisterUiTranslationStateCallback()
99 void assertOnStart(Intent intent) { in assertOnStart()
108 void assertOnFinish(Intent intent) { in assertOnFinish()
115 void assertOnResume(Intent intent) { in assertOnResume()
122 void assertOnPause(Intent intent) { in assertOnPause()
167 public void onReceive(Context context, Intent intent) { in onReceive()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DPolicyTransparencyTest.java32 Intent intent = mDevicePolicyManager.createAdminSupportIntent( in testCameraDisabled() local
47 Intent intent = mDevicePolicyManager.createAdminSupportIntent( in testScreenCaptureDisabled() local
69 Intent intent = mDevicePolicyManager.createAdminSupportIntent(restriction); in runTestForRestriction() local
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/
DDelegatedScopesReceiverActivity.java70 protected void onNewIntent(Intent intent) { in onNewIntent()
89 private void handleIntent(Intent intent) { in handleIntent()
103 Intent intent = new Intent(); in sendScopeReportBroadcast() local
111 Intent intent = new Intent(); in sendRunningBroadcast() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DDeviceAdminTestReceiver.java75 public void onReceive(Context context, Intent intent) { in onReceive()
99 public void onProfileProvisioningComplete(Context context, Intent intent) { in onProfileProvisioningComplete()
106 public void onBugreportSharingDeclined(Context context, Intent intent) { in onBugreportSharingDeclined()
113 public void onBugreportShared(Context context, Intent intent, String bugreportFileHash) { in onBugreportShared()
120 public void onBugreportFailed(Context context, Intent intent, int failureCode) { in onBugreportFailed()
127 public void onLockTaskModeEntering(Context context, Intent intent, String pkg) { in onLockTaskModeEntering()
134 public void onLockTaskModeExiting(Context context, Intent intent) { in onLockTaskModeExiting()
141 public void onEnabled(Context context, Intent intent) { in onEnabled()
250 private void wipeIfNecessary(Context context, Intent intent) { in wipeIfNecessary()
294 public IBinder onBind(Intent intent) { in onBind()
/cts/hostsidetests/incident/apps/errorsapp/src/com/android/server/cts/errors/
DErrorsTests.java69 Intent intent = new Intent(); in testException() local
88 Intent intent = new Intent(); in testANR() local
110 Intent intent = new Intent(); in testNativeCrash() local
128 Intent intent = new Intent(); in testTombstone() local
/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/
DTestAppAppComponentFactoryTest.java64 Intent intent = new Intent(); in startActivity_activityDoesNotExist_startsLoggingActivity() local
77 Intent intent = new Intent(GENERATED_BROADCAST_RECEIVER_ACTION); in sendBroadcast_receiverDoesNotExist_launchesBroadcastReceiver() local
90 Intent intent = new Intent(); in startService_serviceDoesNotExist_startsLoggingService() local

12345678910>>...50