Home
last modified time | relevance | path

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

12345678910>>...79

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothRequestPermissionActivityTest.java85 Intent intent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISABLE); in onCreate_requestDisableIntent_hasDisableRequestType() local
95 Intent intent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE); in onCreate_requestDiscoverableIntent_hasDiscoverableRequestType() local
105 Intent intent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE); in onCreate_requestDiscoverableIntent_noTimeoutSpecified_hasDefaultTimeout() local
115 Intent intent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE); in onCreate_requestDiscoverableIntent_timeoutSpecified_hasTimeout() local
130 Intent intent = createSetupWizardIntent(); in onCreate_requestDiscoverableIntent_bypassforSetup_startsDiscoverableScan() local
143 Intent intent = createSetupWizardIntent(); in onCreate_requestDiscoverableIntent_bypassforSetup_turningOn_noDialog() local
155 Intent intent = createSetupWizardIntent(); in onCreate_requestDiscoverableIntent_bypassforSetup_turningOn_receiverRegistered() local
167 Intent intent = createSetupWizardIntent(); in onCreate_requestDiscoverableIntent_bypassforSetup_turningOn_enableDiscovery() local
193 Intent intent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE); in onCreate_requestDiscoverableIntent_bypassforGeneric_noScanModeChange() local
203 Intent intent = new Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE); in onCreate_requestEnableIntent_hasEnableRequestType() local
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
DAllIntentsActivity.java172 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/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/storage/
DFormatActivityFormatReceiverTest.java57 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/apps/Settings/src/com/android/settings/biometrics/
DBiometricEnrollActivity.java67 Intent intent = null; in onCreate() local
121 Intent intent = new Intent(this, FingerprintEnrollFindSensor.class); in getFingerprintFindSensorIntent() local
122 SetupWizardUtils.copySetupExtras(getIntent(), intent); in getFingerprintFindSensorIntent() local
128 Intent intent = new Intent(this, SetupFingerprintEnrollIntroduction.class); in getFingerprintIntroIntent() local
129 WizardManagerHelper.copyWizardManagerExtras(getIntent(), intent); in getFingerprintIntroIntent() local
137 Intent intent = new Intent(this, FaceEnrollIntroduction.class); in getFaceIntroIntent() local
138 WizardManagerHelper.copyWizardManagerExtras(getIntent(), intent); in getFaceIntroIntent() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/
DBiometricEnrollActivity.java44 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/DocumentsUI/tests/common/com/android/documentsui/testing/
DIntentAsserts.java39 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/DocumentsUI/tests/unit/com/android/documentsui/files/
DActionHandlerTest.java203 Intent intent = assertHasExtraIntent(mActivity.startActivity.getLastValue()); in testShareSelectedDocuments_Single() local
220 Intent intent = mActivity.startActivity.getLastValue(); in testShareSelectedDocuments_ArchivedFile() local
230 Intent intent = assertHasExtraIntent(mActivity.startActivity.getLastValue()); in testShareSelectedDocuments_Multiple() local
243 Intent intent = mActivity.startActivity.getLastValue(); in testShareSelectedDocuments_overShareLimit() local
259 Intent intent = assertHasExtraIntent(mActivity.startActivity.getLastValue()); in testShareSelectedDocuments_VirtualFiles() local
273 Intent intent = assertHasExtraIntent(mActivity.startActivity.getLastValue()); in testShareSelectedDocuments_RegularAndVirtualFiles() local
292 Intent intent = assertHasExtraIntent(mActivity.startActivity.getLastValue()); in testShareSelectedDocuments_OmitsPartialFiles() local
409 Intent intent = LauncherActivity.createLaunchIntent(mActivity); in testInitLocation_LaunchToStackLocation() local
444 Intent intent = mActivity.getIntent(); in testInitLocation_BrowseRootWithoutRootId() local
454 Intent intent = mActivity.getIntent(); in testInitLocation_BrowseRootWrongAuthority_ShowDefault() local
[all …]
DQuickViewIntentBuilderTest.java63 Intent intent = builder.build(); in testSetsNoFeatures_InArchiveDocument() local
74 Intent intent = builder.build(); in testSetsFullFeatures_RegularDocument() local
94 Intent intent = builder.build(); in testPickerFeatures_RegularDocument() local
114 Intent intent = builder.build(); in testBuild() local
134 Intent intent = builder.build(); in testBuild_excludeFolder() local
153 Intent intent = builder.build(); in testBuild_twoProfiles_containsOnlyPreviewDocument() local
/packages/apps/Contacts/src/com/android/contacts/util/
DImplicitIntentsUtil.java66 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()
105 final Intent intent = ImplicitIntentsUtil.composeQuickContactIntent( in startQuickContact() local
126 final Intent intent = new Intent(context, QuickContactActivity.class); in composeQuickContactIntent() local
141 final Intent intent = new Intent(Settings.ACTION_SYNC_SETTINGS); in getIntentForAddingAccount() local
152 final Intent intent = new Intent(Settings.ACTION_ADD_ACCOUNT); in getIntentForAddingGoogleAccount() local
160 final Intent intent = composeQuickContactIntent(context, contactUri, in getIntentForQuickContactLauncherShortcut() local
185 private static Intent getIntentInAppIfExists(Context context, Intent intent) { in getIntentInAppIfExists()
/packages/apps/Messaging/src/com/android/messaging/ui/
DUIIntentsImpl.java93 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/TV/common/tests/robotests/src/com/android/tv/common/actions/
DInputSetupActionUtilsTest.java39 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/
DResetNetworkTest.java58 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
DSettingsLicenseActivityTest.java71 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
DSetupWizardUtilsTest.java71 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/
DChooseLockGenericTest.java126 Intent intent = new Intent().putExtra( in updatePreferencesOrFinish_passwordTypeSetPin_shouldStartChooseLockPassword() local
139 Intent intent = new Intent().putExtra( in updatePreferencesOrFinish_passwordTypeSetPinNotFbe_shouldNotStartChooseLock() local
152 Intent intent = new Intent() in updatePreferencesOrFinish_footerPreferenceAddedHighComplexityText() local
168 Intent intent = new Intent() in updatePreferencesOrFinish_footerPreferenceAddedMediumComplexityText() local
184 Intent intent = new Intent() in updatePreferencesOrFinish_footerPreferenceAddedLowComplexityText() local
200 Intent intent = new Intent() in updatePreferencesOrFinish_footerPreferenceAddedNoneComplexityText() local
290 Intent intent = new Intent(ACTION_SET_NEW_PASSWORD) in onPreferenceTreeClick_fingerprintPassesMinComplexityInfoOntoNextActivity() local
311 Intent intent = new Intent(ACTION_SET_NEW_PASSWORD) in onPreferenceTreeClick_facePassesMinComplexityInfoOntoNextActivity() local
338 Intent intent = new Intent().putExtra( in testUnifyProfile_IntentPassedToChooseLockPassword() local
363 Intent intent = new Intent().putExtra( in testUnifyProfile_IntentPassedToChooseLockPattern() local
[all …]
DSetNewPasswordActivityTest.java100 Intent intent = getLaunchChooseLockIntent(shadowActivity); in testChooseLockGeneric() local
115 Intent intent = getLaunchChooseLockIntent(shadowActivity); in testSetupChooseLockGeneric() local
130 Intent intent = new Intent(ACTION_SET_NEW_PASSWORD); in testLaunchChooseLock_setNewPasswordExtraWithoutPermission() local
154 Intent intent = new Intent(ACTION_SET_NEW_PASSWORD); in testLaunchChooseLock_setNewPasswordExtraWithPermission() local
184 Intent intent = new Intent(ACTION_SET_NEW_PASSWORD); in testLaunchChooseLock_setNewPasswordExtraInvalidValue() local
212 Intent intent = new Intent(ACTION_SET_NEW_PASSWORD); in testLaunchChooseLock_setNewPasswordExtraNoneComplexity() local
240 Intent intent = new Intent(ACTION_SET_NEW_PASSWORD); in testLaunchChooseLock_setNewPasswordWithoutExtra() local
267 Intent intent = new Intent(ACTION_SET_NEW_PARENT_PROFILE_PASSWORD); in testLaunchChooseLock_setNewParentProfilePasswordExtraWithPermission() local
295 Intent intent = new Intent(ACTION_SET_NEW_PARENT_PROFILE_PASSWORD); in testLaunchChooseLock_setNewParentProfilePasswordWithoutExtra() local
325 Intent intent = getLaunchChooseLockIntent(Shadows.shadowOf(activity)); in launchChooseLock_callingAppIsAdmin_setsAdminExtra() local
[all …]
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/about/
DLicenseActivityTest.java73 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/
DEditorIntents.java47 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/
DAudioPlayerActivity.java55 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/
DIntentUtils.java35 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/PermissionController/src/com/android/permissioncontroller/permission/service/
DPermissionControllerLifecycleService.java48 public void onStart(@Nullable Intent intent, int startId) { in onStart()
69 public int onStartCommand(@Nullable Intent intent, int flags, int startId) { in onStartCommand()
75 public boolean onUnbind(@Nullable Intent intent) { in onUnbind()
82 public void onRebind(@Nullable Intent intent) { in onRebind()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DNetworkPasswordPreferenceControllerTest.java112 Intent intent = new Intent(NetworkNamePreferenceController.ACTION_NAME_CHANGE); in receiveNameChangeIntent_emptyName_dialogNameRemoved() local
124 Intent intent = new Intent(NetworkNamePreferenceController.ACTION_NAME_CHANGE); in receiveNameChangeIntent_name_dialogNameSet() local
134 Intent intent = new Intent(NetworkSecurityPreferenceController.ACTION_SECURITY_CHANGE); in receiveSecurityChangeIntent_setUnsecureType_preferenceHidden() local
145 Intent intent = new Intent(NetworkSecurityPreferenceController.ACTION_SECURITY_CHANGE); in receiveSecurityChangeIntent_setSecureType_preferenceVisible() local
158 Intent intent = new Intent(NetworkSecurityPreferenceController.ACTION_SECURITY_CHANGE); in handlePreferenceChanged_hasSecurity_networkNameSet_wifiAdded() local
179 Intent intent = new Intent(NetworkSecurityPreferenceController.ACTION_SECURITY_CHANGE); in handlePreferenceChanged_hasSecurity_networkNameSet_wifiEnabled() local
202 Intent intent = new Intent(NetworkSecurityPreferenceController.ACTION_SECURITY_CHANGE); in handlePreferenceChanged_hasSecurity_networkNameSet_wifiConnected() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/sim/
DSimSelectNotificationTest.java148 Intent intent = new Intent(Settings.ACTION_ENABLE_MMS_DATA_REQUEST); in onReceiveEnableMms_notificationShouldSend() local
176 Intent intent = new Intent(Settings.ACTION_ENABLE_MMS_DATA_REQUEST); in onReceiveEnableMms_NoExtra_notificationShouldNotSend() local
186 Intent intent = new Intent(Settings.ACTION_ENABLE_MMS_DATA_REQUEST); in onReceiveEnableMms_MmsDataAlreadyEnabled_notificationShouldNotSend() local
198 Intent intent = new Intent(TelephonyManager.ACTION_PRIMARY_SUBSCRIPTION_LIST_CHANGED); in onReceivePrimarySubListChange_NoExtra_notificationShouldNotSend() local
207 Intent intent = new Intent(TelephonyManager.ACTION_PRIMARY_SUBSCRIPTION_LIST_CHANGED); in onReceivePrimarySubListChange_WithDataPickExtra_shouldStartActivity() local
227 Intent intent = new Intent(TelephonyManager.ACTION_PRIMARY_SUBSCRIPTION_LIST_CHANGED); in onReceivePrimarySubListChange_WithDismissExtra_shouldDismiss() local
251 Intent intent = new Intent(TelephonyManager.ACTION_PRIMARY_SUBSCRIPTION_LIST_CHANGED); in onReceivePrimarySubListChange_DualCdmaWarning_notificationShouldSend() local
/packages/apps/Dialer/java/com/android/dialer/blockreportspam/
DShowBlockReportSpamDialogNotifier.java40 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/
DImsTestServiceApp.java54 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

12345678910>>...79