Home
last modified time | relevance | path

Searched refs:hasExtra (Results 1 – 25 of 34) 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.java349 if (intent.hasExtra(EXTRA_STARTPACKAGE)) { in handleTestDialogEventPackageIntent()
351 } else if (intent.hasExtra(EXTRA_SENDPACKAGE)) { in handleTestDialogEventPackageIntent()
354 } else if (intent.hasExtra(EXTRA_DIALOGID)) { in handleTestDialogEventPackageIntent()
369 if (intent.hasExtra(EXTRA_CODE) && intent.hasExtra(EXTRA_TYPE)) { in sendTestSuppServiceNotification()
386 if (mServiceStateTestIntent.hasExtra(EXTRA_ACTION) in overrideServiceState()
392 if (mServiceStateTestIntent.hasExtra(EXTRA_VOICE_REG_STATE)) { in overrideServiceState()
397 if (mServiceStateTestIntent.hasExtra(EXTRA_DATA_REG_STATE)) { in overrideServiceState()
402 if (mServiceStateTestIntent.hasExtra(EXTRA_OPERATOR)) { in overrideServiceState()
407 if (mServiceStateTestIntent.hasExtra(EXTRA_OPERATOR_RAW)) { in overrideServiceState()
413 if (mServiceStateTestIntent.hasExtra(EXTRA_NR_FREQUENCY_RANGE)) { in overrideServiceState()
[all …]
/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/packages/CarSystemUI/src/com/android/systemui/voicerecognition/car/
DConnectedDeviceVoiceRecognitionNotifier.java57 || !intent.hasExtra(BluetoothHeadsetClient.EXTRA_VOICE_RECOGNITION)) {
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportWarningActivity.java54 mSendIntent.hasExtra(Intent.EXTRA_STREAM); in onCreate()
DBugreportProgressService.java1309 if (intent.hasExtra(EXTRA_ORIGINAL_INTENT)) { in dumpIntent()
1325 if (intent.hasExtra(name)) { in addExtra()
/frameworks/base/media/mca/samples/CameraEffectsRecordingSample/java/android/media/filterfw/samples/
DCameraEffectsRecordingSample.java53 if (intent.hasExtra("OUTPUT_FILENAME")) { in onCreate()
/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.java246 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/base/core/java/com/android/internal/content/
DPackageMonitor.java425 if (intent.hasExtra(Intent.EXTRA_USER_HANDLE)) { in onReceive()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
DWizardManagerHelperTest.java72 .that(nextIntent.hasExtra("ignoreExtra")) in testGetNextIntent()
/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/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DEntitlementManagerTest.java178 assertTrue(intent.hasExtra(EXTRA_PROVISION_CALLBACK)); in assertSilentTetherProvisioning()
/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.java1189 if (!intent.hasExtra(SCREENSHOT_URI_ID)) { in onReceive()

12