/tools/test/connectivity/acts/framework/acts/controllers/ |
iperf_client.py | 27 def __init__(self, port, ip_address, log_path): 29 self.log_path = os.path.join(log_path, "iPerf{}".format(self.port)) 49 utils.create_dir(self.log_path) 54 full_out_path = os.path.join(self.log_path, out_file_name)
|
iperf_server.py | 45 results.append(IPerfServerOverAdb(c, logging.log_path)) 50 results.append(IPerfServerOverSsh(c, logging.log_path)) 55 results.append(IPerfServer(c, logging.log_path)) 208 def __init__(self, config, log_path): 211 self.log_path = os.path.join(log_path, "iPerf{}".format(self.port)) 212 utils.create_dir(self.log_path) 232 self.full_out_path = os.path.join(self.log_path, out_file_name) 254 def __init__(self, config, log_path): 259 self.log_path = os.path.join(log_path, "iPerf{}".format(self.port) [all...] |
android_device.py | 364 log_path: A string that is the path where all logs collected on this 378 # logging.log_path only exists when this is used in an ACTS test run. 379 log_path_base = getattr(logging, 'log_path', '/tmp/logs') 380 self.log_path = os.path.join(log_path_base, 'AndroidDevice%s' % serial) 687 adb_excerpt_path = os.path.join(self.log_path, "AdbLogExcerpts") 747 utils.create_dir(self.log_path) 748 logcat_file_path = os.path.join(self.log_path, f_name) 885 br_path = os.path.join(self.log_path, test_name) [all...] |
/external/autotest/server/ |
crashcollect.py | 78 def collect_log_file(host, log_path, dest_path, use_tmp=False, clean=False, 88 that this check only applies to the exact file passed as log_path. For 93 @param log_path: The remote path to collect the log file from 103 logging.info('Collecting %s...', log_path) 106 'file %s.', host.hostname, log_path) 109 file_stats = _get_file_stats(host, log_path) 118 log_path, file_stats.size, 121 _collect_log_file_with_tmpdir(host, log_path, dest_path) 123 _collect_log_file_with_summary(host, log_path, dest_path) 126 log_path, e [all...] |
site_gtest_runner.py | 66 log_path = os.path.join( 69 if not os.path.exists(log_path): 70 logging.error('gtest log file "%s" is missing.', log_path) 76 with open(log_path, 'r') as log_file:
|
/system/bt/hci/src/ |
btsnoop.cc | 81 static char* get_btsnoop_log_path(char* log_path); 82 static char* get_btsnoop_last_log_path(char* last_log_path, char* log_path); 164 char log_path[PROPERTY_VALUE_MAX]; local 166 get_btsnoop_log_path(log_path); 167 get_btsnoop_last_log_path(last_log_path, log_path); 168 remove(log_path); 198 char log_path[PROPERTY_VALUE_MAX]; local 200 get_btsnoop_log_path(log_path); 201 get_btsnoop_last_log_path(last_log_path, log_path); 203 if (rename(log_path, last_log_path) != 0 && errno != ENOENT [all...] |
/test/vts/runners/host/ |
logger.py | 128 def _initiateTestLogger(log_path, prefix=None, filename=None, log_severity="INFO"): 135 log_path: Location of the log file. 160 utils.create_dir(log_path) 161 fh = logging.FileHandler(os.path.join(log_path, 'test_run_details.txt')) 166 log.log_path = log_path 167 logging.log_path = log_path 203 def setupTestLogger(log_path, prefix=None, filename=None, log_severity="INFO"): 207 log_path: Location of the report file 250 def log_path(self): member in class:LoggerProxy [all...] |
/tools/test/connectivity/acts/framework/acts/ |
logger.py | 134 def _setup_test_logger(log_path, prefix=None, filename=None): 142 log_path: Location of the log file. 164 create_dir(log_path) 165 fh = logging.FileHandler(os.path.join(log_path, 'test_run_details.txt')) 168 fh_info = logging.FileHandler(os.path.join(log_path, 'test_run_info.txt')) 172 os.path.join(log_path, 'test_run_error.txt')) 179 log.log_path = log_path 180 logging.log_path = log_path [all...] |
test_runner.py | 104 self.log_path: A string representing the path of the dir under which 127 # log_path should be set before parsing configs. 131 self.log_path = os.path.abspath(l_path) 132 logger.setup_test_logger(self.log_path, self.testbed_name) 420 self.test_run_info[keys.Config.ikey_logpath.value] = self.log_path 570 path = os.path.join(self.log_path, "test_run_summary.json") 576 path = os.path.join(self.log_path, "test_campaign.log")
|
/system/update_engine/ |
main.cc | 87 string log_path = kLogsRoot + "/" + old_logs[i]; local 88 if (unlink(log_path.c_str()) == -1) { 89 PLOG(WARNING) << "Failed to unlink " << log_path; 104 void SetupLogSymlink(const string& symlink_path, const string& log_path) { 112 base::FilePath(log_path), 116 if (symlink(log_path.c_str(), symlink_path.c_str()) == -1) { 118 << " pointing at " << log_path; local
|
/external/autotest/tko/ |
retrieve_logs.cgi | 144 def get_full_url(info, log_path): 150 path = log_path 159 log_path = _get_requested_path() variable 160 info = find_repository_host(log_path) 161 site_retrieve_logs(log_path) 162 print _PAGE % get_full_url(info, log_path)
|
/external/compiler-rt/lib/esan/ |
esan_flags.cpp | 55 __sanitizer_set_report_path(common_flags()->log_path);
|
/external/compiler-rt/lib/ubsan/ |
ubsan_init.cc | 41 __sanitizer_set_report_path(common_flags()->log_path);
|
/tools/test/connectivity/acts/tests/google/power/tel/lab/temp/ |
iperf_server.py | 43 results.append(IPerfServer(c, logging.log_path)) 199 def __init__(self, config, log_path): 208 self.log_path = os.path.join(log_path, "iPerf{}".format(self.port)) 209 utils.create_dir(self.log_path) 230 self.full_out_path = os.path.join(self.log_path, out_file_name)
|
/external/autotest/client/site_tests/logging_CrashSender/ |
logging_CrashSender.py | 40 def _check_simple_minidump_send(self, report, log_path=None): 54 if log_path and not ('log: @%s' % log_path) in result['output']: 78 log_path = self.write_crash_dir_entry( 82 log=log_path) 83 self._check_simple_minidump_send(meta_path, log_path)
|
/test/vts/testcases/template/mobly/ |
mobly_test.py | 55 LogPath: {log_path} 89 self.mobly_dir = os.path.join(logging.log_path, TEMP_DIR_NAME, 115 log_path=self.mobly_dir 145 # log_path from python logging. The following step is to preserve 153 logger_path = logger.log_path 154 logging_path = logging.log_path 159 logger.log_path = logger_path 160 logging.log_path = logging_path
|
/external/autotest/site_utils/ |
rpc_logserver.py | 104 log_path = config.get_config_value('SERVER', 'rpc_log_path') 109 log_path,
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_flags_test.cc | 139 cf.log_path = "path/one"; 141 parser.ParseString("symbolize=1:coverage_direct=false log_path='path/two'"); 145 EXPECT_STREQ("path/two", cf.log_path);
|
/tools/test/connectivity/acts/tests/google/tel/live/ |
TelLivePostflightTest.py | 58 crash_path = os.path.join(ad.log_path, self.test_name, 79 crash_path = os.path.join(ad.log_path, self.test_name,
|
/tools/test/connectivity/acts/framework/acts/test_utils/tel/ |
TelephonyBaseTest.py | 69 self.log_path = getattr(logging, "log_path", None) 83 ad.init_log_path = ad.log_path 84 ad.log_path = self.log_path 131 ad.log_path = self.log_path 281 ad.log_path = ad.init_log_path 344 log_path = os.path.join(self.log_path, test_name [all...] |
/external/autotest/client/site_tests/firmware_TouchMTB/ |
main.py | 329 log_path = os.path.join(conf.log_root_dir, log_dir) 330 if not os.path.isdir(log_path): 331 print_and_exit('Error: the log path "%s" does not exist.' % log_path) 333 print 'Uploading "%s" to %s ...\n' % (log_path, gs.bucket) 335 gs.upload(log_path) 338 print_and_exit(msg % (log_path, e))
|
/tools/test/connectivity/acts/framework/acts/test_utils/coex/ |
CoexBaseTest.py | 70 self.path = self.pri_ad.log_path 108 log_path = os.path.join(self.pri_ad.log_path, "iPerf{}".format( 112 create_dir(log_path) 116 full_out_path = os.path.join(log_path, out_file_name) 192 iperf_client = IPerfClient(server_port, ip, self.pri_ad.log_path)
|
/external/jsoncpp/ |
makerelease.py | 153 log_path = os.path.join( distcheck_top_dir, 'build-%s.log' % platform ) 154 flog = open( log_path, 'wb' ) 164 return (status, log_path) 355 build_status, log_path = check_compile( distcheck_top_dir, platform ) 356 print('see build log:', log_path)
|
/tools/test/connectivity/acts/framework/tests/ |
acts_android_device_test.py | 115 logging.log_path, "AndroidDevice%s" % self.serial, 157 # Set log_path to logging since acts logger setup is not called. 158 if not hasattr(logging, "log_path"): 159 setattr(logging, "log_path", "/tmp/logs") 263 expected_lp = os.path.join(logging.log_path, 265 self.assertEqual(ad.log_path, expected_lp) 349 logging.log_path, "AndroidDevice%s" % ad.serial, "test_something") 387 logging.log_path, "AndroidDevice%s" % ad.serial, "test_something") 417 expected_log_path = os.path.join(logging.log_path, 465 expected_log_path = os.path.join(logging.log_path, [all...] |
/tools/test/connectivity/acts/tests/google/wifi/ |
WifiThroughputStabilityTest.py | 107 self.log_path = os.path.join(logging.log_path, "test_results") 108 utils.create_dir(self.log_path) 171 results_file_path = "{}/{}.txt".format(self.log_path, 207 output_file_path = "{}/{}.html".format(self.log_path, test_name) 259 client_output_path = os.path.join(self.iperf_server.log_path,
|