Lines Matching refs:clazz
685 const string clazz = decl->GetName(); in generate_union() local
696 out << "public final class " + clazz + " implements android.os.Parcelable {\n"; in generate_union()
713 AIDL_FATAL_IF(decl->GetFields().empty(), *decl) << "Union '" << clazz << "' is empty."; in generate_union()
719 out << "public " + clazz + "() {\n"; in generate_union()
729 out << "private " + clazz + "(android.os.Parcel _aidl_parcel) {\n"; in generate_union()
735 out << "private " + clazz + "(" + tag_type + " _tag, Object _value) {\n"; in generate_union()
759 out << "public static " + clazz + " " + var_name + "(" + var_type + " _value) {\n"; in generate_union()
761 out << "return new " + clazz + "(" + var_name + ", _value);\n"; in generate_union()
793 out << "public static final android.os.Parcelable.Creator<" << clazz << "> CREATOR = " in generate_union()
794 << "new android.os.Parcelable.Creator<" << clazz << ">() {\n"; in generate_union()
796 out << " public " << clazz << " createFromParcel(android.os.Parcel _aidl_source) {\n"; in generate_union()
800 out << " return new " + clazz + "(_aidl_source);\n"; in generate_union()
804 out << " public " << clazz << "[] newArray(int _aidl_size) {\n"; in generate_union()
805 out << " return new " << clazz << "[_aidl_size];\n"; in generate_union()
862 out << "private static " + clazz + in generate_union()
880 out << "return new " << clazz << "(_aidl_tag, _aidl_value); }\n"; in generate_union()