Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DHelpUtilsTest.java97 assertThat(intent.hasExtra(HELP_INTENT_EXTRA_KEY)).isFalse(); in addIntentParameters_configTrue_argumentFalse()
98 assertThat(intent.hasExtra(HELP_INTENT_NAME_KEY)).isFalse(); in addIntentParameters_configTrue_argumentFalse()
99 assertThat(intent.hasExtra(FEEDBACK_INTENT_EXTRA_KEY)).isFalse(); in addIntentParameters_configTrue_argumentFalse()
100 assertThat(intent.hasExtra(FEEDBACK_INTENT_NAME_KEY)).isFalse(); in addIntentParameters_configTrue_argumentFalse()
111 assertThat(intent.hasExtra(HELP_INTENT_EXTRA_KEY)).isFalse(); in addIntentParameters_configFalse_argumentTrue()
112 assertThat(intent.hasExtra(HELP_INTENT_NAME_KEY)).isFalse(); in addIntentParameters_configFalse_argumentTrue()
113 assertThat(intent.hasExtra(FEEDBACK_INTENT_EXTRA_KEY)).isFalse(); in addIntentParameters_configFalse_argumentTrue()
114 assertThat(intent.hasExtra(FEEDBACK_INTENT_NAME_KEY)).isFalse(); in addIntentParameters_configFalse_argumentTrue()
125 assertThat(intent.hasExtra(HELP_INTENT_EXTRA_KEY)).isFalse(); in addIntentParameters_configFalse_argumentFalse()
126 assertThat(intent.hasExtra(HELP_INTENT_NAME_KEY)).isFalse(); in addIntentParameters_configFalse_argumentFalse()
[all …]
/frameworks/support/customtabs/tests/src/android/support/customtabs/
DCustomTabsIntentTest.java45 assertTrue(intent.hasExtra(CustomTabsIntent.EXTRA_SESSION)); in testBareboneCustomTabIntent()
56 assertTrue(intent.hasExtra(CustomTabsIntent.EXTRA_TOOLBAR_COLOR)); in testToolbarColor()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyTester.java236 if (intent.hasExtra(EXTRA_STARTPACKAGE)) { in handleTestDialogEventPackageIntent()
238 } else if (intent.hasExtra(EXTRA_SENDPACKAGE)) { in handleTestDialogEventPackageIntent()
241 } else if (intent.hasExtra(EXTRA_DIALOGID)) { in handleTestDialogEventPackageIntent()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DLauncherActivity.java108 if (original.hasExtra(Intent.EXTRA_TITLE)) { in createLaunchIntent()
119 if (src.hasExtra(extra)) { in copyExtras()
DFilesActivity.java151 assert(!intent.hasExtra(Intent.EXTRA_LOCAL_ONLY)); in includeState()
193 return (intent != null && intent.hasExtra(Intent.EXTRA_TITLE)) in getDrawerTitle()
DState.java133 if (intent.hasExtra(Intent.EXTRA_MIME_TYPES)) { in initAcceptMimes()
/frameworks/base/core/java/com/android/internal/app/
DIntentForwarderActivity.java139 if (intent.hasExtra(Intent.EXTRA_INITIAL_INTENTS)) { in canForward()
144 if (intent.hasExtra(Intent.EXTRA_REPLACEMENT_EXTRAS)) { in canForward()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DHelpUtils.java153 } else if (intent.hasExtra(EXTRA_BACKUP_URI)) { in getHelpIntent()
175 if (!intent.hasExtra(EXTRA_CONTEXT)) { in addIntentParameters()
/frameworks/support/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/
DContentViewActivity.java45 } else if (intent.hasExtra(EXTRA_TEXT)) { in onCreate()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportWarningActivity.java53 mSendIntent.hasExtra(Intent.EXTRA_STREAM); in onCreate()
DBugreportProgressService.java1276 if (intent.hasExtra(EXTRA_ORIGINAL_INTENT)) { in dumpIntent()
1292 if (intent.hasExtra(name)) { in addExtra()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/services/
DFileOperationService.java138 if (intent.hasExtra(EXTRA_CANCEL)) { in onStartCommand()
188 assert(intent.hasExtra(EXTRA_CANCEL)); in handleCancel()
/frameworks/base/media/mca/samples/CameraEffectsRecordingSample/java/android/media/filterfw/samples/
DCameraEffectsRecordingSample.java53 if (intent.hasExtra("OUTPUT_FILENAME")) { in onCreate()
/frameworks/base/tests/utils/SleepUtils/WakeLoopService/src/android/test/wakeuploop/
DWakeUpCall.java47 boolean cancel = intent.hasExtra(CANCEL); in onReceive()
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
DWizardManagerHelperTest.java49 assertFalse("ignoreExtra should not be in nextIntent", nextIntent.hasExtra("ignoreExtra")); in testGetNextIntent()
/frameworks/support/media-compat/java/android/support/v4/media/session/
DMediaButtonReceiver.java138 || !intent.hasExtra(Intent.EXTRA_KEY_EVENT)) { in handleIntent()
/frameworks/support/compat/java/android/support/v4/app/
DShareCompat.java455 if (!mIntent.hasExtra(Intent.EXTRA_TEXT)) { in setHtmlText()
820 return mIntent.hasExtra(Intent.EXTRA_STREAM) ? 1 : 0; in getStreamCount()
/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/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/core/java/com/android/internal/content/
DPackageMonitor.java393 if (intent.hasExtra(Intent.EXTRA_USER_HANDLE)) { in onReceive()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
DSettingsDrawerActivity.java150 if (intent.hasExtra(EXTRA_SHOW_MENU)) { in onResume()
/frameworks/base/core/java/android/preference/
DPreferenceActivity.java676 if (intent.hasExtra(EXTRA_PREFS_SET_NEXT_TEXT)) { in onCreate()
685 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/core/java/android/widget/
DRemoteViewsAdapter.java790 if (intent.hasExtra(RemoteViews.EXTRA_REMOTEADAPTER_APPWIDGET_ID)) { in RemoteViewsAdapter()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DGlobalScreenshot.java893 if (!intent.hasExtra(SCREENSHOT_URI_ID)) { in onReceive()

12