/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/ |
D | BluetoothRequestPermissionActivityTest.java | 72 Intent intent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISABLE); in onCreate_requestDisableIntent_hasDisableRequestType() local 82 Intent intent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE); in onCreate_requestDiscoverableIntent_hasDiscoverableRequestType() local 92 Intent intent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE); in onCreate_requestDiscoverableIntent_noTimeoutSpecified_hasDefaultTimeout() local 102 Intent intent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE); in onCreate_requestDiscoverableIntent_timeoutSpecified_hasTimeout() local 114 Intent intent = new Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE); in onCreate_requestEnableIntent_hasEnableRequestType() local 126 Intent intent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISABLE); in onCreate_bluetoothOff_requestDisableIntent_noDialog() local 137 Intent intent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISABLE); in onCreate_bluetoothOn_requestDisableIntent_startsDialog() local 149 Intent intent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE); in onCreate_bluetoothOff_requestDiscoverableIntent_startsDialog() local 161 Intent intent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE); in onCreate_bluetoothOn_requestDiscoverableIntent_startsDialog() local 173 Intent intent = new Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE); in onCreate_bluetoothOff_requestEnableIntent_startsDialog() local [all …]
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/ |
D | AllIntentsActivity.java | 172 Intent intent = new Intent(Intent.ACTION_PICK); in onListItemClick() local 183 Intent intent = new Intent(Intent.ACTION_CREATE_SHORTCUT); in onListItemClick() local 188 Intent intent = new Intent(Intent.ACTION_CREATE_SHORTCUT); in onListItemClick() local 194 Intent intent = new Intent(Intent.ACTION_CREATE_SHORTCUT); in onListItemClick() local 200 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in onListItemClick() local 206 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in onListItemClick() local 212 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in onListItemClick() local 218 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in onListItemClick() local 224 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in onListItemClick() local 230 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in onListItemClick() local [all …]
|
/packages/apps/Settings/src/com/android/settings/biometrics/ |
D | BiometricEnrollActivity.java | 54 Intent intent = null; in onCreate() local 89 Intent intent = new Intent(this, FingerprintEnrollFindSensor.class); in getFingerprintFindSensorIntent() local 90 SetupWizardUtils.copySetupExtras(getIntent(), intent); in getFingerprintFindSensorIntent() local 96 Intent intent = new Intent(this, SetupFingerprintEnrollIntroduction.class); in getFingerprintIntroIntent() local 97 WizardManagerHelper.copyWizardManagerExtras(getIntent(), intent); in getFingerprintIntroIntent() local 105 Intent intent = new Intent(this, FaceEnrollIntroduction.class); in getFaceIntroIntent() local 106 WizardManagerHelper.copyWizardManagerExtras(getIntent(), intent); in getFaceIntroIntent() local
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/storage/ |
D | FormatActivityFormatReceiverTest.java | 57 final Intent intent = new Intent(SettingsStorageService.ACTION_FORMAT_AS_PRIVATE); in testFormatAsPrivate_successResumed() local 73 final Intent intent = new Intent(SettingsStorageService.ACTION_FORMAT_AS_PRIVATE); in testFormatAsPrivate_successNotResumed() local 89 final Intent intent = new Intent(SettingsStorageService.ACTION_FORMAT_AS_PRIVATE); in testFormatAsPrivate_failure() local 106 final Intent intent = new Intent(SettingsStorageService.ACTION_FORMAT_AS_PRIVATE); in testFormatAsPrivate_wrongDisk() local 122 final Intent intent = new Intent(SettingsStorageService.ACTION_FORMAT_AS_PUBLIC); in testFormatAsPublic_success() local 137 final Intent intent = new Intent(SettingsStorageService.ACTION_FORMAT_AS_PUBLIC); in testFormatAsPublic_wrongDisk() local
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/ |
D | BiometricEnrollActivity.java | 44 Intent intent = null; in onCreate() local 62 Intent intent = new Intent(this, SetupFingerprintEnrollIntroduction.class); in getFingerprintEnrollIntent() local 63 WizardManagerHelper.copyWizardManagerExtras(getIntent(), intent); in getFingerprintEnrollIntent() local 71 Intent intent = new Intent(this, FaceEnrollIntroduction.class); in getFaceEnrollIntent() local 72 WizardManagerHelper.copyWizardManagerExtras(getIntent(), intent); in getFaceEnrollIntent() local
|
/packages/apps/CertInstaller/robotests/src/com/android/certinstaller/ |
D | CertInstallerRoboTest.java | 48 Intent intent = new Intent(mContext, CertInstaller.class); in testNameNotNullPass() local 57 Intent intent = new Intent(mContext, CertInstaller.class); in testReferrerNotNullPass() local 71 Intent intent = new Intent(mContext, CertInstaller.class); in testUidUsageEqualWifiPass() local 89 Intent intent = new Intent(mContext, CertInstaller.class); in testUidUsageNotNullPass() local 105 Intent intent = new Intent(mContext, CertInstaller.class); in testUidUsageNullPass() local 115 Intent intent = new Intent(mContext, CertInstaller.class); in testIntentGetsMultipleKeysPass() local 126 Intent intent = new Intent(mContext, CertInstaller.class); in testIntentNullPass() local 137 private CredentialHelper startActivityAndGetCredentialHelper(Intent intent) { in startActivityAndGetCredentialHelper()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | IntentAsserts.java | 39 public static void assertHasAction(Intent intent, String expected) { in assertHasAction() 43 public static void assertTargetsComponent(Intent intent, Class<?> expected) { in assertTargetsComponent() 47 public static void assertHasExtra(Intent intent, String key) { in assertHasExtra() 51 public static Intent assertHasExtraIntent(Intent intent) { in assertHasExtraIntent() 57 public static Uri assertHasExtraUri(Intent intent, String key) { in assertHasExtraUri() 64 public static List<Parcelable> assertHasExtraList(Intent intent, String key) { in assertHasExtraList() 70 public static List<Parcelable> assertHasExtraList(Intent intent, String key, int size) { in assertHasExtraList() 76 public static void assertHasData(Intent intent, Uri expected) { in assertHasData()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | UIIntentsImpl.java | 93 final Intent intent = new Intent(context, ConversationActivity.class); in getConversationActivityIntent() local 139 final Intent intent = new Intent(context, PermissionCheckActivity.class); in launchPermissionCheckActivity() local 152 final Intent intent = getConversationListActivityIntent(context); in launchConversationListActivity() local 168 final Intent intent = getConversationActivityIntent(context, conversationId, draft, in launchConversationActivity() local 176 final Intent intent = getConversationActivityIntent(context, conversationId, null, in launchConversationActivityNewTask() local 198 final Intent intent = getConversationActivityIntent(context, null, draft, in launchCreateNewConversationActivity() local 210 final Intent intent = new Intent(Intent.ACTION_INSERT_OR_EDIT); in launchAddContactActivity() local 220 final Intent intent = new Intent(context, SettingsActivity.class); in launchSettingsActivity() local 226 final Intent intent = new Intent(context, ArchivedConversationListActivity.class); in launchArchivedConversationsActivity() local 232 final Intent intent = new Intent(context, BlockedParticipantsActivity.class); in launchBlockedParticipantsActivity() local [all …]
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/ |
D | ActionHandlerTest.java | 209 Intent intent = assertHasExtraIntent(mActivity.startActivity.getLastValue()); in testShareSelectedDocuments_Single() local 226 Intent intent = mActivity.startActivity.getLastValue(); in testShareSelectedDocuments_ArchivedFile() local 236 Intent intent = assertHasExtraIntent(mActivity.startActivity.getLastValue()); in testShareSelectedDocuments_Multiple() local 254 Intent intent = assertHasExtraIntent(mActivity.startActivity.getLastValue()); in testShareSelectedDocuments_VirtualFiles() local 268 Intent intent = assertHasExtraIntent(mActivity.startActivity.getLastValue()); in testShareSelectedDocuments_RegularAndVirtualFiles() local 287 Intent intent = assertHasExtraIntent(mActivity.startActivity.getLastValue()); in testShareSelectedDocuments_OmitsPartialFiles() local 404 Intent intent = LauncherActivity.createLaunchIntent(mActivity); in testInitLocation_LaunchToStackLocation() local 461 Intent intent = mActivity.getIntent(); in testInitLocation_BrowseRootWithoutRootId() local 471 Intent intent = mActivity.getIntent(); in testInitLocation_BrowseRootWrongAuthority_ShowDefault() local 484 Intent intent = mActivity.getIntent(); in testInitLocation_BrowseRoot() local [all …]
|
/packages/apps/TV/common/tests/robotests/src/com/android/tv/common/actions/ |
D | InputSetupActionUtilsTest.java | 39 Intent intent = new Intent("com.android.tv.action.LAUNCH_INPUT_SETUP"); in hasInputSetupAction_launchInputSetup() local 45 Intent intent = new Intent("com.google.android.tv.action.LAUNCH_INPUT_SETUP"); in hasInputSetupAction_googleLaunchInputSetup() local 51 Intent intent = new Intent("com.example.action.LAUNCH_INPUT_SETUP"); in hasInputSetupAction_bad() local 57 Intent intent = new Intent(); in getExtraActivityAfter_null() local 63 Intent intent = new Intent(); in getExtraActivityAfter_activityAfter() local 71 Intent intent = new Intent(); in getExtraActivityAfter_googleActivityAfter() local 79 Intent intent = new Intent(); in getExtraSetupIntent_null() local 85 Intent intent = new Intent(); in getExtraSetupIntent_setupIntent() local 93 Intent intent = new Intent(); in getExtraSetupIntent_googleSetupIntent() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
D | ResetNetworkTest.java | 58 Intent intent = shadowOf(mActivity).getNextStartedActivity(); in showFinalConfirmation_checkboxVisible_eraseEsimChecked() local 70 Intent intent = shadowOf(mActivity).getNextStartedActivity(); in showFinalConfirmation_checkboxVisible_eraseEsimUnchecked() local 82 Intent intent = shadowOf(mActivity).getNextStartedActivity(); in showFinalConfirmation_checkboxGone_eraseEsimChecked() local 94 Intent intent = shadowOf(mActivity).getNextStartedActivity(); in showFinalConfirmation_checkboxGone_eraseEsimUnchecked() local
|
D | SettingsLicenseActivityTest.java | 71 final Intent intent = new Intent(Intent.ACTION_VIEW); in testOnCreateWithValidHtmlFile() local 78 assertEqualIntents(Shadows.shadowOf(mApplication).getNextStartedActivity(), intent); in testOnCreateWithValidHtmlFile() local 89 final Intent intent = new Intent(Intent.ACTION_VIEW); in testOnCreateWithGeneratedHtmlFile() local 99 assertEqualIntents(Shadows.shadowOf(mApplication).getNextStartedActivity(), intent); in testOnCreateWithGeneratedHtmlFile() local
|
D | SetupWizardUtilsTest.java | 71 Intent intent = createSetupWizardIntent(); in testGetTheme_withIntentExtra_shouldReturnExtraTheme() local 80 Intent intent = createSetupWizardIntent(); in testGetTheme_withEmptyIntent_shouldReturnSystemProperty() local 88 Intent intent = createSetupWizardIntent(); in testGetTheme_glifV3Light_shouldReturnThemeResource() local 98 Intent intent = new Intent(); in testGetTheme_nonSuw_shouldReturnDayNightTheme() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | ChooseLockGenericTest.java | 105 Intent intent = new Intent().putExtra( in updatePreferencesOrFinish_passwordTypeSetPin_shouldStartChooseLockPassword() local 118 Intent intent = new Intent().putExtra( in updatePreferencesOrFinish_passwordTypeSetPinNotFbe_shouldNotStartChooseLock() local 131 Intent intent = new Intent() in updatePreferencesOrFinish_footerPreferenceAddedHighComplexityText() local 147 Intent intent = new Intent() in updatePreferencesOrFinish_footerPreferenceAddedMediumComplexityText() local 163 Intent intent = new Intent() in updatePreferencesOrFinish_footerPreferenceAddedLowComplexityText() local 179 Intent intent = new Intent() in updatePreferencesOrFinish_footerPreferenceAddedNoneComplexityText() local 257 Intent intent = new Intent(ACTION_SET_NEW_PASSWORD) in onPreferenceTreeClick_fingerprintPassesMinComplexityInfoOntoNextActivity() local 278 Intent intent = new Intent(ACTION_SET_NEW_PASSWORD) in onPreferenceTreeClick_facePassesMinComplexityInfoOntoNextActivity() local 297 private void initActivity(@Nullable Intent intent) { in initActivity()
|
D | SetNewPasswordActivityTest.java | 99 Intent intent = getLaunchChooseLockIntent(shadowActivity); in testChooseLockGeneric() local 113 Intent intent = getLaunchChooseLockIntent(shadowActivity); in testSetupChooseLockGeneric() local 127 Intent intent = new Intent(ACTION_SET_NEW_PASSWORD); in testLaunchChooseLock_setNewPasswordExtraWithoutPermission() local 151 Intent intent = new Intent(ACTION_SET_NEW_PASSWORD); in testLaunchChooseLock_setNewPasswordExtraWithPermission() local 181 Intent intent = new Intent(ACTION_SET_NEW_PASSWORD); in testLaunchChooseLock_setNewPasswordExtraInvalidValue() local 209 Intent intent = new Intent(ACTION_SET_NEW_PASSWORD); in testLaunchChooseLock_setNewPasswordExtraNoneComplexity() local 237 Intent intent = new Intent(ACTION_SET_NEW_PASSWORD); in testLaunchChooseLock_setNewPasswordWithoutExtra() local 264 Intent intent = new Intent(ACTION_SET_NEW_PARENT_PROFILE_PASSWORD); in testLaunchChooseLock_setNewParentProfilePasswordExtraWithPermission() local 292 Intent intent = new Intent(ACTION_SET_NEW_PARENT_PROFILE_PASSWORD); in testLaunchChooseLock_setNewParentProfilePasswordWithoutExtra() local 322 Intent intent = getLaunchChooseLockIntent(Shadows.shadowOf(activity)); in launchChooseLock_callingAppIsAdmin_setsAdminExtra() local [all …]
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | ImplicitIntentsUtil.java | 66 public static void startActivityInAppIfPossible(Context context, Intent intent) { in startActivityInAppIfPossible() 79 public static void startActivityInApp(Context context, Intent intent) { in startActivityInApp() 88 public static void startActivityOutsideApp(Context context, Intent intent) { in startActivityOutsideApp() 118 final Intent intent = ImplicitIntentsUtil.composeQuickContactIntent( in startQuickContact() local 145 final Intent intent = new Intent(context, QuickContactActivity.class); in composeQuickContactIntent() local 160 final Intent intent = new Intent(Settings.ACTION_SYNC_SETTINGS); in getIntentForAddingAccount() local 171 final Intent intent = new Intent(Settings.ACTION_ADD_ACCOUNT); in getIntentForAddingGoogleAccount() local 179 final Intent intent = composeQuickContactIntent(context, contactUri, in getIntentForQuickContactLauncherShortcut() local 204 private static Intent getIntentInAppIfExists(Context context, Intent intent) { in getIntentInAppIfExists()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/dpp/ |
D | WifiDppConfiguratorActivityTest.java | 57 Intent intent = new Intent(WifiDppConfiguratorActivity.ACTION_CONFIGURATOR_QR_CODE_SCANNER); in launchActivity_qrCodeScanner_shouldNotAutoFinish() local 69 Intent intent = new Intent( in launchActivity_qrCodeGenerator_shouldNotAutoFinish() local 82 final Intent intent = new Intent(Settings.ACTION_PROCESS_WIFI_EASY_CONNECT_URI); in launchActivity_chooseSavedWifiNetwork_shouldNotAutoFinish() local 124 Intent intent = new Intent(WifiDppConfiguratorActivity.ACTION_CONFIGURATOR_QR_CODE_SCANNER); in rotateScreen_shouldGetCorrectWifiDppQrCode() local 151 final Intent intent = new Intent(Settings.ACTION_PROCESS_WIFI_EASY_CONNECT_URI); in rotateScreen_shouldGetCorrectWifiNetworkConfig() local 181 Intent intent = new Intent(WifiDppConfiguratorActivity.ACTION_CONFIGURATOR_QR_CODE_SCANNER); in launchScanner_onNavigateUp_shouldFinish() local 198 Intent intent = new Intent( in launchGenerator_onNavigateUp_shouldFinish() local
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/about/ |
D | LicenseActivityTest.java | 73 final Intent intent = new Intent(Intent.ACTION_VIEW); in testOnCreateWithValidHtmlFile() local 80 assertEqualIntents(shadowOf(mApplication).getNextStartedActivity(), intent); in testOnCreateWithValidHtmlFile() local 92 final Intent intent = new Intent(Intent.ACTION_VIEW); in testOnCreateWithGeneratedHtmlFile() local 102 assertEqualIntents(shadowOf(mApplication).getNextStartedActivity(), intent); in testOnCreateWithGeneratedHtmlFile() local
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | EditorIntents.java | 47 final Intent intent = new Intent(Intent.ACTION_EDIT, uri, context, in createEditContactIntent() local 56 final Intent intent = createEditContactIntent(context, uri, materialPalette, in createViewLinkedContactsIntent() local 68 final Intent intent = new Intent(Intent.ACTION_EDIT, uri, context, in createEditContactIntentForRawContact() local 83 final Intent intent = new Intent(Intent.ACTION_INSERT, Contacts.CONTENT_URI, in createInsertContactIntent() local 97 final Intent intent = new Intent(Intent.ACTION_EDIT, uri, context, in createEditOtherRawContactIntent() local 111 private static void putMaterialPalette(Intent intent, MaterialPalette materialPalette) { in putMaterialPalette() 122 private static void putPhotoId(Intent intent, long photoId) { in putPhotoId() 128 private static void putRawContactDeltaValues(Intent intent, in putRawContactDeltaValues()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/ |
D | AudioPlayerActivity.java | 55 Intent intent = new Intent(Intent.ACTION_VIEW, uri); in start() local 65 Intent intent = new Intent(Intent.ACTION_VIEW, uri); in start() local 76 Intent intent = new Intent(Intent.ACTION_VIEW, uri); in start() local 87 Intent intent = new Intent(Intent.ACTION_VIEW, uri); in start() local 98 Intent intent = new Intent(Intent.ACTION_VIEW, uri); in start() local 111 Intent intent = new Intent(Intent.ACTION_VIEW, uri); in start() local 136 protected void onNewIntent(@Nullable Intent intent) { in onNewIntent() 144 Intent intent = getIntent(); in handleIntent() local
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/ |
D | IntentUtils.java | 35 public static void startExternalActivity(@NonNull Context context, @NonNull Intent intent) { in startExternalActivity() 39 public static void startExternalActivity(@NonNull Context context, @NonNull Intent intent, in startExternalActivity() 46 @NonNull Intent intent, int requestCode) { in startExternalActivityForResult() 51 @NonNull Intent intent, int requestCode, @Nullable Bundle options) { in startExternalActivityForResult() 57 @NonNull Intent intent, int requestCode) { in startExternalActivityForResult() 62 @NonNull Intent intent, int requestCode, @Nullable Bundle options) { in startExternalActivityForResult()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/ |
D | CarSettingActivityTest.java | 79 Intent intent = new Intent(Settings.ACTION_DATE_SETTINGS); in launchWithIntent_resolveToFragment() local 89 Intent intent = new Intent(Settings.ACTION_DATE_SETTINGS); in launchWithIntent_hasNoBackstack() local 98 Intent intent = new Intent(Settings.ACTION_DATE_SETTINGS); in launchWithIntentFromExternalPackage_hasNoBackstack() local 108 Intent intent = new Intent(Settings.ACTION_DATE_SETTINGS); in launchWithIntentFromSettings_hasBackstack() local 126 Intent intent = new Intent(); in launchWithEmptyIntent_resolveToDefaultFragment() local 150 Intent intent = new Intent(Settings.ACTION_DATE_SETTINGS); in onResume_savedInstanceState_doesNotLaunchFragmentFromOldIntent() local 199 Intent intent = new Intent(Settings.ACTION_DATE_SETTINGS); in launchFragment_validIntent_clearsBackStack() local
|
/packages/apps/Dialer/java/com/android/dialer/blockreportspam/ |
D | ShowBlockReportSpamDialogNotifier.java | 40 Intent intent = new Intent(); in notifyShowDialogToBlockNumberAndOptionallyReportSpam() local 55 Intent intent = new Intent(); in notifyShowDialogToBlockNumber() local 68 Intent intent = new Intent(); in notifyShowDialogToReportNotSpam() local 81 Intent intent = new Intent(); in notifyShowDialogToUnblockNumber() local
|
/packages/services/Telephony/testapps/ImsTestService/src/com/android/phone/testapps/imstestapp/ |
D | ImsTestServiceApp.java | 54 Intent intent = new Intent(this, ImsRegistrationActivity.class); in launchRegistrationActivity() local 59 Intent intent = new Intent(this, ImsCallingActivity.class); in launchCallingActivity() local 64 Intent intent = new Intent(this, ImsConfigActivity.class); in launchConfigActivity() local
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/notificationmsg/ |
D | NotificationMsgService.java | 69 public IBinder onBind(Intent intent) { in onBind() 92 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() 141 private void handleDismissNotificationIntent(Intent intent) { in handleDismissNotificationIntent() 151 private void handleMarkAsReadIntent(Intent intent) { in handleMarkAsReadIntent() 161 private void handleReplyIntent(Intent intent) { in handleReplyIntent() 174 private ConversationKey getConversationKey(Intent intent) { in getConversationKey()
|