Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DAppStorageSizesControllerTest.java30 private Preference mAppPreference; field in AppStorageSizesControllerTest
39 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()
/packages/apps/Settings/tests/unit/src/com/android/settings/vpn2/
DAppPreferenceTest.java54 private AppPreference mAppPreference; field in AppPreferenceTest
70 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()