/frameworks/base/tests/NativeProcessesMemoryTest/src/com/android/tests/nativeprocesses/ |
D | NativeProcessesMemoryTest.java | 198 long rss = sc.nextLong(); in snapMemoryUsage() local 200 return Optional.of(new MemoryMetric(pss, rss, vss)); in snapMemoryUsage() 214 metrics.addTestMetric(processName + "_rss", Long.toString(memoryMetric.rss)); in logMemoryMetric() 221 final long rss; field in NativeProcessesMemoryTest.MemoryMetric 224 MemoryMetric(long pss, long rss, long vss) { in MemoryMetric() argument 226 this.rss = rss; in MemoryMetric() 232 pss + other.pss, rss + other.rss, vss + other.vss); in sum()
|
/frameworks/base/core/jni/ |
D | android_os_Debug.cpp | 200 stats[HEAP_GRAPHICS].rss = graphics_mem.graphics; in android_os_Debug_getDirtyPagesPid() 203 stats[HEAP_GL].rss = graphics_mem.gl; in android_os_Debug_getDirtyPagesPid() 206 stats[HEAP_OTHER_MEMTRACK].rss = graphics_mem.other; in android_os_Debug_getDirtyPagesPid() 212 stats[HEAP_UNKNOWN].rss += stats[i].rss; in android_os_Debug_getDirtyPagesPid() 224 env->SetIntField(object, stat_fields[i].rss_field, stats[i].rss); in android_os_Debug_getDirtyPagesPid() 246 otherArray[j++] = stats[i].rss; in android_os_Debug_getDirtyPagesPid() 268 jlong rss = 0; in android_os_Debug_getPssPid() local 275 pss = uss = rss = memtrack = graphics_mem.graphics + graphics_mem.gl + graphics_mem.other; in android_os_Debug_getPssPid() 283 rss += stats.rss; in android_os_Debug_getPssPid() 300 outUssSwapPssRssArray[2] = rss; in android_os_Debug_getPssPid() [all …]
|
D | android_util_Process.cpp | 1204 jlong rss[5] = {0, 0, 0, 0, 0}; in android_os_Process_getRss() local 1212 rss[0] = v; in android_os_Process_getRss() 1214 rss[1] = v; in android_os_Process_getRss() 1216 rss[2] = v; in android_os_Process_getRss() 1218 rss[3] = v; in android_os_Process_getRss() 1220 rss[4] = v; in android_os_Process_getRss() 1230 env->SetLongArrayRegion(rssArray, 0, 5, rss); in android_os_Process_getRss()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | CacheOomRanker.java | 356 long[] rss = mProcessDependencies.getRss(scoredProcessRecord.proc.getPid()); in reRankLruCachedAppsLSP() local 357 if (rss == null || rss.length == 0) { in reRankLruCachedAppsLSP() 361 + Arrays.toString(rss)); in reRankLruCachedAppsLSP() 366 scoredProcessRecord.proc.mState.setCacheOomRankerRss(rss[0], nowMs); in reRankLruCachedAppsLSP() 367 scoredProcessRecord.proc.mProfile.setLastRss(rss[0]); in reRankLruCachedAppsLSP()
|
D | PhantomProcessRecord.java | 109 long[] rss = Process.getRss(pid); in getRss() local 110 return (rss != null && rss.length > 0) ? rss[0] : 0; in getRss()
|
D | AppProfiler.java | 864 long rss = skipRSSCollection ? 0 : Debug.getRss(pid, null); in collectRssInBackground() local 867 if (rss != 0 && profile.getThread() != null in collectRssInBackground() 872 recordRssSampleLPf(profile, procState, rss, statType, endTime - startTime, in collectRssInBackground() 915 long swapPss, long rss, int statType, long pssDuration, long now) { in recordPssSampleLPf() argument 919 swapPss * 1024, rss * 1024, statType, procState, pssDuration); in recordPssSampleLPf() 921 profile.addPss(pss, uss, rss, true, statType, pssDuration); in recordPssSampleLPf() 937 profile.setLastRss(rss); in recordPssSampleLPf() 976 private void recordRssSampleLPf(ProcessProfileRecord profile, int procState, long rss, in recordRssSampleLPf() argument 985 /* swapPss = */ 0, rss * 1024, statType, procState, rssDuration); in recordRssSampleLPf() 988 profile.addPss(/* pss = */ 0, /* uss = */ 0, rss, true, statType, rssDuration); in recordRssSampleLPf() [all …]
|
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 | ProcessRecord.java | 1250 long[] rss = Process.getRss(pid); in getRss() local 1251 return (rss != null && rss.length > 0) ? rss[0] : 0; in getRss()
|
D | ProcessStateRecord.java | 1311 public void setCacheOomRankerRss(long rss, long rssTimeMs) { in setCacheOomRankerRss() argument 1312 mCacheOomRankerRss = rss; in setCacheOomRankerRss()
|
D | CachedAppOptimizer.java | 1813 SingleCompactionStats(long[] rss, CompactSource source, String processName, in SingleCompactionStats() argument 1817 mRssAfterCompaction = rss; in SingleCompactionStats()
|
D | ActivityManagerService.java | 12220 MemItem(String label, String shortLabel, long pss, long swapPss, long rss, in MemItem() argument 12228 this.mRss = rss; in MemItem() 12235 MemItem(String label, String shortLabel, long pss, long swapPss, long rss, in MemItem() argument 12242 this.mRss = rss; in MemItem() 12255 long rss = pss ? rhs.pss : rhs.mRss; in sortMemItems() 12256 if (lss < rss) { in sortMemItems() 12258 } else if (lss > rss) { in sortMemItems()
|
/frameworks/base/tests/SystemMemoryTest/host/src/com/android/tests/sysmem/host/ |
D | Metrics.java | 101 long rss = sc.nextLong(); in sample() local 105 mMetrics.addTestMetric(label + ".system_server.rss", Long.toString(rss)); in sample()
|
/frameworks/base/cmds/incident_helper/tests/ |
D | PsParser_test.cpp | 251 if (g.rss() != e.rss()) { in TEST_F() 252 fprintf(stderr, "prcs[%d]: Invalid rss. Got %d, want %d\n", i, g.rss(), e.rss()); in TEST_F()
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | ProcessState.java | 605 public void addPss(long pss, long uss, long rss, boolean always, int type, long duration, in addPss() argument 641 rss, rss, rss); in addPss() 643 rss, rss, rss); 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()
|
/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 1014 app.mProfile.setLastRss(rss); in makeProcessRecord() 1022 Long pss, Long rss, Integer importance, String description) { in verifyApplicationExitInfo() argument 1060 if (rss != null) { in verifyApplicationExitInfo() 1061 assertEquals(rss.longValue(), info.getRss()); in verifyApplicationExitInfo()
|
D | CacheOomRankerTest.java | 128 Long rss = mPidToRss.get(pid); in setUp() 129 assertThat(rss).isNotNull(); in setUp() 130 return new long[]{rss}; in setUp()
|
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 | 42 optional int64 rss = 12; field
|
/frameworks/base/mime/java-res/ |
D | android.mime.types | 51 ?application/rss+xml rss
|
/frameworks/base/core/proto/android/os/ |
D | procrank.proto | 39 optional int64 rss = 3; field
|
D | ps.proto | 49 optional int32 rss = 7; field
|
/frameworks/base/core/java/android/app/ |
D | ApplicationExitInfo.java | 1005 public void setRss(final long rss) { in setRss() argument 1006 mRss = rss; in setRss()
|
D | ActivityThread.java | 3496 boolean hasSwappedOutPss, int dirtySwap, int dirtySwapPss, int rss) { in dumpMemoryInfo() argument 3511 proto.write(MemInfoDumpProto.ProcessMemory.MemoryInfo.TOTAL_RSS_KB, rss); in dumpMemoryInfo()
|
/frameworks/base/core/proto/android/service/ |
D | procstats.proto | 142 optional android.util.AggStats rss = 8; field
|
/frameworks/base/core/proto/android/server/ |
D | activitymanagerservice.proto | 184 // The rss set size for the heap.
|