Home
last modified time | relevance | path

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

/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteOpenHelperTest.java116 boolean expectDisabled = mContext.getSystemService(ActivityManager.class).isLowRamDevice(); in testLookasideDefault()
117 verifyLookasideStats(mOpenHelper.getDatabaseName(), expectDisabled); in testLookasideDefault() local
130 boolean expectDisabled = mContext.getSystemService(ActivityManager.class).isLowRamDevice(); in testLookasideCustom()
131 verifyLookasideStats(mOpenHelper.getDatabaseName(), expectDisabled); in testLookasideCustom() local
157 private static void verifyLookasideStats(String dbName, boolean expectDisabled) { in verifyLookasideStats() argument
164 if (expectDisabled) { in verifyLookasideStats()
DSQLiteDatabaseTest.java1929 boolean expectDisabled = mContext.getSystemService(ActivityManager.class).isLowRamDevice(); in testOpenDatabaseLookasideConfig()
1930 verifyLookasideStats(expectDisabled); in testOpenDatabaseLookasideConfig()
1942 verifyLookasideStats(expectDisabled); in testOpenDatabaseLookasideConfig()
1959 private void verifyLookasideStats(boolean expectDisabled) { in verifyLookasideStats() argument
1966 if (expectDisabled) { in verifyLookasideStats()