Searched refs:FakeToggleController (Results 1 – 7 of 7) sorted by relevance
47 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 {
27 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;
42 import com.android.settings.testutils.FakeToggleController;68 private static final Class TOGGLE_CONTROLLER = FakeToggleController.class;137 assertThat(controller).isInstanceOf(FakeToggleController.class); in testGetPreferenceController_buildsMatchingController()
58 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()
28 public class FakeToggleController extends TogglePreferenceController { class43 public FakeToggleController(Context context, String preferenceKey) { in FakeToggleController() method in FakeToggleController
18 com.android.settings.testutils.FakeToggleController