Searched refs:testValue2 (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | SettingsStateTest.java | 578 final String testValue2 = Strings.repeat("A", 300); in testMemoryUsagePerPackage() local 579 settingsState.insertSettingLocked(testKey1, testValue2, null, true, TEST_PACKAGE); in testMemoryUsagePerPackage() 580 expectedMemUsage += (testValue2.length() - testValue1.length()) * 2 * Character.BYTES; in testMemoryUsagePerPackage() 586 expectedMemUsage -= (testValue2.length() - testValue3.length()) * Character.BYTES; in testMemoryUsagePerPackage() 590 settingsState.insertSettingLocked(testKey2, testValue2, null, false, TEST_PACKAGE); in testMemoryUsagePerPackage() 591 expectedMemUsage -= (testValue1.length() - testValue2.length()) * Character.BYTES; in testMemoryUsagePerPackage() 596 expectedMemUsage += (testValue2.length() - testValue3.length()) * Character.BYTES; in testMemoryUsagePerPackage() 601 expectedMemUsage -= testValue2.length() * Character.BYTES; in testMemoryUsagePerPackage() 606 expectedMemUsage -= (testValue2.length() + testKey2.length() /* key is deleted too */) in testMemoryUsagePerPackage() 952 final String testValue2 = Strings.repeat("A", 50); in testMemoryUsagePerPackage_SameSettingUsedByDifferentPackages() local [all …]
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | SettingsProviderTest.java | 184 final String testValue2 = "value2"; in testSettingsChangeForOtherUser() local 186 Settings.Secure.putStringForUser(r, testKey, testValue2, otherUser.id); in testSettingsChangeForOtherUser() 189 assertEquals(testValue2, Settings.Secure.getStringForUser(r, testKey, otherUser.id)); in testSettingsChangeForOtherUser()
|