/system/core/libmemtrack/ |
D | memtrack.cpp | 43 memtrack_proc_type types[static_cast<int>(MemtrackType::NUM_TYPES)]; member 108 int ret = memtrack_proc_get_type(&p->types[i], pid, (MemtrackType)i); in memtrack_proc_get() 117 const std::vector<MemtrackType>& types, uint32_t flags) in memtrack_proc_sum() argument 121 for (size_t i = 0; i < types.size(); i++) { in memtrack_proc_sum() 122 memtrack_proc_type type = p->types[static_cast<int>(types[i])]; in memtrack_proc_sum() 136 std::vector<MemtrackType> types = {MemtrackType::GRAPHICS}; in memtrack_proc_graphics_total() local 137 return memtrack_proc_sum(p, types, 0); in memtrack_proc_graphics_total() 142 std::vector<MemtrackType> types = { MemtrackType::GRAPHICS }; in memtrack_proc_graphics_pss() local 143 return memtrack_proc_sum(p, types, in memtrack_proc_graphics_pss() 149 std::vector<MemtrackType> types = { MemtrackType::GL }; in memtrack_proc_gl_total() local [all …]
|
/system/tools/aidl/ |
D | type_java.cpp | 43 Type::Type(const JavaTypeNamespace* types, const string& name, int kind, in Type() argument 45 : Type(types, "", name, kind, canWriteToParcel, canBeOut, "", -1) {} in Type() 47 Type::Type(const JavaTypeNamespace* types, const string& package, in Type() argument 51 m_types(types), in Type() 98 BasicType::BasicType(const JavaTypeNamespace* types, const string& name, in BasicType() argument 104 : Type(types, name, ValidatableType::KIND_BUILT_IN, true, false), in BasicType() 107 m_array_type.reset(new BasicArrayType(types, name, writeArrayParcel, in BasicType() 121 BasicArrayType::BasicArrayType(const JavaTypeNamespace* types, in BasicArrayType() argument 126 : Type(types, name, ValidatableType::KIND_BUILT_IN, true, true), in BasicArrayType() 149 FileDescriptorType::FileDescriptorType(const JavaTypeNamespace* types) in FileDescriptorType() argument [all …]
|
D | generate_cpp.h | 33 const cpp::TypeNamespace& types, 52 std::unique_ptr<Document> BuildClientSource(const TypeNamespace& types, 54 std::unique_ptr<Document> BuildServerSource(const TypeNamespace& types, 56 std::unique_ptr<Document> BuildInterfaceSource(const TypeNamespace& types, 58 std::unique_ptr<Document> BuildClientHeader(const TypeNamespace& types, 60 std::unique_ptr<Document> BuildServerHeader(const TypeNamespace& types, 62 std::unique_ptr<Document> BuildInterfaceHeader(const TypeNamespace& types,
|
D | generate_java_binder.cpp | 38 JavaTypeNamespace* types); 49 JavaTypeNamespace* types); 55 JavaTypeNamespace* types) in StubClass() argument 61 this->extends = types->BinderNativeType(); in StubClass() 67 new Variable(types->StringType(), "DESCRIPTOR")); in StubClass() 86 make_as_interface(interfaceType, types); in StubClass() 91 asBinder->returnType = types->IBinderType(); in StubClass() 98 this->transact_code = new Variable(types->IntType(), "code"); in StubClass() 99 this->transact_data = new Variable(types->ParcelType(), "data"); in StubClass() 100 this->transact_reply = new Variable(types->ParcelType(), "reply"); in StubClass() [all …]
|
D | ast_java_unittest.cpp | 42 JavaTypeNamespace types; in TEST() local 43 types.Init(); in TEST() 44 Type class_type(&types, "TestClass", ValidatableType::KIND_GENERATED, in TEST() 46 Type extend_type(&types, "SuperClass", ValidatableType::KIND_BUILT_IN, in TEST()
|
D | aidl.cpp | 159 TypeNamespace* types) { in gather_types() argument 165 return types->AddBinderType(*interface, filename); in gather_types() 168 success &= types->AddParcelableType(*item, filename); in gather_types() 176 TypeNamespace* types) { in check_types() argument 190 if (!types->MaybeAddContainerType(m->GetType())) { in check_types() 195 types->GetReturnType(m->GetType(), filename, *c); in check_types() 212 if (!types->MaybeAddContainerType(arg->GetType())) { in check_types() 217 types->GetArgType(*arg, index, filename, *c); in check_types() 501 const string& filename, TypeNamespace* types) { in parse_preprocessed_file() argument 529 types->AddParcelableType(doc, filename); in parse_preprocessed_file() [all …]
|
D | type_java.h | 37 Type(const JavaTypeNamespace* types, const std::string& name, int kind, 39 Type(const JavaTypeNamespace* types, const std::string& package, 80 BasicArrayType(const JavaTypeNamespace* types, const std::string& name, 101 BasicType(const JavaTypeNamespace* types, const std::string& name, 120 explicit FileDescriptorArrayType(const JavaTypeNamespace* types); 133 explicit FileDescriptorType(const JavaTypeNamespace* types); 143 explicit BooleanArrayType(const JavaTypeNamespace* types); 156 explicit BooleanType(const JavaTypeNamespace* types); 166 explicit CharArrayType(const JavaTypeNamespace* types); 179 explicit CharType(const JavaTypeNamespace* types); [all …]
|
D | generate_cpp.cpp | 106 ArgList BuildArgList(const TypeNamespace& types, in BuildArgList() argument 140 if (return_type != types.VoidType()) { in BuildArgList() 156 const TypeNamespace& types, in BuildMethodDecl() argument 169 BuildArgList(types, method, true /* for method decl */), in BuildMethodDecl() 198 bool DeclareLocalVariable(const TypeNamespace& types, const AidlArgument& a, in DeclareLocalVariable() argument 252 unique_ptr<Declaration> DefineClientTransaction(const TypeNamespace& types, in DefineClientTransaction() argument 259 ArgList{BuildArgList(types, method, true /* for method decl */)}}}; in DefineClientTransaction() 347 if (return_type != types.VoidType()) { in DefineClientTransaction() 388 unique_ptr<Document> BuildClientSource(const TypeNamespace& types, in BuildClientSource() argument 408 types, interface, *method); in BuildClientSource() [all …]
|
D | generate_java.h | 34 AidlInterface* iface, java::JavaTypeNamespace* types, 38 const AidlInterface* iface, java::JavaTypeNamespace* types);
|
D | aidl.h | 62 TypeNamespace* types, 67 const std::string& filename, TypeNamespace* types);
|
D | generate_java.cpp | 58 AidlInterface* iface, JavaTypeNamespace* types, in generate_java() argument 60 Class* cl = generate_binder_interface_class(iface, types); in generate_java()
|
/system/tools/hidl/test/vendor/1.0/ |
D | Android.mk | 26 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal 34 tests.vendor@1.0::types.Bar 36 $(GEN): $(LOCAL_PATH)/types.hal 46 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal 54 tests.vendor@1.0::types.Foo 56 $(GEN): $(LOCAL_PATH)/types.hal 66 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal 74 tests.vendor@1.0::types.FooToo 76 $(GEN): $(LOCAL_PATH)/types.hal 123 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal [all …]
|
D | Android.bp | 6 "types.hal", 19 "tests/vendor/1.0/types.cpp", 32 "tests/vendor/1.0/types.h",
|
/system/libhidl/transport/base/1.0/ |
D | Android.mk | 21 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal 27 android.hidl.base@1.0::types.DebugInfo 29 $(GEN): $(LOCAL_PATH)/types.hal 40 $(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal 41 $(GEN): $(LOCAL_PATH)/types.hal 71 $(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal 77 android.hidl.base@1.0::types.DebugInfo 79 $(GEN): $(LOCAL_PATH)/types.hal 90 $(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal 91 $(GEN): $(LOCAL_PATH)/types.hal
|
D | Android.bp | 6 "types.hal", 19 "android/hidl/base/1.0/types.cpp", 32 "android/hidl/base/1.0/types.h",
|
/system/libhidl/transport/ |
D | HidlTransportUtils.cpp | 39 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() 60 auto ret = interface->interfaceDescriptor([&](const hidl_string &types) { in getDescriptor() argument 61 myDescriptor = types.c_str(); in getDescriptor()
|
/system/sepolicy/prebuilts/api/26.0/public/ |
D | attributes | 5 # 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/private/compat/26.0/ |
D | 26.0.ignore.cil | 1 ;; 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/public/ |
D | attributes | 5 # 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/sepolicy/tools/sepolicy-analyze/ |
D | README | 14 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 …]
|
D | neverallow.c | 126 rc = ebitmap_union(&typeset->types, &policydb->attr_type_map[type->s.value - 1]); in read_typeset() 130 rc = ebitmap_set_bit(&typeset->types, type->s.value - 1, 1); in read_typeset() 150 if (ebitmap_set_bit(&typeset->types, bit, 1)) in read_typeset() 158 if (ebitmap_set_bit(&typeset->types, bit, 0)) in read_typeset() 167 if (ebitmap_get_bit(&typeset->types, bit)) in read_typeset() 168 ebitmap_set_bit(&typeset->types, bit, 0); in read_typeset() 170 if (ebitmap_set_bit(&typeset->types, bit, 1)) in read_typeset()
|
/system/core/init/ |
D | descriptors.cpp | 85 auto types = android::base::Split(type(), "+"); in Create() local 87 … ((types[0] == "stream" ? SOCK_STREAM : (types[0] == "dgram" ? SOCK_DGRAM : SOCK_SEQPACKET))); in Create() 88 bool passcred = types.size() > 1 && types[1] == "passcred"; in Create()
|
/system/tpm/trunks/generator/ |
D | generator_test.py | 193 types, constants, structs, defines, typemap = parser.Parse() 194 self.assertIsNotNone(types) 206 types, constants, structs, defines, typemap = parser.Parse() 208 self.assertGreaterEqual(len(types), 2) 213 self.assertEqual(types[0].old_type, 'type1') 214 self.assertEqual(types[0].new_type, 'type2') 215 self.assertEqual(types[1].old_type, 'base_type') 216 self.assertEqual(types[1].new_type, 'const_type')
|
D | generator.py | 985 types = [] 992 types += self._ParseTypes(typemap) 994 constants += self._ParseConstants(types, typemap) 1023 return types, constants, structs, defines, typemap 1052 types = [] 1058 return types 1064 return types 1067 types.append(t) 1070 return types 1072 def _ParseConstants(self, types, typemap): argument [all …]
|
/system/bt/types/ |
D | Android.bp | 1 // Bluetooth types 3 name: "libbluetooth-types",
|