/frameworks/base/core/java/com/android/internal/app/ |
D | ProcessStats.java | 479 public static void computeProcessData(ProcessState proc, ProcessDataCollection data, long now) { in computeProcessData() argument 488 data.totalTime += proc.getDuration(bucket, now); in computeProcessData() 489 long samples = proc.getPssSampleCount(bucket); in computeProcessData() 491 long minPss = proc.getPssMinimum(bucket); in computeProcessData() 492 long avgPss = proc.getPssAverage(bucket); in computeProcessData() 493 long maxPss = proc.getPssMaximum(bucket); in computeProcessData() 494 long minUss = proc.getPssUssMinimum(bucket); in computeProcessData() 495 long avgUss = proc.getPssUssAverage(bucket); in computeProcessData() 496 long maxUss = proc.getPssUssMaximum(bucket); in computeProcessData() 529 static long computeProcessTimeLocked(ProcessState proc, int[] screenStates, int[] memStates, in computeProcessTimeLocked() argument [all …]
|
/frameworks/webview/chromium/tools/ |
D | run_webview_cts.py | 60 proc = None 65 if proc: 66 proc.send_signal(signum) 69 proc = subprocess.Popen( 73 (stdout, stderr) = proc.communicate();
|
/frameworks/base/tools/preload/ |
D | WritePreloadedClassFile.java | 98 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()
|
D | Root.java | 116 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()
|
D | PrintPsTree.java | 40 for (Proc proc : root.processes.values()) { in main() 41 if (proc.parent == null) { in main() 42 proc.print(); in main()
|
D | PrintHtmlDiff.java | 43 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/ |
D | gen-build-info.py | 36 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/ |
D | app_main.cpp | 88 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/base/services/java/com/android/server/am/ |
D | ActiveServices.java | 322 ProcessRecord proc = mAm.getProcessRecordLocked(r.processName, r.appInfo.uid, false); in startServiceLocked() local 323 if (proc == null || proc.curProcState > ActivityManager.PROCESS_STATE_RECEIVER) { in startServiceLocked() 335 + proc); in startServiceLocked() 351 } else if (proc.curProcState >= ActivityManager.PROCESS_STATE_SERVICE) { in startServiceLocked() 359 sb.append("Not potential delay (state=").append(proc.curProcState) in startServiceLocked() 360 .append(' ').append(proc.adjType); in startServiceLocked() 361 String reason = proc.makeAdjReason(); in startServiceLocked() 589 private void updateServiceForegroundLocked(ProcessRecord proc, boolean oomAdj) { in updateServiceForegroundLocked() argument 591 for (int i=proc.services.size()-1; i>=0; i--) { in updateServiceForegroundLocked() 592 ServiceRecord sr = proc.services.valueAt(i); in updateServiceForegroundLocked() [all …]
|
D | ActivityManagerService.java | 1090 ProcessRecord proc = (ProcessRecord)data.get("app"); 1092 if (proc != null && proc.crashDialog != null) { 1093 Slog.e(TAG, "App already has crash dialog: " + proc); 1099 if (!showBackground && UserHandle.getAppId(proc.uid) 1100 >= Process.FIRST_APPLICATION_UID && proc.userId != mCurrentUserId 1101 && proc.pid != MY_PID) { 1102 Slog.w(TAG, "Skipping crash dialog of " + proc + ": background"); 1110 ActivityManagerService.this, res, proc); 1112 proc.crashDialog = d; 1127 ProcessRecord proc = (ProcessRecord)data.get("app"); [all …]
|
D | ProviderMap.java | 194 && (provider.proc == null || evenPersistent || !provider.proc.persistent)) { in collectForceStopProvidersLocked() 387 if (r.proc != null) pw.println(r.proc.pid); in dumpProvider() 393 if (r.proc != null && r.proc.thread != null) { in dumpProvider() 399 r.proc.thread.dumpProvider( in dumpProvider()
|
D | ContentProviderRecord.java | 53 ProcessRecord proc; // if non-null, hosting process. field in ContentProviderRecord 149 pw.print(prefix); pw.print("proc="); pw.println(proc); in dump()
|
/frameworks/native/libs/binder/ |
D | Parcel.cpp | 74 void acquire_object(const sp<ProcessState>& proc, in acquire_object() argument 89 const sp<IBinder> b = proc->getStrongProxyForHandle(obj.handle); in acquire_object() 97 const wp<IBinder> b = proc->getWeakProxyForHandle(obj.handle); in acquire_object() 111 void release_object(const sp<ProcessState>& proc, in release_object() argument 126 const sp<IBinder> b = proc->getStrongProxyForHandle(obj.handle); in release_object() 134 const wp<IBinder> b = proc->getWeakProxyForHandle(obj.handle); in release_object() 153 status_t flatten_binder(const sp<ProcessState>& proc, in flatten_binder() argument 184 status_t flatten_binder(const sp<ProcessState>& proc, in flatten_binder() argument 238 status_t unflatten_binder(const sp<ProcessState>& proc, in unflatten_binder() argument 249 *out = proc->getStrongProxyForHandle(flat->handle); in unflatten_binder() [all …]
|
/frameworks/base/tools/obbtool/ |
D | mkobb.sh | 47 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/native/include/binder/ |
D | Parcel.h | 379 void acquire_object(const sp<ProcessState>& proc, 381 void release_object(const sp<ProcessState>& proc, 384 void flatten_binder(const sp<ProcessState>& proc, 386 void flatten_binder(const sp<ProcessState>& proc, 388 status_t unflatten_binder(const sp<ProcessState>& proc, 390 status_t unflatten_binder(const sp<ProcessState>& proc,
|
/frameworks/base/core/jni/android/graphics/ |
D | Bitmap.cpp | 119 FromColorProc proc = ChooseFromColorProc(dstBitmap.config(), isPremultiplied); in SetPixels() local 121 if (NULL == dst || NULL == proc) { in SetPixels() 132 proc(dst, src, width, x, y); in SetPixels() 619 ToColorProc proc = ChooseToColorProc(*bitmap, isPremultiplied); in Bitmap_getPixel() local 620 if (NULL == proc) { in Bitmap_getPixel() 629 proc(dst, src, 1, bitmap->getColorTable()); in Bitmap_getPixel() 638 ToColorProc proc = ChooseToColorProc(*bitmap, isPremultiplied); in Bitmap_getPixels() local 639 if (NULL == proc) { in Bitmap_getPixels() 651 proc(d, src, width, ctable); in Bitmap_getPixels() 667 FromColorProc proc = ChooseFromColorProc(bitmap->config(), isPremultiplied); in Bitmap_setPixel() local [all …]
|
/frameworks/av/media/mediaserver/ |
D | main_mediaserver.cpp | 56 sp<ProcessState> proc(ProcessState::self()); in main() local 124 sp<ProcessState> proc(ProcessState::self()); in main() local
|
/frameworks/av/drm/drmserver/ |
D | main_drmserver.cpp | 31 sp<ProcessState> proc(ProcessState::self()); in main() local
|
/frameworks/base/cmds/bootanimation/ |
D | bootanimation_main.cpp | 51 sp<ProcessState> proc(ProcessState::self()); in main() local
|
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/ |
D | MemoryUsageTest.java | 247 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/ |
D | resize.cpp | 35 sp<ProcessState> proc(ProcessState::self()); in main() local
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 1793 Uid.Proc proc = uid.getProcessStatsLocked("*wakelock*"); in finishAddingCpuLocked() local 1794 proc.addCpuTimeLocked(myUTime, mySTime); in finishAddingCpuLocked() 1795 proc.addSpeedStepTimes(cpuSpeedTimes); in finishAddingCpuLocked() 1805 Uid.Proc proc = uid.getProcessStatsLocked("*lost*"); in finishAddingCpuLocked() local 1806 proc.addCpuTimeLocked(utime, stime); in finishAddingCpuLocked() 1807 proc.addSpeedStepTimes(cpuSpeedTimes); in finishAddingCpuLocked() 1853 public void reportExcessiveWakeLocked(int uid, String proc, long overTime, long usedTime) { in reportExcessiveWakeLocked() argument 1856 u.reportExcessiveWakeLocked(proc, overTime, usedTime); in reportExcessiveWakeLocked() 1860 public void reportExcessiveCpuLocked(int uid, String proc, long overTime, long usedTime) { in reportExcessiveCpuLocked() argument 1863 u.reportExcessiveCpuLocked(proc, overTime, usedTime); in reportExcessiveCpuLocked() [all …]
|
/frameworks/native/cmds/dumpstate/ |
D | utils.c | 495 DIR *proc = opendir("/proc"); in dump_traces() local 496 if (proc == NULL) { in dump_traces() 516 while ((d = readdir(proc))) { in dump_traces()
|
/frameworks/native/opengl/libs/EGL/ |
D | eglApi.cpp | 883 void* proc = NULL; in findBuiltinGLWrapper() local 885 proc = dlsym(cnx->libGles2, procname); in findBuiltinGLWrapper() 886 if (proc) return (__eglMustCastToProperFunctionPointerType)proc; in findBuiltinGLWrapper() 888 proc = dlsym(cnx->libGles1, procname); in findBuiltinGLWrapper() 889 if (proc) return (__eglMustCastToProperFunctionPointerType)proc; in findBuiltinGLWrapper()
|
/frameworks/base/core/jni/ |
D | android_util_Process.cpp | 958 DIR *proc = opendir("/proc"); in android_os_Process_getPidsForCommands() local 959 if (proc == NULL) { in android_os_Process_getPidsForCommands() 965 while ((d = readdir(proc))) { in android_os_Process_getPidsForCommands() 1000 closedir(proc); in android_os_Process_getPidsForCommands()
|