Searched refs:getValueForId (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | SysMemUsageTable.java | 150 long count = getValueForId((byte)bucket, SYS_MEM_USAGE_SAMPLE_COUNT); in dump() 179 DebugUtils.printSizeValue(pw, getValueForId((byte)bucket, index) * 1024); in dumpCategory() 181 DebugUtils.printSizeValue(pw, getValueForId((byte)bucket, index + 1) * 1024); in dumpCategory() 183 DebugUtils.printSizeValue(pw, getValueForId((byte)bucket, index+2) * 1024); in dumpCategory()
|
D | ProcessState.java | 741 long time = mDurations.getValueForId((byte)state); in getDuration() 749 return mPssTable.getValueForId((byte)state, PSS_SAMPLE_COUNT); in getPssSampleCount() 753 return mPssTable.getValueForId((byte)state, PSS_MINIMUM); in getPssMinimum() 757 return mPssTable.getValueForId((byte)state, PSS_AVERAGE); in getPssAverage() 761 return mPssTable.getValueForId((byte)state, PSS_MAXIMUM); in getPssMaximum() 765 return mPssTable.getValueForId((byte)state, PSS_USS_MINIMUM); in getPssUssMinimum() 769 return mPssTable.getValueForId((byte)state, PSS_USS_AVERAGE); in getPssUssAverage() 773 return mPssTable.getValueForId((byte)state, PSS_USS_MAXIMUM); in getPssUssMaximum() 777 return mPssTable.getValueForId((byte)state, PSS_RSS_MINIMUM); in getPssRssMinimum() 781 return mPssTable.getValueForId((byte)state, PSS_RSS_AVERAGE); in getPssRssAverage() [all …]
|
D | SparseMappingTable.java | 211 public long getValueForId(byte id) { in getValueForId() method in SparseMappingTable.Table 212 return getValueForId(id, 0); in getValueForId() 223 public long getValueForId(byte id, int index) { in getValueForId() method in SparseMappingTable.Table
|
D | ServiceState.java | 394 long time = mDurations.getValueForId((byte)state); in getDuration()
|
D | AssociationState.java | 1034 time = src.mActiveDurations.getValueForId((byte) iprocstate); in dumpTime()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/procstats/ |
D | SparseMappingTableTest.java | 200 Assert.assertEquals(0, table.getValueForId(ID1)); in testInvalidKey()
|