Home
last modified time | relevance | path

Searched refs:hasExtra (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DHelpUtilsTest.java114 assertThat(intent.hasExtra(HELP_INTENT_EXTRA_KEY)).isFalse(); in addIntentParameters_configTrue_argumentFalse()
115 assertThat(intent.hasExtra(HELP_INTENT_NAME_KEY)).isFalse(); in addIntentParameters_configTrue_argumentFalse()
116 assertThat(intent.hasExtra(FEEDBACK_INTENT_EXTRA_KEY)).isFalse(); in addIntentParameters_configTrue_argumentFalse()
117 assertThat(intent.hasExtra(FEEDBACK_INTENT_NAME_KEY)).isFalse(); in addIntentParameters_configTrue_argumentFalse()
128 assertThat(intent.hasExtra(HELP_INTENT_EXTRA_KEY)).isFalse(); in addIntentParameters_configFalse_argumentTrue()
129 assertThat(intent.hasExtra(HELP_INTENT_NAME_KEY)).isFalse(); in addIntentParameters_configFalse_argumentTrue()
130 assertThat(intent.hasExtra(FEEDBACK_INTENT_EXTRA_KEY)).isFalse(); in addIntentParameters_configFalse_argumentTrue()
131 assertThat(intent.hasExtra(FEEDBACK_INTENT_NAME_KEY)).isFalse(); in addIntentParameters_configFalse_argumentTrue()
142 assertThat(intent.hasExtra(HELP_INTENT_EXTRA_KEY)).isFalse(); in addIntentParameters_configFalse_argumentFalse()
143 assertThat(intent.hasExtra(HELP_INTENT_NAME_KEY)).isFalse(); in addIntentParameters_configFalse_argumentFalse()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyTester.java324 if (intent.hasExtra(EXTRA_STARTPACKAGE)) { in handleTestDialogEventPackageIntent()
326 } else if (intent.hasExtra(EXTRA_SENDPACKAGE)) { in handleTestDialogEventPackageIntent()
329 } else if (intent.hasExtra(EXTRA_DIALOGID)) { in handleTestDialogEventPackageIntent()
344 if (intent.hasExtra(EXTRA_CODE) && intent.hasExtra(EXTRA_TYPE)) { in sendTestSuppServiceNotification()
361 if (mServiceStateTestIntent.hasExtra(EXTRA_ACTION) in overrideServiceState()
389 if (mServiceStateTestIntent.hasExtra(EXTRA_VOICE_ROAMING_TYPE)) { in overrideServiceState()
394 if (mServiceStateTestIntent.hasExtra(EXTRA_DATA_ROAMING_TYPE)) { in overrideServiceState()
399 if (mServiceStateTestIntent.hasExtra(EXTRA_OPERATOR)) { in overrideServiceState()
435 if (!intent.hasExtra(EXTRA_NUMBER)) { in testChangeNumber()
/frameworks/base/telephony/java/android/telephony/mbms/
DMbmsDownloadReceiver.java169 if (!intent.hasExtra(MbmsDownloadSession.EXTRA_MBMS_DOWNLOAD_RESULT)) { in verifyIntentContents()
173 if (!intent.hasExtra(MbmsDownloadSession.EXTRA_MBMS_DOWNLOAD_REQUEST)) { in verifyIntentContents()
183 if (!intent.hasExtra(VendorUtils.EXTRA_TEMP_FILE_ROOT)) { in verifyIntentContents()
187 if (!intent.hasExtra(MbmsDownloadSession.EXTRA_MBMS_FILE_INFO)) { in verifyIntentContents()
192 if (!intent.hasExtra(VendorUtils.EXTRA_FINAL_URI)) { in verifyIntentContents()
209 if (!intent.hasExtra(VendorUtils.EXTRA_SERVICE_ID)) { in verifyIntentContents()
214 if (!intent.hasExtra(VendorUtils.EXTRA_TEMP_FILE_ROOT)) { in verifyIntentContents()
219 if (!intent.hasExtra(VendorUtils.EXTRA_SERVICE_ID)) { in verifyIntentContents()
224 if (!intent.hasExtra(VendorUtils.EXTRA_TEMP_FILE_ROOT)) { in verifyIntentContents()
228 if (!intent.hasExtra(VendorUtils.EXTRA_TEMP_FILES_IN_USE)) { in verifyIntentContents()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpDocumentsService.java61 final int[] ids = intent.hasExtra(EXTRA_DEVICE_IDS) ? in onStartCommand()
63 final Notification[] notifications = intent.hasExtra(EXTRA_DEVICE_NOTIFICATIONS) ? in onStartCommand()
/frameworks/base/packages/SettingsLib/HelpUtils/src/com/android/settingslib/
DHelpUtils.java157 } else if (intent.hasExtra(EXTRA_BACKUP_URI)) { in getHelpIntent()
179 if (!intent.hasExtra(EXTRA_CONTEXT)) { in addIntentParameters()
/frameworks/base/media/mca/samples/CameraEffectsRecordingSample/java/android/media/filterfw/samples/
DCameraEffectsRecordingSample.java53 if (intent.hasExtra("OUTPUT_FILENAME")) { in onCreate()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportWarningActivity.java54 mSendIntent.hasExtra(Intent.EXTRA_STREAM); in onCreate()
DBugreportProgressService.java1311 if (intent.hasExtra(EXTRA_ORIGINAL_INTENT)) { in dumpIntent()
1327 if (intent.hasExtra(name)) { in addExtra()
/frameworks/base/core/java/com/android/internal/app/
DIntentForwarderActivity.java203 if (forwardIntent.hasExtra(Intent.EXTRA_INITIAL_INTENTS)) { in canForward()
208 if (forwardIntent.hasExtra(Intent.EXTRA_REPLACEMENT_EXTRAS)) { in canForward()
/frameworks/base/cmds/statsd/tools/dogfood/src/com/android/statsd/dogfood/
DMainActivity.java284 if (intent.hasExtra("acquire")) { in onNewIntent()
286 } else if (intent.hasExtra("release")) { in onNewIntent()
/frameworks/base/services/core/java/com/android/server/
DMasterClearReceiver.java56 if (intent.hasExtra(Intent.EXTRA_FORCE_MASTER_CLEAR)) { in onReceive()
/frameworks/base/core/java/android/hardware/location/
DContextHubIntentEvent.java245 if (!intent.hasExtra(extra)) { in hasExtraOrThrow()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewController.java245 if (intent.hasExtra(Intents.EXTRA_PHOTOS_URI)) { in onCreate()
268 if (intent.hasExtra(Intents.EXTRA_PROJECTION)) { in onCreate()
284 if (intent.hasExtra(Intents.EXTRA_PHOTO_INDEX)) { in onCreate()
287 if (intent.hasExtra(Intents.EXTRA_INITIAL_PHOTO_URI)) { in onCreate()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/intent/
DLabeledIntentTest.java82 assertThat(intent.hasExtra(TextClassifier.EXTRA_FROM_TEXT_CLASSIFIER)).isTrue(); in resolve_preferTitleWithEntity()
/frameworks/base/tests/notification/src/com/android/frameworks/tests/notification/
DNotificationTests.java207 if (intent.hasExtra("text")) { in onHandleIntent()
469 if (intent != null && intent.hasExtra(EXTRA_ID)) { in onCreate()
/frameworks/base/services/core/java/com/android/server/vr/
DVr2dDisplay.java171 if (intent.hasExtra(DEBUG_EXTRA_SURFACE)) { in startDebugOnlyBroadcastReceiver()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
DWizardManagerHelperTest.java72 .that(nextIntent.hasExtra("ignoreExtra")) in testGetNextIntent()
/frameworks/base/core/java/com/android/internal/content/
DPackageMonitor.java420 if (intent.hasExtra(Intent.EXTRA_USER_HANDLE)) { in onReceive()
/frameworks/base/core/java/android/preference/
DPreferenceActivity.java679 if (intent.hasExtra(EXTRA_PREFS_SET_NEXT_TEXT)) { in onCreate()
688 if (intent.hasExtra(EXTRA_PREFS_SET_BACK_TEXT)) { in onCreate()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java161 if (intent.hasExtra(ConnectivityManager.EXTRA_OTHER_NETWORK_INFO)) { in onReceive()
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
DLoadtestActivity.java328 if (intent.hasExtra(REPLICATION)) { in onNewIntent()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextClassifierTest.java274 assertTrue(intent.hasExtra(TextClassifier.EXTRA_FROM_TEXT_CLASSIFIER)); in testClassifyText_foreignText()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DGlobalScreenshot.java958 if (!intent.hasExtra(SCREENSHOT_URI_ID)) { in onReceive()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DMultiClientInputMethodManagerService.java525 if (!intent.hasExtra(Intent.EXTRA_UID)) { in onPackageAdded()
/frameworks/base/core/java/android/app/
DActivity.java2471 && mIntent.hasExtra(AutofillManager.EXTRA_RESTORE_SESSION_TOKEN)) { in onStop()
6237 if (mIntent != null && mIntent.hasExtra(AutofillManager.EXTRA_RESTORE_SESSION_TOKEN)) { in finish()

12