/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 | 147 int rss; member 371 stats[which_heap].rss += usage.rss; in load_maps() 382 stats[sub_heap].rss += usage.rss; in load_maps() 408 stats[HEAP_GRAPHICS].rss = graphics_mem.graphics; in android_os_Debug_getDirtyPagesPid() 411 stats[HEAP_GL].rss = graphics_mem.gl; in android_os_Debug_getDirtyPagesPid() 414 stats[HEAP_OTHER_MEMTRACK].rss = graphics_mem.other; in android_os_Debug_getDirtyPagesPid() 420 stats[HEAP_UNKNOWN].rss += stats[i].rss; in android_os_Debug_getDirtyPagesPid() 432 env->SetIntField(object, stat_fields[i].rss_field, stats[i].rss); in android_os_Debug_getDirtyPagesPid() 454 otherArray[j++] = stats[i].rss; in android_os_Debug_getDirtyPagesPid() 475 jlong rss = 0; in android_os_Debug_getPssPid() local [all …]
|
D | android_util_Process.cpp | 1104 jlong rss[4] = {0, 0, 0, 0}; in android_os_Process_getRss() local 1113 rss[0] = v; in android_os_Process_getRss() 1115 rss[1] = v; in android_os_Process_getRss() 1117 rss[2] = v; in android_os_Process_getRss() 1119 rss[3] = v; in android_os_Process_getRss() 1129 env->SetLongArrayRegion(rssArray, 0, 4, rss); in android_os_Process_getRss()
|
/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 | 503 public void addPss(long pss, long uss, long rss, boolean always, int type, long duration, in addPss() argument 539 rss, rss, rss); in addPss() 541 rss, rss, rss); in addPss() 552 pss, pss, pss, uss, uss, uss, rss, rss, rss); in addPss() 554 pss, pss, pss, uss, uss, uss, rss, rss, rss); in addPss()
|
/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/services/core/java/com/android/server/am/ |
D | AppCompactor.java | 513 LastCompactionStats(long[] rss) { in LastCompactionStats() argument 514 mRssAfterCompaction = rss; in LastCompactionStats()
|
D | ActivityManagerService.java | 16174 long rss, int statType, long pssDuration, long now) { in recordPssSampleLocked() argument 16176 swapPss * 1024, rss * 1024, statType, procState, pssDuration); in recordPssSampleLocked() 16179 pss, uss, rss, true, statType, pssDuration, proc.pkgList.mPkgList); in recordPssSampleLocked() 16186 pss, uss, rss, statType, pssDuration, in recordPssSampleLocked()
|
/frameworks/base/core/proto/android/service/ |
D | procstats.proto | 135 optional android.util.AggStats rss = 8; field
|
/frameworks/base/cmds/statsd/src/ |
D | atoms.proto | 593 optional int64 rss = 6; field 4499 optional AggStats rss = 8; field
|