/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/ |
D | NativeNfcTag.java | 530 Bundle extras = new Bundle(); in addNdefTechnology() local 531 extras.putParcelable(Ndef.EXTRA_NDEF_MSG, msg); in addNdefTechnology() 532 extras.putInt(Ndef.EXTRA_NDEF_MAXLENGTH, maxLength); in addNdefTechnology() 533 extras.putInt(Ndef.EXTRA_NDEF_CARDSTATE, cardState); in addNdefTechnology() 534 extras.putInt(Ndef.EXTRA_NDEF_TYPE, getNdefType(libnfcType, javaType)); in addNdefTechnology() 540 builtTechExtras[builtTechExtras.length - 1] = extras; in addNdefTechnology() 547 newTechExtras[oldTechExtras.length] = extras; in addNdefTechnology() 648 Bundle extras = new Bundle(); in getTechExtras() local 653 extras.putShort(NfcA.EXTRA_SAK, (short) (actBytes[0] & (short) 0xFF)); in getTechExtras() 658 extras.putByteArray(NfcA.EXTRA_ATQA, mTechPollBytes[i]); in getTechExtras() [all …]
|
/packages/apps/Gallery/src/com/android/camera/ |
D | CropImage.java | 103 Bundle extras = intent.getExtras(); in onCreate() local 105 if (extras != null) { in onCreate() 106 if (extras.getString("circleCrop") != null) { in onCreate() 111 mSaveUri = (Uri) extras.getParcelable(MediaStore.EXTRA_OUTPUT); in onCreate() 113 String outputFormatString = extras.getString("outputFormat"); in onCreate() 119 mSetWallpaper = extras.getBoolean("setWallpaper"); in onCreate() 121 mBitmap = (Bitmap) extras.getParcelable("data"); in onCreate() 122 mAspectX = extras.getInt("aspectX"); in onCreate() 123 mAspectY = extras.getInt("aspectY"); in onCreate() 124 mOutputX = extras.getInt("outputX"); in onCreate() [all …]
|
/packages/apps/Email/provider_src/com/android/email/service/ |
D | PopImapSyncAdapterService.java | 63 public void onPerformSync(android.accounts.Account account, Bundle extras, in onPerformSync() argument 65 PopImapSyncAdapterService.performSync(getContext(), account, extras, provider, in onPerformSync() local 103 final Bundle extras, final SyncResult syncResult, final boolean uiRefresh, in sync() argument 138 EmailServiceStatus.syncMailboxStatus(resolver, extras, mailboxId, in sync() 148 EmailServiceStatus.syncMailboxStatus(resolver, extras, mailboxId, status, 0, in sync() 158 EmailServiceStatus.syncMailboxStatus(resolver, extras, mailboxId, in sync() 165 EmailServiceStatus.syncMailboxStatus(resolver, extras, mailboxId, in sync() 172 EmailServiceStatus.syncMailboxStatus(resolver, extras, mailboxId, in sync() 179 EmailServiceStatus.syncMailboxStatus(resolver, extras, mailboxId, in sync() 195 Bundle extras, ContentProviderClient provider, SyncResult syncResult) { in performSync() argument [all …]
|
/packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/ |
D | NativeNfcTag.java | 526 Bundle extras = new Bundle(); in addNdefTechnology() local 527 extras.putParcelable(Ndef.EXTRA_NDEF_MSG, msg); in addNdefTechnology() 528 extras.putInt(Ndef.EXTRA_NDEF_MAXLENGTH, maxLength); in addNdefTechnology() 529 extras.putInt(Ndef.EXTRA_NDEF_CARDSTATE, cardState); in addNdefTechnology() 530 extras.putInt(Ndef.EXTRA_NDEF_TYPE, getNdefType(libnfcType, javaType)); in addNdefTechnology() 536 builtTechExtras[builtTechExtras.length - 1] = extras; in addNdefTechnology() 543 newTechExtras[oldTechExtras.length] = extras; in addNdefTechnology() 644 Bundle extras = new Bundle(); in getTechExtras() local 649 extras.putShort(NfcA.EXTRA_SAK, (short) (actBytes[0] & (short) 0xFF)); in getTechExtras() 654 extras.putByteArray(NfcA.EXTRA_ATQA, mTechPollBytes[i]); in getTechExtras() [all …]
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelephonyConnection.java | 135 Bundle extras = getExtras(); 136 if (extras != null) { 139 extras.putStringArrayList(Connection.EXTRA_LAST_FORWARDED_NUMBER, 141 setExtras(extras); 147 final Bundle extras = (Bundle) msg.obj; 148 updateExtras(extras); 276 public void onExtrasChanged(Bundle extras) { 277 mHandler.obtainMessage(MSG_CONNECTION_EXTRAS_CHANGED, extras).sendToTarget(); 769 protected void updateExtras(Bundle extras) { in updateExtras() argument 771 if (extras != null) { in updateExtras() [all …]
|
D | PstnIncomingCallNotifier.java | 229 Bundle extras = null; in addNewUnknownCall() local 232 extras = new Bundle(); in addNewUnknownCall() 234 extras.putParcelable(TelecomManager.EXTRA_UNKNOWN_CALL_HANDLE, uri); in addNewUnknownCall() 244 TelecomManager.from(mPhoneProxy.getContext()).addNewUnknownCall(handle, extras); in addNewUnknownCall() 255 Bundle extras = null; in sendIncomingCallIntent() local 258 extras = new Bundle(); in sendIncomingCallIntent() 260 extras.putParcelable(TelecomManager.EXTRA_INCOMING_CALL_ADDRESS, uri); in sendIncomingCallIntent() 270 TelecomManager.from(mPhoneProxy.getContext()).addNewIncomingCall(handle, extras); in sendIncomingCallIntent()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
D | RawContactModifier.java | 530 Bundle extras) { in parseExtras() argument 531 if (extras == null || extras.size() == 0) { in parseExtras() 536 parseStructuredNameExtra(context, accountType, state, extras); in parseExtras() 537 parseStructuredPostalExtra(accountType, state, extras); in parseExtras() 542 parseExtras(state, kind, extras, Insert.PHONE_TYPE, Insert.PHONE, Phone.NUMBER); in parseExtras() 543 parseExtras(state, kind, extras, Insert.SECONDARY_PHONE_TYPE, Insert.SECONDARY_PHONE, in parseExtras() 545 parseExtras(state, kind, extras, Insert.TERTIARY_PHONE_TYPE, Insert.TERTIARY_PHONE, in parseExtras() 552 parseExtras(state, kind, extras, Insert.EMAIL_TYPE, Insert.EMAIL, Email.DATA); in parseExtras() 553 parseExtras(state, kind, extras, Insert.SECONDARY_EMAIL_TYPE, Insert.SECONDARY_EMAIL, in parseExtras() 555 parseExtras(state, kind, extras, Insert.TERTIARY_EMAIL_TYPE, Insert.TERTIARY_EMAIL, in parseExtras() [all …]
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | CallNotificationReceiver.java | 82 Bundle extras = new Bundle(); in sendIncomingCallIntent() local 83 extras.putBoolean(TestConnectionService.EXTRA_IS_VIDEO_CALL, isVideoCall); in sendIncomingCallIntent() 85 extras.putParcelable(TestConnectionService.EXTRA_HANDLE, handle); in sendIncomingCallIntent() 88 TelecomManager.from(context).addNewIncomingCall(phoneAccount, extras); in sendIncomingCallIntent() 91 public static void addNewUnknownCall(Context context, Uri handle, Bundle extras) { in addNewUnknownCall() argument 97 if (extras == null) { in addNewUnknownCall() 98 extras = new Bundle(); in addNewUnknownCall() 102 extras.putParcelable(TelecomManager.EXTRA_UNKNOWN_CALL_HANDLE, handle); in addNewUnknownCall() 103 extras.putParcelable(TestConnectionService.EXTRA_HANDLE, handle); in addNewUnknownCall() 106 TelecomManager.from(context).addNewUnknownCall(phoneAccount, extras); in addNewUnknownCall()
|
D | TestConnectionService.java | 299 Bundle extras = originalRequest.getExtras(); in onCreateOutgoingConnection() local 300 String gatewayPackage = extras.getString(TelecomManager.GATEWAY_PROVIDER_PACKAGE); in onCreateOutgoingConnection() 301 Uri originalHandle = extras.getParcelable(TelecomManager.GATEWAY_ORIGINAL_ADDRESS); in onCreateOutgoingConnection() 303 if (extras.containsKey(TelecomManager.EXTRA_CALL_SUBJECT)) { in onCreateOutgoingConnection() 304 String callSubject = extras.getString(TelecomManager.EXTRA_CALL_SUBJECT); in onCreateOutgoingConnection() 352 Bundle extras = request.getExtras(); in onCreateIncomingConnection() local 353 boolean isVideoCall = extras.getBoolean(EXTRA_IS_VIDEO_CALL); in onCreateIncomingConnection() 354 Uri providedHandle = extras.getParcelable(EXTRA_HANDLE); in onCreateIncomingConnection() 409 final Bundle extras = request.getExtras(); in onCreateUnknownConnection() local 410 final Uri providedHandle = extras.getParcelable(EXTRA_HANDLE); in onCreateUnknownConnection()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | AccessibilitySettings.java | 331 Bundle extras = mGlobalGesturePreferenceScreen.getExtras(); in handleToggleEnableAccessibilityGesturePreferenceClick() local 332 extras.putString(EXTRA_TITLE, getString( in handleToggleEnableAccessibilityGesturePreferenceClick() 334 extras.putString(EXTRA_SUMMARY, getString( in handleToggleEnableAccessibilityGesturePreferenceClick() 336 extras.putBoolean(EXTRA_CHECKED, Settings.Global.getInt(getContentResolver(), in handleToggleEnableAccessibilityGesturePreferenceClick() 343 Bundle extras = mDisplayMagnificationPreferenceScreen.getExtras(); in handleDisplayMagnificationPreferenceScreenClick() local 344 extras.putString(EXTRA_TITLE, getString( in handleDisplayMagnificationPreferenceScreenClick() 346 extras.putCharSequence(EXTRA_SUMMARY, getActivity().getResources().getText( in handleDisplayMagnificationPreferenceScreenClick() 348 extras.putBoolean(EXTRA_CHECKED, Settings.Secure.getInt(getContentResolver(), in handleDisplayMagnificationPreferenceScreenClick() 496 Bundle extras = preference.getExtras(); in updateServicesPreferences() local 497 extras.putString(EXTRA_PREFERENCE_KEY, preference.getKey()); in updateServicesPreferences() [all …]
|
/packages/services/Telephony/tests/src/com/android/phone/tests/ |
D | OtaspTestActivity.java | 54 Bundle extras = intent.getExtras(); in onCreate() local 55 if (extras != null) { in onCreate() 56 Log.i(LOG_TAG, " - has extras: size = " + extras.size()); // forces an unparcel() in onCreate() 57 Log.i(LOG_TAG, " - extras = " + extras); in onCreate() 124 Bundle extras = intent.getExtras(); in onNewIntent() local 125 if (extras != null) Log.i(LOG_TAG, " - intent extras = " + extras); in onNewIntent() 244 Bundle extras = performProvisioningIntent.getExtras(); in makeTestCall() local 245 if (extras != null) Log.i(LOG_TAG, " - intent extras = " + extras); in makeTestCall()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
D | CropActivity.java | 655 Bundle extras = intent.getExtras(); in getExtrasFromIntent() local 656 if (extras != null) { in getExtrasFromIntent() 657 return new CropExtras(extras.getInt(CropExtras.KEY_OUTPUT_X, 0), in getExtrasFromIntent() 658 extras.getInt(CropExtras.KEY_OUTPUT_Y, 0), in getExtrasFromIntent() 659 extras.getBoolean(CropExtras.KEY_SCALE, true) && in getExtrasFromIntent() 660 extras.getBoolean(CropExtras.KEY_SCALE_UP_IF_NEEDED, false), in getExtrasFromIntent() 661 extras.getInt(CropExtras.KEY_ASPECT_X, 0), in getExtrasFromIntent() 662 extras.getInt(CropExtras.KEY_ASPECT_Y, 0), in getExtrasFromIntent() 663 extras.getBoolean(CropExtras.KEY_SET_AS_WALLPAPER, false), in getExtrasFromIntent() 664 extras.getBoolean(CropExtras.KEY_RETURN_DATA, false), in getExtrasFromIntent() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | ProcessDownloadedMmsAction.java | 96 public static void processMessageDownloaded(final int resultCode, final Bundle extras) { in processMessageDownloaded() argument 97 final String messageId = extras.getString(DownloadMmsAction.EXTRA_MESSAGE_ID); in processMessageDownloaded() 98 final Uri contentUri = extras.getParcelable(DownloadMmsAction.EXTRA_CONTENT_URI); in processMessageDownloaded() 99 final Uri notificationUri = extras.getParcelable(DownloadMmsAction.EXTRA_NOTIFICATION_URI); in processMessageDownloaded() 100 final String conversationId = extras.getString(DownloadMmsAction.EXTRA_CONVERSATION_ID); in processMessageDownloaded() 101 final String participantId = extras.getString(DownloadMmsAction.EXTRA_PARTICIPANT_ID); in processMessageDownloaded() 114 extras.getInt(SmsManager.EXTRA_MMS_HTTP_STATUS, 0)); in processMessageDownloaded() 118 extras.getInt(DownloadMmsAction.EXTRA_SUB_ID, ParticipantData.DEFAULT_SELF_SUB_ID)); in processMessageDownloaded() 120 extras.getString(DownloadMmsAction.EXTRA_SUB_PHONE_NUMBER)); in processMessageDownloaded() 122 extras.getString(DownloadMmsAction.EXTRA_TRANSACTION_ID)); in processMessageDownloaded() [all …]
|
D | ProcessSentMessageAction.java | 78 final Bundle extras) { in processMmsSent() argument 83 params.putString(KEY_MESSAGE_ID, extras.getString(SendMessageAction.EXTRA_MESSAGE_ID)); in processMmsSent() 86 extras.getParcelable(SendMessageAction.EXTRA_UPDATED_MESSAGE_URI)); in processMmsSent() 88 extras.getInt(SendMessageAction.KEY_SUB_ID, ParticipantData.DEFAULT_SELF_SUB_ID)); in processMmsSent() 90 params.putInt(KEY_HTTP_STATUS_CODE, extras.getInt(SmsManager.EXTRA_MMS_HTTP_STATUS, 0)); in processMmsSent() 92 extras.getParcelable(SendMessageAction.EXTRA_CONTENT_URI)); in processMmsSent() 93 params.putByteArray(KEY_RESPONSE, extras.getByteArray(SmsManager.EXTRA_MMS_DATA)); in processMmsSent() 95 extras.getBoolean(SendMessageAction.EXTRA_RESPONSE_IMPORTANT)); in processMmsSent()
|
/packages/apps/Settings/src/com/android/settings/print/ |
D | PrintSettingsFragment.java | 252 Bundle extras = preference.getExtras(); in updateServicesPreferences() local 253 extras.putString(EXTRA_PREFERENCE_KEY, preference.getKey()); in updateServicesPreferences() 254 extras.putBoolean(EXTRA_CHECKED, serviceEnabled); in updateServicesPreferences() 255 extras.putString(EXTRA_TITLE, title); in updateServicesPreferences() 262 extras.putString(EXTRA_ENABLE_WARNING_TITLE, getString( in updateServicesPreferences() 264 extras.putString(EXTRA_ENABLE_WARNING_MESSAGE, getString( in updateServicesPreferences() 269 extras.putString(EXTRA_SETTINGS_TITLE, in updateServicesPreferences() 271 extras.putString(EXTRA_SETTINGS_COMPONENT_NAME, in updateServicesPreferences() 278 extras.putString(EXTRA_ADD_PRINTERS_TITLE, in updateServicesPreferences() 280 extras.putString(EXTRA_ADD_PRINTERS_COMPONENT_NAME, in updateServicesPreferences() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | ContactSelectionActivity.java | 409 Bundle extras = getIntent().getExtras(); in onEditContactAction() local 410 if (launchAddToContactDialog(extras)) { in onEditContactAction() 415 if (extras != null) { in onEditContactAction() 420 extras.remove(Insert.NAME); in onEditContactAction() 421 intent.putExtras(extras); in onEditContactAction() 453 private boolean launchAddToContactDialog(Bundle extras) { in launchAddToContactDialog() argument 454 if (extras == null) { in launchAddToContactDialog() 460 intentExtraKeys.addAll(extras.keySet()); in launchAddToContactDialog() 552 Bundle extras = getIntent().getExtras(); in startActivityAndForwardResult() local 553 if (extras != null) { in startActivityAndForwardResult() [all …]
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
D | EmailProvider.java | 1736 final Bundle extras = new Bundle(3); in restoreAccounts() local 1737 extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true); in restoreAccounts() 1738 extras.putBoolean(ContentResolver.SYNC_EXTRAS_DO_NOT_RETRY, true); in restoreAccounts() 1739 extras.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true); in restoreAccounts() 1740 ContentResolver.requestSync(amAccount, EmailContent.AUTHORITY, extras); in restoreAccounts() 2242 private void updateSyncStatus(final Bundle extras) { in updateSyncStatus() argument 2243 final long id = extras.getLong(EmailServiceStatus.SYNC_STATUS_ID); in updateSyncStatus() 2244 final int statusCode = extras.getInt(EmailServiceStatus.SYNC_STATUS_CODE); in updateSyncStatus() 2251 final int result = extras.getInt(EmailServiceStatus.SYNC_RESULT); in updateSyncStatus() 2263 public Bundle call(String method, String arg, Bundle extras) { in call() argument [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | SettingsActivity.java | 54 Bundle extras = new Bundle(); in onCreate() local 55 extras.putBoolean(LauncherSettings.Settings.EXTRA_DEFAULT_VALUE, false); in onCreate() 59 Utilities.ALLOW_ROTATION_PREFERENCE_KEY, extras); in onCreate() 67 Bundle extras = new Bundle(); in onPreferenceChange() local 68 extras.putBoolean(LauncherSettings.Settings.EXTRA_VALUE, (Boolean) newValue); in onPreferenceChange() 72 preference.getKey(), extras); in onPreferenceChange()
|
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/ |
D | BluetoothMapIMProvider.java | 599 public Bundle call(String method, String arg, Bundle extras) { in call() argument 606 long accountId = extras.getLong(BluetoothMapContract.EXTRA_UPDATE_ACCOUNT_ID, -1); in call() 611 long folderId = extras.getLong(BluetoothMapContract.EXTRA_UPDATE_FOLDER_ID, -1); in call() 618 int presenceState = extras.getInt(BluetoothMapContract.EXTRA_PRESENCE_STATE); in call() 619 String presenceStatus = extras.getString( in call() 621 long lastActive = extras.getLong(BluetoothMapContract.EXTRA_LAST_ACTIVE); in call() 622 int chatState = extras.getInt(BluetoothMapContract.EXTRA_CHAT_STATE); in call() 623 String convoId = extras.getString(BluetoothMapContract.EXTRA_CONVERSATION_ID); in call() 627 boolean bluetoothState = extras.getBoolean( in call()
|
/packages/apps/InCallUI/src/com/android/incallui/ |
D | InCallPresenter.java | 1142 Bundle extras = call.getIntentExtras(); in isCallWithNoValidAccounts() local 1144 if (extras == null) { in isCallWithNoValidAccounts() 1145 extras = EMPTY_EXTRAS; in isCallWithNoValidAccounts() 1148 final List<PhoneAccountHandle> phoneAccountHandles = extras in isCallWithNoValidAccounts() 1168 Bundle extras = telecomCall.getDetails().getIntentExtras(); in setDisconnectCauseForMissingAccounts() local 1170 if (extras == null) { in setDisconnectCauseForMissingAccounts() 1171 extras = new Bundle(); in setDisconnectCauseForMissingAccounts() 1174 final List<PhoneAccountHandle> phoneAccountHandles = extras.getParcelableArrayList( in setDisconnectCauseForMissingAccounts() 1292 final Bundle extras = intent.getBundleExtra(TelecomManager.EXTRA_OUTGOING_CALL_EXTRAS); in maybeStartRevealAnimation() local 1293 if (extras == null) { in maybeStartRevealAnimation() [all …]
|
D | InCallActivity.java | 578 Bundle extras = null; in internalResolveIntent() local 580 extras = call.getTelecommCall().getDetails().getIntentExtras(); in internalResolveIntent() 582 if (extras == null) { in internalResolveIntent() 584 extras = new Bundle(); in internalResolveIntent() 594 touchPoint = (Point) extras.getParcelable(TouchPointManager.TOUCH_POINT); in internalResolveIntent() 615 Bundle extras = pendingAccountSelectionCall in internalResolveIntent() local 619 if (extras != null) { in internalResolveIntent() 620 phoneAccountHandles = extras.getParcelableArrayList( in internalResolveIntent()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallsManager.java | 488 void processIncomingCallIntent(PhoneAccountHandle phoneAccountHandle, Bundle extras) { in processIncomingCallIntent() argument 490 Uri handle = extras.getParcelable(TelecomManager.EXTRA_INCOMING_CALL_ADDRESS); in processIncomingCallIntent() 493 handle = extras.getParcelable(TelephonyManager.EXTRA_INCOMING_NUMBER); in processIncomingCallIntent() 509 call.setIntentExtras(extras); in processIncomingCallIntent() 515 void addNewUnknownCall(PhoneAccountHandle phoneAccountHandle, Bundle extras) { in addNewUnknownCall() argument 516 Uri handle = extras.getParcelable(TelecomManager.EXTRA_UNKNOWN_CALL_HANDLE); in addNewUnknownCall() 534 call.setIntentExtras(extras); in addNewUnknownCall() 596 Call startOutgoingCall(Uri handle, PhoneAccountHandle phoneAccountHandle, Bundle extras) { in startOutgoingCall() argument 659 extras = new Bundle(extras); in startOutgoingCall() 660 extras.putParcelableList(android.telecom.Call.AVAILABLE_PHONE_ACCOUNTS, accounts); in startOutgoingCall() [all …]
|
D | ConnectionServiceWrapper.java | 491 public void setExtras(String callId, Bundle extras) { in setExtras() argument 495 logIncoming("setExtras %s %s", callId, extras); in setExtras() 500 call.setExtras(extras); in setExtras() 654 Bundle extras = call.getIntentExtras(); in createConnection() 657 extras = (Bundle) extras.clone(); in createConnection() 658 extras.putString( in createConnection() 661 extras.putParcelable( in createConnection() 674 extras, in createConnection()
|
/packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/ |
D | DialogSmsDisplay.java | 56 Bundle extras = intent.getExtras(); in parseIntent() local 57 if (extras == null) { in parseIntent() 60 mFromAddress = extras.getString(SMS_FROM_ADDRESS_EXTRA); in parseIntent() 61 mMessage = extras.getString(SMS_MESSAGE_EXTRA); in parseIntent() 62 int notificationId = extras.getInt(SMS_NOTIFICATION_ID_EXTRA); in parseIntent()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MtpReceiver.java | 47 Bundle extras = intent.getExtras(); in handleUsbState() local 48 boolean connected = extras.getBoolean(UsbManager.USB_CONFIGURED); in handleUsbState() 49 boolean mtpEnabled = extras.getBoolean(UsbManager.USB_FUNCTION_MTP); in handleUsbState() 50 boolean ptpEnabled = extras.getBoolean(UsbManager.USB_FUNCTION_PTP); in handleUsbState() 51 boolean unlocked = extras.getBoolean(UsbManager.USB_DATA_UNLOCKED); in handleUsbState()
|