Home
last modified time | relevance | path

Searched refs:targets (Results 1 – 25 of 63) sorted by relevance

123

/system/core/fs_mgr/libdm/
Ddm_linear_fuzzer.cpp118 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 …]
Ddm_test.cpp107 vector<DeviceMapper::TargetInfo> targets; in TEST() local
108 ASSERT_TRUE(dm.GetTableStatus(dev.name(), &targets)); in TEST()
109 ASSERT_EQ(targets.size(), 2); in TEST()
110 EXPECT_EQ(strcmp(targets[0].spec.target_type, "linear"), 0); in TEST()
111 EXPECT_TRUE(targets[0].data.empty()); in TEST()
112 EXPECT_EQ(targets[0].spec.sector_start, 0); in TEST()
113 EXPECT_EQ(targets[0].spec.length, 1); in TEST()
114 EXPECT_EQ(strcmp(targets[1].spec.target_type, "linear"), 0); in TEST()
115 EXPECT_TRUE(targets[1].data.empty()); in TEST()
116 EXPECT_EQ(targets[1].spec.sector_start, 1); in TEST()
[all …]
Ddm.cpp301 bool DeviceMapper::GetAvailableTargets(std::vector<DmTargetTypeInfo>* targets) { in GetAvailableTargets() argument
302 targets->clear(); in GetAvailableTargets()
350 targets->emplace_back(vers); in GetAvailableTargets()
364 std::vector<DmTargetTypeInfo> targets; in GetTargetByName() local
365 if (!GetAvailableTargets(&targets)) { in GetTargetByName()
368 for (const auto& target : targets) { in GetTargetByName()
/system/sepolicy/tools/
Dbuild_policies.sh39 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
DREADME7 A tool to build SELinux policy for multiple targets in parallel.
9 on multiple targets.
/system/tools/hidl/hidl2aidl/
Dmain.cpp187 static void emitHidlSharedLibs(Formatter& out, std::vector<FQName>& targets, AidlBackend backend) { in emitHidlSharedLibs() argument
189 for (const auto& target : targets) { in emitHidlSharedLibs()
216 static void emitBuildFile(Formatter& out, const FQName& fqName, std::vector<FQName>& targets, in emitBuildFile() argument
253 emitHidlSharedLibs(out, targets, backend); in emitBuildFile()
264 emitHidlSharedLibs(out, targets, AidlBackend::JAVA); in emitBuildFile()
374 std::vector<FQName> targets; in main() local
382 targets.insert(targets.end(), newTargets.begin(), newTargets.end()); in main()
388 std::remove_if(targets.begin(), targets.end(), [&](const FQName& fqName) -> bool { in main()
391 return getLatestMinorVersionFQNameFromList(fqName, targets) != fqName; in main()
393 targets.erase(newEnd, targets.end()); in main()
[all …]
/system/tools/hidl/lint/
Dmain.cpp117 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/
Dmain.cpp44 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/memory/lmkd/include/
Dlmkd.h82 static inline size_t lmkd_pack_set_target(LMKD_CTRL_PACKET packet, struct lmk_target* targets, in lmkd_pack_set_target() argument
87 packet[idx++] = htonl(targets->minfree); in lmkd_pack_set_target()
88 packet[idx++] = htonl(targets->oom_adj_score); in lmkd_pack_set_target()
89 targets++; in lmkd_pack_set_target()
/system/chre/doc/
Dframework_build.md25 all targets. This allows for efficient use of the job scheduler in the Make
27 of concerns between targets (this is not enforced by any Make language
29 to build multiple targets with one invocation of Make. However, the design goal
31 targets.
35 build details between targets. This is important because not all compiler or
46 targets. This includes compiling C/C++/assembly sources, linking, nanoapp header
51 with all the variables used to generate build targets, like `TARGET_CFLAGS`.
56 target when invoking `make`. Conventionally, build targets consist of three
112 * Including `build/build_template.mk` to instantiate the build targets - this
113 must be the last step, as the make targets cannot be modified once generated
[all …]
/system/vold/
Dsecdiscard.cpp39 std::vector<std::string> targets; member
82 for (auto const& target : options.targets) { in main()
152 options.targets.emplace_back(argv[j]); in read_command_line()
154 return options.targets.size() > 0; in read_command_line()
DVolumeManager.cpp681 int uid, const char* targets[], int size) { in umountStorageDirs() argument
692 if (TEMP_FAILURE_RETRY(umount2(targets[i], MNT_DETACH)) < 0 && errno != EINVAL && in umountStorageDirs()
695 targets[i], strerror(errno)); in umountStorageDirs()
719 int uid, const char* sources[], const char* targets[], int size) { in remountStorageDirs() argument
743 if (TEMP_FAILURE_RETRY(mkdir(targets[i], 0700)) == -1) { in remountStorageDirs()
745 targets[i], strerror(errno)); in remountStorageDirs()
748 if (TEMP_FAILURE_RETRY(mount(sources[i], targets[i], NULL, MS_BIND | MS_REC, NULL)) == -1) { in remountStorageDirs()
750 sources[i], targets[i], strerror(errno)); in remountStorageDirs()
789 std::unique_ptr<std::string[]> targets(new std::string[size]); in forkAndRemountStorage() local
798 targets[i] = getStorageDirTarget(userId, "Android/data", packageName); in forkAndRemountStorage()
[all …]
/system/core/mkbootfs/
DAndroid.bp17 targets: ["dist_files"],
/system/tools/hidl/
Dmain.cpp145 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/libufdt/tests/src/
DAndroid.bp54 targets: ["dist_files"],
75 targets: ["dist_files"],
/system/apex/tests/testdata/sharedlibs/build/com.android.apex.test.baz/
DAndroid.bp37 targets: ["sharedlibs_test"],
56 targets: ["sharedlibs_test"],
/system/apex/tests/testdata/sharedlibs/build/com.android.apex.test.bar/
DAndroid.bp37 targets: ["sharedlibs_test"],
75 targets: ["sharedlibs_test"],
/system/apex/tests/testdata/sharedlibs/build/com.android.apex.test.foo/
DAndroid.bp37 targets: ["sharedlibs_test"],
56 targets: ["sharedlibs_test"],
/system/apex/tests/testdata/sharedlibs/build/com.android.apex.test.pony/
DAndroid.bp37 targets: ["sharedlibs_test"],
56 targets: ["sharedlibs_test"],
/system/sepolicy/private/
Dderive_classpath.te14 # b/183079517 fails on gphone targets otherwise
/system/sepolicy/prebuilts/api/31.0/private/
Dderive_classpath.te14 # b/183079517 fails on gphone targets otherwise
/system/security/
DAndroid.bp13 // default license using the 'licenses: [...]' property on targets as needed.
/system/core/fs_mgr/libsnapshot/
Dpower_test.cpp362 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()
/system/extras/cpustats/
DAndroid.bp13 // default license using the 'licenses: [...]' property on targets as needed.
/system/logging/rust/
DAndroid.bp59 // The following tests are each run as separate targets because they all require a clean init state.

123