Searched refs:expectDisabled (Results 1 – 2 of 2) sorted by relevance
116 boolean expectDisabled = mContext.getSystemService(ActivityManager.class).isLowRamDevice(); in testLookasideDefault()117 verifyLookasideStats(mOpenHelper.getDatabaseName(), expectDisabled); in testLookasideDefault() local130 boolean expectDisabled = mContext.getSystemService(ActivityManager.class).isLowRamDevice(); in testLookasideCustom()131 verifyLookasideStats(mOpenHelper.getDatabaseName(), expectDisabled); in testLookasideCustom() local157 private static void verifyLookasideStats(String dbName, boolean expectDisabled) { in verifyLookasideStats() argument164 if (expectDisabled) { in verifyLookasideStats()
1929 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() argument1966 if (expectDisabled) { in verifyLookasideStats()