/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 | CustomWidgetManager.java | 84 Parcel parcel = Parcel.obtain(); in onPluginConnected() 85 providers.get(0).writeToParcel(parcel, 0); in onPluginConnected() 86 parcel.setDataPosition(0); in onPluginConnected() 87 CustomAppWidgetProviderInfo info = newInfo(mAutoProviderId, plugin, parcel, context); in onPluginConnected() 88 parcel.recycle(); in onPluginConnected() 154 Parcel parcel, Context context) { in newInfo() argument 156 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/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | InterfaceControllerTest.java | 72 final InterfaceConfigurationParcel parcel = mConfigCaptor.getValue(); in testSetIPv4Address() local 73 assertEquals(TEST_IFACE, parcel.ifName); in testSetIPv4Address() 74 assertEquals(TEST_IPV4_ADDR, parcel.ipv4Addr); in testSetIPv4Address() 75 assertEquals(TEST_PREFIXLENGTH, parcel.prefixLength); in testSetIPv4Address() 76 assertEquals("", parcel.hwAddr); in testSetIPv4Address() 77 assertArrayEquals(new String[0], parcel.flags); in testSetIPv4Address() 84 final InterfaceConfigurationParcel parcel = mConfigCaptor.getValue(); in testClearIPv4Address() local 85 assertEquals(TEST_IFACE, parcel.ifName); in testClearIPv4Address() 86 assertEquals("0.0.0.0", parcel.ipv4Addr); in testClearIPv4Address() 87 assertEquals(0, parcel.prefixLength); in testClearIPv4Address() [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/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpServingParams.java | 130 public static DhcpServingParams fromParcelableObject(@Nullable DhcpServingParamsParcel parcel) in fromParcelableObject() argument 132 if (parcel == null) { in fromParcelableObject() 136 intToInet4AddressHTH(parcel.serverAddr), in fromParcelableObject() 137 parcel.serverAddrPrefixLength); in fromParcelableObject() 139 if (parcel.singleClientAddr != 0) { in fromParcelableObject() 140 clientAddr = intToInet4AddressHTH(parcel.singleClientAddr); in fromParcelableObject() 145 .setDefaultRouters(toInet4AddressSet(parcel.defaultRouters)) in fromParcelableObject() 146 .setDnsServers(toInet4AddressSet(parcel.dnsServers)) in fromParcelableObject() 147 .setExcludedAddrs(toInet4AddressSet(parcel.excludedAddrs)) in fromParcelableObject() 148 .setDhcpLeaseTimeSecs(parcel.dhcpLeaseTimeSecs) in fromParcelableObject() [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/common/moduleutils/src/android/net/shared/ |
D | PrivateDnsConfig.java | 73 final PrivateDnsConfigParcel parcel = new PrivateDnsConfigParcel(); in toParcel() local 74 parcel.hostname = hostname; in toParcel() 75 parcel.ips = toParcelableArray( in toParcel() 78 return parcel; in toParcel() 84 public static PrivateDnsConfig fromParcel(PrivateDnsConfigParcel parcel) { in fromParcel() argument 85 InetAddress[] ips = new InetAddress[parcel.ips.length]; in fromParcel() 86 ips = fromParcelableArray(parcel.ips, IpConfigurationParcelableUtil::unparcelAddress) in fromParcel() 88 return new PrivateDnsConfig(parcel.hostname, ips); in fromParcel()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpServingParamsTest.java | 179 final DhcpServingParamsParcel parcel = new DhcpServingParamsParcel(); in testFromParcelableObject() local 180 parcel.defaultRouters = toIntArray(TEST_DEFAULT_ROUTERS); in testFromParcelableObject() 181 parcel.dhcpLeaseTimeSecs = TEST_LEASE_TIME_SECS; in testFromParcelableObject() 182 parcel.dnsServers = toIntArray(TEST_DNS_SERVERS); in testFromParcelableObject() 183 parcel.serverAddr = inet4AddressToIntHTH(TEST_SERVER_ADDR); in testFromParcelableObject() 184 parcel.serverAddrPrefixLength = TEST_LINKADDR.getPrefixLength(); in testFromParcelableObject() 185 parcel.linkMtu = TEST_MTU; in testFromParcelableObject() 186 parcel.excludedAddrs = toIntArray(TEST_EXCLUDED_ADDRS); in testFromParcelableObject() 187 parcel.metered = TEST_METERED; in testFromParcelableObject() 188 parcel.singleClientAddr = inet4AddressToIntHTH(TEST_CLIENT_ADDR); in testFromParcelableObject() [all …]
|
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/testing/ |
D | TestWallpaperInfo.java | 202 public void writeToParcel(Parcel parcel, int i) { in writeToParcel() argument 203 parcel.writeInt(mPixelColor); in writeToParcel() 204 parcel.writeStringList(mAttributions); in writeToParcel() 205 parcel.writeString(mActionUrl); in writeToParcel() 206 parcel.writeString(mBaseImageUrl); in writeToParcel() 207 parcel.writeString(mCollectionId); in writeToParcel() 208 parcel.writeString(mWallpaperId); in writeToParcel() 209 parcel.writeInt(mIsAssetCorrupt ? 1 : 0); in writeToParcel() 210 parcel.writeInt(mBackupPermission); in writeToParcel()
|
/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 | 166 public void writeToParcel(Parcel parcel, int flags) { in writeToParcel() argument 167 parcel.writeStringList(mAttributions); in writeToParcel() 168 parcel.writeInt(mWallpaperManagerFlag); in writeToParcel() 169 parcel.writeString(mActionUrl); in writeToParcel() 170 parcel.writeString(mCollectionId); in writeToParcel() 171 parcel.writeInt(mActionLabelRes); in writeToParcel() 172 parcel.writeInt(mActionIconRes); in writeToParcel()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/ |
D | HdHomeRunDevice.java | 41 public HdHomeRunDevice(Parcel parcel) { in HdHomeRunDevice() argument 42 mIpAddress = parcel.readInt(); in HdHomeRunDevice() 43 mDeviceType = parcel.readInt(); in HdHomeRunDevice() 44 mDeviceId = parcel.readInt(); in HdHomeRunDevice() 45 mTunerIndex = parcel.readInt(); in HdHomeRunDevice() 46 mDeviceModel = parcel.readString(); in HdHomeRunDevice()
|
/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()
|
D | ActivityResultInfo.java | 37 private ActivityResultInfo(Parcel parcel) { in ActivityResultInfo() argument 38 requestCode = parcel.readInt(); in ActivityResultInfo() 39 resultCode = parcel.readInt(); in ActivityResultInfo() 40 data = parcel.readInt() != 0 ? Intent.CREATOR.createFromParcel(parcel) : null; in ActivityResultInfo()
|
/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()
|
D | RawContactTest.java | 108 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/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/modules/DnsResolver/tests/ |
D | resolv_integration_test.cpp | 1028 ResolverParamsParcel parcel = DnsResponderClient::GetDefaultResolverParamsParcel(); in TEST_F() local 1029 parcel.servers = {listen_addr1, listen_addr2, listen_addr3}; in TEST_F() 1032 parcel.minSamples = 2; in TEST_F() 1033 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(parcel)); in TEST_F() 1062 ResolverParamsParcel parcel = DnsResponderClient::GetDefaultResolverParamsParcel(); in TEST_F() local 1063 parcel.servers = {listen_addr1, listen_addr2}; in TEST_F() 1066 parcel.minSamples = 2; in TEST_F() 1067 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(parcel)); in TEST_F() 1487 ResolverParamsParcel parcel = DnsResponderClient::GetDefaultResolverParamsParcel(); in TEST_F() local 1488 parcel.tlsServers.clear(); in TEST_F() [all …]
|