Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessState.java1360 SparseLongArray durationByState = new SparseLongArray(); in writeToProto() local
1370 durationByState.put(type, time); in writeToProto()
1373 durationByState.put(mCurCombinedState, now - mStartTime); in writeToProto()
1379 if (durationByState.indexOfKey(type) < 0) { in writeToProto()
1390 long duration = durationByState.get(type); in writeToProto()
1391 durationByState.delete(type); // remove the key since it is already being dumped. in writeToProto()
1399 for (int i = 0; i < durationByState.size(); i++) { in writeToProto()
1405 durationByState.keyAt(i)); in writeToProto()
1406 proto.write(ProcessStatsStateProto.DURATION_MS, durationByState.valueAt(i)); in writeToProto()