Home
last modified time | relevance | path

Searched refs:proc (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/compile/libbcc/tests/
Dbccarm11 proc = subprocess.Popen(["bcc"] + args, stderr=subprocess.PIPE, stdout=subprocess.PIPE)
12 result = proc.communicate()
16 proc = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
17 result = proc.communicate()
58 proc = subprocess.Popen(remoteCmdLine, stdout=subprocess.PIPE)
59 result = proc.communicate()
Dtest.py51proc = subprocess.Popen(["../libbcc_driver"] + args, stderr=subprocess.PIPE, stdout=subprocess.PIP…
52 result = proc.communicate()
56 proc = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
57 result = proc.communicate()
106 proc = subprocess.Popen(["adb", "shell", "/system/bin/bcc"] + args, stdout=subprocess.PIPE)
107 result = proc.communicate()
/frameworks/base/tools/preload/
DWritePreloadedClassFile.java98 for (Proc proc : root.processes.values()) { in main()
99 if (proc.fromZygote() && !Policy.isService(proc.name)) { in main()
100 for (Operation operation : proc.operations) { in main()
135 for (Proc proc : root.processes.values()) { in addAllClassesFrom()
136 if (proc.name.equals(processName)) { in addAllClassesFrom()
137 for (Operation operation : proc.operations) { in addAllClassesFrom()
DRoot.java116 Proc proc = processes.get(record.pid); in indexProcess() local
118 if (proc == null) { in indexProcess()
121 proc = new Proc(parent, record.pid); in indexProcess()
122 processes.put(proc.id, proc); in indexProcess()
124 parent.children.add(proc); in indexProcess()
128 proc.setName(record.processName); in indexProcess()
DPrintPsTree.java40 for (Proc proc : root.processes.values()) { in main()
41 if (proc.parent == null) { in main()
42 proc.print(); in main()
DPrintHtmlDiff.java43 for (Proc proc : root.processes.values()) { in main()
44 if (proc.name.equals("zygote")) { in main()
45 for (Operation op : proc.operations) { in main()
/frameworks/compile/libbcc/tools/build/
Dgen-build-info.py36 proc = subprocess.Popen(['git', 'log', '-1', '--format=%H'],
40 out, err = proc.communicate()
41 proc.wait()
46 proc = subprocess.Popen(['git', 'status'],
50 out, err = proc.communicate()
51 proc.wait()
/frameworks/base/cmds/app_process/
Dapp_main.cpp88 sp<ProcessState> proc = ProcessState::self(); in onStarted() local
90 proc->startThreadPool(); in onStarted()
103 sp<ProcessState> proc = ProcessState::self(); in onZygoteInit() local
105 proc->startThreadPool(); in onZygoteInit()
/frameworks/native/include/binder/
DParcel.h328 void acquire_object(const sp<ProcessState>& proc,
330 void release_object(const sp<ProcessState>& proc,
333 void flatten_binder(const sp<ProcessState>& proc,
335 void flatten_binder(const sp<ProcessState>& proc,
337 status_t unflatten_binder(const sp<ProcessState>& proc,
339 status_t unflatten_binder(const sp<ProcessState>& proc,
/frameworks/base/core/jni/android/graphics/
DBitmap.cpp86 FromColorProc proc = ChooseFromColorProc(dstBitmap.config()); in SetPixels() local
88 if (NULL == dst || NULL == proc) { in SetPixels()
99 proc(dst, src, width, x, y); in SetPixels()
516 ToColorProc proc = ChooseToColorProc(*bitmap); in Bitmap_getPixel() local
517 if (NULL == proc) { in Bitmap_getPixel()
526 proc(dst, src, 1, bitmap->getColorTable()); in Bitmap_getPixel()
535 ToColorProc proc = ChooseToColorProc(*bitmap); in Bitmap_getPixels() local
536 if (NULL == proc) { in Bitmap_getPixels()
548 proc(d, src, width, ctable); in Bitmap_getPixels()
564 FromColorProc proc = ChooseFromColorProc(bitmap->config()); in Bitmap_setPixel() local
[all …]
/frameworks/native/libs/binder/
DParcel.cpp72 void acquire_object(const sp<ProcessState>& proc, in acquire_object() argument
87 const sp<IBinder> b = proc->getStrongProxyForHandle(obj.handle); in acquire_object()
95 const wp<IBinder> b = proc->getWeakProxyForHandle(obj.handle); in acquire_object()
109 void release_object(const sp<ProcessState>& proc, in release_object() argument
124 const sp<IBinder> b = proc->getStrongProxyForHandle(obj.handle); in release_object()
132 const wp<IBinder> b = proc->getWeakProxyForHandle(obj.handle); in release_object()
151 status_t flatten_binder(const sp<ProcessState>& proc, in flatten_binder() argument
182 status_t flatten_binder(const sp<ProcessState>& proc, in flatten_binder() argument
236 status_t unflatten_binder(const sp<ProcessState>& proc, in unflatten_binder() argument
247 *out = proc->getStrongProxyForHandle(flat->handle); in unflatten_binder()
[all …]
/frameworks/base/services/java/com/android/server/am/
DProviderMap.java193 && (provider.proc == null || evenPersistent || !provider.proc.persistent)) { in collectForceStopProvidersLocked()
357 if (r.proc != null) pw.println(r.proc.pid); in dumpProvider()
363 if (r.proc != null && r.proc.thread != null) { in dumpProvider()
369 r.proc.thread.dumpProvider( in dumpProvider()
DActivityManagerService.java957 ProcessRecord proc = (ProcessRecord)data.get("app");
959 if (proc != null && proc.crashDialog != null) {
960 Slog.e(TAG, "App already has crash dialog: " + proc);
966 if (!showBackground && UserHandle.getAppId(proc.uid)
967 >= Process.FIRST_APPLICATION_UID && proc.userId != mCurrentUserId
968 && proc.pid != MY_PID) {
969 Slog.w(TAG, "Skipping crash dialog of " + proc + ": background");
977 ActivityManagerService.this, res, proc);
979 proc.crashDialog = d;
994 ProcessRecord proc = (ProcessRecord)data.get("app");
[all …]
DActiveServices.java410 private void updateServiceForegroundLocked(ProcessRecord proc, boolean oomAdj) { in updateServiceForegroundLocked() argument
412 for (ServiceRecord sr : proc.services) { in updateServiceForegroundLocked()
418 if (anyForeground != proc.foregroundServices) { in updateServiceForegroundLocked()
419 proc.foregroundServices = anyForeground; in updateServiceForegroundLocked()
1453 boolean attachApplicationLocked(ProcessRecord proc, String processName) throws Exception { in attachApplicationLocked() argument
1461 if (proc != sr.isolatedProc && (proc.uid != sr.appInfo.uid in attachApplicationLocked()
1468 realStartServiceLocked(sr, proc); in attachApplicationLocked()
1485 if (proc != sr.isolatedProc && (proc.uid != sr.appInfo.uid in attachApplicationLocked()
1496 void processStartTimedOutLocked(ProcessRecord proc) { in processStartTimedOutLocked() argument
1499 if ((proc.uid == sr.appInfo.uid in processStartTimedOutLocked()
[all …]
DContentProviderRecord.java53 ProcessRecord proc; // if non-null, hosting process. field in ContentProviderRecord
149 pw.print(prefix); pw.print("proc="); pw.println(proc); in dump()
/frameworks/base/tools/obbtool/
Dmkobb.sh47 if ! egrep -q "^cryptoloop " /proc/modules; then \
53 if ! egrep -q "name\s*:\s*${CRYPTO}$" /proc/crypto; then \
59 if ! egrep -q "^\s*${FS}$" /proc/filesystems; then \
/frameworks/av/media/mediaserver/
Dmain_mediaserver.cpp56 sp<ProcessState> proc(ProcessState::self()); in main() local
124 sp<ProcessState> proc(ProcessState::self()); in main() local
/frameworks/av/drm/drmserver/
Dmain_drmserver.cpp31 sp<ProcessState> proc(ProcessState::self()); in main() local
/frameworks/base/cmds/bootanimation/
Dbootanimation_main.cpp51 sp<ProcessState> proc(ProcessState::self()); in main() local
/frameworks/base/tests/DumpRenderTree/assets/
Drun_reliability_tests.py154 proc = subprocess.Popen(test_cmd, shell=True,
157 (adb_output, adb_error) = proc.communicate()
158 if proc.returncode != 0:
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
DMemoryUsageTest.java247 for (RunningAppProcessInfo proc : apps) { in getPss()
248 if (!proc.processName.equals(processName)) { in getPss()
253 proc.pid }; in getPss()
/frameworks/native/services/surfaceflinger/tests/resize/
Dresize.cpp35 sp<ProcessState> proc(ProcessState::self()); in main() local
/frameworks/base/cmds/system_server/library/
Dsystem_init.cpp54 sp<ProcessState> proc(ProcessState::self()); in system_init() local
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1759 Uid.Proc proc = uid.getProcessStatsLocked("*wakelock*"); in finishAddingCpuLocked() local
1760 proc.addCpuTimeLocked(myUTime, mySTime); in finishAddingCpuLocked()
1761 proc.addSpeedStepTimes(cpuSpeedTimes); in finishAddingCpuLocked()
1771 Uid.Proc proc = uid.getProcessStatsLocked("*lost*"); in finishAddingCpuLocked() local
1772 proc.addCpuTimeLocked(utime, stime); in finishAddingCpuLocked()
1773 proc.addSpeedStepTimes(cpuSpeedTimes); in finishAddingCpuLocked()
1819 public void reportExcessiveWakeLocked(int uid, String proc, long overTime, long usedTime) { in reportExcessiveWakeLocked() argument
1822 u.reportExcessiveWakeLocked(proc, overTime, usedTime); in reportExcessiveWakeLocked()
1826 public void reportExcessiveCpuLocked(int uid, String proc, long overTime, long usedTime) { in reportExcessiveCpuLocked() argument
1829 u.reportExcessiveCpuLocked(proc, overTime, usedTime); in reportExcessiveCpuLocked()
[all …]
/frameworks/native/cmds/dumpstate/
Dutils.c490 DIR *proc = opendir("/proc"); in dump_traces() local
491 if (proc == NULL) { in dump_traces()
511 while ((d = readdir(proc))) { in dump_traces()

12