Searched refs:durationByState (Results 1 – 1 of 1) sorted by relevance
1245 Map<Integer, Long> durationByState = new HashMap<>(); in writeToProto() local1255 durationByState.put(type, time); in writeToProto()1258 durationByState.put(mCurState, now - mStartTime); in writeToProto()1264 if (!durationByState.containsKey(type)) { in writeToProto()1275 long duration = durationByState.get(type); in writeToProto()1276 durationByState.remove(type); // remove the key since it is already being dumped. in writeToProto()1296 for (Map.Entry<Integer, Long> entry : durationByState.entrySet()) { in writeToProto()