Home
last modified time | relevance | path

Searched refs:types (Results 1 – 25 of 382) sorted by relevance

12345678910>>...16

/system/tools/aidl/
Dgenerate_ndk.h29 void GenerateNdk(const string& output_file, const Options& options, const AidlTypenames& types,
33 void GenerateSource(CodeWriter& out, const AidlTypenames& types, const AidlInterface& defined_type,
35 void GenerateClassSource(CodeWriter& out, const AidlTypenames& types,
37 void GenerateClientSource(CodeWriter& out, const AidlTypenames& types,
39 void GenerateServerSource(CodeWriter& out, const AidlTypenames& types,
41 void GenerateInterfaceSource(CodeWriter& out, const AidlTypenames& types,
43 void GenerateClientHeader(CodeWriter& out, const AidlTypenames& types,
45 void GenerateServerHeader(CodeWriter& out, const AidlTypenames& types,
47 void GenerateInterfaceHeader(CodeWriter& out, const AidlTypenames& types,
50 void GenerateEnumHeader(CodeWriter& out, const AidlTypenames& types,
Dgenerate_ndk.cpp41 void GenerateParcelHeader(CodeWriter& out, const AidlTypenames& types,
43 void GenerateParcelSource(CodeWriter& out, const AidlTypenames& types,
45 void GenerateParcelHeader(CodeWriter& out, const AidlTypenames& types,
47 void GenerateParcelSource(CodeWriter& out, const AidlTypenames& types,
54 const AidlTypenames& types, const AidlInterface& defined_type, in GenerateNdkInterface() argument
58 GenerateInterfaceHeader(*i_writer, types, defined_type, options); in GenerateNdkInterface()
64 GenerateClientHeader(*bp_writer, types, defined_type, options); in GenerateNdkInterface()
70 GenerateServerHeader(*bn_writer, types, defined_type, options); in GenerateNdkInterface()
74 GenerateSource(*source_writer, types, defined_type, options); in GenerateNdkInterface()
80 const AidlTypenames& types, const ParcelableType& defined_type, in GenerateNdkParcel() argument
[all …]
Daidl_to_ndk.h41 std::string NdkNameOf(const AidlTypenames& types, const AidlTypeSpecifier& aidl, StorageMode mode);
47 size_t NdkAlignmentOf(const AidlTypenames& types, const AidlTypeSpecifier& aidl);
52 const AidlTypenames& types; member
64 const AidlTypenames& types, const AidlMethod& method,
90 std::string NdkMethodDecl(const AidlTypenames& types, const AidlMethod& method,
Daidl_to_ndk.cpp152 const AidlTypenames& types) { in ParcelableTypeInfo() argument
158 type_params.push_back(NdkNameOf(types, *parameter, StorageMode::STACK)); in ParcelableTypeInfo()
351 static TypeInfo::Aspect GetTypeAspect(const AidlTypenames& types, const AidlTypeSpecifier& aidl) { in GetTypeAspect() argument
369 if (!(array_type.Resolve(types) && array_type.CheckValid(types))) { in GetTypeAspect()
372 return GetTypeAspect(types, array_type); in GetTypeAspect()
380 const AidlDefinedType* type = types.TryGetDefinedType(aidl_name); in GetTypeAspect()
386 info = ParcelableTypeInfo(*parcelable, aidl, types); in GetTypeAspect()
424 std::string NdkNameOf(const AidlTypenames& types, const AidlTypeSpecifier& aidl, StorageMode mode) { in NdkNameOf() argument
425 TypeInfo::Aspect aspect = GetTypeAspect(types, aidl); in NdkNameOf()
443 size_t NdkAlignmentOf(const AidlTypenames& types, const AidlTypeSpecifier& aidl) { in NdkAlignmentOf() argument
[all …]
/system/memory/libmemtrack/
Dmemtrack.cpp49 std::vector<memtrack_proc_type> types; member
52 types.resize(kMemtrackTypes.size()); in memtrack_proc()
133 int ret = memtrack_proc_get_type(&p->types[i], pid, kMemtrackTypes[i]); in memtrack_proc_get()
142 const std::vector<MemtrackType>& types, uint32_t flags) in memtrack_proc_sum() argument
146 for (size_t i = 0; i < types.size(); i++) { in memtrack_proc_sum()
147 memtrack_proc_type type = p->types[static_cast<int>(types[i])]; in memtrack_proc_sum()
161 std::vector<MemtrackType> types = {MemtrackType::GRAPHICS}; in memtrack_proc_graphics_total() local
162 return memtrack_proc_sum(p, types, 0); in memtrack_proc_graphics_total()
167 std::vector<MemtrackType> types = { MemtrackType::GRAPHICS }; in memtrack_proc_graphics_pss() local
168 return memtrack_proc_sum(p, types, in memtrack_proc_graphics_pss()
[all …]
/system/libhidl/transport/
DHidlTransportUtils.cpp39 auto chainRet = interface->interfaceChain([&](const hidl_vec<hidl_string> &types) { in canCastInterface() argument
40 for (size_t i = 0; i < types.size(); i++) { in canCastInterface()
41 if (types[i] == castTo) { in canCastInterface()
64 auto ret = interface->interfaceDescriptor([&](const hidl_string &types) { in getDescriptor() argument
65 myDescriptor = types.c_str(); in getDescriptor()
Dcurrent.txt8 500ec34f1b0826a93c4abe45b23c4d85565d8041acaf3cf9fb23c09702967567 android.hidl.base@1.0::types
20 …5da29052612c57db3a8504f6395814277dc3826ee0f166cc732031b35af496 android.hidl.memory.block@1.0::types
33 b1c4fbdebe6d0def9b4f63aa83a0641f694fd5732ad32881a57fe12d5310a259 android.hidl.safe_union@1.0::types
/system/bt/vendor_libs/test_vendor_lib/types/
DAndroid.bp1 // Bluetooth types
12 name: "libbt-rootcanal-types-header",
19 name: "libbt-rootcanal-types",
30 header_libs: ["libbt-rootcanal-types-header"],
31 export_header_lib_headers: ["libbt-rootcanal-types-header"],
44 "libbt-rootcanal-types",
/system/sepolicy/prebuilts/api/29.0/public/
Dattributes5 # All types used for devices.
10 # All types used for processes.
13 # All types used for filesystems.
18 # All types used for context= mounts.
21 # All types used for files that can exist on a labeled fs.
22 # Do not use for pseudo file types.
27 # All types used for domain entry points.
30 # All types used for /data files.
33 # All types in /data, not in /data/vendor
37 # All types in /system
[all …]
/system/sepolicy/public/
Dattributes5 # All types used for devices.
13 # All types used for processes.
16 # All types used for filesystems.
21 # All types used for context= mounts.
24 # All types used for files that can exist on a labeled fs.
25 # Do not use for pseudo file types.
30 # All types used for domain entry points.
33 # All types used for /data files.
36 # All types in /data, not in /data/vendor
40 # All types used for app private data files in seapp_contexts.
[all …]
/system/sepolicy/prebuilts/api/31.0/public/
Dattributes5 # All types used for devices.
13 # All types used for processes.
16 # All types used for filesystems.
21 # All types used for context= mounts.
24 # All types used for files that can exist on a labeled fs.
25 # Do not use for pseudo file types.
30 # All types used for domain entry points.
33 # All types used for /data files.
36 # All types in /data, not in /data/vendor
40 # All types used for app private data files in seapp_contexts.
[all …]
/system/sepolicy/prebuilts/api/26.0/public/
Dattributes5 # All types used for devices.
10 # All types used for processes.
13 # All types used for filesystems.
18 # All types used for context= mounts.
21 # All types used for files that can exist on a labeled fs.
22 # Do not use for pseudo file types.
27 # All types used for domain entry points.
30 # All types used for /data files.
32 # All types in /data, not in /data/vendor
34 # All types in /vendor
[all …]
/system/sepolicy/prebuilts/api/28.0/public/
Dattributes5 # All types used for devices.
10 # All types used for processes.
13 # All types used for filesystems.
18 # All types used for context= mounts.
21 # All types used for files that can exist on a labeled fs.
22 # Do not use for pseudo file types.
27 # All types used for domain entry points.
30 # All types used for /data files.
33 # All types in /data, not in /data/vendor
36 # All types in /vendor
[all …]
/system/bt/types/
DAndroid.bp1 // Bluetooth types
12 name: "libbluetooth-types-header",
29 name: "libbluetooth-types",
42 header_libs: ["libbluetooth-types-header"],
43 export_header_lib_headers: ["libbluetooth-types-header"],
/system/sepolicy/prebuilts/api/27.0/private/compat/26.0/
D26.0.ignore.cil1 ;; new_objects - a collection of types that have been introduced that have no
2 ;; analogue in older policy. Thus, we do not need to map these types to
29 ;; private_objects - a collection of types that were labeled differently in
31 ;; Thus, these types are also not mapped, but recorded for checkapi tests
/system/sepolicy/prebuilts/api/30.0/public/
Dattributes5 # All types used for devices.
10 # All types used for processes.
13 # All types used for filesystems.
18 # All types used for context= mounts.
21 # All types used for files that can exist on a labeled fs.
22 # Do not use for pseudo file types.
27 # All types used for domain entry points.
30 # All types used for /data files.
33 # All types in /data, not in /data/vendor
37 # All types in /system
[all …]
/system/sepolicy/prebuilts/api/27.0/public/
Dattributes5 # All types used for devices.
10 # All types used for processes.
13 # All types used for filesystems.
18 # All types used for context= mounts.
21 # All types used for files that can exist on a labeled fs.
22 # Do not use for pseudo file types.
27 # All types used for domain entry points.
30 # All types used for /data files.
33 # All types in /data, not in /data/vendor
35 # All types in /vendor
[all …]
/system/tools/xsdc/tests/resources/predefined_types/api/
Dcurrent.txt2 package predefined.types {
134 method public predefined.types.DateTypes getDateTypes();
135 method public predefined.types.ListPrimitiveTypes getListPrimitiveTypes();
136 method public predefined.types.MiscTypes getMiscTypes();
137 method public predefined.types.NumericTypes getNumericTypes();
138 method public predefined.types.StringTypes getStringTypes();
139 method public void setDateTypes(predefined.types.DateTypes);
140 method public void setListPrimitiveTypes(predefined.types.ListPrimitiveTypes);
141 method public void setMiscTypes(predefined.types.MiscTypes);
142 method public void setNumericTypes(predefined.types.NumericTypes);
[all …]
/system/sepolicy/tools/sepolicy-analyze/
DREADME14 Equivalent types are candidates for being coalesced into a single
16 separate, for example: - the types may differ in a respect not
21 other of the types and thus the correct action may be to tighten
24 types may not yet be defined or may be unconfined in the policy
31 between the two types. This may be used in looking for similar
32 types that are not equivalent but may be candidates for coalescing.
39 directly in terms of individual types and the other is written in
40 terms of attributes associated with those same types. The rule
41 with individual types is a candidate for removal. The rule with
42 individual types may be directly represented in the source policy
[all …]
/system/tools/xsdc/tests/src/com/android/xsdc/tests/
DXmlParserTest.java115 predefined.types.Types type; in testPredefinedTypes()
119 type = predefined.types.XmlParser.read(str); in testPredefinedTypes()
123 predefined.types.StringTypes stringTypes = type.getStringTypes(); in testPredefinedTypes()
139 predefined.types.DateTypes dateTypes = type.getDateTypes(); in testPredefinedTypes()
158 predefined.types.NumericTypes numericTypes = type.getNumericTypes(); in testPredefinedTypes()
177 predefined.types.MiscTypes miscTypes = type.getMiscTypes(); in testPredefinedTypes()
184 is(predefined.types.HexBinaryHelper.hexStringToByteArray("016a75cb56d7e7"))); in testPredefinedTypes()
192 predefined.types.ListPrimitiveTypes listPrimitiveTypes = in testPredefinedTypes()
214 try(predefined.types.XmlWriter writer = in testPredefinedTypes()
215 new predefined.types.XmlWriter(new PrintWriter(baos))) { in testPredefinedTypes()
[all …]
/system/tools/sysprop/
DTypeChecker.cpp90 std::unordered_map<std::string, std::string> types; in CheckPropertyTypes() local
97 types.emplace(entry.name, entry.type); in CheckPropertyTypes()
108 auto itr = types.find(prop_name); in CheckPropertyTypes()
109 if (itr == types.end()) continue; in CheckPropertyTypes()
/system/sepolicy/prebuilts/api/28.0/private/compat/27.0/
D27.0.ignore.cil1 ;; new_objects - a collection of types that have been introduced that have no
2 ;; analogue in older policy. Thus, we do not need to map these types to
129 ;; private_objects - a collection of types that were labeled differently in
131 ;; Thus, these types are also not mapped, but recorded for checkapi tests
/system/sepolicy/prebuilts/api/28.0/private/compat/26.0/
D26.0.ignore.cil1 ;; new_objects - a collection of types that have been introduced that have no
2 ;; analogue in older policy. Thus, we do not need to map these types to
151 ;; private_objects - a collection of types that were labeled differently in
153 ;; Thus, these types are also not mapped, but recorded for checkapi tests
/system/vold/
DCryptoType.h96 constexpr bool validateSupportedCryptoTypes(size_t max_keylen, const CryptoType types[], in validateSupportedCryptoTypes() argument
98 return len == 0 || (isValidCryptoType(max_keylen, types[len - 1]) && in validateSupportedCryptoTypes()
99 validateSupportedCryptoTypes(max_keylen, types, len - 1)); in validateSupportedCryptoTypes()
/system/bt/stack/include/
Dsco_hci_link_interface.h42 const bluetooth::types::ClassOfDevice&);
44 const bluetooth::types::ClassOfDevice&);

12345678910>>...16