Home
last modified time | relevance | path

Searched refs:BatteryTipUtils (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipUtilsTest.java78 assertThat(BatteryTipUtils.getActionForBatteryTip(mRestrictAppTip, mSettingsActivity, in testGetActionForBatteryTip_typeRestrictStateNew_returnActionRestrict()
86 assertThat(BatteryTipUtils.getActionForBatteryTip(mRestrictAppTip, mSettingsActivity, in testGetActionForBatteryTip_typeRestrictStateHandled_returnActionOpen()
94 assertThat(BatteryTipUtils.getActionForBatteryTip(mEarlyWarningTip, mSettingsActivity, in testGetActionForBatteryTip_typeEarlyWarningStateNew_returnActionOpen()
102 assertThat(BatteryTipUtils.getActionForBatteryTip(mLowBatteryTip, mSettingsActivity, in testGetActionForBatteryTip_typeLowBatteryStateNew_returnActionOpen()
111 assertThat(BatteryTipUtils.getActionForBatteryTip(mBatteryDefenderTip, mSettingsActivity, in testGetActionForBatteryTip_typeBatteryDefenderStateNew_returnActionBatteryDefender()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DRestrictAppPreferenceController.java32 import com.android.settings.fuelgauge.batterytip.BatteryTipUtils;
54 mAppInfos = BatteryTipUtils.getRestrictedAppsList(mAppOpsManager, mUserManager); in RestrictAppPreferenceController()
70 mAppInfos = BatteryTipUtils.getRestrictedAppsList(mAppOpsManager, mUserManager); in updateState()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/detectors/
DRestrictAppDetector.java29 import com.android.settings.fuelgauge.batterytip.BatteryTipUtils;
70 final List<AppInfo> highUsageApps = BatteryTipUtils.detectAnomalies(mContext, in detect()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DAnomalyConfigReceiver.java42 BatteryTipUtils.uploadAnomalyPendingIntent(context, statsManager); in onReceive()
DBatteryManagerPreferenceController.java56 final int num = BatteryTipUtils.getRestrictedAppsList(mAppOpsManager, mUserManager).size(); in updateState()
DAnomalyConfigJobService.java76 BatteryTipUtils.uploadAnomalyPendingIntent(this, statsManager); in onStartJob()
DBatteryTipPreferenceController.java135 final BatteryTipAction action = BatteryTipUtils.getActionForBatteryTip(batteryTip, in handlePreferenceTreeClick()
DBatteryTipUtils.java51 public class BatteryTipUtils { class
DBatteryTipDialogFragment.java157 final BatteryTipAction action = BatteryTipUtils.getActionForBatteryTip(mBatteryTip, in onClick()