Home
last modified time | relevance | path

Searched refs:mLogicalPreferenceGroup (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/
DAppDataUsagePreferenceControllerTest.java56 private LogicalPreferenceGroup mLogicalPreferenceGroup; field in AppDataUsagePreferenceControllerTest
72 mLogicalPreferenceGroup = new LogicalPreferenceGroup(mContext); in setUp()
74 AppDataUsagePreferenceController.class, mLogicalPreferenceGroup); in setUp()
90 assertThat(mLogicalPreferenceGroup.getPreferenceCount()).isEqualTo(0); in defaultInitialize_hasNoPreference()
97 assertThat(mLogicalPreferenceGroup.getPreferenceCount()).isEqualTo(0); in onDataLoaded_dataNotLoaded_hasNoPreference()
106 assertThat(mLogicalPreferenceGroup.getPreferenceCount()).isEqualTo(0); in onDataLoaded_statsSizeZero_hasNoPreference()
123 assertThat(mLogicalPreferenceGroup.getPreferenceCount()).isEqualTo(2); in onDataLoaded_statsLoaded_hasTwoPreference()
142 (ProgressBarPreference) mLogicalPreferenceGroup.getPreference(0); in onDataLoaded_statsLoaded_hasOnePreference()
144 (ProgressBarPreference) mLogicalPreferenceGroup.getPreference(1); in onDataLoaded_statsLoaded_hasOnePreference()
146 assertThat(mLogicalPreferenceGroup.getPreferenceCount()).isEqualTo(2); in onDataLoaded_statsLoaded_hasOnePreference()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/storage/
DStorageApplicationListPreferenceControllerTest.java51 private LogicalPreferenceGroup mLogicalPreferenceGroup; field in StorageApplicationListPreferenceControllerTest
59 mLogicalPreferenceGroup = new LogicalPreferenceGroup(mContext); in setUp()
61 StorageApplicationListPreferenceController.class, mLogicalPreferenceGroup); in setUp()
68 assertThat(mLogicalPreferenceGroup.getPreferenceCount()).isEqualTo(0); in defaultInitialize_hasNoPreference()
88 assertThat(mLogicalPreferenceGroup.getPreferenceCount()).isEqualTo(1); in onDataLoaded_addPreference_hasOnePreference()
89 assertThat(mLogicalPreferenceGroup.getPreference(0).getTitle()).isEqualTo(LABEL); in onDataLoaded_addPreference_hasOnePreference()
90 assertThat(mLogicalPreferenceGroup.getPreference(0).getSummary()).isEqualTo(SIZE_STR); in onDataLoaded_addPreference_hasOnePreference()
120 assertThat(mLogicalPreferenceGroup.getPreferenceCount()).isEqualTo(1); in onDataLoaded_updatePreference_hasOnePreferenceWithUpdatedValues()
121 assertThat(mLogicalPreferenceGroup.getPreference(0).getTitle()).isEqualTo(LABEL); in onDataLoaded_updatePreference_hasOnePreferenceWithUpdatedValues()
122 assertThat(mLogicalPreferenceGroup.getPreference(0).getSummary()).isEqualTo( in onDataLoaded_updatePreference_hasOnePreferenceWithUpdatedValues()
DStorageMediaCategoryDetailPreferenceControllerTest.java51 private LogicalPreferenceGroup mLogicalPreferenceGroup; field in StorageMediaCategoryDetailPreferenceControllerTest
59 mLogicalPreferenceGroup = new LogicalPreferenceGroup(mContext); in setUp()
61 StorageMediaCategoryDetailPreferenceController.class, mLogicalPreferenceGroup); in setUp()
68 assertThat(mLogicalPreferenceGroup.getPreferenceCount()).isEqualTo(0); in refreshUi_defaultInitialize_hasNoPreference()
92 assertThat(mLogicalPreferenceGroup.getPreferenceCount()).isEqualTo(2); in onDataLoaded_addPreference_hasTwoPreferences()
94 assertThat(mLogicalPreferenceGroup.getPreference(0).getTitle()).isEqualTo(LABEL); in onDataLoaded_addPreference_hasTwoPreferences()
95 assertThat(mLogicalPreferenceGroup.getPreference(0).getSummary()).isEqualTo(SIZE_STR); in onDataLoaded_addPreference_hasTwoPreferences()
97 assertThat(mLogicalPreferenceGroup.getPreference(1).getTitle()).isEqualTo( in onDataLoaded_addPreference_hasTwoPreferences()
99 assertThat(mLogicalPreferenceGroup.getPreference(1).getSummary()).isEqualTo( in onDataLoaded_addPreference_hasTwoPreferences()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/
DApplicationsSettingsPreferenceControllerTest.java53 private LogicalPreferenceGroup mLogicalPreferenceGroup; field in ApplicationsSettingsPreferenceControllerTest
61 mLogicalPreferenceGroup = new LogicalPreferenceGroup(mContext); in setUp()
63 ApplicationsSettingsPreferenceController.class, mLogicalPreferenceGroup); in setUp()
70 assertThat(mLogicalPreferenceGroup.getPreferenceCount()).isEqualTo(0); in defaultInitialize_hasNoPreference()
89 assertThat(mLogicalPreferenceGroup.getPreferenceCount()).isEqualTo(1); in onDataLoaded_addPreference_hasOnePreference()
90 assertThat(mLogicalPreferenceGroup.getPreference(0).getTitle()).isEqualTo(LABEL); in onDataLoaded_addPreference_hasOnePreference()
91 assertThat(mLogicalPreferenceGroup.getPreference(0).getSummary()).isEqualTo(SIZE_STR); in onDataLoaded_addPreference_hasOnePreference()
110 Preference preference = mLogicalPreferenceGroup.getPreference(0); in preferenceClick_launchesDetailFragment()