Home
last modified time | relevance | path

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

123456

/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.java109 intent.putExtra("caller", mCallTarget); in makeBroadcastIntent()
305 intent.putExtra("test", LaunchpadActivity.DATA_1); in testSetSticky()
319 intent.putExtra("test", LaunchpadActivity.DATA_1); in testClearSticky()
333 intent.putExtra("test", LaunchpadActivity.DATA_1); in testReplaceSticky()
335 intent.putExtra("test", LaunchpadActivity.DATA_2); in testReplaceSticky()
350 intent.putExtra("test", LaunchpadActivity.DATA_1); in testReceiveSticky()
360 intent.putExtra("test", LaunchpadActivity.DATA_1); in testReceive2Sticky()
363 intent.putExtra("test", LaunchpadActivity.DATA_2); in testReceive2Sticky()
/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()
DLoadTestsAutoTest.java236 intent.putExtra(TestShellActivity.TEST_URL, url); in runTestAndWaitUntilDone()
237 intent.putExtra(TestShellActivity.TIMEOUT_IN_MILLIS, timeout); in runTestAndWaitUntilDone()
238 intent.putExtra(TestShellActivity.RESULT_FILE, LOAD_TEST_RESULT); in runTestAndWaitUntilDone()
239 intent.putExtra(TestShellActivity.GET_DRAW_TIME, getDrawTime); in runTestAndWaitUntilDone()
241 intent.putExtra(TestShellActivity.SAVE_IMAGE, saveImagePath); in runTestAndWaitUntilDone()
DLayoutTestsAutoTest.java338 intent.putExtra(TestShellActivity.TEST_URL, FsUtils.getTestUrl(test)); in runTestAndWaitUntilDone()
339 intent.putExtra(TestShellActivity.RESULT_FILE, resultFile); in runTestAndWaitUntilDone()
340 intent.putExtra(TestShellActivity.TIMEOUT_IN_MILLIS, timeout); in runTestAndWaitUntilDone()
341 intent.putExtra(TestShellActivity.TOTAL_TEST_COUNT, mTestCount); in runTestAndWaitUntilDone()
342 intent.putExtra(TestShellActivity.CURRENT_TEST_NUMBER, testNumber); in runTestAndWaitUntilDone()
343 intent.putExtra(TestShellActivity.STOP_ON_REF_ERROR, true); in runTestAndWaitUntilDone()
/frameworks/base/telephony/java/com/android/internal/telephony/
DWapPushOverSms.java227 intent.putExtra("transactionId", transactionId); in dispatchWapPdu()
228 intent.putExtra("pduType", pduType); in dispatchWapPdu()
229 intent.putExtra("header", header); in dispatchWapPdu()
230 intent.putExtra("data", intentData); in dispatchWapPdu()
231 intent.putExtra("contentTypeParameters", in dispatchWapPdu()
265 intent.putExtra("transactionId", transactionId); in dispatchWapPdu()
266 intent.putExtra("pduType", pduType); in dispatchWapPdu()
267 intent.putExtra("header", header); in dispatchWapPdu()
268 intent.putExtra("data", intentData); in dispatchWapPdu()
269 intent.putExtra("contentTypeParameters", pduDecoder.getContentParameters()); in dispatchWapPdu()
DSMSDispatcher.java384 sendNext.putExtra(SEND_NEXT_MSG_EXTRA, true); in handleSendComplete()
425 fillIn.putExtra("errorCode", ((SmsResponse)ar.result).errorCode); in handleSendComplete()
432 fillIn.putExtra(SEND_NEXT_MSG_EXTRA, true); in handleSendComplete()
670 intent.putExtra("pdus", pdus); in dispatchPdus()
671 intent.putExtra("format", getFormat()); in dispatchPdus()
684 intent.putExtra("pdus", pdus); in dispatchPortAddressedPdus()
685 intent.putExtra("format", getFormat()); in dispatchPortAddressedPdus()
1013 intent.putExtra("result", result); in notifyAndAcknowledgeLastIncomingSms()
1084 intent.putExtra("pdus", pdus); in dispatchBroadcastPdus()
1089 intent.putExtra("pdus", pdus); in dispatchBroadcastPdus()
/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/base/core/java/android/server/
DBluetoothEventLoop.java195 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mAdapter.getRemoteDevice(address)); in addDevice()
196 intent.putExtra(BluetoothDevice.EXTRA_CLASS, in addDevice()
198 intent.putExtra(BluetoothDevice.EXTRA_RSSI, rssiValue); in addDevice()
199 intent.putExtra(BluetoothDevice.EXTRA_NAME, name); in addDevice()
231 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mAdapter.getRemoteDevice(address)); in onDeviceDisappeared()
248 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mAdapter.getRemoteDevice(address)); in onDeviceDisconnectRequested()
318 intent.putExtra(BluetoothAdapter.EXTRA_LOCAL_NAME, propValues[1]); in onPropertyChanged()
342 intent.putExtra(BluetoothAdapter.EXTRA_SCAN_MODE, mode); in onPropertyChanged()
402 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in onDevicePropertyChanged()
403 intent.putExtra(BluetoothDevice.EXTRA_NAME, propValues[1]); in onDevicePropertyChanged()
[all …]
/frameworks/base/services/java/com/android/server/
DWiredAccessoryObserver.java242 intent.putExtra("state", state); in sendIntent()
243 intent.putExtra("name", headsetName); in sendIntent()
248 intent.putExtra("state", state); in sendIntent()
249 intent.putExtra("name", headsetName); in sendIntent()
254 intent.putExtra("state", state); in sendIntent()
255 intent.putExtra("name", headsetName); in sendIntent()
274 intent.putExtra("state", state); in sendIntent()
275 intent.putExtra("name", headsetName); in sendIntent()
276 intent.putExtra("microphone", microphone); in sendIntent()
DBatteryService.java213 intent.putExtra(Intent.EXTRA_KEY_CONFIRM, false); in shutdownIfNoPower()
224 intent.putExtra(Intent.EXTRA_KEY_CONFIRM, false); in shutdownIfOverTemp()
381 intent.putExtra(BatteryManager.EXTRA_STATUS, mBatteryStatus); in sendIntent()
382 intent.putExtra(BatteryManager.EXTRA_HEALTH, mBatteryHealth); in sendIntent()
383 intent.putExtra(BatteryManager.EXTRA_PRESENT, mBatteryPresent); in sendIntent()
384 intent.putExtra(BatteryManager.EXTRA_LEVEL, mBatteryLevel); in sendIntent()
385 intent.putExtra(BatteryManager.EXTRA_SCALE, BATTERY_SCALE); in sendIntent()
386 intent.putExtra(BatteryManager.EXTRA_ICON_SMALL, icon); in sendIntent()
387 intent.putExtra(BatteryManager.EXTRA_PLUGGED, mPlugType); in sendIntent()
388 intent.putExtra(BatteryManager.EXTRA_VOLTAGE, mBatteryVoltage); in sendIntent()
[all …]
DTelephonyRegistry.java594 intent.putExtra(Phone.STATE_KEY, DefaultPhoneNotifier.convertCallState(state).toString()); in broadcastCallStateChanged()
596 intent.putExtra(TelephonyManager.EXTRA_INCOMING_NUMBER, incomingNumber); in broadcastCallStateChanged()
609 intent.putExtra(Phone.STATE_KEY, DefaultPhoneNotifier.convertDataState(state).toString()); in broadcastDataConnectionStateChanged()
611 intent.putExtra(Phone.NETWORK_UNAVAILABLE_KEY, true); in broadcastDataConnectionStateChanged()
614 intent.putExtra(Phone.STATE_CHANGE_REASON_KEY, reason); in broadcastDataConnectionStateChanged()
617 intent.putExtra(Phone.DATA_LINK_PROPERTIES_KEY, linkProperties); in broadcastDataConnectionStateChanged()
620 intent.putExtra(Phone.DATA_IFACE_NAME_KEY, iface); in broadcastDataConnectionStateChanged()
624 intent.putExtra(Phone.DATA_LINK_CAPABILITIES_KEY, linkCapabilities); in broadcastDataConnectionStateChanged()
626 if (roaming) intent.putExtra(Phone.DATA_NETWORK_ROAMING_KEY, true); in broadcastDataConnectionStateChanged()
628 intent.putExtra(Phone.DATA_APN_KEY, apn); in broadcastDataConnectionStateChanged()
[all …]
/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/services/java/com/android/server/usb/
DUsbSettingsManager.java536 intent.putExtra(UsbManager.EXTRA_DEVICE, device); in deviceAttached()
556 intent.putExtra(UsbManager.EXTRA_DEVICE, device); in deviceDetached()
563 intent.putExtra(UsbManager.EXTRA_ACCESSORY, accessory); in accessoryAttached()
584 intent.putExtra(UsbManager.EXTRA_ACCESSORY, accessory); in accessoryDetached()
603 dialogIntent.putExtra(UsbManager.EXTRA_ACCESSORY, accessory); in resolveActivity()
604 dialogIntent.putExtra("uri", uri); in resolveActivity()
666 resolverIntent.putExtra("rinfo", matches.get(0)); in resolveActivity()
669 resolverIntent.putExtra(UsbManager.EXTRA_DEVICE, device); in resolveActivity()
671 resolverIntent.putExtra(UsbManager.EXTRA_ACCESSORY, accessory); in resolveActivity()
678 resolverIntent.putExtra(Intent.EXTRA_INTENT, intent); in resolveActivity()
[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.java258 intent.putExtra(EXTRA_RESPONSE, new AliasResponse(response)); in choosePrivateKeyAlias()
259 intent.putExtra(EXTRA_HOST, host); in choosePrivateKeyAlias()
260 intent.putExtra(EXTRA_PORT, port); in choosePrivateKeyAlias()
261 intent.putExtra(EXTRA_ALIAS, alias); in choosePrivateKeyAlias()
263 intent.putExtra(EXTRA_SENDER, PendingIntent.getActivity(activity, 0, new Intent(), 0)); in choosePrivateKeyAlias()
DCredentials.java139 intent.putExtra(EXTRA_PRIVATE_KEY, pair.getPrivate().getEncoded()); in install()
140 intent.putExtra(EXTRA_PUBLIC_KEY, pair.getPublic().getEncoded()); in install()
150 intent.putExtra(type, value); in install()
/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/core/java/android/content/
DIntent.java833 intent.putExtra(EXTRA_INTENT, target); in createChooser()
835 intent.putExtra(EXTRA_TITLE, title); in createChooser()
4382 public Intent putExtra(String name, boolean value) { in putExtra() method in Intent
4405 public Intent putExtra(String name, byte value) { in putExtra() method in Intent
4428 public Intent putExtra(String name, char value) { in putExtra() method in Intent
4451 public Intent putExtra(String name, short value) { in putExtra() method in Intent
4474 public Intent putExtra(String name, int value) { in putExtra() method in Intent
4497 public Intent putExtra(String name, long value) { in putExtra() method in Intent
4520 public Intent putExtra(String name, float value) { in putExtra() method in Intent
4543 public Intent putExtra(String name, double value) { in putExtra() method in Intent
[all …]
/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.java248 intent.putExtra(NI_INTENT_KEY_NOTIF_ID, notif.notificationId); in getDlgIntent()
249 intent.putExtra(NI_INTENT_KEY_TITLE, title); in getDlgIntent()
250 intent.putExtra(NI_INTENT_KEY_MESSAGE, message); in getDlgIntent()
251 intent.putExtra(NI_INTENT_KEY_TIMEOUT, notif.timeout); in getDlgIntent()
252 intent.putExtra(NI_INTENT_KEY_DEFAULT_RESPONSE, notif.defaultResponse); in getDlgIntent()
/frameworks/base/core/java/android/widget/
DSearchView.java305 mVoiceWebSearchIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, in SearchView()
1370 intent.putExtra(SearchManager.USER_QUERY, mUserQuery); in createIntent()
1372 intent.putExtra(SearchManager.QUERY, query); in createIntent()
1375 intent.putExtra(SearchManager.EXTRA_DATA_KEY, extraData); in createIntent()
1378 intent.putExtra(SearchManager.APP_DATA, mAppSearchData); in createIntent()
1381 intent.putExtra(SearchManager.ACTION_KEY, actionKey); in createIntent()
1382 intent.putExtra(SearchManager.ACTION_MSG, actionMsg); in createIntent()
1394 voiceIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, searchActivity == null ? null in createVoiceWebSearchIntent()
1447 voiceIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, languageModel); in createVoiceAppSearchIntent()
1448 voiceIntent.putExtra(RecognizerIntent.EXTRA_PROMPT, prompt); in createVoiceAppSearchIntent()
[all …]
/frameworks/base/core/java/android/app/
DSearchDialog.java130 mVoiceWebSearchIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, in SearchDialog()
599 intent.putExtra(SearchManager.USER_QUERY, mUserQuery); in createIntent()
601 intent.putExtra(SearchManager.QUERY, query); in createIntent()
604 intent.putExtra(SearchManager.EXTRA_DATA_KEY, extraData); in createIntent()
607 intent.putExtra(SearchManager.APP_DATA, mAppSearchData); in createIntent()
610 intent.putExtra(SearchManager.ACTION_KEY, actionKey); in createIntent()
611 intent.putExtra(SearchManager.ACTION_MSG, actionMsg); in createIntent()

123456