Home
last modified time | relevance | path

Searched refs:descriptors (Results 1 – 25 of 83) sorted by relevance

1234

/system/nvram/messages/
Dmessage_codec.cpp23 const FieldDescriptor* descriptors, in MessageEncoderBase() argument
26 descriptors_(descriptors), in MessageEncoderBase()
31 const FieldDescriptor* descriptors, in Encode() argument
33 MessageEncoderBase encoder(object, descriptors, num_descriptors); in Encode()
83 const FieldDescriptor* descriptors, in MessageDecoderBase() argument
86 descriptors_(descriptors), in MessageDecoderBase()
91 const FieldDescriptor* descriptors, in Decode() argument
93 MessageDecoderBase decoder(object, descriptors, num_descriptors); in Decode()
/system/core/libprocessgroup/setup/
Dcgroup_map_write.cpp118 std::map<std::string, CgroupDescriptor>* descriptors) { in ReadDescriptorsFromFile() argument
138 auto iter = descriptors->find(name); in ReadDescriptorsFromFile()
139 if (iter == descriptors->end()) { in ReadDescriptorsFromFile()
140 descriptors->emplace( in ReadDescriptorsFromFile()
156 auto iter = descriptors->find(CGROUPV2_CONTROLLER_NAME); in ReadDescriptorsFromFile()
157 if (iter == descriptors->end()) { in ReadDescriptorsFromFile()
158 descriptors->emplace( in ReadDescriptorsFromFile()
174 static bool ReadDescriptors(std::map<std::string, CgroupDescriptor>* descriptors) { in ReadDescriptors() argument
176 if (!ReadDescriptorsFromFile(CGROUPS_DESC_FILE, descriptors)) { in ReadDescriptors()
182 !ReadDescriptorsFromFile(CGROUPS_DESC_VENDOR_FILE, descriptors)) { in ReadDescriptors()
[all …]
/system/bt/service/common/android/bluetooth/
Dbluetooth_gatt_characteristic.cc44 std::vector<BluetoothGattDescriptor> descriptors; in writeToParcel() local
46 descriptors.push_back(desc); in writeToParcel()
49 status = parcel->writeParcelableVector(descriptors); in writeToParcel()
72 std::vector<BluetoothGattDescriptor> descriptors; in readFromParcel() local
73 status = parcel->readParcelableVector(&descriptors); in readFromParcel()
76 for (const auto& desc : descriptors) { in readFromParcel()
/system/bt/service/common/bluetooth/
Dcharacteristic.h31 const std::vector<Descriptor>& descriptors) in Characteristic() argument
36 descriptors_(descriptors){}; in Characteristic()
49 const std::vector<Descriptor>& descriptors() const { return descriptors_; } in descriptors() function
50 std::vector<Descriptor>& descriptors() { return descriptors_; } in descriptors() function
/system/nvram/messages/include/nvram/messages/
Dmessage_codec.h67 const FieldDescriptor* descriptors,
74 const FieldDescriptor* descriptors,
107 const FieldDescriptor* descriptors,
113 const FieldDescriptor* descriptors,
/system/core/fs_mgr/libfs_avb/
Davb_util.cpp143 std::unique_ptr<const AvbDescriptor* [], decltype(&avb_free)> descriptors( in GetHashtreeDescriptor() local
146 if (!descriptors || num_descriptors < 1) { in GetHashtreeDescriptor()
152 if (!avb_descriptor_validate_and_byteswap(descriptors[n], &desc)) { in GetHashtreeDescriptor()
158 (const uint8_t*)descriptors[n] + sizeof(AvbHashtreeDescriptor); in GetHashtreeDescriptor()
160 (AvbHashtreeDescriptor*)descriptors[n], hashtree_desc.get())) { in GetHashtreeDescriptor()
458 std::unique_ptr<const AvbDescriptor* [], decltype(&avb_free)> descriptors( in GetChainPartitionInfo() local
461 if (!descriptors || num_descriptors < 1) { in GetChainPartitionInfo()
467 if (!avb_descriptor_validate_and_byteswap(descriptors[i], &desc)) { in GetChainPartitionInfo()
475 (AvbChainPartitionDescriptor*)descriptors[i], &chain_desc)) { in GetChainPartitionInfo()
482 ((const char*)descriptors[i]) + sizeof(AvbChainPartitionDescriptor); in GetChainPartitionInfo()
/system/sepolicy/private/
Ddex2oat.te24 # Read already open asec_apk_file file descriptors passed by installd.
42 # Allow dex2oat to use file descriptors from otapreopt.
66 # pass file descriptors for the preopted boot image to dex2oat. So dex2oat needs to be able to
77 # Allow dex2oat to use file descriptors from preinstall.
Dkernel.te5 # Allow the kernel to read otapreopt_chroot's file descriptors and files under
Dtraced.te29 # Allow traceur to pass open file descriptors to traced, so traced can directly
34 # Allow iorapd to pass memfd descriptors to traced, so traced can directly
60 # Disallows access to /data files, still allowing to write to file descriptors
Dsecure_element.te11 # already open bugreport file descriptors may be shared with
/system/sepolicy/prebuilts/api/29.0/private/
Ddex2oat.te24 # Read already open asec_apk_file file descriptors passed by installd.
42 # Allow dex2oat to use file descriptors from otapreopt.
66 # pass file descriptors for the preopted boot image to dex2oat. So dex2oat needs to be able to
77 # Allow dex2oat to use file descriptors from preinstall.
Dkernel.te5 # Allow the kernel to read otapreopt_chroot's file descriptors and files under
Dtraced.te29 # Allow traceur to pass open file descriptors to traced, so traced can directly
34 # Allow iorapd to pass memfd descriptors to traced, so traced can directly
60 # Disallows access to /data files, still allowing to write to file descriptors
Dsecure_element.te11 # already open bugreport file descriptors may be shared with
/system/sepolicy/prebuilts/api/27.0/public/
Ddex2oat.te24 # Read already open asec_apk_file file descriptors passed by installd.
42 # Allow dex2oat to use file descriptors from otapreopt.
58 # pass file descriptors for the preopted boot image to dex2oat. So dex2oat needs to be able to
Dpostinstall_dexopt.te53 # Allow otapreopt to use file descriptors from otapreopt_chroot.
54 # TODO: Probably we can actually close file descriptors...
/system/sepolicy/prebuilts/api/26.0/public/
Ddex2oat.te24 # Read already open asec_apk_file file descriptors passed by installd.
42 # Allow dex2oat to use file descriptors from otapreopt.
58 # pass file descriptors for the preopted boot image to dex2oat. So dex2oat needs to be able to
Dpostinstall_dexopt.te53 # Allow otapreopt to use file descriptors from otapreopt_chroot.
54 # TODO: Probably we can actually close file descriptors...
/system/sepolicy/prebuilts/api/28.0/public/
Ddex2oat.te24 # Read already open asec_apk_file file descriptors passed by installd.
42 # Allow dex2oat to use file descriptors from otapreopt.
58 # pass file descriptors for the preopted boot image to dex2oat. So dex2oat needs to be able to
Dpostinstall_dexopt.te55 # Allow otapreopt to use file descriptors from otapreopt_chroot.
56 # TODO: Probably we can actually close file descriptors...
/system/bt/bta/gatt/
Ddatabase.cc73 for (const Descriptor& d : c.descriptors) { in ToString()
112 for (const Descriptor& desc : charac.descriptors) { in Serialize()
178 current_service_it->characteristics.back().descriptors.emplace_back( in Deserialize()
/system/sepolicy/prebuilts/api/28.0/private/
Dsecure_element.te11 # already open bugreport file descriptors may be shared with
/system/bt/bta/test/gatt/
Ddatabase_builder_test.cc95 EXPECT_EQ(service->characteristics[0].descriptors[0].uuid, in TEST()
97 EXPECT_EQ(service->characteristics[0].descriptors[0].handle, 0x0004); in TEST()
Ddatabase_builder_sample_device_test.cc241 EXPECT_EQ(service->characteristics[0].descriptors[0].uuid, in TEST()
252 EXPECT_EQ(service->characteristics[5].descriptors[0].uuid, in TEST()
268 EXPECT_EQ(service->characteristics[0].descriptors[0].uuid, in TEST()
/system/apex/apexd/
Dapex_file.cpp358 const AvbDescriptor** descriptors; in findDescriptor() local
361 descriptors = in findDescriptor()
366 auto guard = android::base::ScopeGuard(std::bind(avb_free, descriptors)); in findDescriptor()
370 if (!avb_descriptor_validate_and_byteswap(descriptors[i], &desc)) { in findDescriptor()
381 (const AvbHashtreeDescriptor*)descriptors[i]); in findDescriptor()

1234