/packages/apps/Launcher3/quickstep/src/com/android/launcher3/proxy/ |
D | StartActivityParams.java | 56 private StartActivityParams(Parcel parcel) { in StartActivityParams() argument 57 mPICallback = parcel.readTypedObject(PendingIntent.CREATOR); in StartActivityParams() 58 requestCode = parcel.readInt(); in StartActivityParams() 59 intent = parcel.readTypedObject(Intent.CREATOR); in StartActivityParams() 61 intentSender = parcel.readTypedObject(IntentSender.CREATOR); in StartActivityParams() 62 fillInIntent = parcel.readTypedObject(Intent.CREATOR); in StartActivityParams() 63 flagsMask = parcel.readInt(); in StartActivityParams() 64 flagsValues = parcel.readInt(); in StartActivityParams() 65 extraFlags = parcel.readInt(); in StartActivityParams() 66 options = parcel.readBundle(); in StartActivityParams() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/custom/ |
D | CustomAppWidgetProviderInfo.java | 37 protected CustomAppWidgetProviderInfo(Parcel parcel, boolean readSelf, int providerId) { in CustomAppWidgetProviderInfo() argument 38 super(parcel); in CustomAppWidgetProviderInfo() 40 this.providerId = parcel.readInt(); in CustomAppWidgetProviderInfo() 42 … provider = new ComponentName(parcel.readString(), CLS_CUSTOM_WIDGET_PREFIX + providerId); in CustomAppWidgetProviderInfo() 44 label = parcel.readString(); in CustomAppWidgetProviderInfo() 45 initialLayout = parcel.readInt(); in CustomAppWidgetProviderInfo() 46 icon = parcel.readInt(); in CustomAppWidgetProviderInfo() 47 previewImage = parcel.readInt(); in CustomAppWidgetProviderInfo() 49 resizeMode = parcel.readInt(); in CustomAppWidgetProviderInfo() 50 spanX = parcel.readInt(); in CustomAppWidgetProviderInfo() [all …]
|
D | CustomWidgetParser.java | 96 Parcel parcel = Parcel.obtain(); in parseCustomWidgets() local 97 providers.get(0).writeToParcel(parcel, 0); in parseCustomWidgets() 109 parcel.setDataPosition(0); in parseCustomWidgets() 110 CustomAppWidgetProviderInfo info = newInfo(a, parcel, context); in parseCustomWidgets() 120 parcel.recycle(); in parseCustomWidgets() 125 … private static CustomAppWidgetProviderInfo newInfo(TypedArray a, Parcel parcel, Context context) { in newInfo() argument 127 … CustomAppWidgetProviderInfo info = new CustomAppWidgetProviderInfo(parcel, false, providerId); in newInfo()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/ |
D | ResultPayloadUtils.java | 31 Parcel parcel = Parcel.obtain(); in marshall() local 32 payload.writeToParcel(parcel, 0); in marshall() 33 byte[] bytes = parcel.marshall(); in marshall() 34 parcel.recycle(); in marshall() 40 Parcel parcel = unmarshall(bytes); in unmarshall() local 41 result = creator.createFromParcel(parcel); in unmarshall() 42 parcel.recycle(); in unmarshall() 47 Parcel parcel = Parcel.obtain(); in unmarshall() local 48 parcel.unmarshall(bytes, 0, bytes.length); in unmarshall() 49 parcel.setDataPosition(0); in unmarshall() [all …]
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
D | HostAuthCompat.java | 81 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/Dialer/java/com/android/contacts/common/model/ |
D | RawContact.java | 51 public RawContact createFromParcel(Parcel parcel) { 52 return new RawContact(parcel); 80 private RawContact(Parcel parcel) { in RawContact() argument 81 mValues = parcel.readParcelable(ContentValues.class.getClassLoader()); in RawContact() 83 parcel.readTypedList(mDataItems, NamedDataItem.CREATOR); in RawContact() 103 public void writeToParcel(Parcel parcel, int i) { in writeToParcel() argument 104 parcel.writeParcelable(mValues, i); in writeToParcel() 105 parcel.writeTypedList(mDataItems); in writeToParcel() 288 public NamedDataItem createFromParcel(Parcel parcel) { 289 return new NamedDataItem(parcel); [all …]
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | RawContact.java | 77 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/services/Car/tools/keventreader/server/ |
D | event.cpp | 30 status_t KeypressEvent::writeToParcel(Parcel* parcel) const { in writeToParcel() 32 parcel->writeString16(s16); in writeToParcel() 33 parcel->writeUint32(keycode); in writeToParcel() 34 parcel->writeBool(keydown); in writeToParcel() 39 status_t KeypressEvent::readFromParcel(const Parcel* parcel) { in readFromParcel() argument 40 String16 s16 = parcel->readString16(); in readFromParcel() 42 keycode = parcel->readUint32(); in readFromParcel() 43 keydown = parcel->readBool(); in readFromParcel()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpServingParams.java | 113 public static DhcpServingParams fromParcelableObject(@Nullable DhcpServingParamsParcel parcel) in fromParcelableObject() argument 115 if (parcel == null) { in fromParcelableObject() 119 intToInet4AddressHTH(parcel.serverAddr), in fromParcelableObject() 120 parcel.serverAddrPrefixLength); in fromParcelableObject() 123 .setDefaultRouters(toInet4AddressSet(parcel.defaultRouters)) in fromParcelableObject() 124 .setDnsServers(toInet4AddressSet(parcel.dnsServers)) in fromParcelableObject() 125 .setExcludedAddrs(toInet4AddressSet(parcel.excludedAddrs)) in fromParcelableObject() 126 .setDhcpLeaseTimeSecs(parcel.dhcpLeaseTimeSecs) in fromParcelableObject() 127 .setLinkMtu(parcel.linkMtu) in fromParcelableObject() 128 .setMetered(parcel.metered) in fromParcelableObject()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | VmsAssociatedLayerTest.java | 62 Parcel parcel = Parcel.obtain(); in testNoPublishersAssociatedLayerParcel() local 63 vmsAssociatedLayer.writeToParcel(parcel, vmsAssociatedLayer.describeContents()); in testNoPublishersAssociatedLayerParcel() 64 parcel.setDataPosition(0); in testNoPublishersAssociatedLayerParcel() 65 VmsAssociatedLayer createdFromParcel = VmsAssociatedLayer.CREATOR.createFromParcel(parcel); in testNoPublishersAssociatedLayerParcel() 74 Parcel parcel = Parcel.obtain(); in testLayerWithMultiplePublishersParcel() local 75 vmsAssociatedLayer.writeToParcel(parcel, vmsAssociatedLayer.describeContents()); in testLayerWithMultiplePublishersParcel() 76 parcel.setDataPosition(0); in testLayerWithMultiplePublishersParcel() 77 VmsAssociatedLayer createdFromParcel = VmsAssociatedLayer.CREATOR.createFromParcel(parcel); in testLayerWithMultiplePublishersParcel()
|
D | VmsLayerDependencyTest.java | 73 Parcel parcel = Parcel.obtain(); in testNoDependendtLayerParcel() local 74 vmsLayerDependency.writeToParcel(parcel, vmsLayerDependency.describeContents()); in testNoDependendtLayerParcel() 75 parcel.setDataPosition(0); in testNoDependendtLayerParcel() 76 VmsLayerDependency createdFromParcel = VmsLayerDependency.CREATOR.createFromParcel(parcel); in testNoDependendtLayerParcel() 86 Parcel parcel = Parcel.obtain(); in testMultipleDependendtLayerParcel() local 87 vmsLayerDependency.writeToParcel(parcel, vmsLayerDependency.describeContents()); in testMultipleDependendtLayerParcel() 88 parcel.setDataPosition(0); in testMultipleDependendtLayerParcel() 89 VmsLayerDependency createdFromParcel = VmsLayerDependency.CREATOR.createFromParcel(parcel); in testMultipleDependendtLayerParcel()
|
D | VmsAvailableLayersTest.java | 69 Parcel parcel = Parcel.obtain(); in testNoAvailableLayersParcel() local 71 vmsAvailableLayers.writeToParcel(parcel, vmsAvailableLayers.describeContents()); in testNoAvailableLayersParcel() 72 parcel.setDataPosition(0); in testNoAvailableLayersParcel() 73 VmsAvailableLayers createdFromParcel = VmsAvailableLayers.CREATOR.createFromParcel(parcel); in testNoAvailableLayersParcel() 85 Parcel parcel = Parcel.obtain(); in testMultipleAvailableLayersParcel() local 87 vmsAvailableLayers.writeToParcel(parcel, vmsAvailableLayers.describeContents()); in testMultipleAvailableLayersParcel() 88 parcel.setDataPosition(0); in testMultipleAvailableLayersParcel() 89 VmsAvailableLayers createdFromParcel = VmsAvailableLayers.CREATOR.createFromParcel(parcel); in testMultipleAvailableLayersParcel()
|
D | VmsLayersOfferingTest.java | 80 Parcel parcel = Parcel.obtain(); in testNoOfferingParcel() local 81 vmsLayersOffering.writeToParcel(parcel, vmsLayersOffering.describeContents()); in testNoOfferingParcel() 82 parcel.setDataPosition(0); in testNoOfferingParcel() 83 VmsLayersOffering createdFromParcel = VmsLayersOffering.CREATOR.createFromParcel(parcel); in testNoOfferingParcel() 95 Parcel parcel = Parcel.obtain(); in testMultipleOfferingParcel() local 96 vmsLayersOffering.writeToParcel(parcel, vmsLayersOffering.describeContents()); in testMultipleOfferingParcel() 97 parcel.setDataPosition(0); in testMultipleOfferingParcel() 98 VmsLayersOffering createdFromParcel = VmsLayersOffering.CREATOR.createFromParcel(parcel); in testMultipleOfferingParcel()
|
D | VmsSubscriptionStateTest.java | 71 Parcel parcel = Parcel.obtain(); in testNoSubscriptionsParcel() local 72 vmsSubscriptionState.writeToParcel(parcel, vmsSubscriptionState.describeContents()); in testNoSubscriptionsParcel() 73 parcel.setDataPosition(0); in testNoSubscriptionsParcel() 74 … VmsSubscriptionState createdFromParcel = VmsSubscriptionState.CREATOR.createFromParcel(parcel); in testNoSubscriptionsParcel() 85 Parcel parcel = Parcel.obtain(); in testMultipleSubscriptionsParcel() local 86 vmsSubscriptionState.writeToParcel(parcel, vmsSubscriptionState.describeContents()); in testMultipleSubscriptionsParcel() 87 parcel.setDataPosition(0); in testMultipleSubscriptionsParcel() 88 … VmsSubscriptionState createdFromParcel = VmsSubscriptionState.CREATOR.createFromParcel(parcel); in testMultipleSubscriptionsParcel()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpServingParamsTest.java | 172 final DhcpServingParamsParcel parcel = new DhcpServingParamsParcel(); in testFromParcelableObject() local 173 parcel.defaultRouters = toIntArray(TEST_DEFAULT_ROUTERS); in testFromParcelableObject() 174 parcel.dhcpLeaseTimeSecs = TEST_LEASE_TIME_SECS; in testFromParcelableObject() 175 parcel.dnsServers = toIntArray(TEST_DNS_SERVERS); in testFromParcelableObject() 176 parcel.serverAddr = inet4AddressToIntHTH(TEST_SERVER_ADDR); in testFromParcelableObject() 177 parcel.serverAddrPrefixLength = TEST_LINKADDR.getPrefixLength(); in testFromParcelableObject() 178 parcel.linkMtu = TEST_MTU; in testFromParcelableObject() 179 parcel.excludedAddrs = toIntArray(TEST_EXCLUDED_ADDRS); in testFromParcelableObject() 180 parcel.metered = TEST_METERED; in testFromParcelableObject() 181 final DhcpServingParams parceled = DhcpServingParams.fromParcelableObject(parcel); in testFromParcelableObject()
|
/packages/services/Car/procfs-inspector/server/ |
D | process.cpp | 5 status_t procfsinspector::ProcessInfo::writeToParcel(Parcel* parcel) const { in writeToParcel() 6 parcel->writeUint32(mPid); in writeToParcel() 7 parcel->writeUint32(mUid); in writeToParcel() 11 status_t procfsinspector::ProcessInfo::readFromParcel(const Parcel* parcel) { in readFromParcel() argument 12 mPid = parcel->readUint32(); in readFromParcel() 13 mUid = parcel->readUint32(); in readFromParcel()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/compat/ |
D | TextInfoCompatUtilsTests.java | 82 Parcel parcel = null; in marshall() local 84 parcel = Parcel.obtain(); in marshall() 85 TextUtils.writeToParcel(cahrSequence, parcel, 0); in marshall() 86 return parcel.marshall(); in marshall() 88 if (parcel != null) { in marshall() 89 parcel.recycle(); in marshall() 90 parcel = null; in marshall()
|
/packages/apps/Dialer/java/com/android/dialer/callintent/ |
D | CallIntentBuilder.java | 101 public CallIntentBuilder(@NonNull Parcel parcel) { in CallIntentBuilder() argument 103 uri = parcel.readParcelable(classLoader); in CallIntentBuilder() 106 data = CallSpecificAppData.parseFrom(parcel.createByteArray()); in CallIntentBuilder() 111 phoneAccountHandle = parcel.readParcelable(classLoader); in CallIntentBuilder() 112 isVideoCall = parcel.readInt() != 0; in CallIntentBuilder() 113 isDuoCall = parcel.readInt() != 0; in CallIntentBuilder() 114 callSubject = parcel.readString(); in CallIntentBuilder() 115 allowAssistedDial = parcel.readInt() != 0; in CallIntentBuilder() 116 inCallUiIntentExtras.putAll(parcel.readBundle(classLoader)); in CallIntentBuilder()
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | PinWidgetFlowHandler.java | 48 protected PinWidgetFlowHandler(Parcel parcel) { in PinWidgetFlowHandler() argument 49 super(parcel); in PinWidgetFlowHandler() 50 mRequest = PinItemRequest.CREATOR.createFromParcel(parcel); in PinWidgetFlowHandler() 54 public void writeToParcel(Parcel parcel, int i) { in writeToParcel() argument 55 super.writeToParcel(parcel, i); in writeToParcel() 56 mRequest.writeToParcel(parcel, i); in writeToParcel()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/ |
D | CurrentWallpaperInfoVN.java | 180 public void writeToParcel(Parcel parcel, int flags) { in writeToParcel() argument 181 parcel.writeStringList(mAttributions); in writeToParcel() 182 parcel.writeInt(mWallpaperManagerFlag); in writeToParcel() 183 parcel.writeString(mActionUrl); in writeToParcel() 184 parcel.writeString(mCollectionId); in writeToParcel() 185 parcel.writeInt(mActionLabelRes); in writeToParcel() 186 parcel.writeInt(mActionIconRes); in writeToParcel()
|
D | CurrentWallpaperInfoV16.java | 126 public void writeToParcel(Parcel parcel, int flags) { in writeToParcel() argument 127 parcel.writeStringList(mAttributions); in writeToParcel() 128 parcel.writeString(mActionUrl); in writeToParcel() 129 parcel.writeString(mCollectionId); in writeToParcel() 130 parcel.writeInt(mActionLabelRes); in writeToParcel() 131 parcel.writeInt(mActionIconRes); in writeToParcel()
|
/packages/apps/TV/common/src/com/android/tv/common/recording/ |
D | RecordingCapability.java | 75 public void writeToParcel(Parcel parcel, int flags) { in writeToParcel() argument 76 parcel.writeString(inputId); in writeToParcel() 77 parcel.writeInt(maxConcurrentTunedSessions); in writeToParcel() 78 parcel.writeInt(maxConcurrentPlayingSessions); in writeToParcel() 79 parcel.writeInt(maxConcurrentSessionsOfAllTypes); in writeToParcel() 80 parcel.writeByte((byte) (playbackWhileRecording ? 1 : 0)); in writeToParcel()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | PendingRequestArgs.java | 54 public PendingRequestArgs(Parcel parcel) { in PendingRequestArgs() argument 55 readFromValues(ContentValues.CREATOR.createFromParcel(parcel)); in PendingRequestArgs() 56 user = parcel.readParcelable(null); in PendingRequestArgs() 58 mArg1 = parcel.readInt(); in PendingRequestArgs() 59 mObjectType = parcel.readInt(); in PendingRequestArgs() 60 mObject = parcel.readParcelable(getClass().getClassLoader()); in PendingRequestArgs()
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
D | ActionServiceSystemTest.java | 100 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() 376 public void writeToParcel(final Parcel parcel, final int flags) { in writeToParcel() argument 377 writeActionToParcel(parcel, flags); in writeToParcel() 408 public void writeToParcel(final Parcel parcel, final int flags) { in writeToParcel() argument 409 writeActionToParcel(parcel, flags); in writeToParcel() 410 parcel.writeString(parameter); in writeToParcel()
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | SimContactTests.java | 47 final Parcel parcel = Parcel.obtain(); in assertParcelsCorrectly() local 48 parcel.writeParcelable(contact, 0); in assertParcelsCorrectly() 49 parcel.setDataPosition(0); in assertParcelsCorrectly() 50 final SimContact unparceled = parcel.readParcelable( in assertParcelsCorrectly() 53 parcel.recycle(); in assertParcelsCorrectly()
|