Home
last modified time | relevance | path

Searched refs:ButtonActionDialogFragment (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DButtonActionDialogFragmentTest.java49 private static final int FORCE_STOP_ID = ButtonActionDialogFragment.DialogType.FORCE_STOP;
50 private static final int DISABLE_ID = ButtonActionDialogFragment.DialogType.DISABLE;
52 ButtonActionDialogFragment.DialogType.SPECIAL_DISABLE;
55 private ButtonActionDialogFragment mFragment;
63 mFragment = spy(ButtonActionDialogFragment.newInstance(FORCE_STOP_ID)); in setUp()
77 ButtonActionDialogFragment fragment = ButtonActionDialogFragment.newInstance(FORCE_STOP_ID); in testOnCreateDialog_forceStopDialog()
98 ButtonActionDialogFragment fragment = ButtonActionDialogFragment.newInstance(DISABLE_ID); in testOnCreateDialog_disableDialog()
117 ButtonActionDialogFragment fragment = in testOnCreateDialog_specialDisableDialog()
118 ButtonActionDialogFragment.newInstance(SPECIAL_DISABLE_ID); in testOnCreateDialog_specialDisableDialog()
140 ButtonActionDialogFragment.AppButtonsDialogListener {
DAppButtonsPreferenceControllerTest.java564 implements ButtonActionDialogFragment.AppButtonsDialogListener {
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DButtonActionDialogFragment.java38 public class ButtonActionDialogFragment extends InstrumentedDialogFragment implements class
64 public static ButtonActionDialogFragment newInstance(@DialogType int id) { in newInstance()
65 ButtonActionDialogFragment dialogFragment = new ButtonActionDialogFragment(); in newInstance()
DAppButtonsPreferenceController.java139 if (!(fragment instanceof ButtonActionDialogFragment.AppButtonsDialogListener)) { in AppButtonsPreferenceController()
247 showDialogInner(ButtonActionDialogFragment.DialogType.SPECIAL_DISABLE); in onClick()
249 showDialogInner(ButtonActionDialogFragment.DialogType.DISABLE); in onClick()
284 showDialogInner(ButtonActionDialogFragment.DialogType.FORCE_STOP); in onClick()
304 case ButtonActionDialogFragment.DialogType.DISABLE: in handleDialogClick()
310 case ButtonActionDialogFragment.DialogType.SPECIAL_DISABLE: in handleDialogClick()
315 case ButtonActionDialogFragment.DialogType.FORCE_STOP: in handleDialogClick()
614 private void showDialogInner(@ButtonActionDialogFragment.DialogType int id) { in showDialogInner()
615 ButtonActionDialogFragment newFragment = ButtonActionDialogFragment.newInstance(id); in showDialogInner()
DAppInfoDashboardFragment.java75 ButtonActionDialogFragment.AppButtonsDialogListener {
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DAdvancedPowerUsageDetail.java41 import com.android.settings.applications.appinfo.ButtonActionDialogFragment;
68 ButtonActionDialogFragment.AppButtonsDialogListener,