/system/core/fs_mgr/libdm/ |
D | dm_linear_fuzzer.cpp | 118 vector<DeviceMapper::TargetInfo> targets; in LLVMFuzzerTestOneInput() local 119 ASSERT_TRUE(dm.GetTableStatus(dev.name(), &targets)); in LLVMFuzzerTestOneInput() 120 ASSERT_EQ(targets.size(), 2); in LLVMFuzzerTestOneInput() 121 EXPECT_EQ(strcmp(targets[0].spec.target_type, "linear"), 0); in LLVMFuzzerTestOneInput() 122 EXPECT_TRUE(targets[0].data.empty()); in LLVMFuzzerTestOneInput() 123 EXPECT_EQ(targets[0].spec.sector_start, 0); in LLVMFuzzerTestOneInput() 124 EXPECT_EQ(targets[0].spec.length, 1); in LLVMFuzzerTestOneInput() 125 EXPECT_EQ(strcmp(targets[1].spec.target_type, "linear"), 0); in LLVMFuzzerTestOneInput() 126 EXPECT_TRUE(targets[1].data.empty()); in LLVMFuzzerTestOneInput() 127 EXPECT_EQ(targets[1].spec.sector_start, 1); in LLVMFuzzerTestOneInput() [all …]
|
D | dm_test.cpp | 106 vector<DeviceMapper::TargetInfo> targets; in TEST() local 107 ASSERT_TRUE(dm.GetTableStatus(dev.name(), &targets)); in TEST() 108 ASSERT_EQ(targets.size(), 2); in TEST() 109 EXPECT_EQ(strcmp(targets[0].spec.target_type, "linear"), 0); in TEST() 110 EXPECT_TRUE(targets[0].data.empty()); in TEST() 111 EXPECT_EQ(targets[0].spec.sector_start, 0); in TEST() 112 EXPECT_EQ(targets[0].spec.length, 1); in TEST() 113 EXPECT_EQ(strcmp(targets[1].spec.target_type, "linear"), 0); in TEST() 114 EXPECT_TRUE(targets[1].data.empty()); in TEST() 115 EXPECT_EQ(targets[1].spec.sector_start, 1); in TEST() [all …]
|
D | dm.cpp | 276 bool DeviceMapper::GetAvailableTargets(std::vector<DmTargetTypeInfo>* targets) { in GetAvailableTargets() argument 277 targets->clear(); in GetAvailableTargets() 325 targets->emplace_back(vers); in GetAvailableTargets() 339 std::vector<DmTargetTypeInfo> targets; in GetTargetByName() local 340 if (!GetAvailableTargets(&targets)) { in GetTargetByName() 343 for (const auto& target : targets) { in GetTargetByName()
|
/system/sepolicy/tools/ |
D | build_policies.sh | 39 targets="" 45 if [[ -z $targets ]]; then 46 targets=$target 48 targets="$targets $target" 56 num_targets=$(echo "$targets" | sed 's/ /\n/g' | wc -l) 64 echo "$num_targets target(s): $(echo $targets | paste -sd' ')" 87 parallel --no-notice -j $parallel_jobs --bar --joblog $out_dir/joblog compile_target ::: $targets
|
D | README | 7 A tool to build SELinux policy for multiple targets in parallel. 9 on multiple targets.
|
/system/tools/hidl/hidl2aidl/ |
D | main.cpp | 204 std::vector<FQName> targets; in main() local 210 targets.insert(targets.end(), newTargets.begin(), newTargets.end()); in main() 218 std::remove_if(targets.begin(), targets.end(), [&](const FQName& fqName) -> bool { in main() 221 return getLatestMinorVersionFQNameFromList(fqName, targets) != fqName; in main() 223 targets.erase(newEnd, targets.end()); in main() 228 if (std::find(targets.begin(), targets.end(), fqName) == targets.end()) { in main() 234 targets.clear(); in main() 235 targets.push_back(fqName); in main() 249 for (const FQName& target : targets) { in main() 272 for (const FQName& target : targets) { in main()
|
/system/tools/hidl/lint/ |
D | main.cpp | 117 std::vector<FQName> targets; in main() local 119 targets.push_back(fqName); in main() 121 status_t err = coordinator.appendPackageInterfacesToVector(fqName, &targets); in main() 129 for (const FQName& target : targets) { in main()
|
/system/tools/hidl/lint/test/ |
D | main.cpp | 44 std::vector<FQName> targets; in getLintsForHal() local 52 targets.push_back(fqName); in getLintsForHal() 54 status_t err = coordinator.appendPackageInterfacesToVector(fqName, &targets); in getLintsForHal() 60 for (const FQName& fqName : targets) { in getLintsForHal()
|
/system/vold/ |
D | secdiscard.cpp | 39 std::vector<std::string> targets; member 61 for (auto const& target : options.targets) { in main() 111 options.targets.emplace_back(argv[j]); in read_command_line() 113 return options.targets.size() > 0; in read_command_line()
|
/system/memory/lmkd/include/ |
D | lmkd.h | 80 static inline size_t lmkd_pack_set_target(LMKD_CTRL_PACKET packet, struct lmk_target* targets, in lmkd_pack_set_target() argument 85 packet[idx++] = htonl(targets->minfree); in lmkd_pack_set_target() 86 packet[idx++] = htonl(targets->oom_adj_score); in lmkd_pack_set_target() 87 targets++; in lmkd_pack_set_target()
|
/system/core/adb/tools/ |
D | Android.bp | 32 targets: [ 55 targets: [
|
/system/core/cpio/ |
D | Android.bp | 9 targets: ["dist_files"],
|
/system/libufdt/tests/src/ |
D | Android.bp | 45 targets: ["dist_files"], 66 targets: ["dist_files"],
|
/system/tools/hidl/ |
D | main.cpp | 145 std::vector<FQName>* targets) const; 177 std::vector<FQName>* targets) const { in appendTargets() 180 targets->push_back(fqName.getPackageAndVersion()); in appendTargets() 184 targets->push_back(fqName); in appendTargets() 187 status_t err = coordinator->appendPackageInterfacesToVector(fqName, targets); in appendTargets() 192 status_t err = appendPerTypeTargets(fqName, coordinator, targets); in appendTargets() 201 err = appendPerTypeTargets(packageInterface, coordinator, targets); in appendTargets() 213 std::vector<FQName> targets; in generate() local 214 status_t err = appendTargets(fqName, coordinator, &targets); in generate() 217 for (const FQName& fqName : targets) { in generate() [all …]
|
/system/core/fs_mgr/libsnapshot/ |
D | power_test.cpp | 362 std::vector<DeviceMapper::TargetInfo> targets; in GetMergeStatus() local 363 if (!dm_.GetTableStatus(kSnapshotName, &targets)) { in GetMergeStatus() 367 if (targets.size() != 1) { in GetMergeStatus() 371 if (!DmTargetSnapshot::ParseStatusText(targets[0].data, status)) { in GetMergeStatus()
|
D | snapshot.cpp | 749 std::vector<DeviceMapper::TargetInfo> targets; in GetSingleTarget() local 752 result = dm.GetTableStatus(dm_name, &targets); in GetSingleTarget() 754 result = dm.GetTableInfo(dm_name, &targets); in GetSingleTarget() 760 if (targets.size() != 1) { in GetSingleTarget() 764 *target = std::move(targets[0]); in GetSingleTarget() 2681 std::vector<DeviceMapper::TargetInfo> targets; in EnsureNoOverflowSnapshot() local 2682 if (!dm.GetTableStatus(snapshot, &targets)) { in EnsureNoOverflowSnapshot() 2686 if (targets.size() != 1) { in EnsureNoOverflowSnapshot() 2688 << ", size = " << targets.size(); in EnsureNoOverflowSnapshot() 2691 if (targets[0].IsOverflowSnapshot()) { in EnsureNoOverflowSnapshot()
|
/system/libufdt/utils/src/ |
D | Android.bp | 42 targets: ["dist_files"],
|
/system/core/fs_mgr/tools/ |
D | dmctl.cpp | 291 std::vector<DmTargetTypeInfo> targets; in DmListTargets() local 292 if (!dm.GetAvailableTargets(&targets)) { in DmListTargets() 298 if (targets.empty()) { in DmListTargets() 303 for (const auto& target : targets) { in DmListTargets()
|
/system/timezone/distro/core/ |
D | Android.bp | 19 // for platform code as it avoids circular dependencies when stubs targets
|
/system/apex/shim/build/ |
D | Android.bp | 322 targets: ["com.android.apex.cts.shim.v2_signed_bob"], 340 targets: ["com.android.apex.cts.shim.v2_signed_bob_rot"], 358 targets: ["com.android.apex.cts.shim.v2_signed_bob_rot_rollback"], 375 targets: ["com.android.apex.cts.shim.v3_signed_bob"], 393 targets: ["com.android.apex.cts.shim.v3_signed_bob_rot"], 421 // Apex shim that targets an old sdk (P)
|
/system/core/fs_mgr/libdm/include/libdm/ |
D | dm.h | 152 bool GetAvailableTargets(std::vector<DmTargetTypeInfo>* targets);
|
/system/extras/simpleperf/ |
D | Android.bp | 359 targets: ["simpleperf"], 475 targets: ["simpleperf"],
|
/system/bt/ |
D | README.md | 79 This will build all targets (the shared library, executables, tests, etc) and
|
/system/libziparchive/ |
D | Android.bp | 33 // Enable -Wold-style-cast only for non-Windows targets. _islower_l,
|
/system/core/fastboot/ |
D | Android.bp | 276 targets: [
|