Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/detectors/
DRestrictAppDetectorTest.java154 final RestrictAppTip restrictAppTip = (RestrictAppTip) mRestrictAppDetector.detect(); in testDetect_typeNewHasUninstalledAnomaly_removeIt() local
155 assertThat(restrictAppTip.getState()).isEqualTo(BatteryTip.StateType.NEW); in testDetect_typeNewHasUninstalledAnomaly_removeIt()
156 assertThat(restrictAppTip.getRestrictAppList()).containsExactly(mAppInfo); in testDetect_typeNewHasUninstalledAnomaly_removeIt()
171 final RestrictAppTip restrictAppTip = (RestrictAppTip) mRestrictAppDetector.detect(); in testDetect_typeNewHasRestrictedAnomaly_removeIt() local
172 assertThat(restrictAppTip.getState()).isEqualTo(BatteryTip.StateType.NEW); in testDetect_typeNewHasRestrictedAnomaly_removeIt()
173 assertThat(restrictAppTip.getRestrictAppList()).containsExactly(mAppInfo); in testDetect_typeNewHasRestrictedAnomaly_removeIt()
191 final RestrictAppTip restrictAppTip = (RestrictAppTip) mRestrictAppDetector.detect(); in testDetect_typeHandledHasUnRestrictedAnomaly_removeIt() local
192 assertThat(restrictAppTip.getState()).isEqualTo(BatteryTip.StateType.INVISIBLE); in testDetect_typeHandledHasUnRestrictedAnomaly_removeIt()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipDialogFragment.java100 final RestrictAppTip restrictAppTip = (RestrictAppTip) mBatteryTip; in onCreateDialog() local
101 final List<AppInfo> restrictedAppList = restrictAppTip.getRestrictAppList(); in onCreateDialog()
126 restrictAppTip.getRestrictAppsString(context))); in onCreateDialog()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/
DBatteryTipDialogFragment.java100 final RestrictAppTip restrictAppTip = (RestrictAppTip) mBatteryTip; in onCreateDialog() local
101 final List<AppInfo> restrictedAppList = restrictAppTip.getRestrictAppList(); in onCreateDialog()
126 restrictAppTip.getRestrictAppsString(context))); in onCreateDialog()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DRestrictedAppDetailsTest.java193 final RestrictAppTip restrictAppTip = new RestrictAppTip(BatteryTip.StateType.NEW, in onBatteryTipHandled_restrict_setChecked() local
197 mRestrictedAppDetails.onBatteryTipHandled(restrictAppTip); in onBatteryTipHandled_restrict_setChecked()