Home
last modified time | relevance | path

Searched refs:local_path (Results 1 – 11 of 11) sorted by relevance

/aosp12/packages/modules/adb/
H A Dbenchmark_device.py101 local_path = "/tmp/adb_benchmark_temp"
103 with open(local_path, "wb") as f:
109 device.push(local=local_path, remote=remote_path)
120 local_path = "/tmp/adb_benchmark_temp"
127 device.pull(remote=remote_path, local=local_path)
H A Dtest_device.py780 def _verify_local(self, checksum, local_path): argument
781 with open(local_path, 'rb') as host_file:
1196 local_path = os.path.join(host_dir, temp_file.base_name)
1197 self._verify_local(temp_file.checksum, local_path)
1200 local_path = os.path.join(host_dir,
1203 self._verify_local(subdir_temp_file.checksum, local_path)
/aosp12/system/update_engine/aosp/
H A Dhardware_android.cc239 base::FilePath local_path(constants::kNonVolatileDirectory); in GetNonVolatileDirectory() local
240 if (!base::DirectoryExists(local_path)) { in GetNonVolatileDirectory()
241 LOG(ERROR) << "Non-volatile directory not found: " << local_path.value(); in GetNonVolatileDirectory()
244 *path = local_path; in GetNonVolatileDirectory()
/aosp12/system/apex/apexd/
H A Dapex_shim.cpp134 auto local_path = path.string().substr(resolved_mount_point.length() + 1); in ValidateShimApex() local
146 auto ex = expected_files.find(local_path); in ValidateShimApex()
148 expected_files.erase(local_path); in ValidateShimApex()
/aosp12/system/core/fs_mgr/libsnapshot/
H A Dmake_cow_from_ab_ota.cpp419 auto local_path = "IMAGES/" + partition_name_ + ".img"; in OpenSourceImage() local
431 if (FindEntry(source_tf_zip_.get(), local_path, &entry)) { in OpenSourceImage()
432 LOG(ERROR) << "not found in archive: " << local_path; in OpenSourceImage()
436 LOG(ERROR) << "could not extract " << local_path; in OpenSourceImage()
444 unzip_fd.reset(openat(source_tf_fd_.get(), local_path.c_str(), O_RDONLY)); in OpenSourceImage()
446 PLOG(ERROR) << "open failed: " << FLAGS_source_tf << "/" << local_path; in OpenSourceImage()
/aosp12/frameworks/native/cmds/installd/
H A Dutils.cpp1126 std::string local_path = current_path + "/" + name; in collect_profiles() local
1132 if (stat(local_path.c_str(), &st) != 0) { in collect_profiles()
1133 PLOG(WARNING) << "Cannot stat local path " << local_path; in collect_profiles()
1137 profiles_paths->push_back(local_path); in collect_profiles()
1149 PLOG(WARNING) << "Could not open dir path " << local_path; in collect_profiles()
1156 PLOG(WARNING) << "Could not open dir path " << local_path; in collect_profiles()
1160 bool new_result = collect_profiles(subdir, local_path, profiles_paths); in collect_profiles()
1163 PLOG(WARNING) << "Could not close dir path " << local_path; in collect_profiles()
/aosp12/art/tools/
H A Dgenerate_operator_out.py186 local_path = sys.argv[1]
196 header_file = header_file.replace(local_path + '/', '')
/aosp12/frameworks/base/libs/hwui/tests/scripts/
H A Dskp-capture.sh39 local_path="${local_path_prefix}.${extension}"
/aosp12/system/extras/simpleperf/scripts/inferno/
H A Dinferno.py155 def get_local_asset_content(local_path): argument
161 with open(os.path.join(os.path.dirname(__file__), local_path), 'r') as f:
/aosp12/packages/modules/adb/client/
H A Dfile_sync_client.cpp68 static void ensure_trailing_separators(std::string& local_path, std::string& remote_path) { in ensure_trailing_separators() argument
69 if (!adb_is_separator(local_path.back())) { in ensure_trailing_separators()
70 local_path.push_back(OS_PATH_SEPARATOR); in ensure_trailing_separators()
93 copyinfo(const std::string& local_path, in copyinfo()
97 : lpath(local_path), rpath(remote_path), mode(mode) { in copyinfo()
/aosp12/frameworks/compile/libbcc/gdb_plugin/
H A Dandroid-commands.py298 def pull(self, remote_path, local_path): argument
299 self._call_adb(*["pull", remote_path, local_path])