Home
last modified time | relevance | path

Searched refs:target (Results 1 – 25 of 373) sorted by relevance

12345678910>>...15

/system/apex/apexd/
Dapexd_private.cpp36 Result<void> BindMount(const std::string& target, const std::string& source) { in BindMount() argument
37 LOG(VERBOSE) << "Creating bind-mount for " << target << " for " << source; in BindMount()
44 if (stat(target.c_str(), &buf) != 0) { in BindMount()
49 PLOG(ERROR) << "Could not stat target directory " << target; in BindMount()
62 LOG(WARNING) << target << " is not a directory, attempting to fix"; in BindMount()
63 if (unlink(target.c_str()) != 0) { in BindMount()
64 PLOG(ERROR) << "Failed to unlink " << target; in BindMount()
71 LOG(VERBOSE) << "Creating mountpoint " << target; in BindMount()
72 if (mkdir(target.c_str(), kMkdirMode) != 0) { in BindMount()
73 return ErrnoError() << "Could not create mountpoint " << target; in BindMount()
[all …]
Dapexd_loop.cpp161 Result<void> ConfigureLoopDevice(const int device_fd, const std::string& target, in ConfigureLoopDevice() argument
190 unique_fd target_fd(open(target.c_str(), O_RDONLY | O_CLOEXEC | O_DIRECT)); in ConfigureLoopDevice()
195 if (statfs(target.c_str(), &stbuf) != 0 || in ConfigureLoopDevice()
199 return Error(saved_errno) << "Failed to open " << target; in ConfigureLoopDevice()
201 LOG(WARNING) << "Fallback to buffered I/O for " << target; in ConfigureLoopDevice()
202 target_fd.reset(open(target.c_str(), O_RDONLY | O_CLOEXEC)); in ConfigureLoopDevice()
204 return ErrnoError() << "Failed to open " << target; in ConfigureLoopDevice()
304 Result<LoopbackDeviceUniqueFd> CreateLoopDevice(const std::string& target, in CreateLoopDevice() argument
326 loop_device->device_fd.get(), target, image_offset, image_size); in CreateLoopDevice()
/system/sepolicy/tools/
Dbuild_policies.sh36 for target in $all_targets; do
37 targets_map[$target]=$target
40 for target in $all_targets; do
41 clean_target=$(echo $target | sed 's/-eng/-userdebug/' | sed 's/aosp_//')
42 if [[ $clean_target != $target ]] && [[ ${targets_map[$clean_target]} == $clean_target ]]; then
43 echo "Ignoring $target in favor of $clean_target"
46 targets=$target
48 targets="$targets $target"
67 target=$1
69 lunch $target &> /dev/null
[all …]
/system/core/fs_mgr/libdm/
Ddm_table.cpp25 bool DmTable::AddTarget(std::unique_ptr<DmTarget>&& target) { in AddTarget() argument
26 if (!target->Valid()) { in AddTarget()
29 num_sectors_ += target->size(); in AddTarget()
30 targets_.push_back(std::move(target)); in AddTarget()
66 for (const auto& target : targets_) { in Serialize() local
67 table += target->Serialize(); in Serialize()
/system/extras/simpleperf/scripts/
Dupdate.py29 def __init__(self, target, name, install_path, need_strip=False): argument
30 self.target = target
92 def fetch_artifact(branch, build, target, name): argument
94 if target.startswith('local:'):
95 shutil.copyfile(target[6:], name)
98 target, branch, name)
100 cmd = [fetch_artifact_path, '--branch', branch, '--target', target,
143 target = entry.target
148 fetch_artifact(branch, build, target, name)
/system/update_engine/payload_generator/
Ddelta_diff_generator.cc61 config_.target.dynamic_partition_metadata->groups()) { in IsDynamicPartition()
104 config_.target.dynamic_partition_metadata && in Run()
105 config_.target.dynamic_partition_metadata->snapshot_enabled(); in Run()
110 if (!config_.target.dynamic_partition_metadata->vabc_enabled()) { in Run()
139 config_.target.dynamic_partition_metadata->vabc_compression_param()); in Run()
182 config.target.partitions.size()); in GenerateUpdatePayloadFile()
186 all_aops.resize(config.target.partitions.size()); in GenerateUpdatePayloadFile()
189 all_merge_sequences.resize(config.target.partitions.size()); in GenerateUpdatePayloadFile()
191 std::vector<size_t> all_cow_sizes(config.target.partitions.size(), 0); in GenerateUpdatePayloadFile()
195 config.target.partitions.size()); in GenerateUpdatePayloadFile()
[all …]
/system/bt/test/headless/
DREADME.md12 Build: Source, lunch and build as typical Android target for selected device and architecture.
14 . build/envsetup.sh && lunch <target>
17 Install: Push the binary to an executable area on target device.
18 adb push out/target/product/<device..arch>/bt_headless/bt_headless /data/data/.
23 Run: Script or directly execute the target file.
/system/media/
DCleanSpec.mk48 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/filterfw_intermediates)
49 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/filterpack_imageproc_inte…
50 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/filterpack_text_intermedi…
51 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/filterpack_ui_intermediat…
52 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/filterpack_videosrc_inter…
54 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/filterfw_intermediates)
/system/vold/
Dsecdiscard.cpp82 for (auto const& target : options.targets) { in main() local
97 TEMP_FAILURE_RETRY(open(target.c_str(), O_WRONLY | O_CLOEXEC, 0))); in main()
99 LOG(ERROR) << "Secure discard open failed for: " << target; in main()
105 LOG(DEBUG) << "Securely discarding '" << target << "' unlink=" << options.unlink; in main()
124 PLOG(WARNING) << "F2FS_IOC_SEC_TRIM_FILE failed on " << target; in main()
128 if (!secdiscard_path(target)) { in main()
129 LOG(ERROR) << "Secure discard failed for: " << target; in main()
133 if (unlink(target.c_str()) != 0 && errno != ENOENT) { in main()
134 PLOG(ERROR) << "Unable to unlink: " << target; in main()
/system/media/camera/docs/
Dmetadata_helpers.py835 def javadoc_link_filter(target, target_ndk, shortname): argument
836 return '{@link %s %s}' % (target, shortname)
922 def ndkdoc_link_filter(target, target_ndk, shortname): argument
928 lastdot = target.rfind('.')
930 shortname = target
932 shortname = target[lastdot + 1:]
934 target = target.replace('.','/')
935 if target.find('#') != -1:
936 target = target.replace('#','.html#')
938 target = target + '.html'
[all …]
/system/netd/server/
DIptablesBaseTest.cpp74 int IptablesBaseTest::fakeExecIptablesRestoreWithOutput(IptablesTarget target, in fakeExecIptablesRestoreWithOutput() argument
77 sRestoreCmds.push_back({ target, commands }); in fakeExecIptablesRestoreWithOutput()
87 int IptablesBaseTest::fakeExecIptablesRestore(IptablesTarget target, const std::string& commands) { in fakeExecIptablesRestore() argument
88 return fakeExecIptablesRestoreWithOutput(target, commands, nullptr); in fakeExecIptablesRestore()
91 int IptablesBaseTest::fakeExecIptablesRestoreCommand(IptablesTarget target, in fakeExecIptablesRestoreCommand() argument
96 return fakeExecIptablesRestoreWithOutput(target, fullCmd, output); in fakeExecIptablesRestoreCommand()
DNetdConstants.cpp37 int execIptablesRestoreWithOutput(IptablesTarget target, const std::string& commands, in execIptablesRestoreWithOutput() argument
39 return android::net::gCtls->iptablesRestoreCtrl.execute(target, commands, output); in execIptablesRestoreWithOutput()
42 int execIptablesRestore(IptablesTarget target, const std::string& commands) { in execIptablesRestore() argument
43 return execIptablesRestoreWithOutput(target, commands, nullptr); in execIptablesRestore()
46 int execIptablesRestoreCommand(IptablesTarget target, const std::string& table, in execIptablesRestoreCommand() argument
50 return execIptablesRestoreWithOutput(target, fullCmd, output); in execIptablesRestoreCommand()
DNetdConstants.h32 int execIptablesRestore(IptablesTarget target, const std::string& commands);
33 int execIptablesRestoreWithOutput(IptablesTarget target, const std::string& commands,
35 int execIptablesRestoreCommand(IptablesTarget target, const std::string& table,
/system/core/debuggerd/libdebuggerd/
Dbacktrace.cpp88 auto target = thread_info.find(target_thread); in dump_backtrace() local
89 if (target == thread_info.end()) { in dump_backtrace()
94 dump_process_header(&log, target->second.pid, target->second.command_line); in dump_backtrace()
96 dump_backtrace_thread(output_fd.get(), unwinder, target->second); in dump_backtrace()
103 dump_process_footer(&log, target->second.pid); in dump_backtrace()
/system/vold/fs/
DExt4.h30 status_t Check(const std::string& source, const std::string& target);
31 status_t Mount(const std::string& source, const std::string& target, bool ro, bool remount,
33 status_t Format(const std::string& source, unsigned long numSectors, const std::string& target);
DExt4.cpp63 status_t Check(const std::string& source, const std::string& target) { in Check() argument
68 const char* c_target = target.c_str(); in Check()
126 status_t Mount(const std::string& source, const std::string& target, bool ro, bool remount, in Mount() argument
132 const char* c_target = target.c_str(); in Mount()
161 status_t Format(const std::string& source, unsigned long numSectors, const std::string& target) { in Format() argument
172 cmd.push_back(target); in Format()
/system/bt/
Dbuild.py133 self.target = 'all'
134 if hasattr(self.args, 'target') and self.args.target:
135 self.target = self.args.target
194 def run_command(self, target, args, cwd=None, env=None): argument
203 log_file = os.path.join(self.output_dir, '{}.log'.format(target))
326 def _gn_build(self, target): argument
329 args = ['%s:%s' % ('bt', target)]
423 print('Building target ', self.target)
425 if self.target == 'prepare':
427 elif self.target == 'tools':
[all …]
/system/media/audio_utils/tests/
DAndroid.bp122 target: {
198 target: {
222 target: {
246 target: {
282 target: {
306 target: {
329 target: {
349 target: {
368 target: {
431 target: {
[all …]
/system/update_engine/scripts/
Dsimulate_ota.py58 def run_ota(source, target, payload_path, tempdir): argument
64 if zipfile.is_zipfile(target):
65 target = zipfile.ZipFile(target)
77 extract_img(target, name, new_image)
131 assert os.path.exists(args.target[0]), \
143 run_ota(args.source[0], args.target[0], payload_path, tempdir)
/system/core/fs_mgr/tools/
Ddmctl.cpp225 std::unique_ptr<DmTarget> target = parser.Next(); in parse_table_args() local
226 if (!target || !table->AddTarget(std::move(target))) { in parse_table_args()
311 for (const auto& target : targets) { in DmListTargets() local
312 std::cout << std::left << std::setw(20) << target.name() << " : " << target.version() in DmListTargets()
344 for (const auto& target : table) { in DmListDevices() local
346 std::cout << target.spec.sector_start << "-" in DmListDevices()
347 << (target.spec.sector_start + target.spec.length) << ": " in DmListDevices()
348 << target.spec.target_type; in DmListDevices()
349 if (!target.data.empty()) { in DmListDevices()
350 std::cout << ", " << target.data; in DmListDevices()
[all …]
/system/bt/btcore/
DAndroid.bp1 // libbtcore static library for target and host
29 target: {
36 // Note: It's good to get the tests compiled both for the host and the target so
38 // libbtcore unit tests for target and host
/system/update_engine/aosp/
Ddynamic_partition_control_android_unittest.cc104 uint32_t target() { return slots_.target; } in target() function in chromeos_update_engine::DynamicPartitionControlAndroidTest
113 return name + kSlotSuffixes[target()]; in T()
143 StoreMetadata(GetSuperDevice(target()), in ExpectStoreMetadata()
145 target())) in ExpectStoreMetadata()
164 target(), in PreparePartitionsForUpdate()
201 super_metadata.get(), target(), update_manifest)) { in UpdatePartitionMetadata()
226 dynamicControl().SetTargetSlot(target()); in SetUp()
366 source(), target(), {}, true, nullptr)); in TEST_P()
380 "system", target(), source(), &system_device)); in TEST_P()
392 "bar", target(), source(), &bar_device)); in TEST_P()
[all …]
/system/extras/simpleperf/runtest/
Druntest.py294 def __init__(self, target, perf_path): argument
295 self.target = target
296 self.is32 = target.endswith('32')
329 def __init__(self, target): argument
330 perf_path = 'simpleperf32' if target.endswith('32') else 'simpleperf'
331 super(HostRunner, self).__init__(target, perf_path)
346 def __init__(self, target): argument
348 perf_path = 'simpleperf32' if target.endswith('32') else 'simpleperf'
349 super(DeviceRunner, self).__init__(target, self.tmpdir + perf_path)
551 def build_runner(target, use_callgraph, sampler): argument
[all …]
/system/unwinding/libbacktrace/
DAndroid.bp29 target: {
58 target: {
83 target: {
131 target: {
161 target: {
184 target: {
225 target: {
/system/extras/simpleperf/
DAndroid.bp51 target: {
94 target: {
116 target: {
157 target: {
191 target: {
236 target: {
286 target: {
305 target: {
362 target: {
440 target: {
[all …]

12345678910>>...15