/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowParcelTest.java | 29 private Parcel parcel; field in ShadowParcelTest 33 parcel = Parcel.obtain(); in setup() 38 parcel.recycle(); in tearDown() 43 assertThat(parcel).isNotNull(); in testObtain() 48 assertThat(parcel.readInt()).isEqualTo(0); in testReadIntWhenEmpty() 53 assertThat(parcel.readLong()).isEqualTo(0L); in testReadLongWhenEmpty() 58 assertThat(parcel.readString()).isNull(); in testReadStringWhenEmpty() 63 assertThat(parcel.readStrongBinder()).isNull(); in testReadStrongBinderWhenEmpty() 69 parcel.writeString(val); in testReadWriteSingleString() 70 parcel.setDataPosition(0); in testReadWriteSingleString() [all …]
|
/external/connectedappssdk/sdk/src/main/java/com/google/android/enterprise/connectedapps/internal/ |
D | Bundler.java | 42 void writeToParcel(Parcel parcel, Object value, BundlerType valueClass, int flags); in writeToParcel() argument 44 default void writeToParcel(Parcel parcel, byte value, BundlerType valueType, int flags) { in writeToParcel() argument 45 parcel.writeByte(value); in writeToParcel() 48 default void writeToParcel(Parcel parcel, short value, BundlerType valueType, int flags) { in writeToParcel() argument 49 parcel.writeInt(value); in writeToParcel() 52 default void writeToParcel(Parcel parcel, int value, BundlerType valueType, int flags) { in writeToParcel() argument 53 parcel.writeInt(value); in writeToParcel() 56 default void writeToParcel(Parcel parcel, long value, BundlerType valueType, int flags) { in writeToParcel() argument 57 parcel.writeLong(value); in writeToParcel() 60 default void writeToParcel(Parcel parcel, char value, BundlerType valueType, int flags) { in writeToParcel() argument [all …]
|
D | CrossProfileFutureResultWriter.java | 45 Parcel parcel = Parcel.obtain(); // Recycled in this method in onSuccess() local 46 bundler.writeToParcel(parcel, result, bundlerType, /* flags= */ 0); in onSuccess() 51 parcelCallSender.makeParcelCall(parcel); in onSuccess() 57 parcel.recycle(); in onSuccess() 63 Parcel parcel = Parcel.obtain(); // Recycled in this method in onFailure() local 64 ParcelUtilities.writeThrowableToParcel(parcel, throwable); in onFailure() 69 parcelCallSender.makeParcelCall(parcel); in onFailure() 73 parcel.recycle(); in onFailure()
|
D | ParcelUtilities.java | 24 public static void writeThrowableToParcel(Parcel parcel, Throwable throwable) { in writeThrowableToParcel() argument 25 parcel.writeSerializable(throwable); in writeThrowableToParcel() 28 public static Throwable readThrowableFromParcel(Parcel parcel) { in readThrowableFromParcel() argument 29 return (Throwable) parcel.readSerializable(); in readThrowableFromParcel()
|
/external/protobuf/javanano/src/device/test/java/com/google/protobuf/nano/ |
D | NanoAndroidTest.java | 50 Parcel parcel = null; in testParceling() local 52 parcel = Parcel.obtain(); in testParceling() 53 parcel.writeParcelable(message, 0); in testParceling() 54 parcel.setDataPosition(0); in testParceling() 55 message = parcel.readParcelable(getClass().getClassLoader()); in testParceling() 57 if (parcel != null) { in testParceling() 58 parcel.recycle(); in testParceling() 72 Parcel parcel = null; in testExtendableParceling() local 74 parcel = Parcel.obtain(); in testExtendableParceling() 75 parcel.writeParcelable(message, 0); in testExtendableParceling() [all …]
|
/external/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/ |
D | TestStringCrossProfileCallback.java | 36 Parcel parcel = Parcel.obtain(); // Recycled in this method in onResult() local 37 parcel.unmarshall(paramsBytes, 0, paramsBytes.length); in onResult() 38 parcel.setDataPosition(0); in onResult() 39 lastReceivedMethodParam = parcel.readString(); in onResult() 40 parcel.recycle(); in onResult() 45 Parcel parcel = Parcel.obtain(); // Recycled in this method in onException() local 46 parcel.unmarshall(paramsBytes, 0, paramsBytes.length); in onException() 47 parcel.setDataPosition(0); in onException() 49 lastReceivedException = ParcelUtilities.readThrowableFromParcel(parcel); in onException() 50 parcel.recycle(); in onException()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | NativeInput.java | 153 public boolean readFromParcel(Parcel parcel) { in readFromParcel() argument 154 bits.setValue(parcel.readLong()); in readFromParcel() 160 values[i] = parcel.readFloat(); in readFromParcel() 165 public boolean writeToParcel(Parcel parcel) { in writeToParcel() argument 166 parcel.writeLong(bits.getValue()); in writeToParcel() 169 parcel.writeFloat(values[i]); in writeToParcel() 716 public boolean readFromParcel(Parcel parcel) { in readFromParcel() argument 717 int pointerCount = parcel.readInt(); in readFromParcel() 718 int sampleCount = parcel.readInt(); in readFromParcel() 725 mDeviceId = parcel.readInt(); in readFromParcel() [all …]
|
/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/metadata/flac/ |
D | PictureFrameTest.java | 33 Parcel parcel = Parcel.obtain(); in parcelable() local 34 pictureFrameToParcel.writeToParcel(parcel, 0); in parcelable() 35 parcel.setDataPosition(0); in parcelable() 37 PictureFrame pictureFrameFromParcel = PictureFrame.CREATOR.createFromParcel(parcel); in parcelable() 40 parcel.recycle(); in parcelable()
|
D | VorbisCommentTest.java | 33 Parcel parcel = Parcel.obtain(); in parcelable() local 34 vorbisCommentFrameToParcel.writeToParcel(parcel, 0); in parcelable() 35 parcel.setDataPosition(0); in parcelable() 37 VorbisComment vorbisCommentFrameFromParcel = VorbisComment.CREATOR.createFromParcel(parcel); in parcelable() 40 parcel.recycle(); in parcelable()
|
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/mp4/ |
D | MdtaMetadataEntryTest.java | 34 Parcel parcel = Parcel.obtain(); in parcelable() local 35 mdtaMetadataEntryToParcel.writeToParcel(parcel, 0); in parcelable() 36 parcel.setDataPosition(0); in parcelable() 39 MdtaMetadataEntry.CREATOR.createFromParcel(parcel); in parcelable() 42 parcel.recycle(); in parcelable()
|
/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/offline/ |
D | StreamKeyTest.java | 32 Parcel parcel = Parcel.obtain(); in parcelable() local 33 streamKeyToParcel.writeToParcel(parcel, 0); in parcelable() 34 parcel.setDataPosition(0); in parcelable() 36 StreamKey streamKeyFromParcel = StreamKey.CREATOR.createFromParcel(parcel); in parcelable() 39 parcel.recycle(); in parcelable()
|
/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/metadata/id3/ |
D | MlltFrameTest.java | 39 Parcel parcel = Parcel.obtain(); in parcelable() local 40 mlltFrameToParcel.writeToParcel(parcel, 0); in parcelable() 41 parcel.setDataPosition(0); in parcelable() 43 MlltFrame mlltFrameFromParcel = MlltFrame.CREATOR.createFromParcel(parcel); in parcelable() 46 parcel.recycle(); in parcelable()
|
D | ChapterFrameTest.java | 37 Parcel parcel = Parcel.obtain(); in parcelable() local 38 chapterFrameToParcel.writeToParcel(parcel, 0); in parcelable() 39 parcel.setDataPosition(0); in parcelable() 41 ChapterFrame chapterFrameFromParcel = ChapterFrame.CREATOR.createFromParcel(parcel); in parcelable() 44 parcel.recycle(); in parcelable()
|
D | ChapterTocFrameTest.java | 39 Parcel parcel = Parcel.obtain(); in parcelable() local 40 chapterTocFrameToParcel.writeToParcel(parcel, 0); in parcelable() 41 parcel.setDataPosition(0); in parcelable() 43 ChapterTocFrame chapterTocFrameFromParcel = ChapterTocFrame.CREATOR.createFromParcel(parcel); in parcelable() 46 parcel.recycle(); in parcelable()
|
/external/exoplayer/tree/library/hls/src/test/java/com/google/android/exoplayer2/source/hls/ |
D | HlsTrackMetadataEntryTest.java | 41 Parcel parcel = Parcel.obtain(); in variantInfo_parcelRoundTrip_isEqual() local 42 variantInfoToParcel.writeToParcel(parcel, 0); in variantInfo_parcelRoundTrip_isEqual() 43 parcel.setDataPosition(0); in variantInfo_parcelRoundTrip_isEqual() 45 VariantInfo variantInfoFromParcel = VariantInfo.CREATOR.createFromParcel(parcel); in variantInfo_parcelRoundTrip_isEqual() 48 parcel.recycle(); in variantInfo_parcelRoundTrip_isEqual()
|
/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/metadata/ |
D | MetadataTest.java | 36 Parcel parcel = Parcel.obtain(); in parcelable() local 37 metadataToParcel.writeToParcel(parcel, 0); in parcelable() 38 parcel.setDataPosition(0); in parcelable() 40 Metadata metadataFromParcel = Metadata.CREATOR.createFromParcel(parcel); in parcelable() 43 parcel.recycle(); in parcelable()
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/ |
D | TrackGroupTest.java | 39 Parcel parcel = Parcel.obtain(); in parcelable() local 40 trackGroupToParcel.writeToParcel(parcel, 0); in parcelable() 41 parcel.setDataPosition(0); in parcelable() 43 TrackGroup trackGroupFromParcel = TrackGroup.CREATOR.createFromParcel(parcel); in parcelable() 46 parcel.recycle(); in parcelable()
|
D | TrackGroupArrayTest.java | 43 Parcel parcel = Parcel.obtain(); in parcelable() local 44 trackGroupArrayToParcel.writeToParcel(parcel, 0); in parcelable() 45 parcel.setDataPosition(0); in parcelable() 47 TrackGroupArray trackGroupArrayFromParcel = TrackGroupArray.CREATOR.createFromParcel(parcel); in parcelable() 50 parcel.recycle(); in parcelable()
|
/external/libchrome/base/android/java/src/org/chromium/base/ |
D | UnguessableToken.java | 81 Parcel parcel = Parcel.obtain(); in parcelAndUnparcelForTesting() local 82 writeToParcel(parcel, 0); in parcelAndUnparcelForTesting() 85 parcel.setDataPosition(0); in parcelAndUnparcelForTesting() 86 UnguessableToken token = CREATOR.createFromParcel(parcel); in parcelAndUnparcelForTesting() 87 parcel.recycle(); in parcelAndUnparcelForTesting()
|
/external/connectedappssdk/sdk/src/main/java/com/google/android/enterprise/connectedapps/ |
D | ParcelableWrapperUtils.java | 29 public void writeBundler(Parcel parcel, Bundler bundler, int flags) { in writeBundler() argument 30 parcel.writeParcelable(bundler, flags); in writeBundler() 38 public Bundler readBundler(Parcel parcel) { in readBundler() argument 39 return parcel.readParcelable(Parcel.class.getClassLoader()); in readBundler()
|
/external/mesa3d/src/compiler/glsl/ |
D | link_uniform_blocks.cpp | 221 ubo_visitor *parcel, 238 ubo_visitor *parcel, gl_uniform_buffer_variable *variables, in process_block_array() argument 255 parcel, variables, b, block_index, in process_block_array() 259 parcel, variables, b, block_index, in process_block_array() 269 ubo_visitor *parcel, gl_uniform_buffer_variable *variables, in process_block_array_leaf() argument 279 blocks[i].Uniforms = &variables[(*parcel).index]; in process_block_array_leaf() 295 parcel->process(type, b->has_instance_name ? blocks[i].Name : ""); in process_block_array_leaf() 297 blocks[i].UniformBufferSize = parcel->buffer_size; in process_block_array_leaf() 301 parcel->buffer_size > ctx->Const.MaxShaderStorageBlockSize) { in process_block_array_leaf() 305 parcel->buffer_size, in process_block_array_leaf() [all …]
|
/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/metadata/emsg/ |
D | EventMessageTest.java | 34 Parcel parcel = Parcel.obtain(); in eventMessageParcelable() local 35 eventMessage.writeToParcel(parcel, 0); in eventMessageParcelable() 37 parcel.setDataPosition(0); in eventMessageParcelable() 38 EventMessage fromParcelEventMessage = EventMessage.CREATOR.createFromParcel(parcel); in eventMessageParcelable()
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/metadata/icy/ |
D | IcyHeadersTest.java | 40 Parcel parcel = Parcel.obtain(); in parcelEquals() local 41 icyHeaders.writeToParcel(parcel, 0); in parcelEquals() 43 parcel.setDataPosition(0); in parcelEquals() 44 IcyHeaders fromParcelIcyHeaders = IcyHeaders.CREATOR.createFromParcel(parcel); in parcelEquals()
|
D | IcyInfoTest.java | 35 Parcel parcel = Parcel.obtain(); in parcelEquals() local 36 streamInfo.writeToParcel(parcel, 0); in parcelEquals() 38 parcel.setDataPosition(0); in parcelEquals() 39 IcyInfo fromParcelStreamInfo = IcyInfo.CREATOR.createFromParcel(parcel); in parcelEquals()
|
/external/skqp/tools/android/ |
D | measure_fps.py | 15 parcel = subprocess.Popen("adb shell service call SurfaceFlinger 1013", 18 if not parcel: 21 framecount = re.search("Result: Parcel\(([a-f0-9]+) ", parcel) 23 raise Exception("Unexpected result from SurfaceFlinger: " + parcel)
|