Searched refs:mAppPreference (Results 1 – 2 of 2) sorted by relevance
30 private Preference mAppPreference; field in AppStorageSizesControllerTest39 mAppPreference = new Preference(mContext); in setUp()45 .setAppSizePreference(mAppPreference) in setUp()58 assertThat(mAppPreference.getSummary()).isEqualTo(COMPUTING); in requestingUpdateBeforeValuesSetIsComputing()69 assertThat(mAppPreference.getSummary()).isEqualTo(INVALID_SIZE); in requestingUpdateAfterFailureHasErrorText()86 assertThat(mAppPreference.getSummary()).isEqualTo("1 B"); in properlyPopulatedAfterValidEntry()104 assertThat(mAppPreference.getSummary()).isEqualTo("1 B"); in fakeCacheFlagSetsCacheToZero()122 assertThat(mAppPreference.getSummary()).isEqualTo("1 B"); in fakeDataFlagSetsDataAndCacheToZero()
54 private AppPreference mAppPreference; field in AppPreferenceTest70 mAppPreference = spy(new AppPreference(mContext, USER_ID, PACKAGE_NAME)); in getPackageName_returnsAccuratePackageName()71 assertThat(mAppPreference.getPackageName()).isEqualTo(PACKAGE_NAME); in getPackageName_returnsAccuratePackageName()78 mAppPreference = spy(new AppPreference(mContext, USER_ID, PACKAGE_NAME)); in disableIfConfiguredByAdmin_packageNameNotEqualsAlwaysOn_shouldEnable()79 assertFalse(mAppPreference.isDisabledByAdmin()); in disableIfConfiguredByAdmin_packageNameNotEqualsAlwaysOn_shouldEnable()