Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DFileUpdater.java84 private final ArrayMap<String, String> mPendingWrites = new ArrayMap<>(); field in FileUpdater
147 mPendingWrites.put(file, value); in writeFiles()
165 mPendingWrites.clear(); in restoreDefault()
194 if (mPendingWrites.size() == 0) { in handleWriteOnHandler()
200 getKeysString(mPendingWrites)); in handleWriteOnHandler()
203 writes = cloneMap(mPendingWrites); in handleWriteOnHandler()
237 mPendingWrites.remove(file); in removePendingWrite()
243 if (mPendingWrites.size() == 0) { in scheduleRetry()
249 doWtf("Gave up writing files: " + getKeysString(mPendingWrites)); in scheduleRetry()
/frameworks/base/services/core/java/com/android/server/appop/
DHistoricalRegistry.java130 private @NonNull LinkedList<HistoricalOps> mPendingWrites = new LinkedList<>(); field in HistoricalRegistry
382 pendingWrites = new ArrayList<>(mPendingWrites); in getHistoricalOps()
383 mPendingWrites.clear(); in getHistoricalOps()
521 mPendingWrites.offerFirst(ops); in addHistoricalOps()
522 pendingWrites = new ArrayList<>(mPendingWrites); in addHistoricalOps()
523 mPendingWrites.clear(); in addHistoricalOps()
553 for (int index = 0; index < mPendingWrites.size(); index++) { in clearHistory()
554 mPendingWrites.get(index).clearHistory(uid, packageName); in clearHistory()
582 mPendingWrites.clear(); in clearHistoryOnDiskDLocked()
630 pendingWrites = new ArrayList<>(mPendingWrites); in persistPendingHistory()
[all …]