/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
|
D | writer.cpp | 33 for (const auto& desc : input.descriptors) { in SerializeVBMetaTable()
|
/system/core/libprocessgroup/setup/ |
D | cgroup_map_write.cpp | 150 static void MergeCgroupToDescriptors(std::map<std::string, CgroupDescriptor>* descriptors, in MergeCgroupToDescriptors() argument 180 auto iter = descriptors->find(name); in MergeCgroupToDescriptors() 181 if (iter == descriptors->end()) { in MergeCgroupToDescriptors() 182 descriptors->emplace(name, descriptor); in MergeCgroupToDescriptors() 191 std::map<std::string, CgroupDescriptor>* descriptors) { in ReadDescriptorsFromFile() argument 216 MergeCgroupToDescriptors(descriptors, cgroups[i], name, "", 1); in ReadDescriptorsFromFile() 225 MergeCgroupToDescriptors(descriptors, cgroups2, CGROUPV2_HIERARCHY_NAME, "", 2); in ReadDescriptorsFromFile() 233 MergeCgroupToDescriptors(descriptors, childGroups[i], name, root_path, 2); in ReadDescriptorsFromFile() 244 MergeCgroupToDescriptors(descriptors, memcgv2, "memory", in ReadDescriptorsFromFile() 251 static bool ReadDescriptors(std::map<std::string, CgroupDescriptor>* descriptors) { in ReadDescriptors() argument [all …]
|
/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/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 | fs_avb_util.cpp | 85 std::unique_ptr<const AvbDescriptor*[], decltype(&avb_free)> descriptors( in GetHashDescriptor() local 88 if (!descriptors || num_descriptors < 1) { in GetHashDescriptor() 94 if (!avb_descriptor_validate_and_byteswap(descriptors[n], &desc)) { in GetHashDescriptor() 99 desc_partition_name = (const uint8_t*)descriptors[n] + sizeof(AvbHashDescriptor); in GetHashDescriptor() 100 if (!avb_hash_descriptor_validate_and_byteswap((AvbHashDescriptor*)descriptors[n], in GetHashDescriptor()
|
D | avb_util.cpp | 127 std::unique_ptr<const AvbDescriptor* [], decltype(&avb_free)> descriptors( in GetHashtreeDescriptor() local 130 if (!descriptors || num_descriptors < 1) { in GetHashtreeDescriptor() 136 if (!avb_descriptor_validate_and_byteswap(descriptors[n], &desc)) { in GetHashtreeDescriptor() 142 (const uint8_t*)descriptors[n] + sizeof(AvbHashtreeDescriptor); in GetHashtreeDescriptor() 144 (AvbHashtreeDescriptor*)descriptors[n], hashtree_desc.get())) { in GetHashtreeDescriptor() 442 std::unique_ptr<const AvbDescriptor* [], decltype(&avb_free)> descriptors( in GetChainPartitionInfo() local 445 if (!descriptors || num_descriptors < 1) { in GetChainPartitionInfo() 451 if (!avb_descriptor_validate_and_byteswap(descriptors[i], &desc)) { in GetChainPartitionInfo() 459 (AvbChainPartitionDescriptor*)descriptors[i], &chain_desc)) { in GetChainPartitionInfo() 466 ((const char*)descriptors[i]) + sizeof(AvbChainPartitionDescriptor); in GetChainPartitionInfo()
|
/system/sepolicy/private/ |
D | dex2oat.te | 27 # Read already open asec_apk_file file descriptors passed by installd. 47 # Allow dex2oat to write to file descriptors from odrefresh for files 63 # Allow dex2oat to use file descriptors passed from privileged programs. 73 # Allow dex2oat to use file descriptors from otapreopt. 98 # pass file descriptors for the preopted boot image to dex2oat. So dex2oat needs to be able to 109 # Allow dex2oat to use file descriptors from preinstall.
|
D | secure_element.te | 11 # already open bugreport file descriptors may be shared with
|
D | nfc.te | 32 # already open bugreport file descriptors may be shared with
|
D | migrate_legacy_obb_data.te | 22 # any open file descriptors to this domain, so anything that triggers this
|
D | postinstall_dexopt.te | 84 # Allow otapreopt to use file descriptors from otapreopt_chroot. 85 # TODO: Probably we can actually close file descriptors...
|
D | isolated_app.te | 19 # b/32896414: Allow accessing sdcard file descriptors passed to isolated_apps
|
D | traced.te | 28 # Allow traceur to pass open file descriptors to traced, so traced can directly 90 # Disallows access to /data files, still allowing to write to file descriptors
|
D | rs.te | 32 # File descriptors passed from app to renderscript
|
D | profman.te | 11 # Allow profman to use file descriptors passed from privileged programs.
|
D | crosvm.te | 22 # Let crosvm receive file descriptors from VirtualizationService. 32 # Note that the open permission is not given as the files are passed as file descriptors. 136 # Allow crosvm to deal with file descriptors of TAP interfaces.
|
/system/apex/apexd/ |
D | apex_file.cpp | 302 const AvbDescriptor** descriptors; in FindDescriptor() local 305 descriptors = in FindDescriptor() 310 auto guard = android::base::ScopeGuard(std::bind(avb_free, descriptors)); in FindDescriptor() 314 if (!avb_descriptor_validate_and_byteswap(descriptors[i], &desc)) { in FindDescriptor() 325 if ((uint8_t*)descriptors[i] + sizeof(AvbHashtreeDescriptor) > vbmeta_end) { in FindDescriptor() 328 return (const AvbHashtreeDescriptor*)descriptors[i]; in FindDescriptor()
|
/system/libhidl/transport/base/1.0/ |
D | IBase.hal | 49 * @return descriptors a vector of descriptors of the run-time type of the 52 interfaceChain() generates (vec<string> descriptors);
|
/system/core/init/ |
D | service.cpp | 529 void Service::RunService(const std::vector<Descriptor>& descriptors, in RunService() argument 542 for (const auto& descriptor : descriptors) { in RunService() 660 std::vector<Descriptor> descriptors; in Start() local 663 descriptors.emplace_back(std::move(*result)); in Start() 671 descriptors.emplace_back(std::move(*result)); in Start() 688 RunService(descriptors, std::move(cgroups_activated), std::move(setsid_finished)); in Start()
|
/system/sepolicy/microdroid/system/private/ |
D | crash_dump.te | 7 # Use inherited file descriptors
|