Home
last modified time | relevance | path

Searched refs:mPreferenceManager (Results 1 – 25 of 83) sorted by relevance

1234

/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DApplicationListFragmentTest.java60 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/
DUnrestrictedDataAccessPreferenceControllerTest.java76 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/
DToggleScreenMagnificationPreferenceFragmentForSetupWizardTest.java116 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()
DToggleSelectToSpeakPreferenceFragmentForSetupWizardTest.java108 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()
DAccessibilityButtonFragmentTest.java124 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()
DToggleScreenReaderPreferenceFragmentForSetupWizardTest.java108 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()
DAccessibilitySettingsForSetupWizardTest.java189 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()
DBaseBluetoothDevicePreferenceControllerTest.java67 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/
DPreferenceControllerListHelperTest.java43 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()
DInstrumentedPreferenceFragmentTest.java55 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/
DUsbDetailsHeaderControllerTest.java66 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()
DUsbDetailsTranscodeMtpControllerTest.java62 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/
DBluetoothDetailsControllerTestBase.java58 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/
DNetworkProviderWifiCallingPreferenceControllerTest.java58 private PreferenceManager mPreferenceManager; field in NetworkProviderWifiCallingPreferenceControllerTest
79 mPreferenceManager = new PreferenceManager(mContext); in setUp()
80 mPreferenceScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
DDisabledSubscriptionControllerTest.java51 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/
DPrintSettingsFragmentTest.java53 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/
DEmergencyEditTextPreferenceTest.java43 @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/
DTermsOfAddressFeminineControllerTest.java52 private PreferenceManager mPreferenceManager; field in TermsOfAddressFeminineControllerTest
73 mPreferenceManager = new PreferenceManager(mContext); in setUp()
74 mPreferenceScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
DTermsOfAddressNotSpecifiedControllerTest.java52 private PreferenceManager mPreferenceManager; field in TermsOfAddressNotSpecifiedControllerTest
73 mPreferenceManager = new PreferenceManager(mContext); in setUp()
74 mPreferenceScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
DTermsOfAddressNeutralControllerTest.java52 private PreferenceManager mPreferenceManager; field in TermsOfAddressNeutralControllerTest
73 mPreferenceManager = new PreferenceManager(mContext); in setUp()
74 mPreferenceScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
DTermsOfAddressMasculineControllerTest.java52 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/
DInputMethodAndSubtypePreferenceControllerTest.java60 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/
DDreamSettingsTest.java361 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/
DFirstDayOfWeekItemListControllerTest.java55 private PreferenceManager mPreferenceManager; field in FirstDayOfWeekItemListControllerTest
70 mPreferenceManager = new PreferenceManager(mContext); in setUp()
71 mPreferenceScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
DTemperatureUnitListControllerTest.java53 private PreferenceManager mPreferenceManager; field in TemperatureUnitListControllerTest
68 mPreferenceManager = new PreferenceManager(mContext); in setUp()
69 mPreferenceScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()

1234