/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowActivityManager.java | 20 private List<ActivityManager.RunningAppProcessInfo> processes = field in class:ShadowActivityManager 33 return processes; 57 * Non-Android accessor to set the list of running processes. 58 * @param processes 60 public void setProcesses( List<ActivityManager.RunningAppProcessInfo> processes ) { 61 this.processes = processes;
|
/external/chromium_org/tools/telemetry/telemetry/core/platform/ |
ps_util.py | 8 def GetChildPids(processes, pid): 9 """Returns all child processes of |pid| from the given |processes| list. 12 processes: A tuple of (pid, ppid, state) as generated by ps. 19 for curr_pid, curr_ppid, state in processes: 21 continue # Ignore zombie processes
|
posix_platform_backend.py | 45 processes = [] 49 processes.append((m.group('pid'), m.group('ppid'), m.group('state'))) 50 return ps_util.GetChildPids(processes, pid)
|
cros_platform_backend.py | 51 processes = [(curr_pid, curr_ppid, curr_state) 53 return ps_util.GetChildPids(processes, pid)
|
/external/chromium/chrome/browser/ |
memory_details_linux.cc | 80 // Walk /proc and get information on all the processes running on the system. 81 static bool GetProcesses(std::vector<Process>* processes) { 82 processes->clear(); 128 processes->push_back(process); 167 out->processes.push_back(pmi); 172 static void GetAllChildren(const std::vector<Process>& processes, 184 i = processes.begin(); i != processes.end(); ++i) { 206 std::vector<Process> processes; local 207 GetProcesses(&processes); [all...] |
memory_details.cc | 48 processes(rhs.processes) { 56 processes = rhs.processes; 90 // Collect the list of child processes. 119 for (size_t index = 0; index < chrome_browser->processes.size(); 125 chrome_browser->processes[index]; 132 // Ignore processes that don't have a connection, such as crashed tabs. 247 // Get rid of other Chrome processes that are from a different profile. 248 for (size_t index = 0; index < chrome_browser->processes.size() [all...] |
memory_details.h | 17 // have multiple processes (of course!). Even IE has multiple 18 // processes these days. 33 // The number of processes which this memory represents. 58 ProcessMemoryInformationList processes; member in struct:ProcessData 97 const std::vector<ProcessData>& processes() { return process_data_; } function in class:MemoryDetails 122 // Note - this function enumerates memory details from many processes 124 // The parameter holds information about processes from the IO thread. 138 // renderer processes is only available there.
|
/system/core/toolbox/ |
schedtop.c | 44 struct thread_table processes; variable in typeref:struct:thread_table 101 info = get_item(&processes); 150 commit_item(&processes); 206 proc_info = &processes.data[processes.active - 1]; 215 printf("Processes: %d, Threads %d\n", processes.active, threads.active); 233 for (j = 0; j < processes.active; j++) 234 if (pid == processes.data[j].pid) 236 if (j == processes.active [all...] |
/external/chromium_org/chrome/browser/ |
memory_details.cc | 101 processes(rhs.processes) { 109 processes = rhs.processes; 143 ProcessMemoryInformationList processes = ChromeBrowser()->processes; local 145 std::sort(processes.begin(), processes.end()); 148 processes.rbegin(); 149 iter1 != processes.rend() [all...] |
memory_details_android.cc | 27 // processes in android which are not running as a child of the browser 30 std::vector<ProcessMemoryInformation>* processes) { 41 processes->push_back(info); 65 out->processes.push_back(pmi); 70 void GetAllChildren(const std::vector<ProcessEntry>& processes, 83 for (std::vector<ProcessEntry>::const_iterator i = processes.begin(); 84 i != processes.end(); ++i) { 113 std::vector<ProcessEntry> processes; local 116 processes.push_back(*process_entry); 127 GetAllChildren(processes, roots, ¤t_browser_processes) [all...] |
memory_details.h | 17 // have multiple processes (of course!). Even IE has multiple 18 // processes these days. 54 // The number of processes which this memory represents. 79 ProcessMemoryInformationList processes; member in struct:ProcessData 127 const std::vector<ProcessData>& processes() { return process_data_; } function in class:MemoryDetails 138 // and all sub-processes, suitable for logging. 157 // Note - this function enumerates memory details from many processes 159 // The parameter holds information about processes from the IO thread. 173 // renderer processes is only available there.
|
memory_details_linux.cc | 87 // Get information on all the processes running on the system. 135 process_data.processes.push_back(pmi); 141 static std::vector<pid_t> GetAllChildren(const ProcessMap& processes, 150 for (ProcessMap::const_iterator iter = processes.begin(); 151 iter != processes.end(); 204 i = current_browser.processes.begin(); 205 i != current_browser.processes.end(); ++i) { 206 // Check if this is one of the child processes whose data we collected
|
/packages/apps/Nfc/src/com/android/nfc/ |
NfcApplication.java | 49 List processes = am.getRunningAppProcesses(); local 50 Iterator i = processes.iterator();
|
/sdk/emulator/qtools/ |
profile_pid.cpp | 14 // of processes and sort into decreasing order. 64 ProcessState *processes = trace->GetProcesses(&num_procs); local 65 qsort(processes, num_procs, sizeof(ProcessState), cmp_dec_cpu_time); 69 total_time += processes[ii].cpu_time; 74 ProcessState *pstate = &processes[0];
|
dump_regions.cpp | 41 ProcessState *processes = trace->GetProcesses(&num_procs); local 43 ProcessState *pstate = &processes[0];
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/processes/process_monitor/ |
popup.js | 7 chrome.processes.onUpdatedWithMemory.addListener( 8 function(processes) { 21 for (pid in processes) { 22 table = displayProcessInfo(processes[pid], table); 31 chrome.processes.terminate(procId);
|
/frameworks/webview/chromium/tools/ |
memreport.py | 19 Processes the output of memdump (see go/memdump) aggregating memory usage 65 processes = [] 73 processes.append(mem_usage_for_regions) 100 return processes
|
/frameworks/base/tools/preload/ |
PrintPsTree.java | 40 for (Proc proc : root.processes.values()) {
|
Root.java | 43 final Map<Integer, Proc> processes = new HashMap<Integer, Proc>(); field in class:Root 55 Proc process = processes.get(record.pid); 116 Proc proc = processes.get(record.pid); 120 Proc parent = processes.get(record.ppid); 122 processes.put(proc.id, proc);
|
/external/chromium_org/chrome/browser/resources/memory_internals/ |
memory_internals.js | 28 this.updateSnapshot(browser['processes']); 42 * @param {Object} processes information about memory. 44 updateSnapshot: function(processes) { 45 // Remove existing processes. 52 // Add processes. 53 for (var p in processes) { 54 var process = processes[p];
|
/external/chromium_org/tools/telemetry/telemetry/core/timeline/ |
trace_event_importer_unittest.py | 42 processes = m.GetAllProcesses() 43 self.assertEqual(1, len(processes)) 44 p = processes[0] 93 processes = m.GetAllProcesses() 94 t = processes[0].threads[1] 109 processes = m.GetAllProcesses() 110 self.assertEqual(1, len(processes)) 111 p = processes[0] 300 processes = m.GetAllProcesses() 301 self.assertEqual(1, len(processes)) [all...] |
/external/chromium_org/chrome/browser/ui/webui/memory_internals/ |
memory_internals_proxy.cc | 60 const std::vector<ProcessData>& browser_processes = processes(); 73 base::DictionaryValue* FindProcessFromPid(base::ListValue* processes, 75 const size_t n = processes->GetSize(); 78 if (!processes->GetDictionary(i, &process)) 241 information_->Set("processes", process_info); 243 for (PMIIterator iter = browser.processes.begin(); 244 iter != browser.processes.end(); ++iter) { 278 base::ListValue* processes; 279 if (!information_->GetList("processes", &processes)) [all...] |
memory_internals_proxy.h | 42 // Starts fetching memory usages of all processes. 54 // Enumerates all processes information. 67 base::ListValue* processes); 69 // Requests all renderer processes to get detailed memory information.
|
/external/chromium_org/chrome/test/base/ |
chrome_process_util_mac.cc | 73 std::vector<base::ProcessId> processes; local 74 processes.push_back(process_id); 76 MacChromeProcessInfoList process_info = GetRunningMacProcessInfo(processes);
|
/external/chromium/chrome/browser/extensions/ |
extension_processes_api.cc | 73 DictionaryValue* processes = new DictionaryValue(); local 132 processes->Set(base::IntToString(id), 136 args.Append(processes);
|