HomeSort by relevance Sort by last modified time
    Searched full:_log_file (Results 1 - 12 of 12) sorted by null

  /development/testrunner/
logger.py 26 _LOG_FILE = None
32 global _LOG_FILE
33 _LOG_FILE = log_file_path
34 print "Using log file: %s" % _LOG_FILE
38 global _LOG_FILE
39 return _LOG_FILE
42 """Appends new_str to the end of _LOG_FILE and prints it to stdout.
53 global _LOG_FILE
54 if _LOG_FILE is not None:
55 file_handle = file(_LOG_FILE, 'a'
    [all...]
  /external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/
log.py 19 _log_file = None variable
62 global _log_file
77 _log_file = log_file
78 with lock.FileLock(_log_file, lock.LOCK_EX):
79 _log_file.seek(0, os.SEEK_END)
81 lastpos = _log_file.tell()
85 _log_file.write('[')
94 _log_file.write("%s\n" % json.dumps(x))
97 _log_file.flush()
115 global _log_file
    [all...]
  /tools/test/connectivity/acts/framework/acts/controllers/ap_lib/
hostapd.py 51 self._log_file = 'hostapd-%s.log' % self._interface
82 self._shell.delete_file(self._log_file)
89 job_str = '%s > "%s" 2>&1' % (base_command, self._log_file)
117 return self._shell.read_file(self._log_file)
144 self._log_file)
165 self._log_file)
170 "Interface %s wasn't started" % self._interface, self._log_file)
dhcp_server.py 51 self._log_file = 'dhcpd_%s.log' % interface
76 self._shell.delete_file(self._log_file)
83 job_str = '%s > "%s" 2>&1' % (base_command, self._log_file)
110 return self._shell.read_file(self._log_file)
139 'Wrote [0-9]* leases to leases file', self._log_file)
165 'Not configured to listen on any interfaces', self._log_file)
  /external/autotest/server/cros/
cfm_jmidata_helper_base.py 19 self._log_file = log_file_content
24 self._jmi_list = re.findall(jmi_data_from_log_reg, self._log_file)
  /external/autotest/client/common_lib/cros/
authpolicy.py 29 _LOG_FILE = '/var/log/authpolicy.log'
206 cmd = 'tail -n %s %s' % (self._LOG_LINE_LIMIT, self._LOG_FILE)
208 logging.info('Tail of %s:\n%s', self._LOG_FILE, log_tail)
219 cmd = 'grep -q "failed: exit code 253" %s' % self._LOG_FILE
242 utils.run('echo "" > %s' % self._LOG_FILE)
  /external/chromium-trace/catapult/systrace/profile_chrome/
perf_tracing_agent.py 54 self._log_file = tempfile.TemporaryFile()
67 stdout=self._log_file,
76 self._log_file.seek(0)
77 log = self._log_file.read()
91 self._log_file.close()
  /external/autotest/client/cros/power/
power_suspend.py 31 _log_file: Open file descriptor at the end of /var/log/messages.
113 self._log_file = None
190 if self._log_file:
191 self._log_file.close()
192 self._log_file = open('/var/log/messages')
193 self._log_file.seek(0, os.SEEK_END)
204 lines = self._log_file.readlines()
  /external/autotest/client/cros/faft/
rpc_functions.py 59 _log_file: Path of the log file.
75 self._log_file = os.path.join(state_dir, 'faft_client.log')
76 self._os_if.init(state_dir, log_file=self._log_file)
184 log = open(self._log_file).read()
186 os.remove(self._log_file)
  /external/autotest/scheduler/
agent_task.py 230 def _log_file(self): member in class:AgentTask
237 log_file = self._log_file()
373 nice_level=AUTOSERV_NICE_LEVEL, log_file=self._log_file(),
  /build/make/tools/releasetools/
ota_from_target_files 412 self._log_file = sys.stdout if OPTIONS.verbose else subprocess.PIPE
437 p = common.Run(cmd, stdout=self._log_file, stderr=subprocess.STDOUT)
464 p1 = common.Run(cmd, stdout=self._log_file, stderr=subprocess.STDOUT)
481 p1 = common.Run(cmd, stdout=self._log_file, stderr=subprocess.STDOUT)
491 p1 = common.Run(cmd, stdout=self._log_file, stderr=subprocess.STDOUT)
    [all...]
ota_from_target_files.py 412 self._log_file = sys.stdout if OPTIONS.verbose else subprocess.PIPE
437 p = common.Run(cmd, stdout=self._log_file, stderr=subprocess.STDOUT)
464 p1 = common.Run(cmd, stdout=self._log_file, stderr=subprocess.STDOUT)
481 p1 = common.Run(cmd, stdout=self._log_file, stderr=subprocess.STDOUT)
491 p1 = common.Run(cmd, stdout=self._log_file, stderr=subprocess.STDOUT)
    [all...]

Completed in 324 milliseconds