Lines Matching refs:field

180   for (const auto& field : parcel->GetFields()) {  in generate_parcel_class()  local
186 .type = field->GetType(), in generate_parcel_class()
188 .var = field->GetName(), in generate_parcel_class()
211 for (const auto& field : parcel->GetFields()) { in generate_parcel_class() local
213 JavaSignatureOf(field->GetType(), typenames), field->GetName())); in generate_parcel_class()
216 out << "this." << field->GetName() << " = "; in generate_parcel_class()
217 if (field->GetType().GetName() == "List") { in generate_parcel_class()
218 out << field->GetName() << " == null ? null : java.util.Collections.unmodifiableList(" in generate_parcel_class()
219 << field->GetName() << ");\n"; in generate_parcel_class()
220 } else if (field->GetType().GetName() == "Map") { in generate_parcel_class()
221 out << field->GetName() << " == null ? null : java.util.Collections.unmodifiableMap(" in generate_parcel_class()
222 << field->GetName() << ");\n"; in generate_parcel_class()
224 out << field->GetName() << ";\n"; in generate_parcel_class()
249 for (const auto& field : parcel->GetFields()) { in generate_parcel_class() local
250 out << JavaSignatureOf(field->GetType(), typenames) << " " << field->GetName(); in generate_parcel_class()
251 if (field->GetDefaultValue()) { in generate_parcel_class()
252 out << " = " << field->ValueString(ConstantValueDecorator); in generate_parcel_class()
273 for (const auto& field : parcel->GetFields()) { in generate_parcel_class() local
275 (parcel->IsImmutable() ? "_aidl_temp_" : "") + field->GetName(); in generate_parcel_class()
281 .type = field->GetType(), in generate_parcel_class()
288 context.writer.Write("%s %s;\n", JavaSignatureOf(field->GetType(), typenames).c_str(), in generate_parcel_class()
293 context.writer.Write("%s = %s;\n", field->GetName().c_str(), field_variable_name.c_str()); in generate_parcel_class()
305 for (const auto& field : parcel->GetFields()) { in generate_parcel_class() local
306 out << " this." << field->GetName() << " = "; in generate_parcel_class()
307 if (field->GetType().GetName() == "List") { in generate_parcel_class()
308 out << "java.util.Collections.unmodifiableList(" << field->GetName() << ");\n"; in generate_parcel_class()
309 } else if (field->GetType().GetName() == "Map") { in generate_parcel_class()
310 out << "java.util.Collections.unmodifiableMap(" << field->GetName() << ");\n"; in generate_parcel_class()
312 out << field->GetName() << ";\n"; in generate_parcel_class()
328 for (const auto& field : parcel->GetFields()) { in generate_parcel_class() local
334 .type = field->GetType(), in generate_parcel_class()
336 .var = field->GetName(), in generate_parcel_class()
341 out << " _aidl_sj.add(\"" << field->GetName() << ": \" + (" << code << "));\n"; in generate_parcel_class()