Home
last modified time | relevance | path

Searched refs:BatteryTipDialogFragment (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipDialogFragmentTest.java68 private BatteryTipDialogFragment mDialogFragment;
128 mDialogFragment = BatteryTipDialogFragment.newInstance(mHighUsageTip, METRICS_KEY); in testOnCreateDialog_highUsageTip_fireHighUsageDialog()
147 mDialogFragment = BatteryTipDialogFragment.newInstance(mRestrictedOneAppTip, METRICS_KEY); in testOnCreateDialog_restrictOneAppTip_fireRestrictOneAppDialog()
169 mDialogFragment = BatteryTipDialogFragment.newInstance(mRestrictTwoAppsTip, METRICS_KEY); in testOnCreateDialog_restrictTwoAppsTip_fireRestrictTwoAppsDialog()
202 mDialogFragment = BatteryTipDialogFragment.newInstance(restrictSixAppsTip, METRICS_KEY); in testOnCreateDialog_restrictSixAppsTip_fireRestrictSixAppsDialog()
225 mDialogFragment = BatteryTipDialogFragment.newInstance(mUnrestrictAppTip, METRICS_KEY); in testOnCreateDialog_unRestrictAppTip_fireUnRestrictDialog()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipDialogFragment.java50 public class BatteryTipDialogFragment extends InstrumentedDialogFragment class
59 public static BatteryTipDialogFragment newInstance(BatteryTip batteryTip, int metricsKey) { in newInstance()
60 BatteryTipDialogFragment dialogFragment = new BatteryTipDialogFragment(); in newInstance()
DBatteryTipPreferenceController.java121 BatteryTipDialogFragment dialogFragment = in handlePreferenceTreeClick()
122 BatteryTipDialogFragment.newInstance( in handlePreferenceTreeClick()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DRestrictedAppDetails.java42 import com.android.settings.fuelgauge.batterytip.BatteryTipDialogFragment;
164 final BatteryTipDialogFragment fragment = in refreshUi()
210 BatteryTipDialogFragment createDialogFragment(AppInfo appInfo, boolean toRestrict) { in createDialogFragment()
216 return BatteryTipDialogFragment.newInstance(batteryTip, getMetricsCategory()); in createDialogFragment()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DRestrictedAppDetailsTest.java45 import com.android.settings.fuelgauge.batterytip.BatteryTipDialogFragment;
164 final BatteryTipDialogFragment dialogFragment = in createDialogFragment_toRestrict_createRestrictDialog()
177 final BatteryTipDialogFragment dialogFragment = in createDialogFragment_toUnrestrict_createUnrestrictDialog()