/frameworks/base/core/jni/ |
D | android_os_Debug.cpp | 129 int pss; member 180 ssize_t pss = memtrack_proc_graphics_pss(p); in read_memtrack_memory() local 181 if (pss < 0) { in read_memtrack_memory() 182 ALOGW("failed to get graphics pss: %zd", pss); in read_memtrack_memory() 183 return pss; in read_memtrack_memory() 185 graphics_mem->graphics = pss / 1024; in read_memtrack_memory() 187 pss = memtrack_proc_gl_pss(p); in read_memtrack_memory() 188 if (pss < 0) { in read_memtrack_memory() 189 ALOGW("failed to get gl pss: %zd", pss); in read_memtrack_memory() 190 return pss; in read_memtrack_memory() [all …]
|
D | android_util_Process.cpp | 1105 jlong pss = 0; in android_os_Process_getPss() local 1109 pss += v; in android_os_Process_getPss() 1116 return pss * 1024; in android_os_Process_getPss()
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | ProcessState.java | 114 long pss = 0; field in ProcessState.PssAggr 118 pss = (long)( (pss*(double)samples) + (newPss*(double)newSamples) ) in add() 467 public void addPss(long pss, long uss, boolean always, in addPss() argument 480 mCommonProcess.mPssTable.mergeStats(mCurState, 1, pss, pss, pss, uss, uss, uss); in addPss() 490 pss, pss, pss, uss, uss, uss); in addPss() 539 public void reportCachedKill(ArrayMap<String, ProcessStateHolder> pkgList, long pss) { in reportCachedKill() argument 541 mCommonProcess.addCachedKill(1, pss, pss, pss); in reportCachedKill() 547 pullFixedProc(pkgList, ip).addCachedKill(1, pss, pss, pss); in reportCachedKill() 690 fgPss.add(bgPss.pss, bgPss.samples); in aggregatePss() 694 fgPss.add(cachedPss.pss, cachedPss.samples); in aggregatePss() [all …]
|
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/ |
D | MemoryUsageTest.java | 212 int pss = 0; in measureMemory() local 216 pss = getPss(processName); in measureMemory() 217 Log.i(TAG, appName + "=" + pss); in measureMemory() 218 if (pss < 0) { in measureMemory() 222 pssData.add(pss); in measureMemory() 224 results.putInt(mNameToResultKey.get(appName), pss); in measureMemory() local
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessMemInfo.java | 26 long pss; field in ProcessMemInfo
|
D | ActivityManagerService.java | 2538 long pss = Debug.getPss(pid, tmp, null); 2540 if (pss != 0 && proc.thread != null && proc.setProcState == procState 2543 recordPssSampleLocked(proc, procState, pss, tmp[0], tmp[1], 6150 long[] pss = new long[pids.length]; in getProcessPss() local 6161 pss[i] = Debug.getPss(pids[i], tmpUss, null); in getProcessPss() 6166 proc.baseProcessTracker.addPss(pss[i], tmpUss[0], false, proc.pkgList); in getProcessPss() 6171 return pss; in getProcessPss() 16789 final long pss; 16800 pss = _pss; 16810 pss = _pss; [all …]
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/ |
D | LoaderDicom.java | 470 String[]pss = pixel_spacing[0].split("\\\\"); in buildRSVolume() local 473 float sx = Float.parseFloat(pss[0]); in buildRSVolume() 474 float sy = Float.parseFloat(pss[1]); in buildRSVolume() 594 String[]pss = pixel_spacing.split("\\\\"); in buildRSVolume2() local 597 float sx = Float.parseFloat(pss[0]); in buildRSVolume2() 598 float sy = Float.parseFloat(pss[1]); in buildRSVolume2()
|