Home
last modified time | relevance | path

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

12345678910>>...30

/cts/tests/tests/content/src/android/content/cts/
DAvailableIntentsTest.java56 private void assertCanBeHandled(final Intent intent) { in assertCanBeHandled()
68 private void assertDefaultHandlerValidPriority(final Intent intent) { in assertDefaultHandlerValidPriority()
87 Intent intent = new Intent(Intent.ACTION_VIEW, uri); in testViewNormalUrl() local
97 Intent intent = new Intent(Intent.ACTION_VIEW, uri); in testViewSecureUrl() local
107 Intent intent = new Intent(Intent.ACTION_WEB_SEARCH); in testWebSearchNormalUrl() local
118 Intent intent = new Intent(Intent.ACTION_WEB_SEARCH); in testWebSearchSecureUrl() local
129 Intent intent = new Intent(Intent.ACTION_WEB_SEARCH); in testWebSearchPlainText() local
141 Intent intent = new Intent(Intent.ACTION_CALL, uri); in testCallPhoneNumber() local
153 Intent intent = new Intent(Intent.ACTION_DIAL, uri); in testDialPhoneNumber() local
165 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/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/framework/base/windowmanager/backgroundactivity/src/android/server/wm/
DBackgroundActivityLaunchTest.java132 Intent intent = new Intent(); in testBackgroundActivityBlocked() local
159 Intent intent = new Intent(); in testBackgroundActivityNotBlockedWhenSystemAlertWindowGranted() local
169 Intent intent = new Intent(); in testBackgroundActivityNotBlockedWhenForegroundActivityExists() local
191 Intent intent = new Intent(); in testActivityNotBlockedWhenForegroundActivityLaunch() local
206 Intent intent = new Intent(); in testActivityNotBlockedwhenForegroundActivityLaunchInSameTask() local
235 Intent intent = new Intent(); in testActivityNotBlockedWhenForegroundActivityLaunchInDifferentTask() local
264 Intent intent = new Intent(); in testActivityBlockedWhenForegroundActivityRestartsItself() local
287 Intent intent = new Intent(); in testSecondActivityNotBlockedWhenForegroundActivityLaunch() local
350 Intent intent = new Intent(); in testPendingIntentActivityNotBlocked_appAIsForeground() local
370 Intent intent = new Intent(); in testPendingIntentBroadcastActivityNotBlocked_appBIsForeground() local
[all …]
/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.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/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 …]
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
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/tests/tests/permission/telephony/src/android/permission/cts/telephony/
DTelephonyManagerPermissionTest.java212 Intent intent = new Intent("android.intent.action.SIM_STATE_CHANGED"); in testProtectedBroadcasts() local
217 Intent intent = new Intent("android.intent.action.SERVICE_STATE"); in testProtectedBroadcasts() local
222 Intent intent = new Intent("android.telephony.action.DEFAULT_SUBSCRIPTION_CHANGED"); in testProtectedBroadcasts() local
227 Intent intent = new Intent( in testProtectedBroadcasts() local
233 Intent intent = new Intent( in testProtectedBroadcasts() local
239 Intent intent = new Intent( in testProtectedBroadcasts() local
245 Intent intent = new Intent("android.intent.action.SIG_STR"); in testProtectedBroadcasts() local
250 Intent intent = new Intent("android.provider.Telephony.SECRET_CODE"); in testProtectedBroadcasts() local
/cts/libs/install/src/com/android/cts/install/lib/
DLocalIntentSender.java42 public void onReceive(Context context, Intent intent) { in onReceive()
52 Intent intent = new Intent(context, LocalIntentSender.class); in getIntentSender() local
61 Intent intent = sIntentSenderResults.take(); in getIntentSenderResult() local
66 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/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()
210 private void wipeIfNecessary(Context context, Intent intent) { in wipeIfNecessary()
252 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/incident/apps/errorsapp/src/com/android/server/cts/errors/
DErrorsTests.java67 Intent intent = new Intent(); in testException() local
86 Intent intent = new Intent(); in testANR() local
108 Intent intent = new Intent(); in testNativeCrash() local
126 Intent intent = new Intent(); in testTombstone() 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/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

12345678910>>...30