Home
last modified time | relevance | path

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

/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/storage/
DBooleanFileDatastore.java72 private final Map<String, Boolean> mLocalMap = new HashMap<>(); field in BooleanFileDatastore
116 for (Map.Entry<String, Boolean> entry : mLocalMap.entrySet()) { in writeToFile()
149 mLocalMap.clear(); in readFromFile()
151 mLocalMap.put(key, bundleRead.getBoolean(key)); in readFromFile()
158 mLocalMap.clear(); in readFromFile()
182 mLocalMap.put(key, value); in put()
208 Boolean valueInLocalMap = mLocalMap.get(key); in putIfNew()
219 Boolean valueInLocalMap = mLocalMap.get(key); in putIfNew()
223 mLocalMap.put(key, value); in putIfNew()
247 return mLocalMap.get(key); in get()
[all …]
/packages/modules/OnDevicePersonalization/systemservice/java/com/android/server/ondevicepersonalization/
DBooleanFileDataStore.java57 private final Map<String, Boolean> mLocalMap = new HashMap<>(); field in BooleanFileDataStore
97 mLocalMap.put(key, value); in put()
119 return mLocalMap.get(key); in get()
134 return Set.copyOf(mLocalMap.keySet()); in keySet()
150 mLocalMap.clear(); in clear()
161 for (Map.Entry<String, Boolean> entry: mLocalMap.entrySet()) { in writeToFile()
187 mLocalMap.clear(); in readFromFile()
189 mLocalMap.put(key, persistableBundle.getBoolean(key)); in readFromFile()
193 mLocalMap.clear(); in readFromFile()
208 mLocalMap.clear(); in tearDownForTesting()
[all …]