Searched refs:mPackageTimes (Results 1 – 1 of 1) sorted by relevance
40 private final ArrayMap<String, MutableLong> mPackageTimes = new ArrayMap<>(); field in AppTimeTracker62 mStartedPackageTime = mPackageTimes.get(packageName); in start()65 mPackageTimes.put(packageName, mStartedPackageTime); in start()87 for (int i=mPackageTimes.size()-1; i>=0; i--) { in deliverResult()88 pkgs.putLong(mPackageTimes.keyAt(i), mPackageTimes.valueAt(i).value); in deliverResult()111 for (int i = 0; i < mPackageTimes.size(); i++) { in dump()112 pw.print(prefix); pw.print("mPackageTime:"); pw.print(mPackageTimes.keyAt(i)); in dump()114 TimeUtils.formatDuration(mPackageTimes.valueAt(i).value, pw); in dump()129 for (int i=0; i<mPackageTimes.size(); i++) { in writeToProto()131 proto.write(AppTimeTrackerProto.PackageTime.PACKAGE, mPackageTimes.keyAt(i)); in writeToProto()[all …]