Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DGarbageMonitor.java225 long rss = rssValues[0]; in update() local
227 info.rss[info.head] = info.currentRss = rss; in update()
228 info.head = (info.head + 1) % info.rss.length; in update()
292 long rss, limit; field in GarbageMonitor.MemoryIconDrawable
303 public void setRss(long rss) { in setRss() argument
304 if (rss != this.rss) { in setRss()
305 this.rss = rss; in setRss()
321 if (limit > 0 && rss > 0) { in draw()
322 float frac = Math.min(1f, (float) rss / limit); in draw()
383 long rss, limit; field in GarbageMonitor.MemoryGraphIcon
[all …]
DDumpTruck.java57 private long rss; field in DumpTruck
94 rss = info.currentRss; in captureHeaps()
149 String.format("SystemUI memory dump (rss=%dM)", rss / 1024)); in createShareIntent()
/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.cpp151 int rss; member
393 stats[which_heap].rss += usage.rss; in load_maps()
404 stats[sub_heap].rss += usage.rss; in load_maps()
432 stats[HEAP_GRAPHICS].rss = graphics_mem.graphics; in android_os_Debug_getDirtyPagesPid()
435 stats[HEAP_GL].rss = graphics_mem.gl; in android_os_Debug_getDirtyPagesPid()
438 stats[HEAP_OTHER_MEMTRACK].rss = graphics_mem.other; in android_os_Debug_getDirtyPagesPid()
444 stats[HEAP_UNKNOWN].rss += stats[i].rss; in android_os_Debug_getDirtyPagesPid()
456 env->SetIntField(object, stat_fields[i].rss_field, stats[i].rss); in android_os_Debug_getDirtyPagesPid()
478 otherArray[j++] = stats[i].rss; in android_os_Debug_getDirtyPagesPid()
500 jlong rss = 0; in android_os_Debug_getPssPid() local
[all …]
Dandroid_util_Process.cpp1193 jlong rss[4] = {0, 0, 0, 0}; in android_os_Process_getRss() local
1202 rss[0] = v; in android_os_Process_getRss()
1204 rss[1] = v; in android_os_Process_getRss()
1206 rss[2] = v; in android_os_Process_getRss()
1208 rss[3] = v; in android_os_Process_getRss()
1218 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.java568 public void addPss(long pss, long uss, long rss, boolean always, int type, long duration, in addPss() argument
604 rss, rss, rss); in addPss()
606 rss, rss, rss); in addPss()
617 pss, pss, pss, uss, uss, uss, rss, rss, rss); in addPss()
619 pss, pss, pss, uss, uss, uss, rss, rss, rss); in addPss()
/frameworks/base/core/proto/android/app/
Dappexitinfo.proto42 optional int64 rss = 12; field
/frameworks/base/mime/java-res/
Dandroid.mime.types51 ?application/rss+xml rss
/frameworks/base/core/proto/android/os/
Dprocrank.proto39 optional int64 rss = 3; field
Dps.proto49 optional int32 rss = 7; field
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DApplicationExitInfoTest.java992 int connectionGroup, int procState, long pss, long rss, in makeProcessRecord() argument
1009 app.mProfile.setLastRss(rss); in makeProcessRecord()
1017 Long pss, Long rss, Integer importance, String description) { in verifyApplicationExitInfo() argument
1055 if (rss != null) { in verifyApplicationExitInfo()
1056 assertEquals(rss.longValue(), info.getRss()); in verifyApplicationExitInfo()
/frameworks/base/services/core/java/com/android/server/am/
DProcessProfileRecord.java476 void addPss(long pss, long uss, long rss, boolean always, int type, long duration) { in addPss() argument
482 tracker.addPss(pss, uss, rss, always, type, duration, in addPss()
DAppProfiler.java555 long swapPss, long rss, int statType, long pssDuration, long now) { in recordPssSampleLPf() argument
559 swapPss * 1024, rss * 1024, statType, procState, pssDuration); in recordPssSampleLPf()
561 profile.addPss(pss, uss, rss, true, statType, pssDuration); in recordPssSampleLPf()
567 pss, uss, rss, in recordPssSampleLPf()
586 profile.setLastRss(rss); in recordPssSampleLPf()
DCachedAppOptimizer.java1029 LastCompactionStats(long[] rss) { in LastCompactionStats() argument
1030 mRssAfterCompaction = rss; in LastCompactionStats()
DActivityManagerService.java10182 MemItem(String label, String shortLabel, long pss, long swapPss, long rss, int id, in MemItem() argument
10189 this.mRss = rss; in MemItem()
10194 MemItem(String label, String shortLabel, long pss, long swapPss, long rss, int id) { in MemItem() argument
10200 this.mRss = rss; in MemItem()
10211 long rss = pss ? rhs.pss : rhs.mRss; in sortMemItems()
10212 if (lss < rss) { in sortMemItems()
10214 } else if (lss > rss) { in sortMemItems()
/frameworks/base/core/java/android/app/
DApplicationExitInfo.java828 public void setRss(final long rss) { in setRss() argument
829 mRss = rss; in setRss()
DActivityThread.java3015 boolean hasSwappedOutPss, int dirtySwap, int dirtySwapPss, int rss) { in dumpMemoryInfo() argument
3030 proto.write(MemInfoDumpProto.ProcessMemory.MemoryInfo.TOTAL_RSS_KB, rss); in dumpMemoryInfo()
/frameworks/base/core/proto/android/service/
Dprocstats.proto142 optional android.util.AggStats rss = 8; field
/frameworks/base/core/proto/android/server/
Dactivitymanagerservice.proto180 // The rss set size for the heap.
/frameworks/proto_logging/stats/
Datoms.proto1234 optional int64 rss = 6; field
7035 optional AggStats rss = 8; field
16388 optional int32 rss = 7; field