Searched refs:setAppUsageState (Results 1 – 8 of 8) sorted by relevance
122 mBatteryOptimizeUtils.setAppUsageState(RESTRICTED); in testSetAppUsageState_Restricted_verifyAction()131 mBatteryOptimizeUtils.setAppUsageState(UNRESTRICTED); in testSetAppUsageState_Unrestricted_verifyAction()140 mBatteryOptimizeUtils.setAppUsageState(OPTIMIZED); in testSetAppUsageState_Optimized_verifyAction()
101 verify(mockBatteryOptimizeUtils).setAppUsageState( in testHandlePreferenceTreeClick_samePrefKey_verifyAction()
109 verify(mockBatteryOptimizeUtils).setAppUsageState( in testHandlePreferenceTreeClick_samePrefKey_verifyAction()
84 mBatteryOptimizeUtils.setAppUsageState(RESTRICTED); in handlePreferenceTreeClick()
82 mBatteryOptimizeUtils.setAppUsageState(UNRESTRICTED); in handlePreferenceTreeClick()
81 mBatteryOptimizeUtils.setAppUsageState(OPTIMIZED); in handlePreferenceTreeClick()
76 public void setAppUsageState(AppUsageState state) { in setAppUsageState() method in BatteryOptimizeUtils