Home
last modified time | relevance | path

Searched refs:TestPreferenceController (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardFragmentTest.java138 final TestPreferenceController controller = new TestPreferenceController(mContext); in testPreferenceControllerGetterSetter_shouldAddAndGetProperly()
141 final TestPreferenceController retrievedController = mTestFragment.use in testPreferenceControllerGetterSetter_shouldAddAndGetProperly()
142 (TestPreferenceController.class); in testPreferenceControllerGetterSetter_shouldAddAndGetProperly()
149 final TestPreferenceController controller1 = new TestPreferenceController(mContext); in testPreferenceControllerSetter_shouldAddAndNotReplace()
151 final TestPreferenceController controller2 = new TestPreferenceController(mContext); in testPreferenceControllerSetter_shouldAddAndNotReplace()
154 final TestPreferenceController retrievedController = mTestFragment.use in testPreferenceControllerSetter_shouldAddAndNotReplace()
155 (TestPreferenceController.class); in testPreferenceControllerSetter_shouldAddAndNotReplace()
162 final TestPreferenceController controller1 = new TestPreferenceController(mContext); in useAll_returnsAllControllersOfType()
163 final TestPreferenceController controller2 = new TestPreferenceController(mContext); in useAll_returnsAllControllersOfType()
169 final List<TestPreferenceController> retrievedControllers = mTestFragment.useAll( in useAll_returnsAllControllersOfType()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/
DBaseTimeZonePreferenceControllerTest.java47 TestPreferenceController controller = new TestPreferenceController(mActivity, prefKey); in handlePreferenceTreeClick_correctKey_triggerOnClickListener()
59 TestPreferenceController controller = new TestPreferenceController(mActivity, prefKey); in handlePreferenceTreeClick_wrongKey_triggerOnClickListener()
66 private static class TestPreferenceController extends BaseTimeZonePreferenceController { class in BaseTimeZonePreferenceControllerTest
70 private TestPreferenceController(Context context, String preferenceKey) { in TestPreferenceController() method in BaseTimeZonePreferenceControllerTest.TestPreferenceController
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/defaultapps/
DDefaultAppPreferenceControllerTest.java56 private TestPreferenceController mController;
68 mController = new TestPreferenceController(mContext); in updateState_hasDefaultApp_shouldUpdateAppName()
79 mController = new TestPreferenceController(mContext); in updateState_hasNoApp_shouldNotUpdateAppName()
89 mController = new TestPreferenceController(mContext); in updateState_twoTargetPref_shouldUseMediumIcon()
96 private static class TestPreferenceController extends DefaultAppPreferenceController { class in DefaultAppPreferenceControllerTest
100 private TestPreferenceController(Context context) { in TestPreferenceController() method in DefaultAppPreferenceControllerTest.TestPreferenceController
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/
DLiveDataControllerTest.java44 private TestPreferenceController mTestController;
51 mTestController = new TestPreferenceController(mContext, KEY); in setUp()
67 static class TestPreferenceController extends LiveDataController { class in LiveDataControllerTest
68 TestPreferenceController(Context context, String preferenceKey) { in TestPreferenceController() method in LiveDataControllerTest.TestPreferenceController
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DNotificationPreferenceControllerTest.java73 private TestPreferenceController mController;
82 mController = new TestPreferenceController(mContext, mBackend); in setUp()
228 mController = new TestPreferenceController(mContext, mBackend); in testIsChannelBlockable_postMigration_locked()
240 mController = new TestPreferenceController(mContext, mBackend); in testIsChannelBlockable_postMigration_locked_butChannelOff()
252 mController = new TestPreferenceController(mContext, mBackend); in testIsChannelBlockable_postMigration_locked_butChannelBlockable()
265 mController = new TestPreferenceController(mContext, mBackend); in testIsChannelGroupBlockable_postMigration_locked()
276 mController = new TestPreferenceController(mContext, mBackend); in testIsChannelGroupBlockable_postMigration_locked_butChannelGroupOff()
288 mController = new TestPreferenceController(mContext, mBackend); in testIsAppBlockable_fixedPermission()
299 mController = new TestPreferenceController(mContext, mBackend); in testIsAppBlockable_fixedPermission_butAppOff()
310 mController = new TestPreferenceController(mContext, mBackend); in testIsAppBlockable_notFixedButAppInBadState()
[all …]
DConversationListPreferenceControllerTest.java68 private TestPreferenceController mController;
73 mController = new TestPreferenceController(mContext, mBackend); in setUp()
231 private static final class TestPreferenceController extends class in ConversationListPreferenceControllerTest
234 private TestPreferenceController(Context context, NotificationBackend backend) { in TestPreferenceController() method in ConversationListPreferenceControllerTest.TestPreferenceController
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
DTelephonyBasePreferenceControllerTest.java48 private TestPreferenceController mPreferenceController;
60 mPreferenceController = new TestPreferenceController(mContext, "prefKey"); in setUp()
86 public class TestPreferenceController extends TelephonyBasePreferenceController { class in TelephonyBasePreferenceControllerTest
87 public TestPreferenceController(Context context, String prefKey) { in TestPreferenceController() method in TelephonyBasePreferenceControllerTest.TestPreferenceController
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppInfoPreferenceControllerBaseTest.java66 private TestPreferenceController mController;
71 mController = new TestPreferenceController(mFragment); in setUp()
107 private class TestPreferenceController extends AppInfoPreferenceControllerBase { class in AppInfoPreferenceControllerBaseTest
111 private TestPreferenceController(AppInfoDashboardFragment parent) { in TestPreferenceController() method in AppInfoPreferenceControllerBaseTest.TestPreferenceController
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DVibrationTogglePreferenceControllerTest.java51 private static class TestPreferenceController extends VibrationTogglePreferenceController { class in VibrationTogglePreferenceControllerTest
53 TestPreferenceController(Context context) { in TestPreferenceController() method in VibrationTogglePreferenceControllerTest.TestPreferenceController
78 mController = new TestPreferenceController(mContext); in setUp()
DVibrationIntensityPreferenceControllerTest.java54 private static class TestPreferenceController extends VibrationIntensityPreferenceController { class in VibrationIntensityPreferenceControllerTest
56 TestPreferenceController(Context context, int supportedIntensityLevels) { in TestPreferenceController() method in VibrationIntensityPreferenceControllerTest.TestPreferenceController
256 new TestPreferenceController(mContext, supportedIntensityLevels); in createPreferenceController()