Home
last modified time | relevance | path

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

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DParcelTest.java29 private Parcel parcel; field in ParcelTest
34 parcel = Parcel.obtain(); in setup()
35 shadowParcel = Robolectric.shadowOf(parcel); in setup()
40 assertThat(parcel, notNullValue()); in testObtain()
47 assertThat(parcel.readInt(), equalTo(0)); in testReadIntWhenEmpty()
52 assertThat(parcel.readLong(), equalTo(0l)); in testReadLongWhenEmpty()
57 assertThat(parcel.readString(), nullValue()); in testReadStringWhenEmpty()
63 parcel.writeString(val); in testReadWriteSingleString()
64 parcel.setDataPosition(0); in testReadWriteSingleString()
65 assertThat(parcel.readString(), equalTo(val)); in testReadWriteSingleString()
[all …]
DPendingIntentTest.java128 Parcel parcel = Parcel.obtain(); in verifyPendingIntentReadIsWhatWasWrittenToParcel() local
129 PendingIntent.writePendingIntentOrNullToParcel(expected, parcel); in verifyPendingIntentReadIsWhatWasWrittenToParcel()
130 parcel.setDataPosition(0); in verifyPendingIntentReadIsWhatWasWrittenToParcel()
131 PendingIntent actual = PendingIntent.readPendingIntentOrNullFromParcel(parcel); in verifyPendingIntentReadIsWhatWasWrittenToParcel()
DIntentTest.java431 Parcel parcel = Parcel.obtain(); in verifyIntentReadIsWhatWasWrittenToParcel() local
432 expected.writeToParcel(parcel, 0); in verifyIntentReadIsWhatWasWrittenToParcel()
433 parcel.setDataPosition(0); in verifyIntentReadIsWhatWasWrittenToParcel()
435 actual.readFromParcel(parcel); in verifyIntentReadIsWhatWasWrittenToParcel()
/external/protobuf/java/src/device/test/java/com/google/protobuf/nano/
DNanoAndroidTest.java50 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/robolectric/src/main/java/android/net/
DUri__FromAndroid.java422 static Uri__FromAndroid readFrom(Parcel parcel) { in readFrom() argument
423 return new StringUri(parcel.readString()); in readFrom()
430 public void writeToParcel(Parcel parcel, int flags) { in writeToParcel() argument
431 parcel.writeInt(TYPE_ID); in writeToParcel()
432 parcel.writeString(uriString); in writeToParcel()
788 static Uri__FromAndroid readFrom(Parcel parcel) { in readFrom() argument
790 parcel.readString(), in readFrom()
791 Part.readFrom(parcel), in readFrom()
792 Part.readFrom(parcel) in readFrom()
800 public void writeToParcel(Parcel parcel, int flags) { in writeToParcel() argument
[all …]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowAccount.java24 public void __constructor__(Parcel parcel) throws Exception { in __constructor__() argument
25 set(parcel.readString(), parcel.readString()); in __constructor__()
/external/mesa3d/src/glsl/
Dlink_uniforms.cpp602 parcel_out_uniform_storage parcel(prog->UniformHash, uniforms, data); in link_assign_uniform_locations() local
610 parcel.start_shader(); in link_assign_uniform_locations()
623 parcel.set_and_process(prog, prog->_LinkedShaders[i], var); in link_assign_uniform_locations()
626 prog->_LinkedShaders[i]->active_samplers = parcel.shader_samplers_used; in link_assign_uniform_locations()
627 prog->_LinkedShaders[i]->shadow_samplers = parcel.shader_shadow_samplers; in link_assign_uniform_locations()
630 assert(sizeof(prog->SamplerTargets) == sizeof(parcel.targets)); in link_assign_uniform_locations()
631 memcpy(prog->SamplerTargets, parcel.targets, sizeof(prog->SamplerTargets)); in link_assign_uniform_locations()
638 assert(parcel.values == data_end); in link_assign_uniform_locations()
/external/robolectric/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_source_files/textana/en-US/
Den-US_lexpos.utf848 ADJ^N "parcel" "p'A:rs@l"