Searched refs:durationByState (Results 1 – 1 of 1) sorted by relevance
1360 SparseLongArray durationByState = new SparseLongArray(); in writeToProto() local1370 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()