Home
last modified time | relevance | path

Searched refs:parcel (Results 1 – 15 of 15) 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/chromium_org/remoting/android/java/src/org/chromium/chromoting/
DHelpActivity.java69 Parcel parcel = Parcel.obtain(); in sendFeedback()
71 mScreenshot.writeToParcel(parcel, 0); in sendFeedback()
73 service.transact(SEND_FEEDBACK_INFO, parcel, null, 0); in sendFeedback()
74 parcel.recycle(); in sendFeedback()
/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/chromium_org/third_party/mesa/src/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/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/chromium_org/sync/android/java/src/org/chromium/sync/internal_api/pub/
DSyncDecryptionPassphraseType.java28 public SyncDecryptionPassphraseType createFromParcel(Parcel parcel) {
29 return fromInternalValue(parcel.readInt());
/external/chromium_org/base/android/java/src/org/chromium/base/library_loader/
DLinker.java482 Parcel parcel = Parcel.obtain(); in useSharedRelros() local
483 bundle.writeToParcel(parcel, 0); in useSharedRelros()
484 parcel.setDataPosition(0); in useSharedRelros()
485 clonedBundle.readFromParcel(parcel); in useSharedRelros()
486 parcel.recycle(); in useSharedRelros()
/external/chromium_org/content/public/android/java/src/org/chromium/content/app/
DChildProcessService.java88 ParcelFileDescriptor parcel = args.getParcelable(fdName);
89 if (parcel == null) {
93 mFileFds.add(parcel);
/external/chromium_org/third_party/sqlite/src/test/
Dfts1porter.test14561 parcel parcel
14562 parcell parcel
14563 parcels parcel
Dfts4aa.test1012 INSERT INTO t1(docid,words) VALUES(1033019,'And he bought a parcel of a field, where he had spread …
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_source_files/textana/en-US/
Den-US_lexpos.utf848 ADJ^N "parcel" "p'A:rs@l"