/system/apex/apexd/ |
D | apexd_private.cpp | 36 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 …]
|
D | apexd_loop.cpp | 129 Result<LoopbackDeviceUniqueFd> createLoopDevice(const std::string& target, in createLoopDevice() argument 153 unique_fd target_fd(open(target.c_str(), O_RDONLY | O_CLOEXEC | O_DIRECT)); in createLoopDevice() 158 if (statfs(target.c_str(), &stbuf) != 0 || in createLoopDevice() 160 return Error(saved_errno) << "Failed to open " << target; in createLoopDevice() 162 LOG(WARNING) << "Fallback to buffered I/O for " << target; in createLoopDevice() 163 target_fd.reset(open(target.c_str(), O_RDONLY | O_CLOEXEC)); in createLoopDevice() 165 return ErrnoError() << "Failed to open " << target; in createLoopDevice()
|
/system/sepolicy/tools/ |
D | build_policies.sh | 36 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/ |
D | dm_table.cpp | 25 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/ |
D | read_dex_file_test.cpp | 31 DexFileSymbol target; in TEST() local 32 target.offset = 0x6c77e; in TEST() 33 target.len = 0x16; in TEST() 34 target.name = art_api::dex::DexString( in TEST() 36 ASSERT_NE(std::find(symbols.begin(), symbols.end(), target), symbols.end()); in TEST()
|
D | Android.bp | 86 target: { 129 target: { 151 target: { 192 target: { 225 target: { 264 target: { 311 target: { 330 target: { 375 target: { 454 target: { [all …]
|
/system/extras/simpleperf/scripts/ |
D | update.py | 29 def __init__(self, target, name, install_path, need_strip=False): argument 30 self.target = target 102 def fetch_artifact(branch, build, target, name): argument 104 if target.startswith('local:'): 105 shutil.copyfile(target[6:], name) 108 target, branch, name) 110 cmd = [fetch_artifact_path, '--branch', branch, '--target', target, 153 target = entry.target 158 fetch_artifact(branch, build, target, name)
|
/system/media/ |
D | CleanSpec.mk | 48 $(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/media/audio_utils/tests/ |
D | Android.bp | 58 target: { 78 target: { 154 target: { 178 target: { 202 target: { 226 target: { 249 target: { 283 target: { 345 target: { 368 target: {
|
/system/core/debuggerd/libdebuggerd/ |
D | backtrace.cpp | 81 auto target = thread_info.find(target_thread); in dump_backtrace() local 82 if (target == thread_info.end()) { in dump_backtrace() 87 dump_process_header(&log, target->second.pid, target->second.process_name.c_str()); in dump_backtrace() 89 dump_backtrace_thread(output_fd.get(), unwinder, target->second); in dump_backtrace() 96 dump_process_footer(&log, target->second.pid); in dump_backtrace()
|
/system/media/camera/docs/ |
D | metadata_helpers.py | 830 def javadoc_link_filter(target, target_ndk, shortname): argument 831 return '{@link %s %s}' % (target, shortname) 917 def ndkdoc_link_filter(target, target_ndk, shortname): argument 923 lastdot = target.rfind('.') 925 shortname = target 927 shortname = target[lastdot + 1:] 929 target = target.replace('.','/') 930 if target.find('#') != -1: 931 target = target.replace('#','.html#') 933 target = target + '.html' [all …]
|
/system/vold/ |
D | secdiscard.cpp | 61 for (auto const& target : options.targets) { in main() local 79 TEMP_FAILURE_RETRY(open(target.c_str(), O_WRONLY | O_CLOEXEC, 0))); in main() 81 LOG(ERROR) << "Secure discard open failed for: " << target; in main() 87 LOG(DEBUG) << "Securely discarding '" << target << "' unlink=" << options.unlink; in main() 88 if (!secdiscard_path(target)) { in main() 89 LOG(ERROR) << "Secure discard failed for: " << target; in main() 92 if (unlink(target.c_str()) != 0 && errno != ENOENT) { in main() 93 PLOG(ERROR) << "Unable to unlink: " << target; in main()
|
/system/netd/server/ |
D | IptablesBaseTest.cpp | 74 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()
|
D | NetdConstants.cpp | 37 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()
|
D | NetdConstants.h | 32 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/vold/fs/ |
D | Ext4.h | 30 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);
|
D | Ext4.cpp | 63 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/btcore/ |
D | Android.bp | 1 // libbtcore static library for target and host 20 target: { 27 // Note: It's good to get the tests compiled both for the host and the target so 29 // libbtcore unit tests for target and host
|
/system/tools/hidl/hidl2aidl/ |
D | main.cpp | 112 static AST* parse(const Coordinator& coordinator, const FQName& target) { in parse() argument 113 AST* ast = coordinator.parse(target); in parse() 115 std::cerr << "ERROR: Could not parse " << target.name() << ". Aborting." << std::endl; in parse() 121 << "Unhandled comments from " << target.string() in parse() 249 for (const FQName& target : targets) { in main() local 250 if (target.name() != "types") continue; in main() 252 AST* ast = parse(coordinator, target); in main() 272 for (const FQName& target : targets) { in main() local 273 if (target.name() == "types") continue; in main() 275 AST* ast = parse(coordinator, target); in main()
|
/system/update_engine/payload_generator/ |
D | delta_diff_generator.cc | 121 config.target.partitions.size()); in GenerateUpdatePayloadFile() 125 all_aops.resize(config.target.partitions.size()); in GenerateUpdatePayloadFile() 128 config.target.partitions.size()); in GenerateUpdatePayloadFile() 131 for (size_t i = 0; i < config.target.partitions.size(); i++) { in GenerateUpdatePayloadFile() 134 const PartitionConfig& new_part = config.target.partitions[i]; in GenerateUpdatePayloadFile() 164 for (size_t i = 0; i < config.target.partitions.size(); i++) { in GenerateUpdatePayloadFile() 167 const PartitionConfig& new_part = config.target.partitions[i]; in GenerateUpdatePayloadFile()
|
/system/core/fs_mgr/tools/ |
D | dmctl.cpp | 218 std::unique_ptr<DmTarget> target = parser.Next(); in parse_table_args() local 219 if (!target || !table->AddTarget(std::move(target))) { in parse_table_args() 303 for (const auto& target : targets) { in DmListTargets() local 304 std::cout << std::left << std::setw(20) << target.name() << " : " << target.version() in DmListTargets() 336 for (const auto& target : table) { in DmListDevices() local 338 std::cout << target.spec.sector_start << "-" in DmListDevices() 339 << (target.spec.sector_start + target.spec.length) << ": " in DmListDevices() 340 << target.spec.target_type; in DmListDevices() 341 if (!target.data.empty()) { in DmListDevices() 342 std::cout << ", " << target.data; in DmListDevices() [all …]
|
/system/extras/simpleperf/runtest/ |
D | runtest.py | 294 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/bt/service/ |
D | Android.bp | 59 // Main unit test sources. These get built for host and target. 78 // Native system service for target 104 // Native system service unit tests for target and host 133 target: { 135 // on target. 165 // Native system service CLI for target 180 // Heart Rate GATT service example for target
|
/system/update_engine/ |
D | dynamic_partition_control_android_unittest.cc | 100 uint32_t target() { return slots_.target; } in target() function in chromeos_update_engine::DynamicPartitionControlAndroidTest 109 return name + kSlotSuffixes[target()]; in T() 136 StoreMetadata(GetSuperDevice(target()), in ExpectStoreMetadata() 138 target())) in ExpectStoreMetadata() 157 target(), in PreparePartitionsForUpdate() 194 super_metadata.get(), target(), update_manifest)) { in UpdatePartitionMetadata() 357 source(), target(), {}, true, nullptr)); in TEST_P() 371 "system", target(), source(), &system_device)); in TEST_P() 383 "bar", target(), source(), &bar_device)); in TEST_P() 401 SetMetadata(target(), in TEST_P() [all …]
|
/system/libhwbinder/vts/performance/ |
D | Latency.cpp | 108 int target; ///< the terget service number member 113 int target = priv->target; in threadStart() local 119 sp<IScheduleTest> service = services[target]; in threadStart() 131 static void threadTransaction(int target, PResults* presults) { in threadTransaction() argument 137 thread_arg.target = target; in threadTransaction() 205 int target = num; in clientFx() local 208 threadTransaction(target, &presults); in clientFx() 212 sp<IScheduleTest> service = services[target]; in clientFx()
|