/cts/tests/tests/content/src/android/content/cts/ |
D | AvailableIntentsTest.java | 48 private void assertCanBeHandled(final Intent intent) { in assertCanBeHandled() 60 private void assertDefaultHandlerValidPriority(final Intent intent) { in assertDefaultHandlerValidPriority() 79 Intent intent = new Intent(Intent.ACTION_VIEW, uri); in testViewNormalUrl() local 89 Intent intent = new Intent(Intent.ACTION_VIEW, uri); in testViewSecureUrl() local 99 Intent intent = new Intent(Intent.ACTION_WEB_SEARCH); in testWebSearchNormalUrl() local 110 Intent intent = new Intent(Intent.ACTION_WEB_SEARCH); in testWebSearchSecureUrl() local 121 Intent intent = new Intent(Intent.ACTION_WEB_SEARCH); in testWebSearchPlainText() local 133 Intent intent = new Intent(Intent.ACTION_CALL, uri); in testCallPhoneNumber() local 145 Intent intent = new Intent(Intent.ACTION_DIAL, uri); in testDialPhoneNumber() local 157 Intent intent = new Intent(Intent.ACTION_DIAL, uri); in testDialVoicemail() local [all …]
|
D | ImageCaptureActivity.java | 38 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/ |
D | MediaStoreIntentsTest.java | 32 public void assertCanBeHandled(Intent intent) { in assertCanBeHandled() 41 Intent intent = new Intent(Intent.ACTION_PICK); in testPickImageDir() local 47 Intent intent = new Intent(Intent.ACTION_PICK); in testPickVideoDir() local 53 Intent intent = new Intent(Intent.ACTION_PICK); in testPickAudioDir() local 59 Intent intent = new Intent(Intent.ACTION_VIEW); in testViewImageDir() local 65 Intent intent = new Intent(Intent.ACTION_VIEW); in testViewVideoDir() local 81 Intent intent = new Intent(Intent.ACTION_VIEW); in testViewImageFile() local 99 Intent intent = new Intent(Intent.ACTION_VIEW); in testViewVideoFile() local 117 Intent intent = new Intent(Intent.ACTION_VIEW); in testViewAudioFile() local
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | TelephonyManagerPermissionTest.java | 208 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/ |
D | ContactsContractIntentsTest.java | 31 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/ |
D | NfcTest.java | 31 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/tests/app/src/android/app/cts/ |
D | RemoteInputTest.java | 80 Intent intent = new Intent(); in testRemoteInputBuilder_addAndGetDataResultsFromIntent() local 91 Intent intent = new Intent(); in testRemoteInputBuilder_addAndGetTextResultsFromIntent() local 106 Intent intent = new Intent(); in testRemoteInputBuilder_addAndGetDataAndTextResultsFromIntentDataFirst() local 121 Intent intent = new Intent(); in testRemoteInputBuilder_addAndGetDataAndTextResultsFromIntentTextFirst() local 132 Intent intent = new Intent(); in testGetResultsSource_emptyIntent() local 141 Intent intent = new Intent(); in testGetResultsSource_addDataAndTextResults() local 150 Intent intent = new Intent(); in testGetResultsSource_setSource() local 161 Intent intent = new Intent(); in testGetResultsSource_setSourceAndAddDataAndTextResults() local 170 private static void addTextResultsToIntent(RemoteInput input, Intent intent, in addTextResultsToIntent() 179 private static void addDataResultsToIntent(RemoteInput input, Intent intent, Uri uri) { in addDataResultsToIntent() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BleServerService.java | 273 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 …]
|
D | BleEncryptedServerService.java | 147 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/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | DeviceAdminTestReceiver.java | 67 public void onProfileProvisioningComplete(Context context, Intent intent) { in onProfileProvisioningComplete() 74 public void onBugreportSharingDeclined(Context context, Intent intent) { in onBugreportSharingDeclined() 81 public void onBugreportShared(Context context, Intent intent, String bugreportFileHash) { in onBugreportShared() 88 public void onBugreportFailed(Context context, Intent intent, int failureCode) { in onBugreportFailed() 95 public void onLockTaskModeEntering(Context context, Intent intent, String pkg) { in onLockTaskModeEntering() 102 public void onLockTaskModeExiting(Context context, Intent intent) { in onLockTaskModeExiting() 109 public void onEnabled(Context context, Intent intent) { in onEnabled() 192 Intent intent = new Intent(context, ByodHelperActivity.class); in setupProfile() local 198 private void wipeIfNecessary(Context context, Intent intent) { in wipeIfNecessary() 240 public IBinder onBind(Intent intent) { in onBind()
|
D | PolicyTransparencyTestListActivity.java | 147 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/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | BasicAdminReceiver.java | 43 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/ |
D | PolicyTransparencyTest.java | 35 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/ |
D | LocalActivityManagerTestHelper.java | 91 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
|
D | LocalService.java | 66 public void onStart(Intent intent, int startId) { in onStart() 85 public IBinder onBind(Intent intent) { in onBind() 90 public boolean onUnbind(Intent intent) { in onUnbind() 98 public void onRebind(Intent intent) { in onRebind()
|
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/ |
D | DelegatedScopesReceiverActivity.java | 66 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/ |
D | PackageResolutionTest.java | 43 final Intent intent = new Intent("android.cts.intent.action.ORDERED"); in queryActivityOrdered() local 63 final Intent intent = new Intent("android.cts.intent.action.ORDERED"); in queryServiceOrdered() local 83 final Intent intent = new Intent("android.cts.intent.action.ORDERED"); in queryReceiverOrdered() local
|
/cts/tests/tests/externalservice/src/android/externalservice/cts/ |
D | ExternalServiceTest.java | 55 Intent intent = new Intent(); in testFailBindIsolated() local 66 Intent intent = new Intent(); in testFailBindExternalIsolated() local 79 Intent intent = new Intent(); in testFailBindExternalExported() local 91 Intent intent = new Intent(); in testFailBindExternalNonExported() local 104 Intent intent = new Intent(); in testFailBindExternalNonIsolated() local 117 Intent intent = new Intent(); in testFailBindWithoutBindExternal() local 129 Intent intent = new Intent(); in testBindExternalService() local 156 Intent intent = new Intent(); in testBindExternalServiceWithRunningOwn() local 246 Intent intent = new Intent(); in testBindExternalAboveClient() local
|
/cts/tests/framework/base/activitymanager/app/src/android/server/am/ |
D | LaunchAssistantActivityIntoAssistantStack.java | 31 final Intent intent = getIntent(); in onResume() local 40 private static boolean isTranslucent(Intent intent) { in isTranslucent()
|
/cts/tests/tests/tv/src/android/tv/settings/cts/ |
D | SettingsLeanbackTest.java | 64 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/ |
D | BatteryStatsProcessStateTests.java | 36 Intent intent = new Intent(); in testForegroundService() local 45 Intent intent = new Intent(); in testActivity() local
|
/cts/tests/framework/base/activitymanager/app_base/src/android/server/am/ |
D | LaunchingActivity.java | 31 final Intent intent = getIntent(); in onCreate() local 38 protected void onNewIntent(Intent intent) { in onNewIntent()
|
/cts/tests/tests/libcorefileio/src/android/cts/ |
D | LockHoldingService.java | 102 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
|
/cts/tests/tests/os/src/android/os/cts/ |
D | LocalService.java | 66 public void onStart(Intent intent, int startId) { in onStart() 85 public IBinder onBind(Intent intent) { in onBind() 90 public boolean onUnbind(Intent intent) { in onUnbind() 98 public void onRebind(Intent intent) { in onRebind()
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ |
D | EphemeralService.java | 39 public IBinder onBind(Intent intent) { in onBind() 52 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand()
|