/packages/apps/Settings/src/com/android/settings/utils/ |
D | PreferenceGroupChildrenCache.java | 31 private ArrayMap<String, Preference> mPreferenceCache; field in PreferenceGroupChildrenCache 34 mPreferenceCache = new ArrayMap<>(); in cacheRemoveAllPrefs() 41 mPreferenceCache.put(p.getKey(), p); in cacheRemoveAllPrefs() 46 for (Preference p : mPreferenceCache.values()) { in removeCachedPrefs() 49 mPreferenceCache = null; in removeCachedPrefs() 53 return mPreferenceCache != null ? mPreferenceCache.remove(key) : null; in getCachedPreference() 57 return mPreferenceCache != null ? mPreferenceCache.size() : 0; in getCachedCount()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/utils/ |
D | PreferenceGroupChildrenCache.java | 31 private ArrayMap<String, Preference> mPreferenceCache; field in PreferenceGroupChildrenCache 34 mPreferenceCache = new ArrayMap<>(); in cacheRemoveAllPrefs() 41 mPreferenceCache.put(p.getKey(), p); in cacheRemoveAllPrefs() 46 for (Preference p : mPreferenceCache.values()) { in removeCachedPrefs() 49 mPreferenceCache = null; in removeCachedPrefs() 53 return mPreferenceCache != null ? mPreferenceCache.remove(key) : null; in getCachedPreference() 57 return mPreferenceCache != null ? mPreferenceCache.size() : 0; in getCachedCount()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/managedomainurls/ |
D | DomainAppPreferenceController.java | 50 private Map<String, Preference> mPreferenceCache; field in DomainAppPreferenceController 125 mPreferenceCache = new ArrayMap(); in cacheAllPrefs() 132 mPreferenceCache.put(p.getKey(), p); in cacheAllPrefs() 137 return mPreferenceCache != null ? mPreferenceCache.remove(key) : null; in getCachedPreference() 141 for (Preference p : mPreferenceCache.values()) { in removeCachedPrefs() 144 mPreferenceCache = null; in removeCachedPrefs()
|
/packages/apps/Settings/src/com/android/settings/applications/managedomainurls/ |
D | DomainAppPreferenceController.java | 50 private Map<String, Preference> mPreferenceCache; field in DomainAppPreferenceController 125 mPreferenceCache = new ArrayMap(); in cacheAllPrefs() 132 mPreferenceCache.put(p.getKey(), p); in cacheAllPrefs() 137 return mPreferenceCache != null ? mPreferenceCache.remove(key) : null; in getCachedPreference() 141 for (Preference p : mPreferenceCache.values()) { in removeCachedPrefs() 144 mPreferenceCache = null; in removeCachedPrefs()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | BatteryAppListPreferenceController.java | 75 private ArrayMap<String, Preference> mPreferenceCache; field in BatteryAppListPreferenceController 388 mPreferenceCache = new ArrayMap<>(); in cacheRemoveAllPrefs() 395 mPreferenceCache.put(p.getKey(), p); in cacheRemoveAllPrefs() 444 return mPreferenceCache != null ? mPreferenceCache.remove(key) : null; in getCachedPreference() 448 for (Preference p : mPreferenceCache.values()) { in removeCachedPrefs() 451 mPreferenceCache = null; in removeCachedPrefs() 455 return mPreferenceCache != null ? mPreferenceCache.size() : 0; in getCachedCount()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryAppListPreferenceController.java | 74 private ArrayMap<String, Preference> mPreferenceCache; field in BatteryAppListPreferenceController 382 mPreferenceCache = new ArrayMap<>(); in cacheRemoveAllPrefs() 389 mPreferenceCache.put(p.getKey(), p); in cacheRemoveAllPrefs() 451 return mPreferenceCache != null ? mPreferenceCache.remove(key) : null; in getCachedPreference() 455 for (Preference p : mPreferenceCache.values()) { in removeCachedPrefs() 458 mPreferenceCache = null; in removeCachedPrefs() 462 return mPreferenceCache != null ? mPreferenceCache.size() : 0; in getCachedCount()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | SettingsPreferenceFragment.java | 119 private ArrayMap<String, Preference> mPreferenceCache; field in SettingsPreferenceFragment 350 mPreferenceCache = new ArrayMap<>(); in cacheRemoveAllPrefs() 357 mPreferenceCache.put(p.getKey(), p); in cacheRemoveAllPrefs() 362 return mPreferenceCache != null ? mPreferenceCache.remove(key) : null; in getCachedPreference() 366 for (Preference p : mPreferenceCache.values()) { in removeCachedPrefs() 369 mPreferenceCache = null; in removeCachedPrefs() 373 return mPreferenceCache != null ? mPreferenceCache.size() : 0; in getCachedCount()
|
/packages/apps/Settings/src/com/android/settings/ |
D | SettingsPreferenceFragment.java | 118 private ArrayMap<String, Preference> mPreferenceCache; field in SettingsPreferenceFragment 362 mPreferenceCache = new ArrayMap<>(); in cacheRemoveAllPrefs() 369 mPreferenceCache.put(p.getKey(), p); in cacheRemoveAllPrefs() 374 return mPreferenceCache != null ? mPreferenceCache.remove(key) : null; in getCachedPreference() 378 for (Preference p : mPreferenceCache.values()) { in removeCachedPrefs() 381 mPreferenceCache = null; in removeCachedPrefs() 385 return mPreferenceCache != null ? mPreferenceCache.size() : 0; in getCachedCount()
|