Home
last modified time | relevance | path

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

12

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowParcelTest.java29 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 …]
DShadowVisualVoicemailSmsTest.java78 Parcel parcel = Parcel.obtain(); in parcelable_unparcelable() local
79 sms.writeToParcel(parcel, 0); in parcelable_unparcelable()
80 parcel.setDataPosition(0); in parcelable_unparcelable()
81 VisualVoicemailSms newSms = VisualVoicemailSms.CREATOR.createFromParcel(parcel); in parcelable_unparcelable()
DShadowStorageManagerTest.java70 Parcel parcel = Parcel.obtain(); in buildAndGetStorageVolume() local
71 parcel.writeInt(0); in buildAndGetStorageVolume()
72 UserHandle userHandle = new UserHandle(parcel); in buildAndGetStorageVolume()
DShadowSharedMemoryTest.java122 Parcel parcel = Parcel.obtain(); in writeToParcel_shouldNotCrash() local
123 parcel.writeParcelable(sharedMemory, 0); in writeToParcel_shouldNotCrash()
DShadowIntentTest.java463 Parcel parcel = Parcel.obtain(); in getExtra_shouldWorkAfterParcel() local
464 parcel.writeParcelable(intent, 0); in getExtra_shouldWorkAfterParcel()
465 parcel.setDataPosition(0); in getExtra_shouldWorkAfterParcel()
466 intent = parcel.readParcelable(getClass().getClassLoader()); in getExtra_shouldWorkAfterParcel()
DShadowBitmapTest.java415 Parcel parcel = Parcel.obtain(); in shouldWriteToParcelAndReconstruct() local
416 bitmapOriginal.writeToParcel(parcel, 0); in shouldWriteToParcelAndReconstruct()
418 parcel.setDataPosition(0); in shouldWriteToParcelAndReconstruct()
420 Bitmap bitmapReconstructed = Bitmap.CREATOR.createFromParcel(parcel); in shouldWriteToParcelAndReconstruct()
/external/protobuf/javanano/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/kotlinc/lib/
Dandroid-extensions-runtime.jar ... kotlinx/ kotlinx/android/ kotlinx/android/parcel/ kotlinx/android/parcel/Parcelize.class ...
Dandroid-extensions-compiler.jar ... ) } org/jetbrains/kotlin/android/parcel/ org/jetbrains/kotlin/android/parcel ...
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DNativeInput.java153 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 …]
DShadowNotificationManager.java301 Parcel parcel = Parcel.obtain(); in copyAutomaticZenRule() local
303 automaticZenRule.writeToParcel(parcel, /* flags= */ 0); in copyAutomaticZenRule()
304 parcel.setDataPosition(0); in copyAutomaticZenRule()
305 return new AutomaticZenRule(parcel); in copyAutomaticZenRule()
307 parcel.recycle(); in copyAutomaticZenRule()
DShadowUsageStatsManager.java145 Parcel parcel = Parcel.obtain(); in queryEvents() local
146 usageEvents.writeToParcel(parcel, 0); in queryEvents()
148 parcel.setDataPosition(0); in queryEvents()
149 return new UsageEvents(parcel); in queryEvents()
DShadowMotionEvent.java457 protected static void nativeWriteToParcel(int nativePtr, Parcel parcel) { in nativeWriteToParcel() argument
458 nativeWriteToParcel((long) nativePtr, parcel); in nativeWriteToParcel() local
463 protected static void nativeWriteToParcel(long nativePtr, Parcel parcel) { in nativeWriteToParcel() argument
465 if (!event.writeToParcel(parcel)) { in nativeWriteToParcel()
DShadowApplicationPackageManager.java327 Parcel parcel = Parcel.obtain(); in newPackageInfo() local
328 orig.writeToParcel(parcel, 0); in newPackageInfo()
329 parcel.setDataPosition(0); in newPackageInfo()
330 return PackageInfo.CREATOR.createFromParcel(parcel); in newPackageInfo()
/external/mesa3d/src/compiler/glsl/
Dlink_uniform_blocks.cpp220 ubo_visitor *parcel,
237 ubo_visitor *parcel, gl_uniform_buffer_variable *variables, in process_block_array() argument
252 parcel, variables, b, block_index, in process_block_array()
256 parcel, variables, b, block_index, in process_block_array()
266 ubo_visitor *parcel, gl_uniform_buffer_variable *variables, in process_block_array_leaf() argument
276 blocks[i].Uniforms = &variables[(*parcel).index]; in process_block_array_leaf()
292 parcel->process(type, b->has_instance_name ? blocks[i].Name : ""); in process_block_array_leaf()
294 blocks[i].UniformBufferSize = parcel->buffer_size; in process_block_array_leaf()
298 parcel->buffer_size > ctx->Const.MaxShaderStorageBlockSize) { in process_block_array_leaf()
302 parcel->buffer_size, in process_block_array_leaf()
[all …]
Dlink_uniforms.cpp1379 parcel_out_uniform_storage parcel(prog, prog->UniformHash, in link_assign_uniform_storage() local
1389 parcel.start_shader((gl_shader_stage)i); in link_assign_uniform_storage()
1398 parcel.set_and_process(var); in link_assign_uniform_storage()
1401 shader->Program->SamplersUsed = parcel.shader_samplers_used; in link_assign_uniform_storage()
1402 shader->shadow_samplers = parcel.shader_shadow_samplers; in link_assign_uniform_storage()
1404 if (parcel.num_bindless_samplers > 0) { in link_assign_uniform_storage()
1405 shader->Program->sh.NumBindlessSamplers = parcel.num_bindless_samplers; in link_assign_uniform_storage()
1408 parcel.num_bindless_samplers); in link_assign_uniform_storage()
1409 for (unsigned j = 0; j < parcel.num_bindless_samplers; j++) { in link_assign_uniform_storage()
1411 parcel.bindless_targets[j]; in link_assign_uniform_storage()
[all …]
/external/skia/tools/android/
Dmeasure_fps.py15 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)
/external/skqp/tools/android/
Dmeasure_fps.py15 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)
/external/setupcompat/main/java/com/google/android/setupcompat/logging/
DCustomEvent.java141 public void writeToParcel(Parcel parcel, int i) { in writeToParcel() argument
142 parcel.writeLong(timestampMillis); in writeToParcel()
143 parcel.writeParcelable(metricKey, i); in writeToParcel()
144 parcel.writePersistableBundle(persistableBundle); in writeToParcel()
145 parcel.writePersistableBundle(piiValues); in writeToParcel()
DMetricKey.java112 public void writeToParcel(Parcel parcel, int i) { in writeToParcel() argument
113 parcel.writeString(name); in writeToParcel()
114 parcel.writeString(screenName); in writeToParcel()
/external/setupdesign/main/src/com/google/android/setupdesign/
DSetupWizardLayout.java419 public SavedState createFromParcel(Parcel parcel) {
420 return new SavedState(parcel);
/external/python/cpython2/Modules/
D_elementtree.c2381 PyObject *parcel; local
2407 parcel = PyTuple_Pack(2, sprefix, suri);
2410 if (!parcel)
2412 treebuilder_append_event(target, target->start_ns_event_obj, parcel);
2413 Py_DECREF(parcel);
/external/python/cpython3/Modules/
D_elementtree.c3124 PyObject *parcel; in expat_start_ns_handler() local
3137 parcel = Py_BuildValue("ss", prefix, uri); in expat_start_ns_handler()
3138 if (!parcel) in expat_start_ns_handler()
3140 treebuilder_append_event(target, target->start_ns_event_obj, parcel); in expat_start_ns_handler()
3141 Py_DECREF(parcel); in expat_start_ns_handler()
/external/python/cpython2/Doc/library/
Dttk.rst1296 Specifies how the image is placed within the final parcel. spec
1386 initial cavity, each element is allocated a parcel. Valid
1395 Specifies where the element is placed inside its allocated parcel.
/external/python/cpython3/Doc/library/
Dtkinter.ttk.rst1417 Specifies how the image is placed within the final parcel. spec
1507 initial cavity, each element is allocated a parcel. Valid
1516 Specifies where the element is placed inside its allocated parcel.

12