Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsStateTest.java572 final String testKey2 = SETTING_NAME + "2"; in testMemoryUsagePerPackage() local
573 settingsState.insertSettingLocked(testKey2, testValue1, null, false, TEST_PACKAGE); in testMemoryUsagePerPackage()
574 expectedMemUsage += (testKey2.length() + testValue1.length()) * Character.BYTES; in testMemoryUsagePerPackage()
590 settingsState.insertSettingLocked(testKey2, testValue2, null, false, TEST_PACKAGE); in testMemoryUsagePerPackage()
605 settingsState.deleteSettingLocked(testKey2); in testMemoryUsagePerPackage()
606 expectedMemUsage -= (testValue2.length() + testKey2.length() /* key is deleted too */) in testMemoryUsagePerPackage()
950 final String testKey2 = SETTING_NAME + "_2"; in testMemoryUsagePerPackage_SameSettingUsedByDifferentPackages() local
957 settingsState.insertSettingLocked(testKey2, testValue1, null, true, package2); in testMemoryUsagePerPackage_SameSettingUsedByDifferentPackages()
961 int expectedMemUsageForPackage2 = (testKey2.length() + testValue1.length() in testMemoryUsagePerPackage_SameSettingUsedByDifferentPackages()
972 + testKey2.length() + testValue1.length() in testMemoryUsagePerPackage_SameSettingUsedByDifferentPackages()
[all …]