| /external/autotest/client/site_tests/video_JEAPerf/ |
| video_JEAPerf.py | 81 def remove_if_exists(self, file_path): 83 os.remove(file_path)
|
| /external/autotest/scheduler/ |
| drone_utility.py | 232 def write_to_file(self, file_path, contents, is_retry=False): 235 @param file_path: Path to the file. 240 self._ensure_directory_exists(os.path.dirname(file_path)) 242 file_object = open(file_path, 'a') 253 file_path, e) 254 utils.run('sudo chown %s "%s"' % (os.getuid(), file_path)) 255 utils.run('sudo chgrp %s "%s"' % (os.getgid(), file_path)) 256 self.write_to_file(file_path, contents, is_retry=True) 258 self._warn('Error write to file %s: %s' % (file_path, e))
|
| /external/autotest/server/cros/multimedia/ |
| audio_facade_adapter.py | 181 def dump_diagnostics(self, file_path): 184 @param file_path: The path to dump results. 192 self._client.get_file(remote_path, file_path)
|
| /external/chromium-trace/catapult/dependency_manager/dependency_manager/ |
| dependency_manager_util.py | 43 def GetModeFromPath(file_path): 44 return stat.S_IMODE(os.stat(file_path).st_mode)
|
| /external/compiler-rt/lib/sanitizer_common/ |
| sanitizer_suppressions.cc | 33 static bool GetPathAssumingFileIsRelativeToExec(const char *file_path, 42 internal_strncat(new_file_path, file_path,
|
| /external/ltp/android/tools/ |
| check_success_build.py | 146 def Read(self, file_path): 150 file_path: string, file path 155 with open(file_path, 'r') as file:
|
| /external/python/cpython2/Misc/Vim/ |
| vim_syntax.py | 161 def main(file_path): 162 with open(file_path, 'w') as FILE:
|
| /external/tensorflow/tensorflow/compiler/xla/service/ |
| executable.cc | 154 string file_path = tensorflow::io::JoinPath(directory_path, filename); local 158 return tensorflow::WriteStringToFile(tensorflow::Env::Default(), file_path,
|
| /external/tensorflow/tensorflow/contrib/tensorboard/plugins/trace/ |
| trace.py | 73 line_trace.file_path = fname 86 file_info.file_path = fpath
|
| trace_test.py | 50 if file_info.file_path.endswith('trace_test.py'):
|
| /frameworks/base/tools/aapt2/tools/consumers/ |
| duplicates.py | 9 def matches(self, file_path): 10 dirname, basename = os.path.split(file_path)
|
| /test/framework/harnesses/host_controller/acloud/ |
| acloud_client.py | 134 def PrepareConfig(self, file_path): 138 file_path: string, path to acloud config file. 141 config.Load(file_path)
|
| /test/vts/agents/hal/ |
| SocketClientToDriver.cpp | 40 int32_t VtsDriverSocketClient::LoadHal(const string& file_path, 49 command_message.set_file_path(file_path);
|
| /test/vts/runners/host/tcp_client/ |
| vts_tcp_client.py | 171 file_path=None, 180 logging.info("file_path: %s", file_path) 188 file_path=file_path, 497 file_path=None, 560 if file_path is not None: 561 command_msg.file_path = file_path
|
| /test/vts-testcase/hal/script/build/ |
| build_rule_gen.py | 81 file_path = os.path.join(hal_dir, 'build', 'Android.bp') 82 utils.WriteBuildRule(file_path, self._VtsBuildRuleFromTemplate(
|
| /external/autotest/site_utils/ |
| cleanup_tko_db.py | 48 file_path=os.path.abspath(options.logfile), level=logging.DEBUG)
|
| /external/chromium-trace/catapult/tracing/tracing/trace_data/ |
| trace_data.py | 86 return trace.file_path 174 def Serialize(self, file_path, trace_title=''): 175 """Serializes the trace result to |file_path|. 194 ['--output', file_path] + ['--title', trace_title]) 226 def file_path(self): member in class:TraceFileHandle
|
| /external/google-breakpad/src/client/linux/minidump_writer/ |
| linux_dumper.h | 140 char* file_path,
|
| /external/google-breakpad/src/client/windows/crash_generation/ |
| minidump_generator.h | 128 bool GenerateDumpFilePath(std::wstring* file_path);
|
| /external/python/cpython3/Lib/test/test_importlib/extension/ |
| test_loader.py | 20 util.EXTENSIONS.file_path) 34 util.EXTENSIONS.file_path) 39 util.EXTENSIONS.file_path) 46 ('__file__', util.EXTENSIONS.file_path),
|
| /system/tpm/tpm_manager/server/ |
| local_data_store_impl.cc | 23 #include <base/files/file_path.h>
|
| /test/vts/testcases/template/mobly/ |
| mobly_test.py | 170 file_path = file_util.FindFile(self.mobly_dir, pair[0]) 172 if file_path: 173 logging.info('Mobly test yaml result path: %s', file_path) 174 pair[1](file_path)
|
| /external/autotest/site_utils/presubmit_hooks/ |
| check_control_files.py | 242 for file_path in file_list.split('\n'): 243 control_file = re.search(r'.*/control(?:\.\w+)?$', file_path) 249 test_name = os.path.basename(os.path.split(file_path)[0])
|
| /external/autotest/utils/ |
| unittest_suite.py | 194 file_path = os.path.join(dir_path, file_name) 197 file_path in LONG_TESTS_FULL_PATH)): 200 file_path in skip_tests_full_path):
|
| /external/google-breakpad/src/client/windows/unittests/ |
| crash_generation_server_test.cc | 83 const std::wstring* file_path)); 243 const std::wstring* file_path) { 245 OnClientDumpRequested(client_info, file_path);
|