/frameworks/base/core/jni/ |
D | android_os_Debug.cpp | 145 ssize_t pss = memtrack_proc_graphics_pss(p); in read_memtrack_memory() local 146 if (pss < 0) { in read_memtrack_memory() 147 ALOGW("failed to get graphics pss: %zd", pss); in read_memtrack_memory() 148 return pss; in read_memtrack_memory() 150 graphics_mem->graphics = pss / 1024; in read_memtrack_memory() 152 pss = memtrack_proc_gl_pss(p); in read_memtrack_memory() 153 if (pss < 0) { in read_memtrack_memory() 154 ALOGW("failed to get gl pss: %zd", pss); in read_memtrack_memory() 155 return pss; in read_memtrack_memory() 157 graphics_mem->gl = pss / 1024; in read_memtrack_memory() [all …]
|
D | android_util_Process.cpp | 1192 uint64_t pss; in android_os_Process_getPss() local 1193 if (!proc_mem.SmapsOrRollupPss(&pss)) { in android_os_Process_getPss() 1198 return pss * 1024; in android_os_Process_getPss()
|
/frameworks/base/tests/NativeProcessesMemoryTest/src/com/android/tests/nativeprocesses/ |
D | NativeProcessesMemoryTest.java | 199 long pss = sc.nextLong(); in snapMemoryUsage() local 200 return Optional.of(new MemoryMetric(pss, rss, vss)); in snapMemoryUsage() 213 metrics.addTestMetric(processName + "_pss", Long.toString(memoryMetric.pss)); in logMemoryMetric() 220 final long pss; field in NativeProcessesMemoryTest.MemoryMetric 224 MemoryMetric(long pss, long rss, long vss) { in MemoryMetric() argument 225 this.pss = pss; in MemoryMetric() 232 pss + other.pss, rss + other.rss, vss + other.vss); in sum()
|
/frameworks/base/tests/BootImageProfileTest/src/com/android/bootimageprofile/ |
D | BootImageProfileTest.java | 96 String pss = getProperty("profilesystemserver"); in testSystemServerProfile() local 97 boolean profileSystemServer = "true".equals(pss); in testSystemServerProfile() 104 assertTrue("profile system server not enabled: " + pss, profileSystemServer); in testSystemServerProfile() 123 String pss = getProperty("profilesystemserver"); in testSystemServerProfile() local 124 boolean profileSystemServer = "true".equals(pss); in testSystemServerProfile() 131 assertTrue("profile system server not enabled: " + pss, profileSystemServer); in testSystemServerProfile()
|
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/ |
D | MemoryUsageTest.java | 218 int pss = 0; in measureMemory() local 222 pss = getPss(processName); in measureMemory() 223 Log.i(TAG, appName + "=" + pss); in measureMemory() 224 if (pss < 0) { in measureMemory() 228 pssData.add(pss); in measureMemory() 230 results.putInt(mNameToResultKey.get(appName), pss); in measureMemory() local
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | ProcessState.java | 120 long pss = 0; field in ProcessState.PssAggr 124 pss = (long)( (pss*(double)samples) + (newPss*(double)newSamples) ) in add() 605 public void addPss(long pss, long uss, long rss, boolean always, int type, long duration, in addPss() argument 640 mCommonProcess.mPssTable.mergeStats(mCurCombinedState, 1, pss, pss, pss, uss, uss, uss, in addPss() 642 PssTable.mergeStats(mCommonProcess.mTotalRunningPss, 0, 1, pss, pss, pss, uss, uss, uss, in addPss() 654 pss, pss, pss, uss, uss, uss, rss, rss, rss); in addPss() 656 pss, pss, pss, uss, uss, uss, rss, rss, rss); in addPss() 861 fgPss.add(bgPss.pss, bgPss.samples); in aggregatePss() 865 fgPss.add(cachedPss.pss, cachedPss.samples); in aggregatePss() 869 bgPss.add(cachedPss.pss, cachedPss.samples); in aggregatePss() [all …]
|
/frameworks/base/tests/SystemMemoryTest/host/src/com/android/tests/sysmem/host/ |
D | Metrics.java | 102 long pss = sc.nextLong(); in sample() local 106 mMetrics.addTestMetric(label + ".system_server.pss", Long.toString(pss)); in sample()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppProfiler.java | 723 long pss = skipPSSCollection ? 0 : Debug.getPss(pid, tmp, null); in collectPssInBackground() local 726 if (pss != 0 && profile.getThread() != null in collectPssInBackground() 731 recordPssSampleLPf(profile, procState, pss, tmp[0], tmp[1], tmp[2], in collectPssInBackground() 914 private void recordPssSampleLPf(ProcessProfileRecord profile, int procState, long pss, long uss, in recordPssSampleLPf() argument 918 profile.getPid(), proc.uid, proc.processName, pss * 1024, uss * 1024, in recordPssSampleLPf() 921 profile.addPss(pss, uss, rss, true, statType, pssDuration); in recordPssSampleLPf() 924 "pss of " + proc.toShortString() + ": " + pss in recordPssSampleLPf() 929 profile.setInitialIdlePssOrRss(pss); in recordPssSampleLPf() 931 profile.setLastPss(pss); in recordPssSampleLPf() 934 profile.setLastCachedPss(pss); in recordPssSampleLPf() [all …]
|
D | ProcessMemInfo.java | 26 long pss; field in ProcessMemInfo
|
D | ProcessProfileRecord.java | 527 void addPss(long pss, long uss, long rss, boolean always, int type, long duration) { in addPss() argument 533 tracker.addPss(pss, uss, rss, always, type, duration, in addPss()
|
D | ActivityManagerService.java | 4145 final long[] pss = new long[pids.length]; in getProcessPss() local 4162 final long pi = pss[i] = Debug.getPss(pids[i], tmpUss, null); in getProcessPss() 4175 return pss; in getProcessPss() 12211 final long pss; field in ActivityManagerService.MemItem 12220 MemItem(String label, String shortLabel, long pss, long swapPss, long rss, in MemItem() argument 12226 this.pss = pss; in MemItem() 12235 MemItem(String label, String shortLabel, long pss, long swapPss, long rss, in MemItem() argument 12240 this.pss = pss; in MemItem() 12250 private static void sortMemItems(List<MemItem> items, final boolean pss) { in sortMemItems() argument 12254 long lss = pss ? lhs.pss : lhs.mRss; in sortMemItems() [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()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | ApplicationExitInfoTest.java | 990 int connectionGroup, int procState, long pss, long rss, in makeProcessRecord() argument 993 procState, pss, rss, processName, packageName, mAms); in makeProcessRecord() 997 int connectionGroup, int procState, long pss, long rss, in makeProcessRecord() argument 1013 app.mProfile.setLastPss(pss); in makeProcessRecord() 1022 Long pss, Long rss, Integer importance, String description) { in verifyApplicationExitInfo() argument 1057 if (pss != null) { in verifyApplicationExitInfo() 1058 assertEquals(pss.longValue(), info.getPss()); in verifyApplicationExitInfo()
|
D | ServiceBindingOomAdjPolicyTest.java | 573 int connectionGroup, int procState, int adj, int cap, long pss, long rss, in makeProcessRecord() argument 576 definingUid, connectionGroup, procState, pss, rss, processName, packageName, ams); in makeProcessRecord()
|
/frameworks/base/core/proto/android/app/ |
D | appexitinfo.proto | 41 optional int64 pss = 11; field
|
/frameworks/base/core/proto/android/os/ |
D | procrank.proto | 42 optional int64 pss = 4; field
|
/frameworks/base/core/proto/android/service/ |
D | procstats.proto | 66 // whether kernel reports swapped pss. 136 optional android.util.AggStats pss = 6; field
|
/frameworks/base/core/java/android/app/ |
D | ApplicationExitInfo.java | 996 public void setPss(final long pss) { in setPss() argument 997 mPss = pss; in setPss()
|
D | ActivityThread.java | 3494 int pss, int cleanPss, int sharedDirty, int privateDirty, in dumpMemoryInfo() argument 3500 proto.write(MemInfoDumpProto.ProcessMemory.MemoryInfo.TOTAL_PSS_KB, pss); in dumpMemoryInfo()
|
/frameworks/base/core/proto/android/server/ |
D | activitymanagerservice.proto | 346 // The maximum pss size in kb that we consider a process acceptable to restore
|
/frameworks/proto_logging/stats/ |
D | atoms.proto | 1794 * Logs when a cached process is killed, along with its pss. 1805 optional int64 pss = 4; field 2313 optional int64 pss = 4; field 8932 optional AggStats pss = 6 [deprecated = true]; field 9095 // whether kernel reports swapped pss. 20246 optional int32 pss = 6; field
|