Home
last modified time | relevance | path

Searched refs:putExtra (Results 1 – 25 of 170) sorted by relevance

1234567

/frameworks/base/core/tests/coretests/src/android/app/activity/
DSubActivityTest.java26 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class)); in testPendingResult()
27 mIntent.putExtra("mode", SubActivityScreen.PENDING_RESULT_MODE); in testPendingResult()
32 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class)); in testNoResult()
33 mIntent.putExtra("mode", SubActivityScreen.NO_RESULT_MODE); in testNoResult()
38 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class)); in testResult()
39 mIntent.putExtra("mode", SubActivityScreen.RESULT_MODE); in testResult()
44 mIntent.putExtra("component", in testFinishSub()
46 mIntent.putExtra("mode", SubActivityScreen.FINISH_SUB_MODE); in testFinishSub()
51 mIntent.putExtra("component", in testRemoteNoResult()
53 mIntent.putExtra("mode", SubActivityScreen.NO_RESULT_MODE); in testRemoteNoResult()
[all …]
DLaunchTest.java26 mIntent.putExtra("component", new ComponentName(getContext(), TestedActivity.class)); in testColdActivity()
32 mIntent.putExtra("component", new ComponentName(getContext(), LocalActivity.class)); in testLocalActivity()
38 mIntent.putExtra("component", new ComponentName(getContext(), TestedScreen.class)); in testColdScreen()
44 mIntent.putExtra("component", new ComponentName(getContext(), LocalScreen.class)); in testLocalScreen()
63 mIntent.putExtra("component", new ComponentName(getContext(), ClearTop.class)); in testClearTopInCreate()
69 mIntent.putExtra("component", new ComponentName(getContext(), ClearTop.class)); in testClearTopWhileResumed()
70 mIntent.putExtra(ClearTop.WAIT_CLEAR_TASK, true); in testClearTopWhileResumed()
DSubActivityScreen.java51 res.putExtra("tkey", "tval"); in onCreate()
60 intent.putExtra("mode", CHILD_OFFSET+mMode); in onCreate()
96 res.putExtra("tkey", "tval"); in onResume()
DBroadcastTest.java110 intent.putExtra("caller", mCallTarget); in makeBroadcastIntent()
306 intent.putExtra("test", LaunchpadActivity.DATA_1); in testSetSticky()
321 intent.putExtra("test", LaunchpadActivity.DATA_1); in testClearSticky()
336 intent.putExtra("test", LaunchpadActivity.DATA_1); in testReplaceSticky()
338 intent.putExtra("test", LaunchpadActivity.DATA_2); in testReplaceSticky()
353 intent.putExtra("test", LaunchpadActivity.DATA_1); in testReceiveSticky()
363 intent.putExtra("test", LaunchpadActivity.DATA_1); in testReceive2Sticky()
366 intent.putExtra("test", LaunchpadActivity.DATA_2); in testReceive2Sticky()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DIntents.java146 mIntent.putExtra(EXTRA_PHOTO_INDEX, (int) mPhotoIndex); in build()
150 mIntent.putExtra(EXTRA_INITIAL_PHOTO_URI, mInitialPhotoUri); in build()
159 mIntent.putExtra(EXTRA_PHOTOS_URI, mPhotosUri); in build()
163 mIntent.putExtra(EXTRA_RESOLVED_PHOTO_URI, mResolvedPhotoUri); in build()
167 mIntent.putExtra(EXTRA_PROJECTION, mProjection); in build()
171 mIntent.putExtra(EXTRA_THUMBNAIL_URI, mThumbnailUri); in build()
175 mIntent.putExtra(EXTRA_MAX_INITIAL_SCALE, mMaxInitialScale); in build()
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
DMenu.java55 intent.putExtra(TestShellActivity.TEST_URL, "file://" + filename); in processFile()
56 intent.putExtra(TestShellActivity.TOTAL_TEST_COUNT, 1); in processFile()
57 intent.putExtra(TestShellActivity.CURRENT_TEST_NUMBER, 1); in processFile()
67 intent.putExtra(TestShellActivity.UI_AUTO_TEST, LAYOUT_TESTS_LIST_FILE); in processDirectory()
68 intent.putExtra(TestShellActivity.TOTAL_TEST_COUNT, testCount); in processDirectory()
71 intent.putExtra(TestShellActivity.CURRENT_TEST_NUMBER, 0); in processDirectory()
DLayoutTestsAutoTest.java342 intent.putExtra(TestShellActivity.TEST_URL, FsUtils.getTestUrl(test)); in runTestAndWaitUntilDone()
343 intent.putExtra(TestShellActivity.RESULT_FILE, resultFile); in runTestAndWaitUntilDone()
344 intent.putExtra(TestShellActivity.TIMEOUT_IN_MILLIS, timeout); in runTestAndWaitUntilDone()
345 intent.putExtra(TestShellActivity.TOTAL_TEST_COUNT, mTestCount); in runTestAndWaitUntilDone()
346 intent.putExtra(TestShellActivity.CURRENT_TEST_NUMBER, testNumber); in runTestAndWaitUntilDone()
347 intent.putExtra(TestShellActivity.STOP_ON_REF_ERROR, true); in runTestAndWaitUntilDone()
/frameworks/ex/common/java/com/android/common/userhappiness/
DUserHappinessSignals.java53 i.putExtra(LoggingEvents.EXTRA_APP_NAME, LoggingEvents.VoiceIme.APP_NAME); in userAcceptedImeText()
54 i.putExtra(LoggingEvents.EXTRA_EVENT, LoggingEvents.VoiceIme.IME_TEXT_ACCEPTED); in userAcceptedImeText()
55 i.putExtra(LoggingEvents.EXTRA_CALLING_APP_NAME, context.getPackageName()); in userAcceptedImeText()
56 i.putExtra(LoggingEvents.EXTRA_TIMESTAMP, System.currentTimeMillis()); in userAcceptedImeText()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DWapPushOverSms.java229 intent.putExtra("transactionId", transactionId); in dispatchWapPdu()
230 intent.putExtra("pduType", pduType); in dispatchWapPdu()
231 intent.putExtra("header", header); in dispatchWapPdu()
232 intent.putExtra("data", intentData); in dispatchWapPdu()
233 intent.putExtra("contentTypeParameters", in dispatchWapPdu()
270 intent.putExtra("transactionId", transactionId); in dispatchWapPdu()
271 intent.putExtra("pduType", pduType); in dispatchWapPdu()
272 intent.putExtra("header", header); in dispatchWapPdu()
273 intent.putExtra("data", intentData); in dispatchWapPdu()
274 intent.putExtra("contentTypeParameters", pduDecoder.getContentParameters()); in dispatchWapPdu()
/frameworks/base/core/java/android/preference/
DRingtonePreference.java156 ringtonePickerIntent.putExtra(RingtoneManager.EXTRA_RINGTONE_EXISTING_URI, in onPrepareRingtonePickerIntent()
159 ringtonePickerIntent.putExtra(RingtoneManager.EXTRA_RINGTONE_SHOW_DEFAULT, mShowDefault); in onPrepareRingtonePickerIntent()
161 ringtonePickerIntent.putExtra(RingtoneManager.EXTRA_RINGTONE_DEFAULT_URI, in onPrepareRingtonePickerIntent()
165 ringtonePickerIntent.putExtra(RingtoneManager.EXTRA_RINGTONE_SHOW_SILENT, mShowSilent); in onPrepareRingtonePickerIntent()
166 ringtonePickerIntent.putExtra(RingtoneManager.EXTRA_RINGTONE_TYPE, mRingtoneType); in onPrepareRingtonePickerIntent()
167 ringtonePickerIntent.putExtra(RingtoneManager.EXTRA_RINGTONE_TITLE, getTitle()); in onPrepareRingtonePickerIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSomnambulator.java45 resultIntent.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE, in onStart()
47 resultIntent.putExtra(Intent.EXTRA_SHORTCUT_INTENT, shortcutIntent); in onStart()
48 resultIntent.putExtra(Intent.EXTRA_SHORTCUT_NAME, getString(R.string.start_dreams)); in onStart()
/frameworks/support/v4/java/android/support/v4/app/
DShareCompat.java281 mIntent.putExtra(EXTRA_CALLING_PACKAGE, launchingActivity.getPackageName()); in IntentBuilder()
282 mIntent.putExtra(EXTRA_CALLING_ACTIVITY, launchingActivity.getComponentName()); in IntentBuilder()
318 mIntent.putExtra(Intent.EXTRA_STREAM, mStreams.get(0)); in getIntent()
351 mIntent.putExtra(extra, finalAddresses); in combineArrayExtra()
362 intent.putExtra(extra, result); in combineArrayExtra()
431 mIntent.putExtra(Intent.EXTRA_TEXT, text); in setText()
447 mIntent.putExtra(IntentCompat.EXTRA_HTML_TEXT, htmlText); in setHtmlText()
470 mIntent.putExtra(Intent.EXTRA_STREAM, streamUri); in setStream()
513 mIntent.putExtra(Intent.EXTRA_EMAIL, addresses); in setEmailTo()
553 mIntent.putExtra(Intent.EXTRA_CC, addresses); in setEmailCc()
[all …]
/frameworks/base/services/java/com/android/server/
DBatteryService.java257 intent.putExtra(Intent.EXTRA_KEY_CONFIRM, false); in shutdownIfNoPowerLocked()
276 intent.putExtra(Intent.EXTRA_KEY_CONFIRM, false); in shutdownIfOverTempLocked()
479 intent.putExtra(BatteryManager.EXTRA_STATUS, mBatteryStatus); in sendIntentLocked()
480 intent.putExtra(BatteryManager.EXTRA_HEALTH, mBatteryHealth); in sendIntentLocked()
481 intent.putExtra(BatteryManager.EXTRA_PRESENT, mBatteryPresent); in sendIntentLocked()
482 intent.putExtra(BatteryManager.EXTRA_LEVEL, mBatteryLevel); in sendIntentLocked()
483 intent.putExtra(BatteryManager.EXTRA_SCALE, BATTERY_SCALE); in sendIntentLocked()
484 intent.putExtra(BatteryManager.EXTRA_ICON_SMALL, icon); in sendIntentLocked()
485 intent.putExtra(BatteryManager.EXTRA_PLUGGED, mPlugType); in sendIntentLocked()
486 intent.putExtra(BatteryManager.EXTRA_VOLTAGE, mBatteryVoltage); in sendIntentLocked()
[all …]
DTelephonyRegistry.java692 intent.putExtra(PhoneConstants.STATE_KEY, in broadcastCallStateChanged()
695 intent.putExtra(TelephonyManager.EXTRA_INCOMING_NUMBER, incomingNumber); in broadcastCallStateChanged()
709 intent.putExtra(PhoneConstants.STATE_KEY, in broadcastDataConnectionStateChanged()
712 intent.putExtra(PhoneConstants.NETWORK_UNAVAILABLE_KEY, true); in broadcastDataConnectionStateChanged()
715 intent.putExtra(PhoneConstants.STATE_CHANGE_REASON_KEY, reason); in broadcastDataConnectionStateChanged()
718 intent.putExtra(PhoneConstants.DATA_LINK_PROPERTIES_KEY, linkProperties); in broadcastDataConnectionStateChanged()
721 intent.putExtra(PhoneConstants.DATA_IFACE_NAME_KEY, iface); in broadcastDataConnectionStateChanged()
725 intent.putExtra(PhoneConstants.DATA_LINK_CAPABILITIES_KEY, linkCapabilities); in broadcastDataConnectionStateChanged()
727 if (roaming) intent.putExtra(PhoneConstants.DATA_NETWORK_ROAMING_KEY, true); in broadcastDataConnectionStateChanged()
729 intent.putExtra(PhoneConstants.DATA_APN_KEY, apn); in broadcastDataConnectionStateChanged()
[all …]
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
DTestsListActivity.java93 serviceIntent.putExtra("path", path); in onCreate()
195 intent.putExtra(LayoutTestsExecutor.EXTRA_TESTS_FILE, testListFile.getAbsolutePath()); in restartExecutor()
196 intent.putExtra(LayoutTestsExecutor.EXTRA_TEST_INDEX, startFrom); in restartExecutor()
198 intent.putExtra(LayoutTestsExecutor.EXTRA_TESTS_FILE, ""); in restartExecutor()
/frameworks/base/keystore/java/android/security/
DKeyChain.java269 intent.putExtra(EXTRA_RESPONSE, new AliasResponse(response)); in choosePrivateKeyAlias()
270 intent.putExtra(EXTRA_HOST, host); in choosePrivateKeyAlias()
271 intent.putExtra(EXTRA_PORT, port); in choosePrivateKeyAlias()
272 intent.putExtra(EXTRA_ALIAS, alias); in choosePrivateKeyAlias()
274 intent.putExtra(EXTRA_SENDER, PendingIntent.getActivity(activity, 0, new Intent(), 0)); in choosePrivateKeyAlias()
/frameworks/base/services/java/com/android/server/usb/
DUsbSettingsManager.java608 intent.putExtra(UsbManager.EXTRA_DEVICE, device); in deviceAttached()
632 intent.putExtra(UsbManager.EXTRA_DEVICE, device); in deviceDetached()
639 intent.putExtra(UsbManager.EXTRA_ACCESSORY, accessory); in accessoryAttached()
660 intent.putExtra(UsbManager.EXTRA_ACCESSORY, accessory); in accessoryDetached()
679 dialogIntent.putExtra(UsbManager.EXTRA_ACCESSORY, accessory); in resolveActivity()
680 dialogIntent.putExtra("uri", uri); in resolveActivity()
742 resolverIntent.putExtra("rinfo", matches.get(0)); in resolveActivity()
745 resolverIntent.putExtra(UsbManager.EXTRA_DEVICE, device); in resolveActivity()
747 resolverIntent.putExtra(UsbManager.EXTRA_ACCESSORY, accessory); in resolveActivity()
754 resolverIntent.putExtra(Intent.EXTRA_INTENT, intent); in resolveActivity()
[all …]
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportReceiver.java112 intent.putExtra(Intent.EXTRA_INTENT, sendIntent); in buildWarningIntent()
125 intent.putExtra(Intent.EXTRA_SUBJECT, bugreportUri.getLastPathSegment()); in buildSendIntent()
126 intent.putExtra(Intent.EXTRA_TEXT, SystemProperties.get("ro.build.description")); in buildSendIntent()
133 intent.putExtra(Intent.EXTRA_EMAIL, new String[] { sendToAccount.name }); in buildSendIntent()
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
DClientTest.java126 intent.putExtra("transactionId", 0); in onCreate()
127 intent.putExtra("pduType", 6); in onCreate()
128 intent.putExtra("header", in onCreate()
130 intent.putExtra("data", in onCreate()
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DObjectBrowser.java141 intent.putExtra("device", mDeviceName); in onListItemClick()
142 intent.putExtra("storage", mStorageID); in onListItemClick()
143 intent.putExtra("object", info.getObjectHandle()); in onListItemClick()
/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java245 intent.putExtra(NI_INTENT_KEY_NOTIF_ID, notif.notificationId); in getDlgIntent()
246 intent.putExtra(NI_INTENT_KEY_TITLE, title); in getDlgIntent()
247 intent.putExtra(NI_INTENT_KEY_MESSAGE, message); in getDlgIntent()
248 intent.putExtra(NI_INTENT_KEY_TIMEOUT, notif.timeout); in getDlgIntent()
249 intent.putExtra(NI_INTENT_KEY_DEFAULT_RESPONSE, notif.defaultResponse); in getDlgIntent()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSearchView.java321 mVoiceWebSearchIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, in SearchView()
1402 intent.putExtra(SearchManager.USER_QUERY, mUserQuery); in createIntent()
1404 intent.putExtra(SearchManager.QUERY, query); in createIntent()
1407 intent.putExtra(SearchManager.EXTRA_DATA_KEY, extraData); in createIntent()
1410 intent.putExtra(SearchManager.APP_DATA, mAppSearchData); in createIntent()
1413 intent.putExtra(SearchManager.ACTION_KEY, actionKey); in createIntent()
1414 intent.putExtra(SearchManager.ACTION_MSG, actionMsg); in createIntent()
1426 voiceIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, searchActivity == null ? null in createVoiceWebSearchIntent()
1482 voiceIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, languageModel); in createVoiceAppSearchIntent()
1483 voiceIntent.putExtra(RecognizerIntent.EXTRA_PROMPT, prompt); in createVoiceAppSearchIntent()
[all …]
/frameworks/base/core/java/android/widget/
DSearchView.java315 mVoiceWebSearchIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, in SearchView()
1469 intent.putExtra(SearchManager.USER_QUERY, mUserQuery); in createIntent()
1471 intent.putExtra(SearchManager.QUERY, query); in createIntent()
1474 intent.putExtra(SearchManager.EXTRA_DATA_KEY, extraData); in createIntent()
1477 intent.putExtra(SearchManager.APP_DATA, mAppSearchData); in createIntent()
1480 intent.putExtra(SearchManager.ACTION_KEY, actionKey); in createIntent()
1481 intent.putExtra(SearchManager.ACTION_MSG, actionMsg); in createIntent()
1493 voiceIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, searchActivity == null ? null in createVoiceWebSearchIntent()
1549 voiceIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, languageModel); in createVoiceAppSearchIntent()
1550 voiceIntent.putExtra(RecognizerIntent.EXTRA_PROMPT, prompt); in createVoiceAppSearchIntent()
[all …]
/frameworks/base/core/java/android/content/
DIntent.java854 intent.putExtra(EXTRA_INTENT, target); in createChooser()
856 intent.putExtra(EXTRA_TITLE, title); in createChooser()
5273 public Intent putExtra(String name, boolean value) { in putExtra() method
5296 public Intent putExtra(String name, byte value) { in putExtra() method
5319 public Intent putExtra(String name, char value) { in putExtra() method
5342 public Intent putExtra(String name, short value) { in putExtra() method
5365 public Intent putExtra(String name, int value) { in putExtra() method
5388 public Intent putExtra(String name, long value) { in putExtra() method
5411 public Intent putExtra(String name, float value) { in putExtra() method
5434 public Intent putExtra(String name, double value) { in putExtra() method
[all …]
/frameworks/base/core/java/android/app/
DSearchDialog.java130 mVoiceWebSearchIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, in SearchDialog()
598 intent.putExtra(SearchManager.USER_QUERY, mUserQuery); in createIntent()
600 intent.putExtra(SearchManager.QUERY, query); in createIntent()
603 intent.putExtra(SearchManager.EXTRA_DATA_KEY, extraData); in createIntent()
606 intent.putExtra(SearchManager.APP_DATA, mAppSearchData); in createIntent()
609 intent.putExtra(SearchManager.ACTION_KEY, actionKey); in createIntent()
610 intent.putExtra(SearchManager.ACTION_MSG, actionMsg); in createIntent()

1234567