Searched refs:mPowerUsageTimeCategory (Results 1 – 2 of 2) sorted by relevance
49 @Mock private PreferenceCategory mPowerUsageTimeCategory; field in PowerUsageTimeControllerTest58 mPowerUsageTimeController.mPowerUsageTimeCategory = mPowerUsageTimeCategory; in setUp()144 verify(mPowerUsageTimeCategory).setTitle("App usage for 12 am-2 am"); in handleScreenTimeUpdated_categoryTitleWithSlotTime_expectedResult()160 verify(mPowerUsageTimeCategory).setTitle("App usage since last full charge"); in handleScreenTimeUpdated_categoryTitleWithoutSlotTime_expectedResult()273 verifySetPrefToVisible(mPowerUsageTimeCategory, isVisible); in verifyAllPreferencesVisible()279 verifySetPrefToVisible(mPowerUsageTimeCategory, mPowerUsageTimeCategory != pref); in verifyOnePreferenceInvisible()
39 @VisibleForTesting PreferenceCategory mPowerUsageTimeCategory; field in PowerUsageTimeController55 mPowerUsageTimeCategory = screen.findPreference(KEY_POWER_USAGE_TIME); in displayPreference()58 mPowerUsageTimeCategory.setVisible(false); in displayPreference()118 mPowerUsageTimeCategory.setTitle( in showCategoryTitle()122 mPowerUsageTimeCategory.setVisible(true); in showCategoryTitle()