Home
last modified time | relevance | path

Searched refs:aidl_name (Results 1 – 5 of 5) sorted by relevance

/system/tools/aidl/
Daidl_to_rust.cpp49 const auto& aidl_name = type.GetName(); in ConstantValueDecoratorInternal() local
50 if (aidl_name == "char") { in ConstantValueDecoratorInternal()
54 if (aidl_name == "float") { in ConstantValueDecoratorInternal()
59 if (aidl_name == "double") { in ConstantValueDecoratorInternal()
63 if (aidl_name == "String" && !by_ref) { in ConstantValueDecoratorInternal()
284 const string& aidl_name = type.GetName(); in TypeHasDefault() local
285 if (aidl_name == "IBinder") { in TypeHasDefault()
288 if (aidl_name == "ParcelFileDescriptor") { in TypeHasDefault()
Daidl_to_cpp.cpp174 const string& aidl_name = type.GetName(); in GetCppName() local
175 if (m.find(aidl_name) != m.end()) { in GetCppName()
176 AIDL_FATAL_IF(!AidlTypenames::IsBuiltinTypename(aidl_name), raw_type); in GetCppName()
177 if (aidl_name == "byte" && type.IsArray()) { in GetCppName()
180 AIDL_FATAL_IF(aidl_name != "String", type); in GetCppName()
183 return WrapIfNullable(m[aidl_name], raw_type, typenames); in GetCppName()
Daidl_to_ndk.cpp353 auto& aidl_name = aidl.GetName(); in GetTypeAspect() local
358 if (aidl_name == "List") { in GetTypeAspect()
375 if (AidlTypenames::IsBuiltinTypename(aidl_name)) { in GetTypeAspect()
376 auto it = kNdkTypeInfoMap.find(aidl_name); in GetTypeAspect()
377 AIDL_FATAL_IF(it == kNdkTypeInfoMap.end(), aidl_name); in GetTypeAspect()
380 const AidlDefinedType* type = types.TryGetDefinedType(aidl_name); in GetTypeAspect()
381 AIDL_FATAL_IF(type == nullptr, aidl_name) << "Unrecognized type."; in GetTypeAspect()
391 AIDL_FATAL(aidl_name) << "Unrecognized type"; in GetTypeAspect()
Daidl_to_java.cpp70 const string& aidl_name = aidl.GetName(); in JavaNameOf() local
72 if (instantiable_m.find(aidl_name) != instantiable_m.end()) { in JavaNameOf()
73 return instantiable_m[aidl_name]; in JavaNameOf()
117 const string& aidl_name = aidl.GetName(); in JavaNameOf() local
118 if (boxing && AidlTypenames::IsPrimitiveTypename(aidl_name)) { in JavaNameOf()
120 AIDL_FATAL_IF(boxing_types.find(aidl_name) == m.end(), aidl); in JavaNameOf()
121 return boxing_types[aidl_name]; in JavaNameOf()
123 if (m.find(aidl_name) != m.end()) { in JavaNameOf()
124 AIDL_FATAL_IF(!AidlTypenames::IsBuiltinTypename(aidl_name), aidl); in JavaNameOf()
125 return m[aidl_name]; in JavaNameOf()
[all …]
/system/security/keystore2/src/
Dpermission.rs95 ($(#[$m:meta])* $name:ident from $aidl_name:ident with default ($($def:tt)*)
98 implement_permission_aidl!(@replace_use $($m)*, $name, $aidl_name, ($($def)*), [],
108 (@replace_use $($m:meta)*, $name:ident, $aidl_name:ident, ($($def:tt)*), [$($out:tt)*], ) => {
109 implement_permission_aidl!(@end $($m)*, $name, $aidl_name, ($($def)*) { $($out)* } );
115 (@replace_use $($m:meta)*, $name:ident, $aidl_name:ident, ($($def:tt)*), [$($out:tt)*],
118 implement_permission_aidl!(@replace_use $($m)*, $name, $aidl_name, ($($def)*),
125 (@replace_use $($m:meta)*, $name:ident, $aidl_name:ident, ($($def:tt)*), [$($out:tt)*],
128 implement_permission_aidl!(@replace_use $($m)*, $name, $aidl_name, ($($def)*),
132 (@end $($m:meta)*, $name:ident, $aidl_name:ident,
140 pub struct $name(pub $aidl_name);
[all …]