Home
last modified time | relevance | path

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

12345678910>>...28

/cts/tests/tests/content/src/android/content/cts/
DAvailableIntentsTest.java55 private void assertCanBeHandled(final Intent intent) { in assertCanBeHandled()
67 private void assertDefaultHandlerValidPriority(final Intent intent) { in assertDefaultHandlerValidPriority()
86 Intent intent = new Intent(Intent.ACTION_VIEW, uri); in testViewNormalUrl() local
96 Intent intent = new Intent(Intent.ACTION_VIEW, uri); in testViewSecureUrl() local
106 Intent intent = new Intent(Intent.ACTION_WEB_SEARCH); in testWebSearchNormalUrl() local
117 Intent intent = new Intent(Intent.ACTION_WEB_SEARCH); in testWebSearchSecureUrl() local
128 Intent intent = new Intent(Intent.ACTION_WEB_SEARCH); in testWebSearchPlainText() local
140 Intent intent = new Intent(Intent.ACTION_CALL, uri); in testCallPhoneNumber() local
152 Intent intent = new Intent(Intent.ACTION_DIAL, uri); in testDialPhoneNumber() local
164 Intent intent = new Intent(Intent.ACTION_DIAL, uri); in testDialVoicemail() local
[all …]
DImageCaptureActivity.java38 Intent intent = getIntent(); in onCreate() local
52 private void writeToClipDataUri(Intent intent) { in writeToClipDataUri()
79 private File getFileFromIntent(Intent intent) { in getFileFromIntent()
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/
DBackgroundActivityLaunchTest.java120 Intent intent = new Intent(); in testBackgroundActivityBlocked() local
142 Intent intent = new Intent(); in testBackgroundActivityNotBlockedWhenForegroundActivityExists() local
164 Intent intent = new Intent(); in testActivityNotBlockedWhenForegroundActivityLaunch() local
180 Intent intent = new Intent(); in testActivityNotBlockedwhenForegroundActivityLaunchInSameTask() local
212 Intent intent = new Intent(); in testActivityNotBlockedWhenForegroundActivityLaunchInDifferentTask() local
244 Intent intent = new Intent(); in testActivityBlockedWhenForegroundActivityRestartsItself() local
269 Intent intent = new Intent(); in testSecondActivityNotBlockedWhenForegroundActivityLaunch() local
299 Intent intent = new Intent(); in testPendingIntentActivityNotBlocked_appAIsForeground() local
319 Intent intent = new Intent(); in testPendingIntentBroadcastActivityNotBlocked_appBIsForeground() local
372 Intent intent = new Intent(); in testDeviceOwner() local
[all …]
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStoreIntentsTest.java67 public void assertCanBeHandled(Intent intent) { in assertCanBeHandled()
77 Intent intent = new Intent(Intent.ACTION_PICK); in testPickImageDir() local
84 Intent intent = new Intent(Intent.ACTION_PICK); in testPickVideoDir() local
91 Intent intent = new Intent(Intent.ACTION_PICK); in testPickAudioDir() local
98 Intent intent = new Intent(Intent.ACTION_VIEW); in testViewImageDir() local
105 Intent intent = new Intent(Intent.ACTION_VIEW); in testViewVideoDir() local
122 Intent intent = new Intent(Intent.ACTION_VIEW); in testViewImageFile() local
141 Intent intent = new Intent(Intent.ACTION_VIEW); in testViewVideoFile() local
160 Intent intent = new Intent(Intent.ACTION_VIEW); in testViewAudioFile() local
/cts/tests/tests/permission/telephony/src/android/permission/cts/telephony/
DTelephonyManagerPermissionTest.java208 Intent intent = new Intent("android.intent.action.SIM_STATE_CHANGED"); in testProtectedBroadcasts() local
213 Intent intent = new Intent("android.intent.action.SERVICE_STATE"); in testProtectedBroadcasts() local
218 Intent intent = new Intent("android.telephony.action.DEFAULT_SUBSCRIPTION_CHANGED"); in testProtectedBroadcasts() local
223 Intent intent = new Intent( in testProtectedBroadcasts() local
229 Intent intent = new Intent( in testProtectedBroadcasts() local
235 Intent intent = new Intent( in testProtectedBroadcasts() local
241 Intent intent = new Intent("android.intent.action.SIG_STR"); in testProtectedBroadcasts() local
246 Intent intent = new Intent("android.provider.Telephony.SECRET_CODE"); in testProtectedBroadcasts() local
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DContactsContractIntentsTest.java31 public void assertCanBeHandled(Intent intent) { in assertCanBeHandled()
40 Intent intent = new Intent(Intent.ACTION_VIEW); in testViewContactDir() local
46 Intent intent = new Intent(Intent.ACTION_PICK); in testPickContactDir() local
52 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in testGetContentContactDir() local
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DNfcTest.java31 Intent intent = getTextShareIntent(); in testNfcShareDisabled() local
36 Intent intent = getTextShareIntent(); in testNfcShareEnabled() local
41 Intent intent = new Intent(); in getTextShareIntent() local
48 private boolean isNfcBeamActivityResolved(Intent intent) { in isNfcBeamActivityResolved()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleServerService.java273 Intent intent = new Intent(BLE_BLUETOOTH_DISABLED); in notifyBluetoothDisabled() local
278 Intent intent = new Intent(BLE_BLUETOOTH_MISMATCH_SECURE); in notifyMismatchSecure() local
290 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand()
318 public IBinder onBind(Intent intent) { in onBind()
365 Intent intent = new Intent(BLE_OPEN_FAIL); in notifyOpenFail() local
373 Intent intent = new Intent(BLE_ADD_SERVICE_FAIL); in notifyAddServiceFail() local
381 Intent intent = new Intent(BLE_ADVERTISE_UNSUPPORTED); in notifyAdvertiseUnsupported() local
389 Intent intent = new Intent(BLE_SERVER_CONNECTED); in notifyConnected() local
399 Intent intent = new Intent(BLE_SERVER_DISCONNECTED); in notifyDisconnected() local
407 Intent intent = new Intent(BLE_SERVICE_ADDED); in notifyServiceAdded() local
[all …]
DBleEncryptedServerService.java147 public IBinder onBind(Intent intent) { in onBind()
152 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand()
194 Intent intent = new Intent(INTENT_BLUETOOTH_DISABLED); in notifyBluetoothDisabled() local
202 Intent intent = new Intent(BleServerService.BLE_OPEN_FAIL); in notifyOpenFail() local
210 Intent intent = new Intent(BleServerService.BLE_ADVERTISE_UNSUPPORTED); in notifyAdvertiseUnsupported() local
237 Intent intent = new Intent(INTENT_WAIT_WRITE_ENCRYPTED_CHARACTERISTIC); in notifyCharacteristicWriteRequest() local
246 Intent intent = new Intent(INTENT_WAIT_READ_ENCRYPTED_CHARACTERISTIC); in notifyCharacteristicReadRequest() local
255 Intent intent = new Intent(INTENT_WAIT_WRITE_ENCRYPTED_DESCRIPTOR); in notifyDescriptorWriteRequest() local
264 Intent intent = new Intent(INTENT_WAIT_READ_ENCRYPTED_DESCRIPTOR); in notifyDescriptorReadRequest() local
/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 …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DDeviceAdminTestReceiver.java68 public void onProfileProvisioningComplete(Context context, Intent intent) { in onProfileProvisioningComplete()
75 public void onBugreportSharingDeclined(Context context, Intent intent) { in onBugreportSharingDeclined()
82 public void onBugreportShared(Context context, Intent intent, String bugreportFileHash) { in onBugreportShared()
89 public void onBugreportFailed(Context context, Intent intent, int failureCode) { in onBugreportFailed()
96 public void onLockTaskModeEntering(Context context, Intent intent, String pkg) { in onLockTaskModeEntering()
103 public void onLockTaskModeExiting(Context context, Intent intent) { in onLockTaskModeExiting()
110 public void onEnabled(Context context, Intent intent) { in onEnabled()
198 Intent intent = new Intent(context, ByodHelperActivity.class); in setupProfile() local
209 private void wipeIfNecessary(Context context, Intent intent) { in wipeIfNecessary()
251 public IBinder onBind(Intent intent) { in onBind()
DPolicyTransparencyTestListActivity.java147 final Intent intent = UserRestrictions.getUserRestrictionTestIntent(this, restriction); in addTestsToAdapter() local
161 final Intent intent = policy.first; in addTestsToAdapter() local
215 final Intent intent = new Intent(SetSupportMessageActivity.ACTION_SET_SUPPORT_MSG); in onClick() local
220 final Intent intent = new Intent(SetSupportMessageActivity.ACTION_SET_SUPPORT_MSG); in onClick() local
235 final Intent intent = new Intent(CommandReceiverActivity.ACTION_EXECUTE_COMMAND); in finish() local
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DLocalIntentSender.java37 public void onReceive(Context context, Intent intent) { in onReceive()
47 Intent intent = new Intent(context, LocalIntentSender.class); in getIntentSender() local
56 Intent intent = sIntentSenderResults.take(); in getIntentSenderResult() local
61 private static String prettyPrint(Intent intent) { in prettyPrint()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DBasicAdminReceiver.java43 public void onUserAdded(Context context, Intent intent, UserHandle userHandle) { in onUserAdded()
49 public void onUserRemoved(Context context, Intent intent, UserHandle userHandle) { in onUserRemoved()
55 public void onUserStarted(Context context, Intent intent, UserHandle userHandle) { in onUserStarted()
61 public void onUserStopped(Context context, Intent intent, UserHandle userHandle) { in onUserStopped()
67 public void onUserSwitched(Context context, Intent intent, UserHandle userHandle) { in onUserSwitched()
73 public void onNetworkLogsAvailable(Context context, Intent intent, long batchToken, in onNetworkLogsAvailable()
84 Intent intent = new Intent(action); in sendUserBroadcast() local
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DPolicyTransparencyTest.java35 Intent intent = mDevicePolicyManager.createAdminSupportIntent( in testCameraDisabled() local
52 Intent intent = mDevicePolicyManager.createAdminSupportIntent( in testScreenCaptureDisabled() local
76 Intent intent = mDevicePolicyManager.createAdminSupportIntent(restriction); in runTestForRestriction() 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/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/
DDelegatedScopesReceiverActivity.java66 protected void onNewIntent(Intent intent) { in onNewIntent()
86 private void handleIntent(Intent intent) { in handleIntent()
99 Intent intent = new Intent(); in sendScopeReportBroadcast() local
106 Intent intent = new Intent(); in sendRunningBroadcast() local
/cts/hostsidetests/appsecurity/test-apps/OrderedActivityApp/src/android/appsecurity/cts/orderedactivity/
DPackageResolutionTest.java41 final Intent intent = new Intent("android.cts.intent.action.ORDERED"); in queryActivityOrdered() local
61 final Intent intent = new Intent("android.cts.intent.action.ORDERED"); in queryServiceOrdered() local
81 final Intent intent = new Intent("android.cts.intent.action.ORDERED"); in queryReceiverOrdered() local
/cts/tests/tests/externalservice/src/android/externalservice/cts/
DExternalServiceTest.java56 Intent intent = new Intent(); in testFailBindIsolated() local
67 Intent intent = new Intent(); in testFailBindExternalIsolated() local
80 Intent intent = new Intent(); in testFailBindExternalExported() local
92 Intent intent = new Intent(); in testFailBindExternalNonExported() local
105 Intent intent = new Intent(); in testFailBindExternalNonIsolated() local
118 Intent intent = new Intent(); in testFailBindWithoutBindExternal() local
130 Intent intent = new Intent(); in testBindExternalService() local
158 Intent intent = new Intent(); in testBindExternalServiceWithRunningOwn() local
253 Intent intent = new Intent(); in testBindExternalAboveClient() local
294 Intent intent = new Intent(); in testBindExternalServiceWithZygote() local
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/
DLaunchSequence.java97 static LaunchSequence create(LaunchIntent intent) { in create()
106 default LaunchSequence append(LaunchIntent intent) { in append()
117 default LaunchSequence append(LaunchIntent intent, LaunchSequence launchFrom) { in append()
125 default LaunchSequence act(LaunchIntent intent) { in act()
135 default LaunchSequence act(LaunchIntent intent, LaunchSequence launchFrom) { in act()
145 static LaunchIntent intent(Class<? extends android.app.Activity> activity) { in intent() method
198 LaunchFromIntent intent = new LaunchFromIntent(mLaunchIntent, launchSite); in fold() local
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DLaunchAssistantActivityIntoAssistantStack.java30 final Intent intent = getIntent(); in onResume() local
39 private static boolean isTranslucent(Intent intent) { in isTranslucent()
/cts/tests/tests/tv/src/android/tv/settings/cts/
DSettingsLeanbackTest.java64 Intent intent = new Intent(Intent.ACTION_MAIN); in testLeanbackLauncherIntentCategory() local
79 Intent intent = new Intent(Intent.ACTION_MAIN); in testLeanbackSettingsIntentCategory() local
84 private void assertIntentCanBeHandled(final Intent intent) { in assertIntentCanBeHandled()
/cts/hostsidetests/incident/apps/errorsapp/src/com/android/server/cts/errors/
DErrorsTests.java74 Intent intent = new Intent(); in testException() local
90 Intent intent = new Intent(); in testANR() local
108 Intent intent = new Intent(); in testNativeCrash() local
122 Intent intent = new Intent(); in testTombstone() local
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsProcessStateTests.java35 Intent intent = new Intent(); in testForegroundService() local
44 Intent intent = new Intent(); in testActivity() local
/cts/tests/tests/libcorefileio/src/android/cts/
DLockHoldingService.java102 public IBinder onBind(Intent intent) { in onBind()
107 public int onStartCommand(Intent intent, int flags, int startID) { in onStartCommand()
123 private void acquireLock(Intent intent) throws IOException, in acquireLock()
141 private void acquireLockAndThenWaitThenRelease(Intent intent) in acquireLockAndThenWaitThenRelease()
185 Intent intent = new Intent() in onDestroy() local

12345678910>>...28