Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DHelpUtilsTest.java119 assertThat(intent.hasExtra(HELP_INTENT_EXTRA_KEY)).isFalse(); in addIntentParameters_configTrue_argumentFalse()
120 assertThat(intent.hasExtra(HELP_INTENT_NAME_KEY)).isFalse(); in addIntentParameters_configTrue_argumentFalse()
121 assertThat(intent.hasExtra(FEEDBACK_INTENT_EXTRA_KEY)).isFalse(); in addIntentParameters_configTrue_argumentFalse()
122 assertThat(intent.hasExtra(FEEDBACK_INTENT_NAME_KEY)).isFalse(); in addIntentParameters_configTrue_argumentFalse()
133 assertThat(intent.hasExtra(HELP_INTENT_EXTRA_KEY)).isFalse(); in addIntentParameters_configFalse_argumentTrue()
134 assertThat(intent.hasExtra(HELP_INTENT_NAME_KEY)).isFalse(); in addIntentParameters_configFalse_argumentTrue()
135 assertThat(intent.hasExtra(FEEDBACK_INTENT_EXTRA_KEY)).isFalse(); in addIntentParameters_configFalse_argumentTrue()
136 assertThat(intent.hasExtra(FEEDBACK_INTENT_NAME_KEY)).isFalse(); in addIntentParameters_configFalse_argumentTrue()
147 assertThat(intent.hasExtra(HELP_INTENT_EXTRA_KEY)).isFalse(); in addIntentParameters_configFalse_argumentFalse()
148 assertThat(intent.hasExtra(HELP_INTENT_NAME_KEY)).isFalse(); in addIntentParameters_configFalse_argumentFalse()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyTester.java351 if (intent.hasExtra(EXTRA_STARTPACKAGE)) { in handleTestDialogEventPackageIntent()
353 } else if (intent.hasExtra(EXTRA_SENDPACKAGE)) { in handleTestDialogEventPackageIntent()
356 } else if (intent.hasExtra(EXTRA_DIALOGID)) { in handleTestDialogEventPackageIntent()
371 if (intent.hasExtra(EXTRA_CODE) && intent.hasExtra(EXTRA_TYPE)) { in sendTestSuppServiceNotification()
388 if (mServiceStateTestIntent.hasExtra(EXTRA_ACTION) in overrideServiceState()
394 if (mServiceStateTestIntent.hasExtra(EXTRA_VOICE_REG_STATE)) { in overrideServiceState()
399 if (mServiceStateTestIntent.hasExtra(EXTRA_DATA_REG_STATE)) { in overrideServiceState()
404 if (mServiceStateTestIntent.hasExtra(EXTRA_OPERATOR)) { in overrideServiceState()
409 if (mServiceStateTestIntent.hasExtra(EXTRA_OPERATOR_RAW)) { in overrideServiceState()
415 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/libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/src/com/android/wm/shell/flicker/testapp/
DFixedActivity.java30 if (getIntent().hasExtra(EXTRA_FIXED_ORIENTATION)) { in onCreate()
DPipActivity.java271 if (intent.hasExtra(EXTRA_PIP_ORIENTATION)) { in handleIntentExtra()
276 if (intent.hasExtra(EXTRA_ENTER_PIP)) { in handleIntentExtra()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierSignalAgentTest.java222 assertTrue(intent.hasExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX)); in testLegacyConversionSupport()
240 assertTrue(intent.hasExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX)); in testLegacyConversionSupport()
256 assertTrue(intent.hasExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX)); in testLegacyConversionSupport()
273 assertTrue(intent.hasExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX)); in testLegacyConversionSupport()
285 assertTrue(intent.hasExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX)); in testLegacyConversionSupport()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DDeleteScreenshotReceiver.java53 if (!intent.hasExtra(SCREENSHOT_URI_ID)) { in onReceive()
/frameworks/base/packages/SettingsLib/HelpUtils/src/com/android/settingslib/
DHelpUtils.java193 } else if (intent.hasExtra(EXTRA_BACKUP_URI)) { in getHelpIntent()
215 if (!intent.hasExtra(EXTRA_CONTEXT)) { in addIntentParameters()
/frameworks/base/apct-tests/perftests/contentcapture/src/android/view/contentcapture/
DCustomTestActivity.java41 if (getIntent().hasExtra(INTENT_EXTRA_LAYOUT_ID)) { in onCreate()
/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.java59 mSendIntent.hasExtra(Intent.EXTRA_STREAM); in onCreate()
DBugreportProgressService.java298 if (!intent.hasExtra(EXTRA_ORIGINAL_INTENT) && !intent.hasExtra(EXTRA_ID)) { in onStartCommand()
1532 if (intent.hasExtra(EXTRA_ORIGINAL_INTENT)) { in dumpIntent()
1548 if (intent.hasExtra(name)) { in addExtra()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DRecordingController.java77 if (intent.hasExtra(EXTRA_STATE)) {
/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/java/android/hardware/location/
DContextHubIntentEvent.java279 if (!intent.hasExtra(extra)) { in hasExtraOrThrow()
/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/
DMasterClearReceiver.java62 if (intent.hasExtra(Intent.EXTRA_FORCE_MASTER_CLEAR)) { in onReceive()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DServiceTest.java242 if (intent != null && intent.hasExtra(EXTRA_START_CODE)) { in onStartCommand()
/frameworks/base/services/core/java/com/android/server/vr/
DVr2dDisplay.java172 if (intent.hasExtra(DEBUG_EXTRA_SURFACE)) { in startDebugOnlyBroadcastReceiver()
/frameworks/base/core/java/com/android/internal/content/
DPackageMonitor.java429 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/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/
DDragAndDropPolicy.java225 final Bundle opts = intent.hasExtra(EXTRA_ACTIVITY_OPTIONS) in startClipDescription()
/frameworks/base/core/java/android/preference/
DPreferenceActivity.java680 if (intent.hasExtra(EXTRA_PREFS_SET_NEXT_TEXT)) { in onCreate()
689 if (intent.hasExtra(EXTRA_PREFS_SET_BACK_TEXT)) { in onCreate()
/frameworks/base/core/java/android/app/admin/
DDeviceAdminReceiver.java1162 if (intent.hasExtra(extra)) return true; in hasRequiredExtra()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java163 if (intent.hasExtra(ConnectivityManager.EXTRA_OTHER_NETWORK_INFO)) { in onReceive()

12