Lines Matching refs:GetName

114     if (variable->GetType().GetName() == "ParcelableHolder" || parcel->IsImmutable()) {  in generate_parcel_class()
117 out << JavaSignatureOf(variable->GetType(), typenames) << " " << variable->GetName(); in generate_parcel_class()
120 } else if (variable->GetType().GetName() == "ParcelableHolder") { in generate_parcel_class()
144 out << "public static final android.os.Parcelable.Creator<" << parcel->GetName() << "> CREATOR = " in generate_parcel_class()
145 << "new android.os.Parcelable.Creator<" << parcel->GetName() << ">() {\n"; in generate_parcel_class()
147 out << " public " << parcel->GetName() in generate_parcel_class()
150 out << " return new " << parcel->GetName() << "(_aidl_source);\n"; in generate_parcel_class()
152 out << " " << parcel->GetName() << " _aidl_out = new " << parcel->GetName() << "();\n"; in generate_parcel_class()
158 out << " public " << parcel->GetName() << "[] newArray(int _aidl_size) {\n"; in generate_parcel_class()
159 out << " return new " << parcel->GetName() << "[_aidl_size];\n"; in generate_parcel_class()
188 .var = field->GetName(), in generate_parcel_class()
209 constructor->name = parcel->GetName(); in generate_parcel_class()
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()
237 read_or_create_method->name = parcel->GetName(); in generate_parcel_class()
250 out << JavaSignatureOf(field->GetType(), typenames) << " " << field->GetName(); in generate_parcel_class()
275 (parcel->IsImmutable() ? "_aidl_temp_" : "") + field->GetName(); in generate_parcel_class()
293 context.writer.Write("%s = %s;\n", field->GetName().c_str(), field_variable_name.c_str()); in generate_parcel_class()
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()
336 .var = field->GetName(), in generate_parcel_class()
341 out << " _aidl_sj.add(\"" << field->GetName() << ": \" + (" << code << "));\n"; in generate_parcel_class()
371 code_writer->Write("public @interface %s {\n", enum_decl->GetName().c_str()); in generate_enum()
378 enumerator->GetName().c_str(), in generate_enum()