/packages/apps/FMRadio/src/com/android/fmradio/ |
D | FmService.java | 302 Bundle bundle = new Bundle(2); in onReceive() local 303 bundle.putInt(FmListener.CALLBACK_FLAG, in onReceive() 305 bundle.putBoolean(FmListener.KEY_IS_SPEAKER_MODE, false); in onReceive() 306 notifyActivityStateChanged(bundle); in onReceive() 337 Bundle bundle = new Bundle(2); in onReceive() local 338 bundle.putInt(FmListener.CALLBACK_FLAG, in onReceive() 340 bundle.putInt(FmListener.KEY_RECORDING_STATE, in onReceive() 342 notifyActivityStateChanged(bundle); in onReceive() 584 Bundle bundle = new Bundle(bundleSize); in powerUpAsync() local 585 bundle.putFloat(FM_FREQUENCY, frequency); in powerUpAsync() [all …]
|
D | FmMainActivity.java | 160 public void onCallBack(Bundle bundle) { 161 int flag = bundle.getInt(FmListener.CALLBACK_FLAG); 168 msg.setData(bundle); 223 Bundle bundle; 227 bundle = msg.getData(); 229 int station = bundle.getInt(FmListener.KEY_TUNE_TO_STATION); 244 bundle = msg.getData(); 245 boolean hasAntenna = bundle.getBoolean(FmListener.KEY_IS_SWITCH_ANTENNA); 266 bundle = msg.getData(); 274 bundle = msg.getData(); [all …]
|
D | FmFavoriteActivity.java | 459 public void onCallBack(Bundle bundle) { 460 int flag = bundle.getInt(FmListener.CALLBACK_FLAG); 467 msg.setData(bundle); 482 Bundle bundle; 485 bundle = msg.getData(); 487 boolean isScan = bundle.getBoolean(FmListener.KEY_IS_SCAN); 488 int searchedNum = bundle.getInt(FmListener.KEY_STATION_NUM); 510 bundle = msg.getData(); 511 boolean isHeadset = bundle.getBoolean(FmListener.KEY_IS_SWITCH_ANTENNA);
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
D | MessageParser.java | 197 public void addProvisioningParamsToBundle(Bundle bundle, ProvisioningParams params) { in addProvisioningParamsToBundle() argument 198 bundle.putString(EXTRA_PROVISIONING_TIME_ZONE, params.timeZone); in addProvisioningParamsToBundle() 199 bundle.putString(EXTRA_PROVISIONING_LOCALE, localeToString(params.locale)); in addProvisioningParamsToBundle() 200 bundle.putString(EXTRA_PROVISIONING_WIFI_SSID, params.wifiInfo.ssid); in addProvisioningParamsToBundle() 201 bundle.putString(EXTRA_PROVISIONING_WIFI_SECURITY_TYPE, params.wifiInfo.securityType); in addProvisioningParamsToBundle() 202 bundle.putString(EXTRA_PROVISIONING_WIFI_PASSWORD, params.wifiInfo.password); in addProvisioningParamsToBundle() 203 bundle.putString(EXTRA_PROVISIONING_WIFI_PROXY_HOST, params.wifiInfo.proxyHost); in addProvisioningParamsToBundle() 204 bundle.putString(EXTRA_PROVISIONING_WIFI_PROXY_BYPASS, params.wifiInfo.proxyBypassHosts); in addProvisioningParamsToBundle() 205 bundle.putString(EXTRA_PROVISIONING_WIFI_PAC_URL, params.wifiInfo.pacUrl); in addProvisioningParamsToBundle() 206 bundle.putInt(EXTRA_PROVISIONING_WIFI_PROXY_PORT, params.wifiInfo.proxyPort); in addProvisioningParamsToBundle() [all …]
|
D | IntentStore.java | 188 PersistableBundle bundle = stringToPersistableBundle(mPrefs.getString(key, null)); in load() local 189 if (bundle != null) { in load() 190 result.putExtra(key, bundle); in load() 258 private String persistableBundleToString(PersistableBundle bundle) { in persistableBundleToString() argument 259 if (bundle == null) { in persistableBundleToString() 269 bundle.saveToXml(serializer); in persistableBundleToString()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
D | TransitionImage.java | 197 public boolean readFromBundle(Context context, Rect intentSourceBounds, Bundle bundle) { in readFromBundle() argument 199 if (bundle == null) { in readFromBundle() 202 mUri = bundle.getParcelable(EXTRA_TRANSITION_BITMAP_URI); in readFromBundle() 211 if (bundle.containsKey(EXTRA_TRANSITION_BITMAP)) { in readFromBundle() 214 bundle.getBundle(EXTRA_TRANSITION_BITMAP))); in readFromBundle() 221 String bitmapRectStr = bundle.getString(EXTRA_TRANSITION_BITMAP_RECT); in readFromBundle() 233 if (!readRectF(bundle.getFloatArray(EXTRA_TRANSITION_BITMAP_CLIPPED_RECT), in readFromBundle() 237 if (!readRectF(bundle.getFloatArray(EXTRA_TRANSITION_BITMAP_UNCLIPPED_RECT), in readFromBundle() 241 setAlpha(bundle.getFloat(EXTRA_TRANSITION_BITMAP_ALPHA, 1f)); in readFromBundle() 242 setSaturation(bundle.getFloat(EXTRA_TRANSITION_BITMAP_SATURATION, 1f)); in readFromBundle() [all …]
|
D | ActivityTransitionBitmapHelper.java | 51 public static Bitmap getBitmapFromBinderBundle(Bundle bundle) { in getBitmapFromBinderBundle() argument 52 if (bundle.containsKey(EXTRA_BINDER)) { in getBitmapFromBinderBundle() 58 binder = (IBinder) sGetBinder.invoke(bundle, EXTRA_BINDER); in getBitmapFromBinderBundle() 81 Bundle bundle = new Bundle(); in bitmapAsBinderBundle() local 85 sPutBinder.invoke(bundle, EXTRA_BINDER, provider); in bitmapAsBinderBundle() 91 return bundle; in bitmapAsBinderBundle()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
D | Mailbox.java | 92 final Bundle bundle = new Bundle(mailboxIds.size() + 1); in createSyncBundle() local 93 bundle.putInt(SYNC_EXTRA_MAILBOX_COUNT, mailboxIds.size()); in createSyncBundle() 95 bundle.putLong(formatMailboxIdExtra(i), mailboxIds.get(i)); in createSyncBundle() 97 return bundle; in createSyncBundle() 101 final Bundle bundle = new Bundle(mailboxIds.length + 1); in createSyncBundle() local 102 bundle.putInt(SYNC_EXTRA_MAILBOX_COUNT, mailboxIds.length); in createSyncBundle() 104 bundle.putLong(formatMailboxIdExtra(i), mailboxIds[i]); in createSyncBundle() 106 return bundle; in createSyncBundle() 110 final Bundle bundle = new Bundle(2); in createSyncBundle() local 111 bundle.putInt(SYNC_EXTRA_MAILBOX_COUNT, 1); in createSyncBundle() [all …]
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AuthenticationView.java | 220 Bundle bundle = new Bundle(); in onSaveInstanceState() local 221 bundle.putParcelable(SUPER_STATE, super.onSaveInstanceState()); in onSaveInstanceState() 222 bundle.putBoolean(SAVE_OFFER_OAUTH, mOfferOAuth); in onSaveInstanceState() 223 bundle.putBoolean(SAVE_USE_OAUTH, mUseOAuth); in onSaveInstanceState() 224 bundle.putString(SAVE_PASSWORD, getPassword()); in onSaveInstanceState() 225 bundle.putString(SAVE_OAUTH_PROVIDER, mOAuthProvider); in onSaveInstanceState() 226 return bundle; in onSaveInstanceState() 232 Bundle bundle = (Bundle)parcelable; in onRestoreInstanceState() local 233 super.onRestoreInstanceState(bundle.getParcelable(SUPER_STATE)); in onRestoreInstanceState() 234 mOfferOAuth = bundle.getBoolean(SAVE_OFFER_OAUTH); in onRestoreInstanceState() [all …]
|
D | AccountCheckSettingsFragment.java | 383 final Bundle bundle = store.checkSettings(); in doInBackground() local 384 if (bundle == null) { in doInBackground() 387 mAccount.mProtocolVersion = bundle.getString( in doInBackground() 389 int resultCode = bundle.getInt(EmailServiceProxy.VALIDATE_BUNDLE_RESULT_CODE); in doInBackground() 390 final String redirectAddress = bundle.getString( in doInBackground() 401 mSetupData.setPolicy((Policy)bundle.getParcelable( in doInBackground() 405 final Policy policy = bundle.getParcelable( in doInBackground() 413 errorMessage = bundle.getString( in doInBackground()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
D | EmailServiceProxy.java | 159 Bundle bundle = new Bundle(); in validate() local 160 bundle.putInt(VALIDATE_BUNDLE_RESULT_CODE, MessagingException.UNSPECIFIED_EXCEPTION); in validate() 161 return bundle; in validate() 163 Bundle bundle = (Bundle) mReturn; in validate() local 164 bundle.setClassLoader(Policy.class.getClassLoader()); in validate() 165 LogUtils.v(TAG, "validate returns " + bundle.getInt(VALIDATE_BUNDLE_RESULT_CODE)); in validate() 166 return bundle; in validate() 193 Bundle bundle = (Bundle) mReturn; in autoDiscover() local 194 bundle.setClassLoader(HostAuth.class.getClassLoader()); in autoDiscover() 196 + bundle.getInt(AUTO_DISCOVER_BUNDLE_ERROR_CODE)); in autoDiscover() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | DialogManager.java | 68 public void showDialogInView(final View view, final Bundle bundle) { in showDialogInView() argument 70 if (bundle.containsKey(VIEW_ID_KEY)) { in showDialogInView() 76 bundle.putInt(VIEW_ID_KEY, viewId); in showDialogInView() 78 mActivity.showDialog(dialogId, bundle); in showDialogInView() 85 public Dialog onCreateDialog(final int id, final Bundle bundle) { in onCreateDialog() argument 93 if (!bundle.containsKey(VIEW_ID_KEY)) { in onCreateDialog() 96 final int viewId = bundle.getInt(VIEW_ID_KEY); in onCreateDialog() 101 final Dialog dialog = ((DialogShowingView)view).createDialog(bundle); in onCreateDialog() 123 Dialog createDialog(Bundle bundle); in createDialog() argument
|
/packages/services/Telephony/src/com/android/phone/settings/fdn/ |
D | EditFdnContactScreen.java | 300 ContentValues bundle = new ContentValues(3); in addContact() local 301 bundle.put("tag", getNameFromTextField()); in addContact() 302 bundle.put("number", number); in addContact() 303 bundle.put("pin2", mPin2); in addContact() 306 mQueryHandler.startInsert(0, null, uri, bundle); in addContact() 323 ContentValues bundle = new ContentValues(); in updateContact() local 324 bundle.put("tag", mName); in updateContact() 325 bundle.put("number", mNumber); in updateContact() 326 bundle.put("newTag", name); in updateContact() 327 bundle.put("newNumber", number); in updateContact() [all …]
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/tests/testauth/ |
D | TestAuthenticator.java | 65 final Bundle bundle = new Bundle(); in addAccount() local 73 bundle.putString(AccountManager.KEY_ACCOUNT_NAME, account.name); in addAccount() 74 bundle.putString(AccountManager.KEY_ACCOUNT_TYPE, account.type); in addAccount() 75 return bundle; in addAccount() 85 final Bundle bundle = new Bundle(); in getAuthToken() local 86 bundle.putString(AccountManager.KEY_ACCOUNT_NAME, account.name); in getAuthToken() 87 bundle.putString(AccountManager.KEY_ACCOUNT_TYPE, account.type); in getAuthToken() 88 bundle.putString(AccountManager.KEY_AUTHTOKEN, account.name); in getAuthToken() 90 return bundle; in getAuthToken()
|
/packages/apps/Settings/src/com/android/settings/ |
D | CredentialStorage.java | 238 Bundle bundle = mInstallBundle; in installIfAvailable() local 241 final int uid = bundle.getInt(Credentials.EXTRA_INSTALL_AS_UID, KeyStore.UID_SELF); in installIfAvailable() 256 .putExtras(bundle); in installIfAvailable() 261 if (bundle.containsKey(Credentials.EXTRA_USER_PRIVATE_KEY_NAME)) { in installIfAvailable() 262 String key = bundle.getString(Credentials.EXTRA_USER_PRIVATE_KEY_NAME); in installIfAvailable() 263 byte[] value = bundle.getByteArray(Credentials.EXTRA_USER_PRIVATE_KEY_DATA); in installIfAvailable() 281 if (bundle.containsKey(Credentials.EXTRA_USER_CERTIFICATE_NAME)) { in installIfAvailable() 282 String certName = bundle.getString(Credentials.EXTRA_USER_CERTIFICATE_NAME); in installIfAvailable() 283 byte[] certData = bundle.getByteArray(Credentials.EXTRA_USER_CERTIFICATE_DATA); in installIfAvailable() 291 if (bundle.containsKey(Credentials.EXTRA_CA_CERTIFICATES_NAME)) { in installIfAvailable() [all …]
|
/packages/services/Telephony/src/com/android/phone/ |
D | GsmUmtsCallForwardOptions.java | 103 Bundle bundle = mIcicle.getParcelable(pref.getKey()); in onResume() local 104 pref.setToggled(bundle.getBoolean(KEY_TOGGLE)); in onResume() 106 cf.number = bundle.getString(KEY_NUMBER); in onResume() 107 cf.status = bundle.getInt(KEY_STATUS); in onResume() 122 Bundle bundle = new Bundle(); in onSaveInstanceState() local 123 bundle.putBoolean(KEY_TOGGLE, pref.isToggled()); in onSaveInstanceState() 125 bundle.putString(KEY_NUMBER, pref.callForwardInfo.number); in onSaveInstanceState() 126 bundle.putInt(KEY_STATUS, pref.callForwardInfo.status); in onSaveInstanceState() 128 outState.putParcelable(pref.getKey(), bundle); in onSaveInstanceState() local
|
/packages/apps/Browser/src/com/android/browser/ |
D | AddBookmarkPage.java | 759 Bundle bundle = mMessage.getData(); in run() local 760 String title = bundle.getString(BrowserContract.Bookmarks.TITLE); in run() 761 String url = bundle.getString(BrowserContract.Bookmarks.URL); in run() 762 boolean invalidateThumbnail = bundle.getBoolean(REMOVE_THUMBNAIL); in run() 764 : (Bitmap) bundle.getParcelable(BrowserContract.Bookmarks.THUMBNAIL); in run() 765 String touchIconUrl = bundle.getString(TOUCH_ICON_URL); in run() 930 Bundle bundle = new Bundle(); in save() local 931 bundle.putString(BrowserContract.Bookmarks.TITLE, title); in save() 932 bundle.putString(BrowserContract.Bookmarks.URL, url); in save() 933 bundle.putParcelable(BrowserContract.Bookmarks.FAVICON, favicon); in save() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
D | SelectCalendarsSyncFragment.java | 92 public SelectCalendarsSyncFragment(Bundle bundle) { in SelectCalendarsSyncFragment() argument 93 mAccount = new Account(bundle.getString(Calendars.ACCOUNT_NAME), in SelectCalendarsSyncFragment() 94 bundle.getString(Calendars.ACCOUNT_TYPE)); in SelectCalendarsSyncFragment() 148 Bundle bundle = getArguments(); in onAttach() local 149 if (bundle != null && bundle.containsKey(Calendars.ACCOUNT_NAME) in onAttach() 150 && bundle.containsKey(Calendars.ACCOUNT_TYPE)) { in onAttach() 151 mAccount = new Account(bundle.getString(Calendars.ACCOUNT_NAME), in onAttach() 152 bundle.getString(Calendars.ACCOUNT_TYPE)); in onAttach()
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
D | CertInstallerMain.java | 85 Bundle bundle = intent.getExtras(); in onCreate() local 95 if (bundle != null && !installAsUserClassName.equals(calledClass)) { in onCreate() 96 bundle.remove(Credentials.EXTRA_INSTALL_AS_UID); in onCreate() 102 if (bundle == null in onCreate() 103 || bundle.isEmpty() in onCreate() 104 || (bundle.size() == 1 in onCreate() 105 && (bundle.containsKey(KeyChain.EXTRA_NAME) in onCreate() 106 || bundle.containsKey(Credentials.EXTRA_INSTALL_AS_UID)))) { in onCreate()
|
D | CredentialHelper.java | 76 Bundle bundle = intent.getExtras(); in CredentialHelper() local 77 if (bundle == null) { in CredentialHelper() 81 String name = bundle.getString(KeyChain.EXTRA_NAME); in CredentialHelper() 82 bundle.remove(KeyChain.EXTRA_NAME); in CredentialHelper() 87 mUid = bundle.getInt(Credentials.EXTRA_INSTALL_AS_UID, -1); in CredentialHelper() 88 bundle.remove(Credentials.EXTRA_INSTALL_AS_UID); in CredentialHelper() 90 Log.d(TAG, "# extras: " + bundle.size()); in CredentialHelper() 91 for (String key : bundle.keySet()) { in CredentialHelper() 92 byte[] bytes = bundle.getByteArray(key); in CredentialHelper()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
D | DialogActivity.java | 196 Bundle bundle = getIntent().getExtras(); in onCreate() local 197 if (bundle != null) { in onCreate() 198 boolean createFragmentFromExtra = bundle.getBoolean(EXTRA_CREATE_FRAGMENT_FROM_EXTRA); in onCreate() 202 String title = bundle.getString(EXTRA_DIALOG_TITLE); in onCreate() 203 String breadcrumb = bundle.getString(EXTRA_DIALOG_BREADCRUMB); in onCreate() 204 String description = bundle.getString(EXTRA_DIALOG_DESCRIPTION); in onCreate() 205 String imageUriStr = bundle.getString(EXTRA_DIALOG_IMAGE_URI); in onCreate() 207 int backgroundColor = bundle.getInt(EXTRA_DIALOG_IMAGE_BACKGROUND_COLOR); in onCreate() 210 bundle.getParcelableArrayList(EXTRA_PARCELABLE_ACTIONS); in onCreate()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | StateManager.java | 272 Bundle bundle = (Bundle) parcelable; in restoreFromState() local 274 (Class<? extends ActivityState>) bundle.getSerializable(KEY_CLASS); in restoreFromState() 276 Bundle data = bundle.getBundle(KEY_DATA); in restoreFromState() 277 Bundle state = bundle.getBundle(KEY_STATE); in restoreFromState() 303 Bundle bundle = new Bundle(); in saveState() local 304 bundle.putSerializable(KEY_CLASS, entry.activityState.getClass()); in saveState() 305 bundle.putBundle(KEY_DATA, entry.data); in saveState() 308 bundle.putBundle(KEY_STATE, state); in saveState() 310 list[i++] = bundle; in saveState()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | FastScrollingIndexCache.java | 162 Bundle bundle = new Bundle(); in buildExtraBundle() local 163 bundle.putStringArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_TITLES, titles); in buildExtraBundle() 164 bundle.putIntArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS, counts); in buildExtraBundle() 165 return bundle; in buildExtraBundle() 231 String countExpression, Bundle bundle) { in put() argument 237 bundle.getStringArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_TITLES), in put() 238 bundle.getIntArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS))); in put()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | CameraMediaChooserView.java | 44 final Bundle bundle = new Bundle(); in onSaveInstanceState() local 45 bundle.putInt(KEY_CAMERA_INDEX, CameraManager.get().getCameraIndex()); in onSaveInstanceState() 46 return bundle; in onSaveInstanceState() 55 final Bundle bundle = (Bundle) state; in onRestoreInstanceState() local 56 CameraManager.get().selectCameraByIndex(bundle.getInt(KEY_CAMERA_INDEX)); in onRestoreInstanceState()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
D | RestrictionUtils.java | 86 final Bundle bundle = new Bundle(); in restrictionsToBundle() local 89 bundle.putBoolean(entry.getKey(), entry.getSelectedState()); in restrictionsToBundle() 91 bundle.putStringArray(entry.getKey(), entry.getAllSelectedStrings()); in restrictionsToBundle() 93 bundle.putString(entry.getKey(), entry.getSelectedString()); in restrictionsToBundle() 96 return bundle; in restrictionsToBundle()
|