Home
last modified time | relevance | path

Searched refs:getStringExtra (Results 1 – 25 of 167) sorted by relevance

1234567

/frameworks/base/core/java/android/service/restrictions/
DRestrictionsReceiver.java76 String packageName = intent.getStringExtra(RestrictionsManager.EXTRA_PACKAGE_NAME); in onReceive()
77 String requestType = intent.getStringExtra(RestrictionsManager.EXTRA_REQUEST_TYPE); in onReceive()
78 String requestId = intent.getStringExtra(RestrictionsManager.EXTRA_REQUEST_ID); in onReceive()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DActionIntentCreatorTest.kt53 assertThat(wrappedIntent?.getStringExtra(Intent.EXTRA_SUBJECT)).isNull() in testCreateShareIntent()
54 assertThat(wrappedIntent?.getStringExtra(Intent.EXTRA_TEXT)).isNull() in testCreateShareIntent()
78 assertThat(wrappedIntent?.getStringExtra(Intent.EXTRA_SUBJECT)).isEqualTo(subject) in testCreateShareIntentWithSubject()
79 assertThat(wrappedIntent?.getStringExtra(Intent.EXTRA_TEXT)).isNull() in testCreateShareIntentWithSubject()
103 assertThat(wrappedIntent?.getStringExtra(Intent.EXTRA_SUBJECT)).isNull() in testCreateShareIntentWithExtraText()
104 assertThat(wrappedIntent?.getStringExtra(Intent.EXTRA_TEXT)).isEqualTo(extraText) in testCreateShareIntentWithExtraText()
/frameworks/base/services/core/java/com/android/server/vr/
DSettingsObserver.java74 String element = intent.getStringExtra(Intent.EXTRA_SETTING_NAME); in SettingsObserver()
76 … String prevValue = intent.getStringExtra(Intent.EXTRA_SETTING_PREVIOUS_VALUE); in SettingsObserver()
77 String newValue = intent.getStringExtra(Intent.EXTRA_SETTING_NEW_VALUE); in SettingsObserver()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
DWizardManagerHelperTest.java63 .that(nextIntent.getStringExtra("scriptUri")) in testGetNextIntent()
66 .that(nextIntent.getStringExtra("actionId")) in testGetNextIntent()
69 .that(nextIntent.getStringExtra("theme")) in testGetNextIntent()
78 .that(nextIntent.getStringExtra("extraData")) in testGetNextIntent()
290 .that(intent.getStringExtra(WizardManagerHelper.EXTRA_THEME)) in testCopyWizardManagerIntent()
310 .that(intent.getStringExtra(WizardManagerHelper.EXTRA_SCRIPT_URI)) in testCopyWizardManagerIntent()
313 .that(intent.getStringExtra(WizardManagerHelper.EXTRA_ACTION_ID)) in testCopyWizardManagerIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputDialogReceiver.kt41 intent.getStringExtra(MediaOutputConstants.EXTRA_PACKAGE_NAME) in onReceive()
51 intent.getStringExtra(MediaOutputConstants.EXTRA_PACKAGE_NAME) in onReceive()
/frameworks/base/packages/StatementService/src/com/android/statementservice/domain/
DDomainVerificationReceiverV1.kt56 (intent.getStringExtra(PackageManager.EXTRA_INTENT_FILTER_VERIFICATION_HOSTS) ?: return) in scheduleUnlockedV1()
59 intent.getStringExtra(PackageManager.EXTRA_INTENT_FILTER_VERIFICATION_PACKAGE_NAME) in scheduleUnlockedV1()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DDeleteScreenshotReceiver.java58 final Uri uri = Uri.parse(intent.getStringExtra(SCREENSHOT_URI_ID)); in onReceive()
65 intent.getStringExtra(EXTRA_ID), ACTION_TYPE_DELETE, false, null); in onReceive()
DSmartActionsReceiver.java50 String actionType = intent.getStringExtra(EXTRA_ACTION_TYPE); in onReceive()
63 intent.getStringExtra(EXTRA_ID), actionType, true, in onReceive()
/frameworks/base/core/java/com/android/internal/app/
DConfirmUserCreationActivity.java61 mUserName = intent.getStringExtra(UserManager.EXTRA_USER_NAME); in onCreate()
62 mAccountName = intent.getStringExtra(UserManager.EXTRA_USER_ACCOUNT_NAME); in onCreate()
63 mAccountType = intent.getStringExtra(UserManager.EXTRA_USER_ACCOUNT_TYPE); in onCreate()
DNetInitiatedActivity.java80 p.mTitle = intent.getStringExtra(GpsNetInitiatedHandler.NI_INTENT_KEY_TITLE); in onCreate()
81 p.mMessage = intent.getStringExtra(GpsNetInitiatedHandler.NI_INTENT_KEY_MESSAGE); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DAutoAddTracker.kt99 when (intent.getStringExtra(Intent.EXTRA_SETTING_NAME)) { in <lambda>()
101 restoredTiles = intent.getStringExtra(Intent.EXTRA_SETTING_NEW_VALUE) in <lambda>()
113 .getStringExtra(Intent.EXTRA_SETTING_NEW_VALUE) in <lambda>()
117 .getStringExtra(Intent.EXTRA_SETTING_PREVIOUS_VALUE) in <lambda>()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIntentBroadcaster.java56 + i.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE)
90 + intent.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE) in broadcastStickyIntent()
DTelephonyTester.java185 intent.getStringExtra(EXTRA_FILENAME),
361 Uri.parse(intent.getStringExtra(EXTRA_NUMBER)), in handleTestDialogEventPackageIntent()
391 && ACTION_RESET.equals(mServiceStateTestIntent.getStringExtra(EXTRA_ACTION))) { in overrideServiceState()
407 String[] data = mServiceStateTestIntent.getStringExtra(EXTRA_OPERATOR).split(","); in overrideServiceState()
415 String operator_raw = mServiceStateTestIntent.getStringExtra(EXTRA_OPERATOR_RAW); in overrideServiceState()
537 char digit = intent.getStringExtra(EXTRA_DIGIT).charAt(0); in testImsReceiveDtmf()
552 String newNumber = intent.getStringExtra(EXTRA_NUMBER); in testChangeNumber()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/clipboardoverlay/
DIntentCreatorTest.java102 assertEquals("Test Item", target.getStringExtra(Intent.EXTRA_TEXT)); in test_getShareIntent_plaintext()
115 assertEquals("Some HTML", target.getStringExtra(Intent.EXTRA_TEXT)); in test_getShareIntent_html()
141 assertEquals("Test Item", target.getStringExtra(Intent.EXTRA_TEXT)); in test_getShareIntent_spannableText()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/model/
DNetworkNameModel.kt86 val spn = getStringExtra(EXTRA_DATA_SPN) in toNetworkNameModel()
88 val plmn = getStringExtra(EXTRA_PLMN) in toNetworkNameModel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetPinnedReceiver.java74 String shortcutId = intent.getStringExtra(Intent.EXTRA_SHORTCUT_ID); in onReceive()
75 String packageName = intent.getStringExtra(Intent.EXTRA_PACKAGE_NAME); in onReceive()
DLaunchConversationActivity.java110 String tileId = intent.getStringExtra(PeopleSpaceWidgetProvider.EXTRA_TILE_ID); in onCreate()
111 String packageName = intent.getStringExtra(PeopleSpaceWidgetProvider.EXTRA_PACKAGE_NAME); in onCreate()
115 intent.getStringExtra(PeopleSpaceWidgetProvider.EXTRA_NOTIFICATION_KEY); in onCreate()
/frameworks/base/packages/Shell/src/com/android/shell/
DHeapDumpReceiver.java89 deleteHeapDump(context, intent.getStringExtra(HeapDumpActivity.KEY_URI)); in onReceive()
134 final String procName = intent.getStringExtra(EXTRA_PROCESS_NAME); in showDumpNotification()
137 final String reportPackage = intent.getStringExtra( in showDumpNotification()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DWizardManagerHelper.java131 intent.putExtra(EXTRA_THEME, originalIntent.getStringExtra(EXTRA_THEME)); in getNextIntent()
156 dstIntent.putExtra(key, srcIntent.getStringExtra(key)); in copyWizardManagerExtras()
247 final String theme = intent.getStringExtra(EXTRA_THEME); in isLightTheme()
/frameworks/base/services/tests/servicestests/test-apps/SimpleServiceTestApp/src/com/android/servicestests/apps/simpleservicetestapp/
DSimpleService.java73 final String targetPkg = intent.getStringExtra(EXTRA_TARGET_PACKAGE); in onStartCommand()
130 final String targetPkg = intent.getStringExtra(EXTRA_TARGET_PACKAGE); in onBind()
/frameworks/base/core/java/android/accounts/
DChooseTypeAndAccountActivity.java163 mDescriptionOverride = intent.getStringExtra(EXTRA_DESCRIPTION_TEXT_OVERRIDE); in onCreate()
330 String accountType = data.getStringExtra(AccountManager.KEY_ACCOUNT_TYPE); in onActivityResult()
343 accountName = data.getStringExtra(AccountManager.KEY_ACCOUNT_NAME); in onActivityResult()
344 accountType = data.getStringExtra(AccountManager.KEY_ACCOUNT_TYPE); in onActivityResult()
388 final String authTokenType = getIntent().getStringExtra( in runAddAccountForAuthenticator()
478 getIntent().getStringExtra(EXTRA_ADD_ACCOUNT_AUTH_TOKEN_TYPE_STRING)); in startChooseAccountTypeActivity()
DChooseAccountActivity.java78 getIntent().getStringExtra(AccountManager.KEY_ANDROID_PACKAGE_NAME) != null) { in onCreate()
79 mCallingPackage = getIntent().getStringExtra( in onCreate()
84 getIntent().getStringExtra(AccountManager.KEY_ANDROID_PACKAGE_NAME) != null) { in onCreate()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DBroadcastTest.java133 if (mExpectedData[i].equals(intent.getStringExtra("test"))) { in gotReceive()
145 + intent.getStringExtra("test")); in gotReceive()
148 + intent.getStringExtra("test")); in gotReceive()
316 assertEquals(LaunchpadActivity.DATA_1, sticky.getStringExtra("test")); in testSetSticky()
346 assertEquals(LaunchpadActivity.DATA_2, sticky.getStringExtra("test")); in testReplaceSticky()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DDocActivity.java29 String label = getIntent().getStringExtra(LABEL); in onCreate()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/src/com/android/wm/shell/flicker/testapp/
DFixedActivity.java31 final int ori = Integer.parseInt(getIntent().getStringExtra(EXTRA_FIXED_ORIENTATION)); in onCreate()

1234567