/external/autotest/client/tools/ |
make_clean | 14 src_path = os.path.abspath(os.path.join('tests', dir, 'src')) 15 if not os.path.exists(src_path): 18 cmd = 'rm -rf ' + src_path 20 cmd = 'cd %s; make clean > /dev/null 2>&1 ' % src_path
|
/test/vts/utils/python/reporting/ |
report_file_utils.py | 62 src_path, 69 src_path: string, source report file path. 82 dir_path = os.path.dirname(src_path) 84 relative_path = os.path.basename(src_path) 105 def _PushReportFile(self, src_path, dest_path): 109 src_path: string, source path of report file 112 src_path = NotNoneStr(src_path) 121 shutil.copy(src_path, dest_path) 123 def SaveReport(self, src_path, new_file_name=None, file_name_prefix=None) [all...] |
/external/autotest/client/deps/camera_hal3/ |
camera_hal3.py | 14 src_path = os.path.join(os.environ['SYSROOT'], 'usr', 'bin') 17 utils.get_file(os.path.join(src_path, binary),
|
/external/skia/infra/bots/recipe_modules/upload_nano_results/ |
api.py | 18 src_path = self.m.path['start_dir'].join( 20 with self.m.step.context({'cwd': src_path}): 23 src_path.join('*.json'), 24 test_data=[src_path.join('nanobench_abc123.json')],
|
/external/autotest/client/cros/ |
network_chroot.py | 223 src_path = os.path.join('/', rootdir) 225 if not os.path.exists(src_path): 227 elif os.path.islink(src_path): 228 link_path = os.readlink(src_path) 232 mount_arg = '%s,%s' % (src_path, src_path) 238 src_path = os.path.join('/', config_file) 240 if os.path.exists(src_path): 241 shutil.copyfile(src_path, dst_path)
|
/external/owasp/sanitizer/tools/ |
cut_release.py | 100 def copy_directory_structure_template(src_path, container_path): 103 replace_fields(os.path.basename(src_path))) 104 if os.path.isdir(src_path): 106 for child in os.listdir(src_path): 110 os.path.join(src_path, child), dest_path) 112 shutil.copyfile(src_path, dest_path)
|
/development/testrunner/ |
create_test.py | 240 src_path = app_path + "/tests/src" 241 if not os.path.exists(src_path): 242 os.mkdir(src_path)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/power_monitor/ |
powermetrics_power_monitor.py | 96 # src_path - list containing the key path to get the data from in 98 def ConstructMetric(out_path, src_path): 100 'out_path', 'src_path', 'samples']) 101 return RunningAverage(out_path, src_path, []) 123 for k in metric.src_path: 203 logging.info('Field missing from powermetrics output: %s', m.src_path)
|
/system/core/adb/ |
file_sync_client.cpp | 957 for (const char* src_path : srcs) { 960 if (stat(src_path, &st) == -1) { 961 sc.Error("cannot stat '%s': %s", src_path, strerror(errno)); 981 dst_dir.append(android::base::Basename(src_path)); 984 success &= copy_local_dir_remote(sc, src_path, dst_dir.c_str(), false, false); 987 sc.Warning("skipping special file '%s' (mode = 0o%o)", src_path, st.st_mode); [all...] |
/external/libmojo/build/android/gyp/util/ |
build_utils.py | 255 def AddToZipHermetic(zip_file, zip_path, src_path=None, data=None, 262 src_path: Path of the source file. Mutually exclusive with |data|. 267 assert (src_path is None) != (data is None), ( 268 '|src_path| and |data| are mutually exclusive.') 273 if src_path and os.path.islink(src_path): 276 zip_file.writestr(zipinfo, os.readlink(src_path)) 279 if src_path: 280 with file(src_path) as f: 314 AddToZipHermetic(outfile, zip_path, src_path=fs_path [all...] |
/prebuilts/sdk/ |
update_current.py | 83 def mv(src_path, dst_path): 85 os.rename(src_path, dst_path) 204 src_path = zip_file.extract(zip_path) 206 mv(src_path, dst_path)
|
/external/autotest/utils/ |
compile_gwt_clients.py | 30 src_path = os.path.join(_DEFAULT_APP_DIR, 'src') 32 for project in os.listdir(src_path): 34 project_path = os.path.join(src_path, project)
|
/frameworks/base/tools/aapt2/cmd/ |
Link.cpp | 537 const StringPiece src_path = file->GetSource().path; local 539 (util::EndsWith(src_path, ".xml.flat") || util::EndsWith(src_path, ".xml"))) { [all...] |
/development/vndk/tools/definition-tool/ |
vndk_definition_tool.py | 905 def add_dep(self, src_path, dst_path, ty): 907 src = self.get_lib_in_elf_class(elf_class, src_path) 913 .format(src_path, dst_path), file=sys.stderr) [all...] |