/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/tips/ |
D | RestrictAppTipTest.java | 62 private RestrictAppTip mNewBatteryTip; 63 private RestrictAppTip mHandledBatteryTip; 64 private RestrictAppTip mInvisibleBatteryTip; 104 mNewBatteryTip = new RestrictAppTip(BatteryTip.StateType.NEW, mUsageAppList); in setUp() 105 mHandledBatteryTip = new RestrictAppTip(BatteryTip.StateType.HANDLED, mUsageAppList); in setUp() 107 new RestrictAppTip(BatteryTip.StateType.INVISIBLE, new ArrayList<>()); in setUp() 122 final RestrictAppTip parcelTip = new RestrictAppTip(parcel); in parcelable() 143 mHandledBatteryTip = new RestrictAppTip(BatteryTip.StateType.HANDLED, mUsageAppList); in getTitle_moreAppsHandled_showHandledTitle() 164 mHandledBatteryTip = new RestrictAppTip(BatteryTip.StateType.HANDLED, mUsageAppList); in getSummary_moreAppsHandled_showHandledSummary() 205 final BatteryTip batteryTip = new RestrictAppTip(BatteryTip.StateType.NEW, appInfos); in sanityCheck_appUninstalled_stateInvisible() [all …]
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/ |
D | RestrictAppTip.java | 38 public class RestrictAppTip extends BatteryTip { class 41 public RestrictAppTip(@StateType int state, List<AppInfo> restrictApps) { in RestrictAppTip() method in RestrictAppTip 47 public RestrictAppTip(@StateType int state, AppInfo appInfo) { in RestrictAppTip() method in RestrictAppTip 55 RestrictAppTip(Parcel in) { in RestrictAppTip() method in RestrictAppTip 107 mRestrictAppList = ((RestrictAppTip) tip).mRestrictAppList; in updateState() 116 mRestrictAppList = ((RestrictAppTip) tip).mRestrictAppList; in updateState() 185 return new RestrictAppTip(in); 189 return new RestrictAppTip[size];
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/ |
D | BatteryTipDialogFragmentTest.java | 36 import com.android.settings.fuelgauge.batterytip.tips.RestrictAppTip; 71 private RestrictAppTip mRestrictedOneAppTip; 72 private RestrictAppTip mRestrictTwoAppsTip; 110 new RestrictAppTip(BatteryTip.StateType.NEW, new ArrayList<>(restrictApps)); in setUp() 113 new RestrictAppTip(BatteryTip.StateType.NEW, new ArrayList<>(restrictApps)); in setUp() 199 final RestrictAppTip restrictSixAppsTip = in testOnCreateDialog_restrictSixAppsTip_fireRestrictSixAppsDialog() 200 new RestrictAppTip(BatteryTip.StateType.NEW, appInfos); in testOnCreateDialog_restrictSixAppsTip_fireRestrictSixAppsDialog()
|
D | BatteryTipUtilsTest.java | 32 import com.android.settings.fuelgauge.batterytip.tips.RestrictAppTip; 50 private RestrictAppTip mRestrictAppTip; 61 mRestrictAppTip = spy(new RestrictAppTip(BatteryTip.StateType.NEW, new ArrayList<>())); in setUp()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/actions/ |
D | OpenRestrictAppFragmentAction.java | 28 import com.android.settings.fuelgauge.batterytip.tips.RestrictAppTip; 35 private final RestrictAppTip mRestrictAppTip; 40 InstrumentedPreferenceFragment fragment, RestrictAppTip tip) { in OpenRestrictAppFragmentAction()
|
D | RestrictAppAction.java | 30 import com.android.settings.fuelgauge.batterytip.tips.RestrictAppTip; 36 private RestrictAppTip mRestrictAppTip; 40 public RestrictAppAction(Context context, RestrictAppTip tip) { in RestrictAppAction()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/ |
D | BatteryTipUtils.java | 39 import com.android.settings.fuelgauge.batterytip.tips.RestrictAppTip; 101 return new OpenRestrictAppFragmentAction(fragment, (RestrictAppTip) batteryTip); in getActionForBatteryTip() 103 return new RestrictAppAction(settingsActivity, (RestrictAppTip) batteryTip); in getActionForBatteryTip()
|
D | BatteryTipDialogFragment.java | 43 import com.android.settings.fuelgauge.batterytip.tips.RestrictAppTip; 101 final RestrictAppTip restrictAppTip = (RestrictAppTip) mBatteryTip; in onCreateDialog()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | RestrictedAppDetails.java | 45 import com.android.settings.fuelgauge.batterytip.tips.RestrictAppTip; 194 final boolean isRestricted = batteryTip instanceof RestrictAppTip; in onBatteryTipHandled() 196 appInfo = ((RestrictAppTip) batteryTip).getRestrictAppList().get(0); in onBatteryTipHandled() 213 ? new RestrictAppTip(BatteryTip.StateType.NEW, appInfo) in createDialogFragment()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/actions/ |
D | OpenRestrictAppFragmentActionTest.java | 31 import com.android.settings.fuelgauge.batterytip.tips.RestrictAppTip; 83 mFragment, new RestrictAppTip(BatteryTip.StateType.HANDLED, mAppInfos)); in setUp()
|
D | RestrictAppActionTest.java | 27 import com.android.settings.fuelgauge.batterytip.tips.RestrictAppTip; 77 new RestrictAppTip(BatteryTip.StateType.NEW, mAppInfos)); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | RestrictedAppDetailsTest.java | 47 import com.android.settings.fuelgauge.batterytip.tips.RestrictAppTip; 190 final RestrictAppTip restrictAppTip = in onBatteryTipHandled_restrict_setChecked() 191 new RestrictAppTip(BatteryTip.StateType.NEW, mAppInfo); in onBatteryTipHandled_restrict_setChecked()
|