/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
D | SliceBuilderUtilsTest.java | 158 final FakePreferenceController controller = spy( in getDynamicSummary_allowDynamicSummary_returnsControllerSummary() 159 new FakePreferenceController(mContext, KEY)); in getDynamicSummary_allowDynamicSummary_returnsControllerSummary() 171 final FakePreferenceController controller = spy( in getDynamicSummary_allowDynamicSummary_nullSummary_returnsNull() 172 new FakePreferenceController(mContext, KEY)); in getDynamicSummary_allowDynamicSummary_nullSummary_returnsNull() 184 final FakePreferenceController controller = spy( in getDynamicSummary_noScreenTitle_returnsPrefControllerSummary() 185 new FakePreferenceController(mContext, KEY)); in getDynamicSummary_noScreenTitle_returnsPrefControllerSummary() 197 final FakePreferenceController controller = spy( in getDynamicSummary_screenTitleMatchesTitle_returnsPrefControllerSummary() 198 new FakePreferenceController(mContext, KEY)); in getDynamicSummary_screenTitleMatchesTitle_returnsPrefControllerSummary() 210 final FakePreferenceController controller = new FakePreferenceController(mContext, KEY); in getDynamicSummary_emptyScreenTitle_emptyControllerSummary_returnsEmptyString() 220 final FakePreferenceController controller = spy( in getDynamicSummary_screenTitleAndControllerPlaceholder_returnsSliceEmptyString() [all …]
|
D | FakePreferenceController.java | 23 public class FakePreferenceController extends BasePreferenceController { class 25 public FakePreferenceController(Context context, String preferenceKey) { in FakePreferenceController() method in FakePreferenceController
|
D | SliceDataConverterTest.java | 61 private static final String FAKE_CONTROLLER_NAME = FakePreferenceController.class.getName();
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/ |
D | SettingsFragmentTestCase.java | 83 assertThat(mFragment.use(FakePreferenceController.class, in use_returnsController() 89 AtomicReference<FakePreferenceController> controller = new AtomicReference<>(); in onAttach_registersLifecycleObservers() 92 controller.set(mFragment.use(FakePreferenceController.class, in onAttach_registersLifecycleObservers() 106 FakePreferenceController controller = mFragment.use(FakePreferenceController.class, in onUxRestrictionsChanged_propagatesToControllers() 124 FakePreferenceController controller = mFragment.use(FakePreferenceController.class, in onUxRestrictedPreferenceTapped_showToast()
|
D | PreferenceControllerTest.java | 69 private FakePreferenceController mPreferenceController; 82 mPreferenceController = new FakePreferenceController(mContext, /* preferenceKey= */ "key", in setUp() 245 private static class FakePreferenceController extends class in PreferenceControllerTest 252 FakePreferenceController(Context context, String preferenceKey, in FakePreferenceController() method in PreferenceControllerTest.FakePreferenceController
|
D | FakePreferenceController.java | 30 public class FakePreferenceController extends PreferenceController<Preference> { class 51 public FakePreferenceController(Context context, String preferenceKey, in FakePreferenceController() method in FakePreferenceController
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/ |
D | PreferenceControllerTest.java | 62 private PreferenceControllerTestHelper<FakePreferenceController> mControllerHelper; 63 private FakePreferenceController mController; 74 FakePreferenceController.class, mPreference); in setUp() 162 FakePreferenceController.class, mPreference); in onUxRestrictionsChanged_restricted_allPreferencesIgnore_preferenceEnabled() 179 FakePreferenceController.class, mPreference); in onUxRestrictionsChanged_restricted_thisPreferenceIgnores_preferenceEnabled() 197 FakePreferenceController.class, mPreference); in onUxRestrictionsChanged_restricted_uxRestrictionsNotIgnored_preferenceDisabled()
|
D | FakePreferenceController.java | 30 public class FakePreferenceController extends PreferenceController<Preference> { class 51 public FakePreferenceController(Context context, String preferenceKey, in FakePreferenceController() method in FakePreferenceController
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/ |
D | PreferenceControllerListHelperTest.java | 24 import com.android.settings.slices.FakePreferenceController; 56 assertThat(controller).isInstanceOf(FakePreferenceController.class); in getControllers_shouldReturnAList() 68 assertThat(controllers.get(0)).isInstanceOf(FakePreferenceController.class); in getControllers_partialFailure_shouldReturnTheRest()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/slices/ |
D | FakePreferenceController.java | 23 public class FakePreferenceController extends BasePreferenceController { class 25 public FakePreferenceController(Context context, String preferenceKey) { in FakePreferenceController() method in FakePreferenceController
|