HomeSort by relevance Sort by last modified time
    Searched refs:TestPrefController (Results 1 - 2 of 2) sorted by null

  /frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/
AbstractPreferenceControllerTest.java 41 private TestPrefController mTestPrefController;
48 mPreference.setKey(TestPrefController.KEY_PREF);
49 when(mScreen.findPreference(TestPrefController.KEY_PREF)).thenReturn(mPreference);
50 mTestPrefController = new TestPrefController(mContext);
64 mTestPrefController.setVisible(mScreen, TestPrefController.KEY_PREF, true /* visible */);
71 mTestPrefController.setVisible(mScreen, TestPrefController.KEY_PREF, false /* visible */);
89 assertThat(mPreference.getSummary()).isEqualTo(TestPrefController.TEST_SUMMARY);
92 private static class TestPrefController extends AbstractPreferenceController {
98 public TestPrefController(Context context) {
  /packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
GesturePreferenceControllerTest.java 55 private TestPrefController mController;
61 mController = new TestPrefController(mContext, "testKey");
195 private class TestPrefController extends GesturePreferenceController {
200 private TestPrefController(Context context,

Completed in 2282 milliseconds