Home
last modified time | relevance | path

Searched refs:dstParcel (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioDescriptorTest.java52 final Parcel dstParcel = Parcel.obtain(); in testParcelableWriteToParcelCreate() local
57 dstParcel.unmarshall(mbytes, 0, mbytes.length); in testParcelableWriteToParcelCreate()
58 dstParcel.setDataPosition(0); in testParcelableWriteToParcelCreate()
59 final AudioDescriptor targetDescr = AudioDescriptor.CREATOR.createFromParcel(dstParcel); in testParcelableWriteToParcelCreate()
DAudioProfileTest.java58 final Parcel dstParcel = Parcel.obtain(); in testParcelableWriteToParcelCreate() local
63 dstParcel.unmarshall(mbytes, 0, mbytes.length); in testParcelableWriteToParcelCreate()
64 dstParcel.setDataPosition(0); in testParcelableWriteToParcelCreate()
65 final AudioProfile targetProf = AudioProfile.CREATOR.createFromParcel(dstParcel); in testParcelableWriteToParcelCreate()
DVolumeInfoTest.java108 final Parcel dstParcel = Parcel.obtain(); in exerciseParcelableWriteToParcelCreate() local
113 dstParcel.unmarshall(mbytes, 0, mbytes.length); in exerciseParcelableWriteToParcelCreate()
114 dstParcel.setDataPosition(0); in exerciseParcelableWriteToParcelCreate()
115 final VolumeInfo targetVI = VolumeInfo.CREATOR.createFromParcel(dstParcel); in exerciseParcelableWriteToParcelCreate()
DMediaSyncEventTest.java260 final Parcel dstParcel = Parcel.obtain(); in testParcelableWriteToParcelCreate() local
265 dstParcel.unmarshall(mbytes, 0, mbytes.length); in testParcelableWriteToParcelCreate()
266 dstParcel.setDataPosition(0); in testParcelableWriteToParcelCreate()
267 final MediaSyncEvent targetEvent = MediaSyncEvent.CREATOR.createFromParcel(dstParcel); in testParcelableWriteToParcelCreate()
DAudioAttributesTest.java63 final Parcel dstParcel = Parcel.obtain(); in testParcelableWriteToParcelCreate() local
68 dstParcel.unmarshall(mbytes, 0, mbytes.length); in testParcelableWriteToParcelCreate()
69 dstParcel.setDataPosition(0); in testParcelableWriteToParcelCreate()
70 final AudioAttributes targetAttr = AudioAttributes.CREATOR.createFromParcel(dstParcel); in testParcelableWriteToParcelCreate()
DAudioRecordingConfigurationTest.java243 final Parcel dstParcel = Parcel.obtain(); in testParcel() local
247 dstParcel.unmarshall(mbytes, 0, mbytes.length); in testParcel()
248 dstParcel.setDataPosition(0); in testParcel()
250 AudioRecordingConfiguration.CREATOR.createFromParcel(dstParcel); in testParcel()
DAudioFormatTest.java170 final Parcel dstParcel = Parcel.obtain(); in testParcel() local
174 dstParcel.unmarshall(mbytes, 0, mbytes.length); in testParcel()
175 dstParcel.setDataPosition(0); in testParcel()
176 final AudioFormat unmarshalledFormat = AudioFormat.CREATOR.createFromParcel(dstParcel); in testParcel()
DVolumeShaperTest.java578 final Parcel dstParcel = Parcel.obtain(); in testVolumeShaperConfigurationParcelable() local
579 dstParcel.unmarshall(marshallBuffer, 0 /* offset */, marshallBuffer.length); in testVolumeShaperConfigurationParcelable()
580 dstParcel.setDataPosition(0); in testVolumeShaperConfigurationParcelable()
583 VolumeShaper.Configuration.CREATOR.createFromParcel(dstParcel); in testVolumeShaperConfigurationParcelable()
604 final Parcel dstParcel = Parcel.obtain(); in testVolumeShaperOperationParcelable() local
605 dstParcel.unmarshall(marshallBuffer, 0 /* offset */, marshallBuffer.length); in testVolumeShaperOperationParcelable()
606 dstParcel.setDataPosition(0); in testVolumeShaperOperationParcelable()
609 VolumeShaper.Operation.CREATOR.createFromParcel(dstParcel); in testVolumeShaperOperationParcelable()
DAudioPlaybackConfigurationTest.java180 final Parcel dstParcel = Parcel.obtain(); in testParcelableWriteToParcel() local
183 dstParcel.appendFrom(srcParcel, 0 /*offset*/, srcParcel.dataSize() /*size*/); in testParcelableWriteToParcel()
184 dstParcel.setDataPosition(0); in testParcelableWriteToParcel()
186 AudioPlaybackConfiguration.CREATOR.createFromParcel(dstParcel); in testParcelableWriteToParcel()