HomeSort by relevance Sort by last modified time
    Searched refs:process_name (Results 1 - 25 of 49) sorted by null

1 2

  /external/autotest/client/common_lib/
process_utils.py 10 def pkill_process(process_name, is_full_name=True,
15 @param process_name: the name of a process.
16 @param is_full_name: True iff the value of |process_name| is the complete
27 kill_cmd = 'pkill %s "%s"' % (full_flag, process_name)
37 r = run('cat /proc/`pgrep %s`/status' % process_name,
40 (process_name, r.stdout))
  /external/autotest/client/site_tests/logging_CrashServices/
logging_CrashServices.py 41 def _find_crash_files(self, process_name, extension):
44 @param process_name: Name of the process killed.
51 process_name, extension)
54 def _find_file_in_path(self, path, process_name, filetype):
59 @param process_name: Name of the process.
72 if ext == filetype and filename.startswith(process_name):
90 process_name = os.path.basename(process_path)
95 condition=lambda: self._find_crash_files(process_name,
  /system/core/debuggerd/libdebuggerd/include/libdebuggerd/
types.h 30 std::string process_name; member in struct:ThreadInfo
tombstone.h 42 pid_t pid, pid_t tid, const std::string& process_name,
  /test/vts/utils/python/systrace/
systrace_controller.py 38 process_name: string, process name to trace. The value can be empty.
41 def __init__(self, android_vts_path, device_serial, process_name=''):
50 self.process_name = process_name
69 def process_name(self): member in class:SystraceController
73 @process_name.setter
74 def process_name(self, process_name): member in class:SystraceController
76 self._process_name = process_name
113 self.process_name)
    [all...]
systrace_utils.py 64 process_name = getattr(self, keys.ConfigKeys.IKEY_SYSTRACE_PROCESS_NAME, '')
65 process_name = str(process_name)
84 process_name=process_name)
111 process = controller.process_name
  /system/core/debuggerd/libdebuggerd/
backtrace.cpp 44 static void dump_process_header(log_t* log, pid_t pid, const char* process_name) {
52 if (process_name) {
53 _LOG(log, logtype::BACKTRACE, "Cmd line: %s\n", process_name);
92 dump_process_header(&log, target->second.pid, target->second.process_name.c_str());
109 char process_name[128]; local
110 read_with_default("/proc/self/cmdline", process_name, sizeof(process_name), "<unknown>");
111 dump_process_header(&log, getpid(), process_name);
  /system/extras/boottime_tools/io_analysis/
check_file_read.py 59 def add_if_single_block(self, container, size, offset, process_name):
62 offsets = container.get(process_name)
65 container[process_name] = offsets
68 def add_access(self, time, offset, size, process_name, read_sizes):
69 self.accesses.append((time, offset, size, process_name))
75 self.add_if_single_block(self.block_single_block_accesses, s, read_offset, process_name)
79 self.add_if_single_block(self.ext4_single_block_accesses, size, offset, process_name)
129 def __init__(self, open_time, file_name, process_name, inode, flags):
134 self.processes.append((open_time, process_name, flags))
139 def add_open(self, open_time, process_name, flags)
    [all...]
  /external/autotest/client/site_tests/apmanager_CheckAPProcesses/
apmanager_CheckAPProcesses.py 29 process_name,
32 """Verify the given process |process_name| is running |running|.
34 @param process_name string name of the process
42 out = utils.system_output('pgrep %s 2>&1' % process_name,
52 % (process_name, expected_running, actual_running))
  /external/valgrind/memcheck/tests/
file_locking.c 36 static int open_lock_and_map(const char* const process_name,
54 fprintf(stderr, "%s: about to lock file for writing.\n", process_name);
61 fprintf(stderr, "%s: file locking attempt succeeded.\n", process_name);
  /system/core/lmkd/
statslog.c 66 char const* process_name, int32_t oom_score, int64_t pgfault,
88 if ((ret = android_log_write_string8(ctx, (process_name == NULL) ? "" : process_name)) < 0) {
statslog.h 85 char const* process_name, int32_t oom_score, int64_t pgfault,
  /external/tensorflow/tensorflow/contrib/tpu/profiler/
trace_events_to_json_test.cc 76 {"ph":"M", "pid":1, "name":"process_name", "args":{"name":"D1"}},
82 {"ph":"M", "pid":2, "name":"process_name", "args":{"name":"D2"}},
  /bionic/linker/
linker_logger.cpp 79 std::string process_name = (process_name_end != nullptr) ? local
83 std::string property_name = std::string("debug.ld.app.") + process_name;
  /frameworks/rs/tests/lldb/tests/harness/
util_bundle.py 305 process_name = ''
308 process_name = self._tests_apk[app_name]
310 self._android.kill_all_processes(process_name)
312 success = self._android.launch_app(process_name, 'MainActivity')
314 process_name = app_name
315 self._android.kill_all_processes(process_name)
316 success = self._android.launch_elf(process_name)
342 return self._android.find_app_pid(process_name)
  /frameworks/compile/libbcc/gdb_plugin/
android-commands.py 301 #wrapper for adb shell ps. leave process_name=None for list of all processes
303 def get_process_info(self, process_name=None):
310 if process_name == None or name == process_name:
314 if process_name != None:
320 if process_name != None:
328 def kill_by_name(self, process_name):
329 (pid, user) = self.get_process_info(process_name)
332 (pid, user) = self.get_process_info(process_name)
342 def _update_status(self, process_name, gdbserver_process_name)
    [all...]
  /development/scripts/
gdbclient.py 79 def get_remote_pid(device, process_name):
81 if process_name not in processes:
82 msg = "failed to find running process {}".format(process_name)
84 pids = processes[process_name]
86 msg = "multiple processes match '{}': {}".format(process_name, pids)
  /development/python-packages/gdbrunner/
__init__.py 127 process_name = columns[-1]
129 if process_name in processes:
130 processes[process_name].append(pid)
132 processes[process_name] = [pid]
137 def get_pids(device, process_name):
139 return processes.get(process_name, [])
  /system/connectivity/wificond/tests/integration/
process_utils.cpp 45 bool IsProcessRunning(const char* process_name) {
47 RunShellCommand(StringPrintf("pgrep -c ^%s$", process_name), &output);
  /development/apps/Development/src/com/android/development/
ProcessInfo.java 38 TextView processNameView = (TextView) findViewById(R.id.process_name);
  /external/autotest/client/profilers/powertop/src/
powertop.h 46 void suggest_process_death(char *process_match, char *process_name, struct line *slines, int linecount, double minwakeups, char *comment, int weight);
  /cts/hostsidetests/theme/
android_device.py 97 def is_process_alive(self, process_name):
103 return process_name in names
  /frameworks/base/core/proto/android/content/
package_item_info.proto 42 optional string process_name = 3;
  /frameworks/base/cmds/statsd/src/
atoms.proto 234 optional string process_name = 2;
    [all...]
  /external/autotest/client/common_lib/cros/
arc.py 281 def is_android_process_running(process_name):
284 @param process_name: Process name.
286 output = adb_shell('pgrep -c -f %s' % pipes.quote(process_name))
354 def wait_for_android_process(process_name,
358 @param process_name: Process name.
361 condition = lambda: is_android_process_running(process_name)
363 desc='%s is running' % process_name,

Completed in 574 milliseconds

1 2