Home
last modified time | relevance | path

Searched refs:parcel (Results 1 – 25 of 61) sorted by relevance

123

/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DHostAuthCompat.java81 public void writeToParcel(Parcel parcel, int i) { in writeToParcel() argument
82 parcel.writeString(mProtocol); in writeToParcel()
83 parcel.writeString(mAddress); in writeToParcel()
84 parcel.writeInt(mPort); in writeToParcel()
85 parcel.writeInt(mFlags); in writeToParcel()
86 parcel.writeString(mLogin); in writeToParcel()
87 parcel.writeString(mPassword); in writeToParcel()
88 parcel.writeString(mDomain); in writeToParcel()
89 parcel.writeString(mClientCertAlias); in writeToParcel()
90 parcel.writeByteArray(mServerCert); in writeToParcel()
[all …]
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DRawContact.java77 public NamedDataItem(Parcel parcel) { in NamedDataItem() argument
78 this.mUri = parcel.readParcelable(Uri.class.getClassLoader()); in NamedDataItem()
79 this.mContentValues = parcel.readParcelable(ContentValues.class.getClassLoader()); in NamedDataItem()
88 public void writeToParcel(Parcel parcel, int i) { in writeToParcel() argument
89 parcel.writeParcelable(mUri, i); in writeToParcel()
90 parcel.writeParcelable(mContentValues, i); in writeToParcel()
97 public NamedDataItem createFromParcel(Parcel parcel) {
98 return new NamedDataItem(parcel);
151 private RawContact(Parcel parcel) { in RawContact() argument
152 mValues = parcel.readParcelable(ContentValues.class.getClassLoader()); in RawContact()
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/compat/
DTextInfoCompatUtilsTests.java74 Parcel parcel = null; in marshall() local
76 parcel = Parcel.obtain(); in marshall()
77 TextUtils.writeToParcel(cahrSequence, parcel, 0); in marshall()
78 return parcel.marshall(); in marshall()
80 if (parcel != null) { in marshall()
81 parcel.recycle(); in marshall()
82 parcel = null; in marshall()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DActionServiceSystemTest.java100 final Parcel parcel = Parcel.obtain(); in testChatActionSucceeds() local
101 parcel.writeParcelable(initial, 0); in testChatActionSucceeds()
102 parcel.setDataPosition(0); in testChatActionSucceeds()
103 final TestChatAction action = parcel.readParcelable(mContext.getClassLoader()); in testChatActionSucceeds()
380 public void writeToParcel(final Parcel parcel, final int flags) { in writeToParcel() argument
381 writeActionToParcel(parcel, flags); in writeToParcel()
412 public void writeToParcel(final Parcel parcel, final int flags) { in writeToParcel() argument
413 writeActionToParcel(parcel, flags); in writeToParcel()
414 parcel.writeString(parameter); in writeToParcel()
DActionTest.java319 public void writeToParcel(final Parcel parcel, final int flags) { in writeToParcel() argument
320 writeActionToParcel(parcel, flags); in writeToParcel()
321 parcel.writeString(parameter); in writeToParcel()
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/
DRawContactTest.java108 final Parcel parcel = Parcel.obtain(); in assertParcelableEquals() local
110 parcel.writeParcelable(parcelable, 0); in assertParcelableEquals()
111 parcel.setDataPosition(0); in assertParcelableEquals()
113 Parcelable out = parcel.readParcelable(parcelable.getClass().getClassLoader()); in assertParcelableEquals()
116 parcel.recycle(); in assertParcelableEquals()
/packages/apps/Browser/src/com/android/browser/
DCrashRecoveryHandler.java158 Parcel parcel = Parcel.obtain(); in loadCrashState() local
170 parcel.unmarshall(data, 0, data.length); in loadCrashState()
171 parcel.setDataPosition(0); in loadCrashState()
172 state = parcel.readBundle(); in loadCrashState()
181 parcel.recycle(); in loadCrashState()
/packages/apps/Email/tests/src/com/android/emailcommon/service/
DSearchParamsTests.java30 Parcel parcel = Parcel.obtain(); in brokentestParcel() local
31 params.writeToParcel(parcel, 0); in brokentestParcel()
32 parcel.setDataPosition(0); in brokentestParcel()
33 SearchParams readParams = SearchParams.CREATOR.createFromParcel(parcel); in brokentestParcel()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/
DLedConfiguration.java96 public void writeToParcel(Parcel parcel, int flags) { in writeToParcel() argument
97 parcel.writeInt(color0); in writeToParcel()
98 parcel.writeInt(color1); in writeToParcel()
99 parcel.writeBooleanArray(new boolean[] {pulse, isTransient}); in writeToParcel()
/packages/apps/Messaging/src/android/support/v7/mms/
DMmsRequest.java377 public void writeToParcel(Parcel parcel, int flags) { in writeToParcel() argument
378 parcel.writeByte((byte) (mUseWakeLock ? 1 : 0)); in writeToParcel()
379 parcel.writeString(mLocationUrl); in writeToParcel()
380 parcel.writeParcelable(mPduUri, 0); in writeToParcel()
381 parcel.writeParcelable(mPendingIntent, 0); in writeToParcel()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DPhoneAccountRegistrarTest.java256 Parcel parcel = Parcel.obtain(); in roundTripPhoneAccount() local
257 parcel.writeParcelable(original, 0); in roundTripPhoneAccount()
258 parcel.setDataPosition(0); in roundTripPhoneAccount()
259 copy = parcel.readParcelable(PhoneAccountRegistrarTest.class.getClassLoader()); in roundTripPhoneAccount()
260 parcel.recycle(); in roundTripPhoneAccount()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupOutgoingFragment.java266 final Parcel parcel = Parcel.obtain(); in loadSettings() local
267 parcel.writeParcelable(sendAuth, sendAuth.describeContents()); in loadSettings()
268 parcel.setDataPosition(0); in loadSettings()
269 mLoadedSendAuth = parcel.readParcelable(HostAuth.class.getClassLoader()); in loadSettings()
270 parcel.recycle(); in loadSettings()
DAccountSetupIncomingFragment.java409 final Parcel parcel = Parcel.obtain(); in loadSettings() local
410 parcel.writeParcelable(recvAuth, recvAuth.describeContents()); in loadSettings()
411 parcel.setDataPosition(0); in loadSettings()
412 mLoadedRecvAuth = parcel.readParcelable(HostAuth.class.getClassLoader()); in loadSettings()
413 parcel.recycle(); in loadSettings()
/packages/apps/Email/tests/src/com/android/email/provider/
DPolicyTests.java212 Parcel parcel = Parcel.obtain(); in testParcel() local
213 policy.writeToParcel(parcel, 0); in testParcel()
214 parcel.setDataPosition(0); in testParcel()
215 Policy readPolicy = Policy.CREATOR.createFromParcel(parcel); in testParcel()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DAction.java282 public void writeActionToParcel(final Parcel parcel, final int flags) { in writeActionToParcel() argument
283 parcel.writeString(this.actionKey); in writeActionToParcel()
284 parcel.writeBundle(this.actionParameters); in writeActionToParcel()
DUpdateMessageNotificationAction.java60 public void writeToParcel(final Parcel parcel, final int flags) { in writeToParcel() argument
61 writeActionToParcel(parcel, flags); in writeToParcel()
DHandleLowStorageAction.java91 public void writeToParcel(final Parcel parcel, final int flags) { in writeToParcel() argument
92 writeActionToParcel(parcel, flags); in writeToParcel()
DUpdateConversationArchiveStatusAction.java90 public void writeToParcel(final Parcel parcel, final int flags) { in writeToParcel() argument
91 writeActionToParcel(parcel, flags); in writeToParcel()
DFixupMessageStatusOnStartupAction.java111 public void writeToParcel(final Parcel parcel, final int flags) { in writeToParcel() argument
112 writeActionToParcel(parcel, flags); in writeToParcel()
DUpdateMessagePartSizeAction.java100 public void writeToParcel(final Parcel parcel, final int flags) { in writeToParcel() argument
101 writeActionToParcel(parcel, flags); in writeToParcel()
DMarkAsSeenAction.java123 public void writeToParcel(final Parcel parcel, final int flags) { in writeToParcel() argument
124 writeActionToParcel(parcel, flags); in writeToParcel()
DDumpDatabaseAction.java121 public void writeToParcel(final Parcel parcel, final int flags) { in writeToParcel() argument
122 writeActionToParcel(parcel, flags); in writeToParcel()
DRedownloadMmsAction.java125 public void writeToParcel(final Parcel parcel, final int flags) { in writeToParcel() argument
126 writeActionToParcel(parcel, flags); in writeToParcel()
/packages/apps/Settings/src/com/android/settings/
DActivityPicker.java78 Parcelable parcel = intent.getParcelableExtra(Intent.EXTRA_INTENT); in onCreate() local
79 if (parcel instanceof Intent) { in onCreate()
80 mBaseIntent = (Intent) parcel; in onCreate()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DParticipantInfo.java60 public ParticipantInfo createFromParcel(Parcel parcel) {
61 return new ParticipantInfo(parcel);

123