Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsStateTest.java1260 Map<String, AconfigdFlagInfo> defaultMap = new HashMap<>(); in testCompareFlagValueInNewStorage() local
1262 defaultMap.put("com.android.flags.flag1", defaultFlag1); in testCompareFlagValueInNewStorage()
1265 int ret = settingsState.compareFlagValueInNewStorage(defaultMap, aconfigdMap); in testCompareFlagValueInNewStorage()
1278 defaultMap.put("com.android.flags.flag2", defaultFlag2); in testCompareFlagValueInNewStorage()
1280 ret = settingsState.compareFlagValueInNewStorage(defaultMap, aconfigdMap); in testCompareFlagValueInNewStorage()
1298 ret = settingsState.compareFlagValueInNewStorage(defaultMap, aconfigdMap); in testCompareFlagValueInNewStorage()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java665 @NonNull Map<String, Map<String, String>> defaultMap) { in addAconfigDefaultValuesFromMap() argument
666 mNamespaceDefaults.putAll(defaultMap); in addAconfigDefaultValuesFromMap()
673 @NonNull Map<String, Map<String, String>> defaultMap, in loadAconfigDefaultValues() argument
678 if (!defaultMap.containsKey(flag.getNamespace())) { in loadAconfigDefaultValues()
680 defaultMap.put(flag.getNamespace(), defaults); in loadAconfigDefaultValues()
686 defaultMap.get(flag.getNamespace()).put(flagName, flagValue); in loadAconfigDefaultValues()