/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
D | ApplicationListFragmentTest.java | 60 private PreferenceManager mPreferenceManager; field in ApplicationListFragmentTest 69 when(mPreferenceManager.getContext()).thenReturn(mContext); in setUp() 71 mFragment = new ApplicationListFragmentTestable(mPreferenceManager, mScreen); in setUp() 108 private final PreferenceManager mPreferenceManager; field in ApplicationListFragmentTest.ApplicationListFragmentTestable 113 this.mPreferenceManager = preferenceManager; in ApplicationListFragmentTestable() 128 return mPreferenceManager; in getPreferenceManager()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
D | UnrestrictedDataAccessPreferenceControllerTest.java | 76 private PreferenceManager mPreferenceManager; field in UnrestrictedDataAccessPreferenceControllerTest 121 mPreferenceManager = new PreferenceManager(mContext); in onRebuildComplete_restricted_shouldBeDisabled() 122 mPreferenceScreen = spy(mPreferenceManager.createPreferenceScreen(mContext)); in onRebuildComplete_restricted_shouldBeDisabled() 123 doReturn(mPreferenceManager).when(mFragment).getPreferenceManager(); in onRebuildComplete_restricted_shouldBeDisabled() 173 mPreferenceManager = new PreferenceManager(mContext); in onRebuildComplete_ecmRestricted_shouldBeDisabled() 174 mPreferenceScreen = spy(mPreferenceManager.createPreferenceScreen(mContext)); in onRebuildComplete_ecmRestricted_shouldBeDisabled() 175 doReturn(mPreferenceManager).when(mFragment).getPreferenceManager(); in onRebuildComplete_ecmRestricted_shouldBeDisabled() 212 mPreferenceManager = new PreferenceManager(mContext); in onRebuildComplete_ecmNotRestricted_notDisabled() 213 mPreferenceScreen = spy(mPreferenceManager.createPreferenceScreen(mContext)); in onRebuildComplete_ecmNotRestricted_notDisabled() 214 doReturn(mPreferenceManager).when(mFragment).getPreferenceManager(); in onRebuildComplete_ecmNotRestricted_notDisabled()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | ToggleScreenMagnificationPreferenceFragmentForSetupWizardTest.java | 116 private final PreferenceManager mPreferenceManager; field in ToggleScreenMagnificationPreferenceFragmentForSetupWizardTest.TestToggleScreenMagnificationPreferenceFragmentForSetupWizard 121 mPreferenceManager = new PreferenceManager(context); in TestToggleScreenMagnificationPreferenceFragmentForSetupWizard() 122 mPreferenceManager.setPreferences(mPreferenceManager.createPreferenceScreen(context)); in TestToggleScreenMagnificationPreferenceFragmentForSetupWizard() 134 return mPreferenceManager.getPreferenceScreen(); in getPreferenceScreen() 139 return mPreferenceManager; in getPreferenceManager()
|
D | ToggleSelectToSpeakPreferenceFragmentForSetupWizardTest.java | 108 private final PreferenceManager mPreferenceManager; field in ToggleSelectToSpeakPreferenceFragmentForSetupWizardTest.TestToggleSelectToSpeakPreferenceFragmentForSetupWizard 113 mPreferenceManager = new PreferenceManager(context); in TestToggleSelectToSpeakPreferenceFragmentForSetupWizard() 114 mPreferenceManager.setPreferences(mPreferenceManager.createPreferenceScreen(context)); in TestToggleSelectToSpeakPreferenceFragmentForSetupWizard() 129 return mPreferenceManager.getPreferenceScreen(); in getPreferenceScreen() 134 return mPreferenceManager; in getPreferenceManager()
|
D | AccessibilityButtonFragmentTest.java | 124 private final PreferenceManager mPreferenceManager; field in AccessibilityButtonFragmentTest.TestAccessibilityButtonFragment 129 mPreferenceManager = new PreferenceManager(context); in TestAccessibilityButtonFragment() 130 mPreferenceManager.setPreferences(mPreferenceManager.createPreferenceScreen(context)); in TestAccessibilityButtonFragment() 140 return mPreferenceManager.getPreferenceScreen(); in getPreferenceScreen() 145 return mPreferenceManager; in getPreferenceManager()
|
D | ToggleScreenReaderPreferenceFragmentForSetupWizardTest.java | 108 private final PreferenceManager mPreferenceManager; field in ToggleScreenReaderPreferenceFragmentForSetupWizardTest.TestToggleScreenReaderPreferenceFragmentForSetupWizard 113 mPreferenceManager = new PreferenceManager(context); in TestToggleScreenReaderPreferenceFragmentForSetupWizard() 114 mPreferenceManager.setPreferences(mPreferenceManager.createPreferenceScreen(context)); in TestToggleScreenReaderPreferenceFragmentForSetupWizard() 129 return mPreferenceManager.getPreferenceScreen(); in getPreferenceScreen() 134 return mPreferenceManager; in getPreferenceManager()
|
D | AccessibilitySettingsForSetupWizardTest.java | 189 private final PreferenceManager mPreferenceManager; field in AccessibilitySettingsForSetupWizardTest.TestAccessibilitySettingsForSetupWizard 195 mPreferenceManager = new PreferenceManager(context); in TestAccessibilitySettingsForSetupWizard() 196 mPreferenceScreen = spy(mPreferenceManager.createPreferenceScreen(context)); in TestAccessibilitySettingsForSetupWizard() 197 mPreferenceManager.setPreferences(mPreferenceScreen); in TestAccessibilitySettingsForSetupWizard() 210 return mPreferenceManager.getPreferenceScreen(); in getPreferenceScreen() 215 return mPreferenceManager; in getPreferenceManager()
|
D | BaseBluetoothDevicePreferenceControllerTest.java | 67 private PreferenceManager mPreferenceManager; field in BaseBluetoothDevicePreferenceControllerTest 78 mPreferenceManager = new PreferenceManager(mContext); in setUp() 79 mScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/ |
D | PreferenceControllerListHelperTest.java | 43 private PreferenceManager mPreferenceManager; field in PreferenceControllerListHelperTest 48 mPreferenceManager = new PreferenceManager(mContext); in setUp() 80 mPreferenceManager, R.xml.location_settings)).isFalse(); in areAllPreferencesUnavailable_allAvailable() 88 mPreferenceManager, R.xml.location_settings)).isTrue(); in areAllPreferencesUnavailable_allUnavailable() 96 mPreferenceManager, R.xml.display_settings)).isFalse(); in areAllPreferencesUnavailable_noControllersShouldAssumeAvailable()
|
D | InstrumentedPreferenceFragmentTest.java | 55 private PreferenceManager mPreferenceManager; field in InstrumentedPreferenceFragmentTest 64 when(mPreferenceManager.getPreferenceScreen()).thenReturn(mScreen); in setUp() 69 ReflectionHelpers.setField(mFragment, "mPreferenceManager", mPreferenceManager); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/ |
D | UsbDetailsHeaderControllerTest.java | 66 private PreferenceManager mPreferenceManager; field in UsbDetailsHeaderControllerTest 85 mPreferenceManager = new PreferenceManager(mContext); in setUp() 86 mScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp() 91 when(mFragment.getPreferenceManager()).thenReturn(mPreferenceManager); in setUp()
|
D | UsbDetailsTranscodeMtpControllerTest.java | 62 private PreferenceManager mPreferenceManager; field in UsbDetailsTranscodeMtpControllerTest 78 mPreferenceManager = new PreferenceManager(mContext); in setUp() 79 mScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp() 84 when(mFragment.getPreferenceManager()).thenReturn(mPreferenceManager); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothDetailsControllerTestBase.java | 58 protected PreferenceManager mPreferenceManager; field in BluetoothDetailsControllerTestBase 73 mPreferenceManager = new PreferenceManager(mContext); in setUp() 74 mScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp() 79 when(mFragment.getPreferenceManager()).thenReturn(mPreferenceManager); in setUp()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/ |
D | NetworkProviderWifiCallingPreferenceControllerTest.java | 58 private PreferenceManager mPreferenceManager; field in NetworkProviderWifiCallingPreferenceControllerTest 79 mPreferenceManager = new PreferenceManager(mContext); in setUp() 80 mPreferenceScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
|
D | DisabledSubscriptionControllerTest.java | 51 private PreferenceManager mPreferenceManager; field in DisabledSubscriptionControllerTest 64 mPreferenceManager = new PreferenceManager(mContext); in setUp() 65 mScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/print/ |
D | PrintSettingsFragmentTest.java | 53 private PreferenceManager mPreferenceManager; field in PrintSettingsFragmentTest 61 mPreferenceManager = new PreferenceManager(mContext); in setUp() 62 mPreferenceScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
|
/packages/apps/EmergencyInfo/tests/robolectric/src/com/android/emergency/preferences/ |
D | EmergencyEditTextPreferenceTest.java | 43 @Mock private PreferenceManager mPreferenceManager; field in EmergencyEditTextPreferenceTest 51 when(mPreferenceManager.getSharedPreferences()).thenReturn(mSharedPreferences); in setUp() 58 when(prefRoot.getPreferenceManager()).thenReturn(mPreferenceManager); in setUp()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/localepicker/ |
D | TermsOfAddressFeminineControllerTest.java | 52 private PreferenceManager mPreferenceManager; field in TermsOfAddressFeminineControllerTest 73 mPreferenceManager = new PreferenceManager(mContext); in setUp() 74 mPreferenceScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
|
D | TermsOfAddressNotSpecifiedControllerTest.java | 52 private PreferenceManager mPreferenceManager; field in TermsOfAddressNotSpecifiedControllerTest 73 mPreferenceManager = new PreferenceManager(mContext); in setUp() 74 mPreferenceScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
|
D | TermsOfAddressNeutralControllerTest.java | 52 private PreferenceManager mPreferenceManager; field in TermsOfAddressNeutralControllerTest 73 mPreferenceManager = new PreferenceManager(mContext); in setUp() 74 mPreferenceScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
|
D | TermsOfAddressMasculineControllerTest.java | 52 private PreferenceManager mPreferenceManager; field in TermsOfAddressMasculineControllerTest 73 mPreferenceManager = new PreferenceManager(mContext); in setUp() 74 mPreferenceScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/ |
D | InputMethodAndSubtypePreferenceControllerTest.java | 60 private PreferenceManager mPreferenceManager; field in InputMethodAndSubtypePreferenceControllerTest 66 mPreferenceManager = new PreferenceManager(mContext); in setUp() 69 when(mFragment.getPreferenceManager()).thenReturn(mPreferenceManager); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dream/ |
D | DreamSettingsTest.java | 361 private final PreferenceManager mPreferenceManager; field in DreamSettingsTest.TestDreamSettings 368 mPreferenceManager = new PreferenceManager(context); in TestDreamSettings() 369 mPreferenceManager.setPreferences(mPreferenceManager.createPreferenceScreen(context)); in TestDreamSettings() 379 return mPreferenceManager.getPreferenceScreen(); in getPreferenceScreen() 384 return mPreferenceManager; in getPreferenceManager()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/regionalpreferences/ |
D | FirstDayOfWeekItemListControllerTest.java | 55 private PreferenceManager mPreferenceManager; field in FirstDayOfWeekItemListControllerTest 70 mPreferenceManager = new PreferenceManager(mContext); in setUp() 71 mPreferenceScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
|
D | TemperatureUnitListControllerTest.java | 53 private PreferenceManager mPreferenceManager; field in TemperatureUnitListControllerTest 68 mPreferenceManager = new PreferenceManager(mContext); in setUp() 69 mPreferenceScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
|