Home
last modified time | relevance | path

Searched refs:secureKey (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DGenerationRegistryTest.java40 final int secureKey = SettingsState.makeKey(SettingsState.SETTINGS_TYPE_SECURE, 0); in testGenerationsWithRegularSetting() local
44 generationRegistry.incrementGeneration(secureKey, testSecureSetting); in testGenerationsWithRegularSetting()
45 generationRegistry.incrementGeneration(secureKey, testSecureSetting); in testGenerationsWithRegularSetting()
46 generationRegistry.incrementGeneration(secureKey, testSecureSetting); in testGenerationsWithRegularSetting()
47 generationRegistry.addGenerationData(b, secureKey, testSecureSetting); in testGenerationsWithRegularSetting()
51 generationRegistry.incrementGeneration(secureKey, testSecureSetting); in testGenerationsWithRegularSetting()
52 generationRegistry.addGenerationData(b, secureKey, testSecureSetting); in testGenerationsWithRegularSetting()
83 generationRegistry.addGenerationData(b, secureKey, testSecureSetting); in testGenerationsWithRegularSetting()
137 final int secureKey = SettingsState.makeKey(SettingsState.SETTINGS_TYPE_SECURE, 0); in testMaxSizeBackingStore() local
141 generationRegistry.addGenerationData(b, secureKey, testSecureSetting + i); in testMaxSizeBackingStore()
[all …]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DGenerationRegistry.java189 final int secureKey = SettingsState.makeKey( in onUserRemoved() local
194 if (mKeyToIndexMapMap.containsKey(secureKey)) { in onUserRemoved()
195 destroyBackingStoreLocked(secureKey); in onUserRemoved()
196 mKeyToIndexMapMap.remove(secureKey); in onUserRemoved()
DSettingsProvider.java3153 final int secureKey = makeKey(SETTINGS_TYPE_SECURE, userId);
3154 ensureSettingsStateLocked(secureKey);
3201 final int secureKey = makeKey(SETTINGS_TYPE_SECURE, userId);
3202 final SettingsState secureSettingsState = mSettingsStates.get(secureKey);
3205 mSettingsStates.remove(secureKey);
3208 secureSettingsState.destroyLocked(() -> mSettingsStates.remove(secureKey));
3551 final int secureKey = makeKey(SETTINGS_TYPE_SECURE, userId);
3552 File secureFile = getSettingsFile(secureKey);
3576 final int secureKey = makeKey(SETTINGS_TYPE_SECURE, userId);
3577 ensureSettingsStateLocked(secureKey);
[all …]