Home
last modified time | relevance | path

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

12345678910>>...76

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothRequestPermissionActivityTest.java72 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/
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/Settings/src/com/android/settings/biometrics/
DBiometricEnrollActivity.java54 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/
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/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.java208 Intent intent = assertHasExtraIntent(mActivity.startActivity.getLastValue()); in testShareSelectedDocuments_Single() local
225 Intent intent = mActivity.startActivity.getLastValue(); in testShareSelectedDocuments_ArchivedFile() local
235 Intent intent = assertHasExtraIntent(mActivity.startActivity.getLastValue()); in testShareSelectedDocuments_Multiple() local
253 Intent intent = assertHasExtraIntent(mActivity.startActivity.getLastValue()); in testShareSelectedDocuments_VirtualFiles() local
267 Intent intent = assertHasExtraIntent(mActivity.startActivity.getLastValue()); in testShareSelectedDocuments_RegularAndVirtualFiles() local
286 Intent intent = assertHasExtraIntent(mActivity.startActivity.getLastValue()); in testShareSelectedDocuments_OmitsPartialFiles() local
391 Intent intent = LauncherActivity.createLaunchIntent(mActivity); in testInitLocation_LaunchToStackLocation() local
448 Intent intent = mActivity.getIntent(); in testInitLocation_BrowseRootWithoutRootId() local
458 Intent intent = mActivity.getIntent(); in testInitLocation_BrowseRootWrongAuthority_ShowDefault() local
471 Intent intent = mActivity.getIntent(); in testInitLocation_BrowseRoot() local
[all …]
/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/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.java105 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()
DSetNewPasswordActivityTest.java99 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/UniversalMediaPlayer/java/com/android/pump/activity/
DAudioPlayerActivity.java52 Intent intent = new Intent(Intent.ACTION_VIEW, uri); in start() local
62 Intent intent = new Intent(Intent.ACTION_VIEW, uri); in start() local
73 Intent intent = new Intent(Intent.ACTION_VIEW, uri); in start() local
84 Intent intent = new Intent(Intent.ACTION_VIEW, uri); in start() local
95 Intent intent = new Intent(Intent.ACTION_VIEW, uri); in start() local
108 Intent intent = new Intent(Intent.ACTION_VIEW, uri); in start() local
125 protected void onNewIntent(@Nullable Intent intent) { in onNewIntent()
133 Intent intent = getIntent(); in handleIntent() 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()
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/
DWifiDppConfiguratorActivityTest.java57 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/
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/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/services/Telecomm/src/com/android/server/telecom/
DCallIntentProcessor.java35 Intent intent, String callingPackage); in processOutgoingCallIntent()
36 void processIncomingCallIntent(CallsManager callsManager, Intent intent); in processIncomingCallIntent()
37 void processUnknownCallIntent(CallsManager callsManager, Intent intent); in processUnknownCallIntent()
43 Intent intent, String callingPackage) { in processOutgoingCallIntent()
49 public void processIncomingCallIntent(CallsManager callsManager, Intent intent) { in processIncomingCallIntent()
54 public void processUnknownCallIntent(CallsManager callsManager, Intent intent) { in processUnknownCallIntent()
81 public void processIntent(Intent intent, String callingPackage) { in processIntent()
104 Intent intent, in processOutgoingCallIntent()
179 Intent intent) { in sendNewOutgoingCallIntent()
207 static boolean fixInitiatingUserIfNecessary(Context context, Intent intent) { in fixInitiatingUserIfNecessary()
[all …]
/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
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DNetworkPasswordPreferenceControllerTest.java111 Intent intent = new Intent(NetworkNamePreferenceController.ACTION_NAME_CHANGE); in receiveNameChangeIntent_emptyName_dialogNameRemoved() local
123 Intent intent = new Intent(NetworkNamePreferenceController.ACTION_NAME_CHANGE); in receiveNameChangeIntent_name_dialogNameSet() local
133 Intent intent = new Intent(NetworkSecurityPreferenceController.ACTION_SECURITY_CHANGE); in receiveSecurityChangeIntent_setUnsecureType_preferenceHidden() local
144 Intent intent = new Intent(NetworkSecurityPreferenceController.ACTION_SECURITY_CHANGE); in receiveSecurityChangeIntent_setSecureType_preferenceVisible() local
157 Intent intent = new Intent(NetworkSecurityPreferenceController.ACTION_SECURITY_CHANGE); in handlePreferenceChanged_hasSecurity_networkNameSet_wifiAdded() local
178 Intent intent = new Intent(NetworkSecurityPreferenceController.ACTION_SECURITY_CHANGE); in handlePreferenceChanged_hasSecurity_networkNameSet_wifiEnabled() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/
DUsbConnectionBroadcastReceiverTest.java65 final Intent intent = new Intent(); in onReceive_usbConnected_invokeCallback() local
77 final Intent intent = new Intent(); in onReceive_usbDisconnected_invokeCallback() local
89 final Intent intent = new Intent(); in onReceive_usbConnectedMtpEnabled_invokeCallback() local
103 final Intent intent = new Intent(); in onReceive_usbPortStatus_invokeCallback() local
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DNewOutgoingCallIntentBroadcasterTest.java75 public Intent intent; field in NewOutgoingCallIntentBroadcasterTest.ReceiverIntentPair
77 public ReceiverIntentPair(BroadcastReceiver receiver, Intent intent) { in ReceiverIntentPair()
112 Intent intent = new Intent(Intent.ACTION_CALL, null); in testNullHandle() local
123 Intent intent = new Intent(Intent.ACTION_CALL, Uri.parse(voicemailNumber)); in testVoicemailCall() local
152 Intent intent = new Intent(Intent.ACTION_ALARM_CHANGED, handle); in badCallActionHelper() local
180 Intent intent = new Intent(Intent.ACTION_CALL, handle); in testNoNumberSupplied() local
195 Intent intent = new Intent(Intent.ACTION_CALL, handle); in testEmergencyCallWithNonDefaultDialer() local
224 Intent intent = buildIntent(handle, Intent.ACTION_CALL, null); in testActionCallEmergencyCall() local
232 Intent intent = buildIntent(handle, Intent.ACTION_CALL_EMERGENCY, null); in testActionEmergencyWithEmergencyNumber() local
240 Intent intent = buildIntent(handle, Intent.ACTION_CALL_PRIVILEGED, null); in testActionPrivCallWithEmergencyNumber() local
[all …]

12345678910>>...76