Home
last modified time | relevance | path

Searched refs:FakeToggleController (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSliceBroadcastReceiverTest.java47 import com.android.settings.testutils.FakeToggleController;
93 final FakeToggleController fakeToggleController = new FakeToggleController(mContext, key); in onReceive_toggleChanged()
128 FakeToggleController fakeToggleController = new FakeToggleController(mContext, key); in toggleUpdate_synchronously_notifyChange_should_be_called()
257 FakeToggleController.AVAILABILITY_KEY, in toggleUpdate_unavailableUriNotified()
267 final FakeToggleController fakeToggleController = new FakeToggleController(mContext, key); in toggleUpdate_unavailableUriNotified()
350 public static class AsyncToggleController extends FakeToggleController {
DSliceTestUtils.java27 import com.android.settings.testutils.FakeToggleController;
37 public static final String FAKE_CONTROLLER_NAME = FakeToggleController.class.getName();
38 public static final int FAKE_HIGHLIGHT_MENU_RES = FakeToggleController.HIGHLIGHT_MENU_RES;
DSliceBuilderUtilsTest.java42 import com.android.settings.testutils.FakeToggleController;
68 private static final Class TOGGLE_CONTROLLER = FakeToggleController.class;
137 assertThat(controller).isInstanceOf(FakeToggleController.class); in testGetPreferenceController_buildsMatchingController()
DSettingsSliceProviderTest.java58 import com.android.settings.testutils.FakeToggleController;
201 .registerIntentToUri(eq(FakeToggleController.INTENT_FILTER), eq(INTENT_SLICE_URI)); in loadSlice_registersIntentFilter()
215 .isEqualTo(FakeToggleController.TestWorker.class); in loadSlice_registersBackgroundListener()
/packages/apps/Settings/tests/unit/src/com/android/settings/testutils/
DFakeToggleController.java28 public class FakeToggleController extends TogglePreferenceController { class
43 public FakeToggleController(Context context, String preferenceKey) { in FakeToggleController() method in FakeToggleController
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DFakeToggleController.java28 public class FakeToggleController extends TogglePreferenceController { class
43 public FakeToggleController(Context context, String preferenceKey) { in FakeToggleController() method in FakeToggleController
/packages/apps/Settings/tests/robotests/assets/
Dexempt_slice_controller_not_in_xml18 com.android.settings.testutils.FakeToggleController