Searched refs:parcel (Results 1 - 15 of 15) sorted by relevance

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DParcelTest.java29 private Parcel parcel; field in class:ParcelTest
34 parcel = Parcel.obtain();
35 shadowParcel = Robolectric.shadowOf(parcel);
40 assertThat(parcel, notNullValue());
47 assertThat(parcel.readInt(), equalTo(0));
52 assertThat(parcel.readLong(), equalTo(0l));
57 assertThat(parcel.readString(), nullValue());
63 parcel.writeString(val);
64 parcel.setDataPosition(0);
65 assertThat(parcel
[all...]
H A DPendingIntentTest.java128 Parcel parcel = Parcel.obtain();
129 PendingIntent.writePendingIntentOrNullToParcel(expected, parcel);
130 parcel.setDataPosition(0);
131 PendingIntent actual = PendingIntent.readPendingIntentOrNullFromParcel(parcel);
H A DIntentTest.java431 Parcel parcel = Parcel.obtain();
432 expected.writeToParcel(parcel, 0);
433 parcel.setDataPosition(0);
435 actual.readFromParcel(parcel);
/external/protobuf/java/src/device/test/java/com/google/protobuf/nano/
H A DNanoAndroidTest.java50 Parcel parcel = null;
52 parcel = Parcel.obtain();
53 parcel.writeParcelable(message, 0);
54 parcel.setDataPosition(0);
55 message = parcel.readParcelable(getClass().getClassLoader());
57 if (parcel != null) {
58 parcel.recycle();
72 Parcel parcel = null;
74 parcel = Parcel.obtain();
75 parcel
[all...]
/external/robolectric/src/main/java/android/net/
H A DUri__FromAndroid.java422 static Uri__FromAndroid readFrom(Parcel parcel) { argument
423 return new StringUri(parcel.readString());
430 public void writeToParcel(Parcel parcel, int flags) { argument
431 parcel.writeInt(TYPE_ID);
432 parcel.writeString(uriString);
788 static Uri__FromAndroid readFrom(Parcel parcel) { argument
790 parcel.readString(),
791 Part.readFrom(parcel),
792 Part.readFrom(parcel)
800 public void writeToParcel(Parcel parcel, in argument
1099 readFrom(Parcel parcel) argument
1113 writeToParcel(Parcel parcel, int flags) argument
1920 writeTo(Parcel parcel) argument
1969 readFrom(Parcel parcel) argument
2153 readFrom(Parcel parcel) argument
[all...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowAccount.java24 public void __constructor__(Parcel parcel) throws Exception { argument
25 set(parcel.readString(), parcel.readString());
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/
H A DHelpActivity.java53 /** Constant used to send the feedback parcel to the system feedback service. */
80 Parcel parcel = Parcel.obtain();
82 sScreenshot.writeToParcel(parcel, 0);
84 service.transact(SEND_FEEDBACK_INFO, parcel, null, 0);
85 parcel.recycle();
/external/chromium_org/sync/android/java/src/org/chromium/sync/internal_api/pub/
H A DSyncDecryptionPassphraseType.java31 public SyncDecryptionPassphraseType createFromParcel(Parcel parcel) {
32 return fromInternalValue(parcel.readInt());
/external/chromium_org/third_party/mesa/src/src/glsl/
H A Dlink_uniforms.cpp196 * Class to help parcel out pieces of backing storage to uniforms
602 parcel_out_uniform_storage parcel(prog->UniformHash, uniforms, data);
610 parcel.start_shader();
623 parcel.set_and_process(prog, prog->_LinkedShaders[i], var);
626 prog->_LinkedShaders[i]->active_samplers = parcel.shader_samplers_used;
627 prog->_LinkedShaders[i]->shadow_samplers = parcel.shader_shadow_samplers;
630 assert(sizeof(prog->SamplerTargets) == sizeof(parcel.targets));
631 memcpy(prog->SamplerTargets, parcel.targets, sizeof(prog->SamplerTargets));
638 assert(parcel.values == data_end);
/external/mesa3d/src/glsl/
H A Dlink_uniforms.cpp196 * Class to help parcel out pieces of backing storage to uniforms
602 parcel_out_uniform_storage parcel(prog->UniformHash, uniforms, data);
610 parcel.start_shader();
623 parcel.set_and_process(prog, prog->_LinkedShaders[i], var);
626 prog->_LinkedShaders[i]->active_samplers = parcel.shader_samplers_used;
627 prog->_LinkedShaders[i]->shadow_samplers = parcel.shader_shadow_samplers;
630 assert(sizeof(prog->SamplerTargets) == sizeof(parcel.targets));
631 memcpy(prog->SamplerTargets, parcel.targets, sizeof(prog->SamplerTargets));
638 assert(parcel.values == data_end);
/external/chromium_org/content/public/android/java/src/org/chromium/content/app/
H A DChildProcessService.java90 ParcelFileDescriptor parcel = args.getParcelable(fdName);
91 if (parcel == null) {
95 mFileFds.add(parcel);
/external/chromium_org/base/android/java/src/org/chromium/base/library_loader/
H A DLinker.java503 Parcel parcel = Parcel.obtain();
504 bundle.writeToParcel(parcel, 0);
505 parcel.setDataPosition(0);
506 clonedBundle.readFromParcel(parcel);
507 parcel.recycle();
987 Log.e(TAG, "Cant' write LibInfo file descriptor to parcel", e);
/external/chromium_org/third_party/android_platform/webview/
H A Dframeworks.jar ... public int describeContents () public void writeToParcel (android.os.Parcel, int) android.os.Parcel parcel int flags synthetic ...
/external/robolectric/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...
/external/chromium_org/third_party/libaddressinput/src/java/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF AndroidManifest.xml android/ android/Manifest$permission.class ...

Completed in 2176 milliseconds