Lines Matching refs:writer
171 c.writer << c.parcel << ".writeInt(((" << c.var << ")?(1):(0)));\n"; in WriteToParcelFor()
175 c.writer << c.parcel << ".writeBooleanArray(" << c.var << ");\n"; in WriteToParcelFor()
179 c.writer << c.parcel << ".writeByte(" << c.var << ");\n"; in WriteToParcelFor()
183 c.writer << c.parcel << ".writeByteArray(" << c.var << ");\n"; in WriteToParcelFor()
187 c.writer << c.parcel << ".writeInt(((int)" << c.var << "));\n"; in WriteToParcelFor()
191 c.writer << c.parcel << ".writeCharArray(" << c.var << ");\n"; in WriteToParcelFor()
195 c.writer << c.parcel << ".writeInt(" << c.var << ");\n"; in WriteToParcelFor()
199 c.writer << c.parcel << ".writeIntArray(" << c.var << ");\n"; in WriteToParcelFor()
203 c.writer << c.parcel << ".writeLong(" << c.var << ");\n"; in WriteToParcelFor()
207 c.writer << c.parcel << ".writeLongArray(" << c.var << ");\n"; in WriteToParcelFor()
211 c.writer << c.parcel << ".writeFloat(" << c.var << ");\n"; in WriteToParcelFor()
215 c.writer << c.parcel << ".writeFloatArray(" << c.var << ");\n"; in WriteToParcelFor()
219 c.writer << c.parcel << ".writeDouble(" << c.var << ");\n"; in WriteToParcelFor()
223 c.writer << c.parcel << ".writeDoubleArray(" << c.var << ");\n"; in WriteToParcelFor()
227 c.writer << c.parcel << ".writeString(" << c.var << ");\n"; in WriteToParcelFor()
231 c.writer << c.parcel << ".writeStringArray(" << c.var << ");\n"; in WriteToParcelFor()
239 c.writer << c.parcel << ".writeStringList(" << c.var << ");\n"; in WriteToParcelFor()
241 c.writer << c.parcel << ".writeBinderList(" << c.var << ");\n"; in WriteToParcelFor()
247 c.writer << c.parcel << ".writeTypedList(" << c.var << ");\n"; in WriteToParcelFor()
251 c.writer << c.parcel << ".writeList(" << c.var << ");\n"; in WriteToParcelFor()
256 c.writer << c.parcel << ".writeMap(" << c.var << ");\n"; in WriteToParcelFor()
260 c.writer << c.parcel << ".writeStrongBinder(" << c.var << ");\n"; in WriteToParcelFor()
264 c.writer << c.parcel << ".writeBinderArray(" << c.var << ");\n"; in WriteToParcelFor()
268 c.writer << c.parcel << ".writeRawFileDescriptor(" << c.var << ");\n"; in WriteToParcelFor()
272 c.writer << c.parcel << ".writeRawFileDescriptorArray(" << c.var << ");\n"; in WriteToParcelFor()
278 c.writer << "if ((" << c.var << "!=null)) {\n"; in WriteToParcelFor()
279 c.writer.Indent(); in WriteToParcelFor()
280 c.writer << c.parcel << ".writeInt(1);\n"; in WriteToParcelFor()
281 c.writer << c.var << ".writeToParcel(" << c.parcel << ", " << GetFlagFor(c) << ");\n"; in WriteToParcelFor()
282 c.writer.Dedent(); in WriteToParcelFor()
283 c.writer << "}\n"; in WriteToParcelFor()
284 c.writer << "else {\n"; in WriteToParcelFor()
285 c.writer.Indent(); in WriteToParcelFor()
286 c.writer << c.parcel << ".writeInt(0);\n"; in WriteToParcelFor()
287 c.writer.Dedent(); in WriteToParcelFor()
288 c.writer << "}\n"; in WriteToParcelFor()
292 c.writer << c.parcel << ".writeTypedArray(" << c.var << ", " << GetFlagFor(c) << ");\n"; in WriteToParcelFor()
298 c.writer << "if (" << c.var << "!=null) {\n"; in WriteToParcelFor()
299 c.writer.Indent(); in WriteToParcelFor()
300 c.writer << c.parcel << ".writeInt(1);\n"; in WriteToParcelFor()
301 c.writer << "android.text.TextUtils.writeToParcel(" << c.var << ", " << c.parcel << ", " in WriteToParcelFor()
303 c.writer.Dedent(); in WriteToParcelFor()
304 c.writer << "}\n"; in WriteToParcelFor()
305 c.writer << "else {\n"; in WriteToParcelFor()
306 c.writer.Indent(); in WriteToParcelFor()
307 c.writer << c.parcel << ".writeInt(0);\n"; in WriteToParcelFor()
308 c.writer.Dedent(); in WriteToParcelFor()
309 c.writer << "}\n"; in WriteToParcelFor()
323 c.writer << c.parcel << ".writeStrongBinder((((" << c.var << "!=null))?" in WriteToParcelFor()
328 c.writer << c.parcel << ".writeTypedArray(" << c.var << ", " << GetFlagFor(c) << ");\n"; in WriteToParcelFor()
332 c.writer << "if ((" << c.var << "!=null)) {\n"; in WriteToParcelFor()
333 c.writer.Indent(); in WriteToParcelFor()
334 c.writer << c.parcel << ".writeInt(1);\n"; in WriteToParcelFor()
335 c.writer << c.var << ".writeToParcel(" << c.parcel << ", " << GetFlagFor(c) << ");\n"; in WriteToParcelFor()
336 c.writer.Dedent(); in WriteToParcelFor()
337 c.writer << "}\n"; in WriteToParcelFor()
338 c.writer << "else {\n"; in WriteToParcelFor()
339 c.writer.Indent(); in WriteToParcelFor()
340 c.writer << c.parcel << ".writeInt(0);\n"; in WriteToParcelFor()
341 c.writer.Dedent(); in WriteToParcelFor()
342 c.writer << "}\n"; in WriteToParcelFor()
354 c.writer << "java.lang.ClassLoader cl = " in EnsureAndGetClassloader()
368 c.writer << c.var << " = (0!=" << c.parcel << ".readInt());\n"; in CreateFromParcelFor()
372 c.writer << c.var << " = " << c.parcel << ".createBooleanArray();\n"; in CreateFromParcelFor()
376 c.writer << c.var << " = " << c.parcel << ".readByte();\n"; in CreateFromParcelFor()
380 c.writer << c.var << " = " << c.parcel << ".createByteArray();\n"; in CreateFromParcelFor()
384 c.writer << c.var << " = (char)" << c.parcel << ".readInt();\n"; in CreateFromParcelFor()
388 c.writer << c.var << " = " << c.parcel << ".createCharArray();\n"; in CreateFromParcelFor()
392 c.writer << c.var << " = " << c.parcel << ".readInt();\n"; in CreateFromParcelFor()
396 c.writer << c.var << " = " << c.parcel << ".createIntArray();\n"; in CreateFromParcelFor()
400 c.writer << c.var << " = " << c.parcel << ".readLong();\n"; in CreateFromParcelFor()
404 c.writer << c.var << " = " << c.parcel << ".createLongArray();\n"; in CreateFromParcelFor()
408 c.writer << c.var << " = " << c.parcel << ".readFloat();\n"; in CreateFromParcelFor()
412 c.writer << c.var << " = " << c.parcel << ".createFloatArray();\n"; in CreateFromParcelFor()
416 c.writer << c.var << " = " << c.parcel << ".readDouble();\n"; in CreateFromParcelFor()
420 c.writer << c.var << " = " << c.parcel << ".createDoubleArray();\n"; in CreateFromParcelFor()
424 c.writer << c.var << " = " << c.parcel << ".readString();\n"; in CreateFromParcelFor()
428 c.writer << c.var << " = " << c.parcel << ".createStringArray();\n"; in CreateFromParcelFor()
436 c.writer << c.var << " = " << c.parcel << ".createStringArrayList();\n"; in CreateFromParcelFor()
438 c.writer << c.var << " = " << c.parcel << ".createBinderArrayList();\n"; in CreateFromParcelFor()
444 c.writer << c.var << " = " << c.parcel << ".createTypedArrayList(" in CreateFromParcelFor()
450 c.writer << c.var << " = " << c.parcel << ".readArrayList(" << classloader << ");\n"; in CreateFromParcelFor()
456 c.writer << c.var << " = " << c.parcel << ".readHashMap(" << classloader << ");\n"; in CreateFromParcelFor()
460 c.writer << c.var << " = " << c.parcel << ".readStrongBinder();\n"; in CreateFromParcelFor()
464 c.writer << c.var << " = " << c.parcel << ".createBinderArray();\n"; in CreateFromParcelFor()
468 c.writer << c.var << " = " << c.parcel << ".readRawFileDescriptor();\n"; in CreateFromParcelFor()
472 c.writer << c.var << " = " << c.parcel << ".createRawFileDescriptorArray();\n"; in CreateFromParcelFor()
478 c.writer << "if ((0!=" << c.parcel << ".readInt())) {\n"; in CreateFromParcelFor()
479 c.writer.Indent(); in CreateFromParcelFor()
480 …c.writer << c.var << " = " << "android.os.ParcelFileDescriptor.CREATOR.createFromParcel(" << c.par… in CreateFromParcelFor()
482 c.writer.Dedent(); in CreateFromParcelFor()
483 c.writer << "}\n"; in CreateFromParcelFor()
484 c.writer << "else {\n"; in CreateFromParcelFor()
485 c.writer.Indent(); in CreateFromParcelFor()
486 c.writer << c.var << " = null;\n"; in CreateFromParcelFor()
487 c.writer.Dedent(); in CreateFromParcelFor()
488 c.writer << "}\n"; in CreateFromParcelFor()
492 c.writer << c.var << " = " << c.parcel in CreateFromParcelFor()
498 c.writer << "if (0!=" << c.parcel << ".readInt()) {\n"; in CreateFromParcelFor()
499 c.writer.Indent(); in CreateFromParcelFor()
500 c.writer << c.var << " = android.text.TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(" in CreateFromParcelFor()
502 c.writer.Dedent(); in CreateFromParcelFor()
503 c.writer << "}\n"; in CreateFromParcelFor()
504 c.writer << "else {\n"; in CreateFromParcelFor()
505 c.writer.Indent(); in CreateFromParcelFor()
506 c.writer << c.var << " = null;\n"; in CreateFromParcelFor()
507 c.writer.Dedent(); in CreateFromParcelFor()
508 c.writer << "}\n"; in CreateFromParcelFor()
520 c.writer << c.var << " = " << c.type.GetName() << ".Stub.asInterface(" << c.parcel in CreateFromParcelFor()
525 c.writer << c.var << " = " << c.parcel << ".createTypedArray(" << JavaNameOf(c.type) in CreateFromParcelFor()
530 c.writer << "if ((0!=" << c.parcel << ".readInt())) {\n"; in CreateFromParcelFor()
531 c.writer.Indent(); in CreateFromParcelFor()
532 c.writer << c.var << " = " << c.type.GetName() << ".CREATOR.createFromParcel(" << c.parcel in CreateFromParcelFor()
534 c.writer.Dedent(); in CreateFromParcelFor()
535 c.writer << "}\n"; in CreateFromParcelFor()
536 c.writer << "else {\n"; in CreateFromParcelFor()
537 c.writer.Indent(); in CreateFromParcelFor()
538 c.writer << c.var << " = null;\n"; in CreateFromParcelFor()
539 c.writer.Dedent(); in CreateFromParcelFor()
540 c.writer << "}\n"; in CreateFromParcelFor()
554 c.writer << c.parcel << ".readBooleanArray(" << c.var << ");\n"; in ReadFromParcelFor()
558 c.writer << c.parcel << ".readByteArray(" << c.var << ");\n"; in ReadFromParcelFor()
562 c.writer << c.parcel << ".readCharArray(" << c.var << ");\n"; in ReadFromParcelFor()
566 c.writer << c.parcel << ".readIntArray(" << c.var << ");\n"; in ReadFromParcelFor()
570 c.writer << c.parcel << ".readLongArray(" << c.var << ");\n"; in ReadFromParcelFor()
574 c.writer << c.parcel << ".readFloatArray(" << c.var << ");\n"; in ReadFromParcelFor()
578 c.writer << c.parcel << ".readDoubleArray(" << c.var << ");\n"; in ReadFromParcelFor()
582 c.writer << c.parcel << ".readStringArray(" << c.var << ");\n"; in ReadFromParcelFor()
590 c.writer << c.parcel << ".readStringList(" << c.var << ");\n"; in ReadFromParcelFor()
592 c.writer << c.parcel << ".readBinderList(" << c.var << ");\n"; in ReadFromParcelFor()
598 c.writer << c.parcel << ".readTypedList(" << c.var << ", " in ReadFromParcelFor()
604 c.writer << c.parcel << ".readList(" << c.var << ", " << classloader << ");\n"; in ReadFromParcelFor()
610 c.writer << c.var << " = " << c.parcel << ".readHashMap(" << classloader << ");\n"; in ReadFromParcelFor()
614 c.writer << c.var << " = " << c.parcel << ".createBinderArray();\n"; in ReadFromParcelFor()
618 c.writer << c.var << " = " << c.parcel << ".createRawFileDescriptorArray();\n"; in ReadFromParcelFor()
622 c.writer << "if ((0!=" << c.parcel << ".readInt())) {\n"; in ReadFromParcelFor()
623 c.writer.Indent(); in ReadFromParcelFor()
624 …c.writer << c.var << " = " << "android.os.ParcelFileDescriptor.CREATOR.createFromParcel(" << c.par… in ReadFromParcelFor()
625 c.writer.Dedent(); in ReadFromParcelFor()
626 c.writer << "}\n"; in ReadFromParcelFor()
630 c.writer << c.parcel << ".readTypedArray(" << c.var in ReadFromParcelFor()
643 c.writer << c.parcel << ".readTypedArray(" << c.var << ", " << c.type.GetName() in ReadFromParcelFor()
646 c.writer << "if ((0!=" << c.parcel << ".readInt())) {\n"; in ReadFromParcelFor()
647 c.writer.Indent(); in ReadFromParcelFor()
648 c.writer << c.var << ".readFromParcel(" << c.parcel << ");\n"; in ReadFromParcelFor()
649 c.writer.Dedent(); in ReadFromParcelFor()
650 c.writer << "}\n"; in ReadFromParcelFor()