| /external/chromium-trace/catapult/common/py_utils/py_utils/ |
| cloud_storage.py | 385 """Downloads |download_path| to |file_path| if |file_path| doesn't exist or 403 def GetIfChanged(file_path, bucket): 404 """Gets the file at file_path if it has a hash file that doesn't match or 405 if there is no local copy of file_path, but there is a hash file for it. 414 with _FileLock(file_path): 415 hash_path = file_path + '.sha1' 416 fetch_ts_path = file_path + '.fetchts' 432 # cloud_storage.GetIfChanged modifies the local |file_path| binary. 434 if os.path.exists(fetch_ts_path) and os.path.exists(file_path) [all...] |
| /external/autotest/client/site_tests/firmware_TouchMTB/tools/ |
| create_version.py | 85 file_path = os.path.dirname(os.path.abspath(sys.modules[__name__].__file__)) 86 result = re.search('site_tests\/(.*?)\/', file_path)
|
| /external/autotest/server/site_tests/logging_GenerateCrashFiles/ |
| logging_GenerateCrashFiles.py | 41 file_path = self.CRASH_DIR + '/' + crash_file 42 if '0' == self.host.run("du -h %s" % file_path).stdout[:1]:
|
| /frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/ |
| MediaStoreSaver.java | 42 String file_path = folder_path + "/" + folderName; local 43 File dir = new File(file_path);
|
| /frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
| MediaStoreSaver.java | 41 String file_path = folder_path + "/" + folderName; local 42 File dir = new File(file_path);
|
| /frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/ |
| MediaStoreSaver.java | 42 String file_path = folder_path + "/" + folderName; local 43 File dir = new File(file_path);
|
| /test/vts-testcase/hal/treble/vintf/ |
| utils.cpp | 111 string file_path = kDataDir + PackageRoot(fq_iface_name) + kHashFileName; local 112 auto hashes = Hash::lookupHash(file_path, fq_iface_name.string(), &err);
|
| /external/autotest/client/cros/multimedia/ |
| arc_resource.py | 181 def set_playback_file(self, file_path): 184 @param file_path: Path to the file to play on Cros host. 189 file_name = os.path.basename(file_path) 194 arc.adb_cmd('push %s %s' % (pipes.quote(file_path), 287 def prepare_playback(self, file_path, fullscreen=True): 290 @param file_path: Path to the file to play on Cros host. 297 file_name = os.path.basename(file_path) 302 arc.adb_cmd('push %s %s' % (pipes.quote(file_path),
|
| /external/tensorflow/tensorflow/core/api_def/ |
| update_api_def.cc | 251 string file_path = local 253 file_path = strings::Printf(file_path.c_str(), op.name().c_str()); 256 if (!Env::Default()->FileExists(file_path).ok()) { 257 std::cout << "Creating ApiDef file " << file_path << std::endl; 259 TF_CHECK_OK(WriteStringToFile(Env::Default(), file_path, api_def_text));
|
| /tools/test/connectivity/acts/tests/google/power/wifi/ |
| PowerWiFiroamingTest.py | 92 file_path, avg_current = wputils.monsoon_data_collect_save( 96 file_path, avg_current = wputils.monsoon_data_collect_save( 98 [plot, dt] = wputils.monsoon_data_plot(self.mon_info, file_path) 124 file_path, avg_current = wputils.monsoon_data_collect_save( 128 file_path, avg_current = wputils.monsoon_data_collect_save( 130 [plot, dt] = wputils.monsoon_data_plot(self.mon_info, file_path)
|
| /art/tools/common/ |
| common.py | 252 def WriteLines(self, file_path, lines): 258 file_path: string, environment specific path to file. 332 def WriteLines(self, file_path, lines): 333 with open(file_path, 'w') as f: 360 for file_path in os.listdir(arch_cache_path): 361 file_path = '{0}/{1}'.format(arch_cache_path, file_path) 362 if os.path.isfile(file_path): 363 os.unlink(file_path) 413 def WriteLines(self, file_path, lines) [all...] |
| /external/python/cpython3/Lib/ |
| imp.py | 284 file_path = os.path.join(package_directory, package_file_name) 285 if os.path.isfile(file_path): 289 file_path = os.path.join(entry, file_name) 290 if os.path.isfile(file_path): 300 with open(file_path, 'rb') as file: 302 file = open(file_path, mode, encoding=encoding) 303 return file, file_path, (suffix, mode, type_)
|
| /external/v8/tools/sanitizers/ |
| sancov_formatter.py | 111 file_path = os.path.join(BUILD_DIR, f) 112 if (os.path.isfile(file_path) and 113 os.access(file_path, os.X_OK) and 115 yield file_path 386 file_path = os.path.join(options.output_dir, file_name + '.json') 388 os.makedirs(os.path.dirname(file_path)) 393 with open(file_path, 'w') as f:
|
| /tools/test/connectivity/acts/framework/acts/controllers/ |
| arduino_wifi_dongle.py | 182 def write(self, arduino, file_path, network=None): 187 file_path: path of the ino file to flash onto the dongle. 195 self.stop_controller_log("Flashing %s\n" % file_path) 196 cmd = arduino + file_path + " --upload --port " + self.port 198 cmd = self._update_ino_wifi_network(arduino, file_path, network) 210 def _update_ino_wifi_network(self, arduino, file_path, network): 215 file_path: path of the ino file to flash onto the dongle 221 tmp_file = "%s%s" % (TMP_DIR, file_path.split('/')[-1]) 222 utils.exe_cmd("cp %s %s" % (file_path, tmp_file))
|
| /external/libchrome/base/metrics/ |
| persistent_memory_allocator_unittest.cc | 673 FilePath file_path = temp_dir.GetPath().AppendASCII("persistent_memory"); local 690 File writer(file_path, File::FLAG_CREATE | File::FLAG_WRITE); 696 mmfile->Initialize(file_path); 733 FilePath file_path = temp_dir.GetPath().AppendASCII("extend_test"); local 737 ASSERT_FALSE(PathExists(file_path)); 743 File writer(file_path, File::FLAG_CREATE | File::FLAG_WRITE); 747 ASSERT_TRUE(PathExists(file_path)); 749 ASSERT_TRUE(GetFileSize(file_path, &before_size)); 755 File(file_path, File::FLAG_OPEN | File::FLAG_READ | File::FLAG_WRITE), 767 ASSERT_TRUE(GetFileSize(file_path, &after_size)) 799 FilePath file_path = temp_dir.GetPath().AppendASCII(filename); local [all...] |
| /external/autotest/client/common_lib/ |
| logging_config.py | 105 file_path, 110 file_path = os.path.join(log_dir, file_path) 111 handler = logging.FileHandler(file_path) 117 if file_path == '/usr/local/autotest/results/default/debug/client.0.WARNING':
|
| profiler_manager.py | 105 file_path = os.path.join(test.profdir, file) 107 os.rename(file_path, iter_path_file)
|
| /external/libbrillo/brillo/http/ |
| http_form_data.cc | 158 const base::FilePath& file_path, 162 StreamPtr stream = FileStream::Open(file_path, Stream::AccessMode::READ, 167 std::string file_name = file_path.BaseName().value(); 202 const base::FilePath& file_path, 206 name, file_path, content_disposition::kFormData, content_type, error);
|
| http_form_data.h | 12 #include <base/files/file_path.h> 177 const base::FilePath& file_path, 213 const base::FilePath& file_path,
|
| /external/llvm/utils/lit/lit/ |
| Test.py | 178 def __init__(self, suite, path_in_suite, config, file_path = None): 182 self.file_path = file_path 209 if self.file_path: 210 return self.file_path
|
| /external/wpa_supplicant_8/hostapd/hidl/1.0/ |
| hostapd.cpp | 41 const std::string file_path = local 44 config, file_path, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP, 46 return file_path; 52 file_path.c_str(), strerror(error)); 54 int result = stat(file_path.c_str(), &st);
|
| /external/chromium-trace/catapult/devil/devil/utils/ |
| zip_utils.py | 46 file_path = os.path.join(dir_path, f) 48 logger.debug('file: %s -> %s', file_path, file_arc_path) 49 zip_file.write(file_path, file_arc_path, zipfile.ZIP_DEFLATED)
|
| /system/iot/attestation/at-factory-tool/ |
| fastbootsubp.py | 121 def Flash(self, partition, file_path): 125 file_path: The partition file to be flashed. 137 'flash', partition, file_path 145 def Upload(self, file_path): 149 file_path: The file path of the file system 161 'get_staged', file_path 169 def Download(self, file_path): 173 file_path: The file path of the file on the local file system 185 'stage', file_path
|
| /art/dexoptanalyzer/ |
| dexoptanalyzer_test.cc | 28 std::string file_path = GetTestAndroidRoot(); local 29 file_path += "/bin/dexoptanalyzer"; 31 file_path += "d"; 33 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; 34 return file_path;
|
| /external/autotest/client/site_tests/documentscan_AppTestWithFakeLorgnette/ |
| documentscan_AppTestWithFakeLorgnette.py | 59 file_path = os.path.join(self.bindir, event_filename) 60 self._blocking_playback(file_path, touch_type='mouse')
|