/system/core/fs_mgr/libvbmeta/ |
D | builder_test.cpp | 57 EXPECT_EQ(table->descriptors.size(), 3); in TEST() 59 EXPECT_EQ(table->descriptors[0].vbmeta_index, 0); in TEST() 60 EXPECT_EQ(table->descriptors[0].vbmeta_name_length, 6); in TEST() 61 for (int i = 0; i < sizeof(table->descriptors[0].reserved); i++) in TEST() 62 EXPECT_EQ(table->descriptors[0].reserved[i], 0); in TEST() 63 EXPECT_EQ(table->descriptors[0].vbmeta_name, "vbmeta"); in TEST() 65 EXPECT_EQ(table->descriptors[1].vbmeta_index, 2); in TEST() 66 EXPECT_EQ(table->descriptors[1].vbmeta_name_length, 13); in TEST() 67 for (int i = 0; i < sizeof(table->descriptors[1].reserved); i++) in TEST() 68 EXPECT_EQ(table->descriptors[1].reserved[i], 0); in TEST() [all …]
|
D | super_vbmeta_test.cpp | 164 EXPECT_EQ(table.descriptors.size(), 3); in TEST() 166 EXPECT_EQ(table.descriptors[0].vbmeta_index, 0); in TEST() 167 EXPECT_EQ(table.descriptors[0].vbmeta_name_length, 14); in TEST() 168 EXPECT_EQ(table.descriptors[0].vbmeta_name, "vbmeta_product"); in TEST() 173 EXPECT_EQ(table.descriptors[1].vbmeta_index, 1); in TEST() 174 EXPECT_EQ(table.descriptors[1].vbmeta_name_length, 13); in TEST() 175 EXPECT_EQ(table.descriptors[1].vbmeta_name, "vbmeta_system"); in TEST() 180 EXPECT_EQ(table.descriptors[2].vbmeta_index, 2); in TEST() 181 EXPECT_EQ(table.descriptors[2].vbmeta_name_length, 13); in TEST() 182 EXPECT_EQ(table.descriptors[2].vbmeta_name, "vbmeta_vendor"); in TEST()
|
D | builder.cpp | 93 table_.descriptors.begin(), table_.descriptors.end(), in AddVBMetaImage() 97 if (desc != table_.descriptors.end()) { in AddVBMetaImage() 112 table_.descriptors.emplace_back(std::move(new_desc)); in AddVBMetaImage() 123 table_.descriptors.begin(), table_.descriptors.end(), in DeleteVBMetaImage() 126 if (desc != table_.descriptors.end()) { in DeleteVBMetaImage() 131 table_.descriptors.erase(desc); in DeleteVBMetaImage() 138 for (const auto& desc : table_.descriptors) { in ExportVBMetaTable()
|
D | reader.cpp | 45 std::vector<InternalVBMetaDescriptor>* descriptors) { in LoadVBMetaDescriptors() argument 54 descriptors->emplace_back(std::move(descriptor)); in LoadVBMetaDescriptors() 81 &table->descriptors); in ReadVBMetaTable()
|
D | super_vbmeta_format.h | 33 std::vector<InternalVBMetaDescriptor> descriptors; member
|
/system/nvram/messages/ |
D | message_codec.cpp | 23 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/bt/service/common/android/bluetooth/ |
D | bluetooth_gatt_characteristic.cc | 44 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/core/libprocessgroup/setup/ |
D | cgroup_map_write.cpp | 147 static void MergeCgroupToDescriptors(std::map<std::string, CgroupDescriptor>* descriptors, in MergeCgroupToDescriptors() argument 172 auto iter = descriptors->find(name); in MergeCgroupToDescriptors() 173 if (iter == descriptors->end()) { in MergeCgroupToDescriptors() 174 descriptors->emplace(name, descriptor); in MergeCgroupToDescriptors() 181 std::map<std::string, CgroupDescriptor>* descriptors) { in ReadDescriptorsFromFile() argument 203 MergeCgroupToDescriptors(descriptors, cgroups[i], name, "", 1); in ReadDescriptorsFromFile() 210 MergeCgroupToDescriptors(descriptors, cgroups2, CGROUPV2_CONTROLLER_NAME, "", 2); in ReadDescriptorsFromFile() 215 MergeCgroupToDescriptors(descriptors, childGroups[i], name, root_path, 2); in ReadDescriptorsFromFile() 222 static bool ReadDescriptors(std::map<std::string, CgroupDescriptor>* descriptors) { in ReadDescriptors() argument 224 if (!ReadDescriptorsFromFile(CGROUPS_DESC_FILE, descriptors)) { in ReadDescriptors() [all …]
|
/system/bt/service/common/bluetooth/ |
D | characteristic.h | 31 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/ |
D | message_codec.h | 67 const FieldDescriptor* descriptors, 74 const FieldDescriptor* descriptors, 107 const FieldDescriptor* descriptors, 113 const FieldDescriptor* descriptors,
|
/system/core/fs_mgr/libfs_avb/ |
D | avb_util.cpp | 137 std::unique_ptr<const AvbDescriptor*[], decltype(&avb_free)> descriptors( in GetHashDescriptor() local 140 if (!descriptors || num_descriptors < 1) { in GetHashDescriptor() 146 if (!avb_descriptor_validate_and_byteswap(descriptors[n], &desc)) { in GetHashDescriptor() 151 desc_partition_name = (const uint8_t*)descriptors[n] + sizeof(AvbHashDescriptor); in GetHashDescriptor() 152 if (!avb_hash_descriptor_validate_and_byteswap((AvbHashDescriptor*)descriptors[n], in GetHashDescriptor() 195 std::unique_ptr<const AvbDescriptor* [], decltype(&avb_free)> descriptors( in GetHashtreeDescriptor() local 198 if (!descriptors || num_descriptors < 1) { in GetHashtreeDescriptor() 204 if (!avb_descriptor_validate_and_byteswap(descriptors[n], &desc)) { in GetHashtreeDescriptor() 210 (const uint8_t*)descriptors[n] + sizeof(AvbHashtreeDescriptor); in GetHashtreeDescriptor() 212 (AvbHashtreeDescriptor*)descriptors[n], hashtree_desc.get())) { in GetHashtreeDescriptor() [all …]
|
/system/sepolicy/private/ |
D | dex2oat.te | 24 # Read already open asec_apk_file file descriptors passed by installd. 41 # Allow dex2oat to use file descriptors passed from odrefresh. 44 # Allow dex2oat to use devpts and file descriptors passed from odsign 48 # Allow dex2oat to write to file descriptors from odrefresh for files 68 # Allow dex2oat to use file descriptors from otapreopt. 93 # pass file descriptors for the preopted boot image to dex2oat. So dex2oat needs to be able to 104 # Allow dex2oat to use file descriptors from preinstall.
|
D | secure_element.te | 11 # already open bugreport file descriptors may be shared with
|
/system/sepolicy/prebuilts/api/31.0/private/ |
D | dex2oat.te | 24 # Read already open asec_apk_file file descriptors passed by installd. 41 # Allow dex2oat to use file descriptors passed from odrefresh. 44 # Allow dex2oat to use devpts and file descriptors passed from odsign 48 # Allow dex2oat to write to file descriptors from odrefresh for files 68 # Allow dex2oat to use file descriptors from otapreopt. 93 # pass file descriptors for the preopted boot image to dex2oat. So dex2oat needs to be able to 104 # Allow dex2oat to use file descriptors from preinstall.
|
/system/bt/bta/gatt/ |
D | database.cc | 81 for (const Descriptor& d : c.descriptors) { in ToString() 120 for (const Descriptor& desc : charac.descriptors) { in Serialize() 196 current_service_it->characteristics.back().descriptors.emplace_back( in Deserialize() 203 current_service_it->characteristics.back().descriptors.emplace_back( in Deserialize() 225 for (const Descriptor& d : c.descriptors) { in Hash() 284 for (const Descriptor& d : c.descriptors) { in Hash()
|
/system/sepolicy/prebuilts/api/30.0/private/ |
D | dex2oat.te | 24 # 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.
|
D | kernel.te | 5 # Allow the kernel to read otapreopt_chroot's file descriptors and files under
|
D | secure_element.te | 11 # already open bugreport file descriptors may be shared with
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | dex2oat.te | 24 # 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.
|
D | kernel.te | 5 # Allow the kernel to read otapreopt_chroot's file descriptors and files under
|
D | secure_element.te | 11 # already open bugreport file descriptors may be shared with
|
/system/apex/apexd/ |
D | apex_file.cpp | 310 const AvbDescriptor** descriptors; in FindDescriptor() local 313 descriptors = in FindDescriptor() 318 auto guard = android::base::ScopeGuard(std::bind(avb_free, descriptors)); in FindDescriptor() 322 if (!avb_descriptor_validate_and_byteswap(descriptors[i], &desc)) { in FindDescriptor() 333 if ((uint8_t*)descriptors[i] + sizeof(AvbHashtreeDescriptor) > vbmeta_end) { in FindDescriptor() 336 return (const AvbHashtreeDescriptor*)descriptors[i]; in FindDescriptor()
|
/system/sepolicy/prebuilts/api/27.0/public/ |
D | dex2oat.te | 24 # 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
|
/system/sepolicy/prebuilts/api/28.0/public/ |
D | dex2oat.te | 24 # 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
|
/system/sepolicy/prebuilts/api/26.0/public/ |
D | dex2oat.te | 24 # 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
|