Home
last modified time | relevance | path

Searched refs:rss (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/tests/NativeProcessesMemoryTest/src/com/android/tests/nativeprocesses/
DNativeProcessesMemoryTest.java198 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/
Dandroid_os_Debug.cpp147 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 …]
Dandroid_util_Process.cpp1104 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/
DMetrics.java101 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/
DPsParser_test.cpp251 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/
DProcessState.java503 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/
Dprocrank.proto39 optional int64 rss = 3; field
Dps.proto49 optional int32 rss = 7; field
/frameworks/base/services/core/java/com/android/server/am/
DAppCompactor.java513 LastCompactionStats(long[] rss) { in LastCompactionStats() argument
514 mRssAfterCompaction = rss; in LastCompactionStats()
DActivityManagerService.java16174 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/
Dprocstats.proto135 optional android.util.AggStats rss = 8; field
/frameworks/base/cmds/statsd/src/
Datoms.proto593 optional int64 rss = 6; field
4499 optional AggStats rss = 8; field