HomeSort by relevance Sort by last modified time
    Searched refs:pid (Results 101 - 125 of 1743) sorted by null

1 2 3 45 6 7 8 91011>>

  /sdk/emulator/opengl/shared/OpenglOsUtils/
osProcess.h 57 int KillProcess(int pid, bool wait);
58 bool isProcessRunning(int pid);
  /sdk/emulator/qtools/tests/
macros.h 39 #define TRACE_SWITCH(pid) DEV_WRITE_WORD(TRACE_DEV_REG_SWITCH, (pid))
41 #define TRACE_FORK(pid) DEV_WRITE_WORD(TRACE_DEV_REG_FORK, (pid))
43 #define TRACE_CLONE(pid) DEV_WRITE_WORD(TRACE_DEV_REG_CLONE, (pid))
45 #define TRACE_INIT_NAME(pid,path)\
47 DEV_WRITE_WORD(TRACE_DEV_REG_INIT_PID, (pid));\
  /system/netd/
ResolverController.h 34 int setDnsInterfaceForPid(const char* iface, int pid);
35 int clearDnsInterfaceForPid(int pid);
ResolverController.cpp 80 int ResolverController::setDnsInterfaceForPid(const char* iface, int pid) {
82 ALOGD("setDnsIfaceForPid iface = %s, pid = %d\n", iface, pid);
85 _resolv_set_iface_for_pid(iface, pid);
90 int ResolverController::clearDnsInterfaceForPid(int pid) {
92 ALOGD("clearDnsIfaceForPid pid = %d\n", pid);
95 _resolv_clear_iface_for_pid(pid);
  /external/chromium/base/
process_linux.cc 65 std::string pid = StringPrintf("%d", process_); local
66 if (file_util::WriteFile(background_tasks, pid.c_str(), pid.size()) > 0) {
80 std::string pid = StringPrintf("%d", process_); local
81 if (file_util::WriteFile(foreground_tasks, pid.c_str(), pid.size()) > 0) {
  /external/chromium_org/content/browser/
mach_broker_mac_unittest.cc 15 void AddPlaceholderForPid(base::ProcessHandle pid) {
17 broker_.AddPlaceholderForPid(pid);
20 void InvalidatePid(base::ProcessHandle pid) {
21 broker_.InvalidatePid(pid);
25 void FinalizePid(base::ProcessHandle pid,
28 broker_.FinalizePid(pid, task_port);
41 // Add a placeholder for PID 1.
45 // Finalize PID 1.
49 // Should be no entry for PID 2.
63 // Finalizing an entry for an unknown pid should not add it to the map
    [all...]
  /external/chromium_org/remoting/host/installer/linux/debian/
chrome-remote-desktop.init 35 pid=$!
38 (kill -0 $pid 2>/dev/null) || return `wait $pid`
42 (kill -0 $pid 2>/dev/null) || return `wait $pid`
45 kill $pid
  /external/valgrind/main/none/tests/
exec-sigmask.c 12 pid_t pid; local
15 pid = fork();
16 if (pid == -1) {
20 if (pid == 0) {
29 ret = waitpid(pid, &status, 0);
31 if (ret != pid) {
pth_atfork1.c 99 pid_t pid; local
101 pid = fork ();
102 if (pid == 0)
107 else if (pid == (pid_t) -1)
110 if (waitpid (pid, &status, 0) != pid)
  /frameworks/base/core/java/android/app/
IActivityController.aidl 46 boolean appCrashed(String processName, int pid,
53 int appEarlyNotResponding(String processName, int pid, String annotation);
60 int appNotResponding(String processName, int pid, String processStats);
  /sdk/emulator/opengl/tests/ut_renderer/
Renderer.h 31 unsigned int pid; member in class:Renderer::ClientHandle
33 ClientHandle(unsigned int _pid, unsigned int _handle) : pid(_pid), handle(_handle) {}
36 bool val = (pid == p.pid) ? handle < p.handle : pid < p.pid;
  /bionic/libc/upstream-netbsd/libc/gen/
popen.c 67 static struct pid { struct
68 struct pid *next;
73 pid_t pid; member in struct:pid
83 struct pid *cur, *old;
86 int pdes[2], pid, serrno; local
107 if ((cur = malloc(sizeof(struct pid))) == NULL) {
116 switch (pid = vfork()) {
177 cur->pid = pid;
193 struct pid *cur, *last
195 pid_t pid; local
    [all...]
  /external/chromium_org/tools/telemetry/telemetry/core/platform/
proc_supporting_platform_backend.py 28 def GetCpuStats(self, pid):
29 stats = self._GetProcFileForPid(pid, 'stat')
43 def GetMemoryStats(self, pid):
44 status_contents = self._GetProcFileForPid(pid, 'status')
45 stats = self._GetProcFileForPid(pid, 'stat').split()
60 def GetIOStats(self, pid):
61 io_contents = self._GetProcFileForPid(pid, 'io')
71 def _GetPsOutput(self, columns, pid=None):
74 def _IsPidAlive(self, pid):
75 assert pid, 'pid is required
    [all...]
win_platform_backend.py 27 def _GetProcessHandle(self, pid):
30 return win32api.OpenProcess(mask, False, pid)
77 def GetCpuStats(self, pid):
78 cpu_info = self._GetWin32ProcessInfo(win32process.GetProcessTimes, pid)
88 def GetMemoryStats(self, pid):
90 win32process.GetProcessMemoryInfo, pid)
96 def GetIOStats(self, pid):
97 io_stats = self._GetWin32ProcessInfo(win32process.GetProcessIoCounters, pid)
103 def KillProcess(self, pid, kill_process_tree=False):
105 cmd = ['taskkill', '/F', '/PID', str(pid)
    [all...]
  /external/valgrind/main/coregrind/
m_debugger.c 49 static Int ptrace_setregs(Int pid, VexGuestArchState* vex)
70 return VG_(ptrace)(VKI_PTRACE_SETREGS, pid, NULL, &regs);
108 return VG_(ptrace)(VKI_PTRACE_SETREGS, pid, NULL, &regs);
113 rc |= VG_(ptrace)(VKI_PTRACE_POKEUSR, pid, (void*)(VKI_PT_R0 * 4), (void*)vex->guest_GPR0);
114 rc |= VG_(ptrace)(VKI_PTRACE_POKEUSR, pid, (void*)(VKI_PT_R1 * 4), (void*)vex->guest_GPR1);
115 rc |= VG_(ptrace)(VKI_PTRACE_POKEUSR, pid, (void*)(VKI_PT_R2 * 4), (void*)vex->guest_GPR2);
116 rc |= VG_(ptrace)(VKI_PTRACE_POKEUSR, pid, (void*)(VKI_PT_R3 * 4), (void*)vex->guest_GPR3);
117 rc |= VG_(ptrace)(VKI_PTRACE_POKEUSR, pid, (void*)(VKI_PT_R4 * 4), (void*)vex->guest_GPR4);
118 rc |= VG_(ptrace)(VKI_PTRACE_POKEUSR, pid, (void*)(VKI_PT_R5 * 4), (void*)vex->guest_GPR5);
119 rc |= VG_(ptrace)(VKI_PTRACE_POKEUSR, pid, (void*)(VKI_PT_R6 * 4), (void*)vex->guest_GPR6)
360 Int pid, rc; local
    [all...]
  /cts/tests/tests/app/src/android/app/cts/
ActivityManagerProcessErrorStateInfoTest.java 42 int pid = 2; local
50 mErrorStateInfo.pid = pid;
64 assertEquals(pid, values.pid);
76 int pid = 2; local
84 mErrorStateInfo.pid = pid;
98 assertEquals(pid, values.pid);
    [all...]
  /external/chromium_org/chrome/tools/
chrome-process-identifier.sh 20 # Chrome, the caller can provide a pid on the command line. The provided pid
24 # If no pid is provided on the command line, the script will randomly pick
27 pid=$(ls -l /proc/*/exe 2>/dev/null |
35 pid="$1"
37 ls -l "/proc/$pid/exe" 2>/dev/null|egrep -q '/chrome( .deleted.)?$' || {
40 ppid="$(ps h --format ppid --pid "$pid" 2>/dev/null)"
44 pid="$ppid" || break
53 for child in $(ps h --format pid --ppid $1); d
    [all...]
  /external/libcap-ng/libcap-ng-0.7/utils/
pscap.c 69 int pid, ppid, uid = -1, euid = -1; local
79 pid = strtol(ent->d_name, NULL, 10);
83 /* Skip our pid so we aren't listed */
84 if (pid == our_pid)
88 snprintf(buf, 32, "/proc/%d/stat", pid);
107 if (pid == 2 || ppid == 2)
110 if (!show_all && pid == 1)
115 capng_setpid(pid);
125 snprintf(buf, 32, "/proc/%d/status", pid);
153 "ppid", "pid", "name", "command"
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
MemoryTracker.java 41 public int pid; field in class:MemoryTracker.ProcessMemInfo
50 public ProcessMemInfo(int pid, String name, long start) {
51 this.pid = pid;
89 .putExtra("pid", android.os.Process.myPid())
94 public ProcessMemInfo getMemInfo(int pid) {
95 return mData.get(pid);
102 public void startTrackingProcess(int pid, String name, long start) {
104 final Long lpid = new Long(pid);
111 mData.put(pid, new ProcessMemInfo(pid, name, start))
136 final long pid = mPids.get(i).intValue(); local
150 final long pid = mPids.get(i).intValue(); local
194 final int pid = intent.getIntExtra("pid", -1); local
    [all...]
  /sdk/emulator/qtools/
parse_options-inl.h 30 if (include_some_pids && pid_include_vector.GetBit(event->pid) == 0)
32 if (exclude_some_pids && pid_exclude_vector.GetBit(event->pid))
45 inline bool IsValidPid(int pid) {
46 if (include_some_pids && pid_include_vector.GetBit(pid) == 0)
48 if (exclude_some_pids && pid_exclude_vector.GetBit(pid))
53 inline symbol_type *GetSymbol(TraceReaderType *trace, int pid, uint32_t addr,
56 symbol_type *sym = trace->LookupFunction(pid, addr, time);
111 while (pid_include_vector.GetBit(event->pid) == 0) {
118 while (pid_exclude_vector.GetBit(event->pid)) {
127 sym = GetSymbol(trace, event->pid, event->bb_addr, event->time)
    [all...]
q2dm.cpp 73 int pid = base->getId(); local
78 stack->getGlobalTime(time), pid, stackLevel,
82 FunctionStack *fstack = dmtrace_stack[pid];
85 dmtrace_stack[pid] = fstack;
89 thread_time[pid] = time;
90 dmtrace->addFunctionEntry(function->id, time, pid);
95 int pid = base->getId(); local
100 stack->getGlobalTime(time), pid, stackLevel,
104 FunctionStack *fstack = dmtrace_stack[pid];
107 dmtrace_stack[pid] = fstack
    [all...]
  /external/chromium/chrome/browser/
process_info_snapshot_mac.cc 28 static bool GetKInfoForProcessID(pid_t pid, kinfo_proc* kinfo) {
29 int mib[] = {CTL_KERN, KERN_PROC, KERN_PROC_PID, pid};
45 pid_t pid,
63 int mib[] = {CTL_KERN, KERN_PROCARGS, pid};
136 argv.push_back("pid=,rss=,vsz=");
158 // "-o pid=,rss=,vsz=".
159 // Try to read the PID; if we get it, we should be able to get the rest of
161 pid_t pid; local
162 in >> pid; local
166 ProcessInfoSnapshot::ProcInfoEntry proc_info = proc_info_entries[pid];
229 pid_t pid; local
230 in >> pid; local
313 pid_t pid; local
314 in >> pid; local
    [all...]
  /external/linux-tools-perf/bench/
sched-pipe.c 61 pid_t pid, retpid; local
69 pid = fork();
70 assert(pid >= 0);
74 if (!pid) {
89 if (pid) {
90 retpid = waitpid(pid, &wait_stat, 0);
91 assert((retpid == pid) && WIFEXITED(wait_stat));
  /external/openssh/contrib/caldera/
sshd.init 24 PIDF=/var/run/$NAME.pid
30 local pid
32 pid=$(head -1 $pidf)
34 pid=$(pidof $NAME)
40 elif [ -n "$pidf" -a ! -f "$pidf" ] || [ -z "$pid" ]; then
41 # pid-file given but not present or no pid => died, but was not stopped
43 elif [ -r /proc/$pid/cmdline ] &&
44 echo -ne $NAME'\000' | cmp -s - /proc/$pid/cmdline; then
45 # pid-file given and present or pid found => check process..
    [all...]
  /cts/tests/tests/security/src/android/security/cts/
ClonedSecureRandomTest.java 86 * SecureRandom. It then attempts to make the PID number wrap around so it
87 * sees a new process with the same PID twice. The test completes when it
88 * sees two newly started processes with the same PID and compares their
117 * around to the first PID.
123 int pid; local
132 pid = mSecureRandomService.getRandomBytesAndPid(output);
144 myPid == pid);
147 if (previousPid == pid) {
158 previousPid = pid;
161 previousPid = pid;
    [all...]

Completed in 1374 milliseconds

1 2 3 45 6 7 8 91011>>