Home
last modified time | relevance | path

Searched refs:hasExtra (Results 1 – 25 of 46) 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.java353 if (intent.hasExtra(EXTRA_STARTPACKAGE)) { in handleTestDialogEventPackageIntent()
355 } else if (intent.hasExtra(EXTRA_SENDPACKAGE)) { in handleTestDialogEventPackageIntent()
358 } else if (intent.hasExtra(EXTRA_DIALOGID)) { in handleTestDialogEventPackageIntent()
373 if (intent.hasExtra(EXTRA_CODE) && intent.hasExtra(EXTRA_TYPE)) { in sendTestSuppServiceNotification()
390 if (mServiceStateTestIntent.hasExtra(EXTRA_ACTION) in overrideServiceState()
396 if (mServiceStateTestIntent.hasExtra(EXTRA_VOICE_REG_STATE)) { in overrideServiceState()
401 if (mServiceStateTestIntent.hasExtra(EXTRA_DATA_REG_STATE)) { in overrideServiceState()
406 if (mServiceStateTestIntent.hasExtra(EXTRA_OPERATOR)) { in overrideServiceState()
414 if (mServiceStateTestIntent.hasExtra(EXTRA_OPERATOR_RAW)) { in overrideServiceState()
420 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/core/java/android/view/autofill/
DAutofillClientController.java181 && intent.hasExtra(AutofillManager.EXTRA_RESTORE_SESSION_TOKEN) in onActivityStopped()
182 && intent.hasExtra(AutofillManager.EXTRA_RESTORE_CROSS_ACTIVITY)) { in onActivityStopped()
213 if (intent != null && intent.hasExtra(AutofillManager.EXTRA_RESTORE_SESSION_TOKEN)) { in onActivityFinish()
224 if (intent != null && intent.hasExtra(AutofillManager.EXTRA_RESTORE_SESSION_TOKEN)) { in onActivityBackPressed()
243 && cachedIntent.hasExtra(AutofillManager.EXTRA_RESTORE_SESSION_TOKEN) in onStartActivity()
244 && cachedIntent.hasExtra(AutofillManager.EXTRA_RESTORE_CROSS_ACTIVITY)) { in onStartActivity()
/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.java298 if (intent.hasExtra(EXTRA_PIP_ORIENTATION)) { in handleIntentExtra()
303 if (intent.hasExtra(EXTRA_ENTER_PIP)) { in handleIntentExtra()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierSignalAgentTest.java225 assertTrue(intent.hasExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX)); in testLegacyConversionSupport()
243 assertTrue(intent.hasExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX)); in testLegacyConversionSupport()
259 assertTrue(intent.hasExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX)); in testLegacyConversionSupport()
276 assertTrue(intent.hasExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX)); in testLegacyConversionSupport()
288 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.java60 mSendIntent.hasExtra(Intent.EXTRA_STREAM); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/controller/
DWalletContextualSuggestionsController.kt91 if (intent.hasExtra(UPDATE_CARD_IDS_EXTRA)) { in <lambda>()
/frameworks/base/services/core/java/com/android/server/statusbar/
DTileRequestTracker.java65 if (!intent.hasExtra(Intent.EXTRA_UID)) {
/frameworks/base/core/java/android/app/ambientcontext/
DAmbientContextManager.java119 if (intent.hasExtra(AmbientContextManager.EXTRA_AMBIENT_CONTEXT_EVENTS)) { in getEventsFromIntent()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DEditUserPhotoController.java89 if (data.hasExtra(AvatarPickerActivity.EXTRA_DEFAULT_ICON_TINT_COLOR)) { in onActivityResult()
/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/packages/SystemUI/src/com/android/systemui/media/
DMediaProjectionAppSelectorActivity.kt166 if (intent.hasExtra(EXTRA_CAPTURE_REGION_RESULT_RECEIVER)) { in returnSelectedApp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DRecordingController.java95 if (intent.hasExtra(EXTRA_STATE)) {
/frameworks/base/core/java/com/android/internal/app/
DLogAccessDialogActivity.java145 if (!intent.hasExtra(Intent.EXTRA_UID)) { in readIntentInfo()
/frameworks/base/services/core/java/com/android/server/
DMasterClearReceiver.java65 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()

12