Home
last modified time | relevance | path

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

123

/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/unit/src/com/android/settings/network/telephony/
DNetworkSelectSettingsTest.java62 private PreferenceManager mPreferenceManager; field in NetworkSelectSettingsTest
80 doReturn(mSharedPreferences).when(mPreferenceManager).getSharedPreferences(); in setUp()
82 doReturn(mPreferenceManager).when(mPreferenceCategory).getPreferenceManager(); in setUp()
86 doReturn(mPreferenceManager).when(mNetworkSelectSettings).getPreferenceManager(); in setUp()
87 doReturn(mContext).when(mPreferenceManager).getContext(); in setUp()
DNetworkProviderWifiCallingPreferenceControllerTest.java58 private PreferenceManager mPreferenceManager; field in NetworkProviderWifiCallingPreferenceControllerTest
79 mPreferenceManager = new PreferenceManager(mContext); in setUp()
80 mPreferenceScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
DDisabledSubscriptionControllerTest.java55 private PreferenceManager mPreferenceManager; field in DisabledSubscriptionControllerTest
68 mPreferenceManager = new PreferenceManager(mContext); in setUp()
69 mScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
DNetworkProviderBackupCallingGroupTest.java88 private PreferenceManager mPreferenceManager; field in NetworkProviderBackupCallingGroupTest
127 mPreferenceManager = new PreferenceManager(mContext); in setUp()
128 mPreferenceScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/
DUsbDetailsHeaderControllerTest.java64 private PreferenceManager mPreferenceManager; field in UsbDetailsHeaderControllerTest
83 mPreferenceManager = new PreferenceManager(mContext); in setUp()
84 mScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
89 when(mFragment.getPreferenceManager()).thenReturn(mPreferenceManager); in setUp()
DUsbDetailsTranscodeMtpControllerTest.java53 private PreferenceManager mPreferenceManager; field in UsbDetailsTranscodeMtpControllerTest
69 mPreferenceManager = new PreferenceManager(mContext); in setUp()
70 mScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
75 when(mFragment.getPreferenceManager()).thenReturn(mPreferenceManager); in setUp()
DUsbDetailsDataRoleControllerTest.java60 private PreferenceManager mPreferenceManager; field in UsbDetailsDataRoleControllerTest
78 mPreferenceManager = new PreferenceManager(mContext); in setUp()
79 mScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
84 when(mFragment.getPreferenceManager()).thenReturn(mPreferenceManager); in setUp()
DUsbDetailsPowerRoleControllerTest.java63 private PreferenceManager mPreferenceManager; field in UsbDetailsPowerRoleControllerTest
81 mPreferenceManager = new PreferenceManager(mContext); in setUp()
82 mScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
87 when(mFragment.getPreferenceManager()).thenReturn(mPreferenceManager); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDetailsControllerTestBase.java54 protected PreferenceManager mPreferenceManager; field in BluetoothDetailsControllerTestBase
69 mPreferenceManager = new PreferenceManager(mContext); in setUp()
70 mScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
75 when(mFragment.getPreferenceManager()).thenReturn(mPreferenceManager); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DToggleScreenMagnificationPreferenceFragmentTest.java337 private final PreferenceManager mPreferenceManager; field in ToggleScreenMagnificationPreferenceFragmentTest.TestToggleScreenMagnificationPreferenceFragment
342 mPreferenceManager = new PreferenceManager(context); in TestToggleScreenMagnificationPreferenceFragment()
343 mPreferenceManager.setPreferences(mPreferenceManager.createPreferenceScreen(context)); in TestToggleScreenMagnificationPreferenceFragment()
368 return mPreferenceManager.getPreferenceScreen(); in getPreferenceScreen()
381 return mPreferenceManager; in getPreferenceManager()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DNetworkProviderSimsCategoryControllerTest.java58 private PreferenceManager mPreferenceManager; field in NetworkProviderSimsCategoryControllerTest
79 mPreferenceManager = new PreferenceManager(mContext); in setUp()
80 mPreferenceScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
DNetworkProviderDownloadedSimsCategoryControllerTest.java60 private PreferenceManager mPreferenceManager; field in NetworkProviderDownloadedSimsCategoryControllerTest
81 mPreferenceManager = new PreferenceManager(mContext); in setUp()
82 mPreferenceScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
DMultiNetworkHeaderControllerTest.java61 private PreferenceManager mPreferenceManager; field in MultiNetworkHeaderControllerTest
86 mPreferenceManager = new PreferenceManager(mContext); in setUp()
87 mPreferenceScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
DAirplaneModePreferenceControllerTest.java59 private PreferenceManager mPreferenceManager; field in AirplaneModePreferenceControllerTest
78 mPreferenceManager = new PreferenceManager(mContext); in setUp()
79 mScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
DNetworkMobileProviderControllerTest.java68 private PreferenceManager mPreferenceManager; field in NetworkMobileProviderControllerTest
92 mPreferenceManager = new PreferenceManager(mContext); in setUp()
93 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()
DEmergencyListPreferenceTest.java47 @Mock private PreferenceManager mPreferenceManager; field in EmergencyListPreferenceTest
55 when(mPreferenceManager.getSharedPreferences()).thenReturn(mSharedPreferences); in setUp()
63 when(prefRoot.getPreferenceManager()).thenReturn(mPreferenceManager); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/
DInstrumentedPreferenceFragmentTest.java49 private PreferenceManager mPreferenceManager; field in InstrumentedPreferenceFragmentTest
58 when(mPreferenceManager.getPreferenceScreen()).thenReturn(mScreen); in setUp()
61 ReflectionHelpers.setField(mFragment, "mPreferenceManager", mPreferenceManager); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
DInputMethodAndSubtypePreferenceControllerTest.java57 private PreferenceManager mPreferenceManager; field in InputMethodAndSubtypePreferenceControllerTest
63 mPreferenceManager = new PreferenceManager(mContext); in setUp()
66 when(mFragment.getPreferenceManager()).thenReturn(mPreferenceManager); in setUp()
/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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DRestrictedAppDetailsTest.java86 private PreferenceManager mPreferenceManager; field in RestrictedAppDetailsTest
104 mPreferenceManager = new PreferenceManager(mContext); in setUp()
106 doReturn(mPreferenceManager).when(mRestrictedAppDetails).getPreferenceManager(); in setUp()
116 doReturn(mPreferenceManager).when( in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/compat/
DPlatformCompatDashboardTest.java77 private PreferenceManager mPreferenceManager; field in PlatformCompatDashboardTest
107 mPreferenceManager = new PreferenceManager(mContext); in setUp()
108 mPreferenceScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
116 doReturn(mPreferenceManager).when(mDashboard).getPreferenceManager(); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DInstantAppButtonsPreferenceControllerTest.java84 private PreferenceManager mPreferenceManager; field in InstantAppButtonsPreferenceControllerTest
98 mPreferenceManager = new PreferenceManager(mContext); in setUp()
99 mScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
100 when(mFragment.getPreferenceManager()).thenReturn(mPreferenceManager); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DChooseAccountPreferenceControllerTest.java63 private PreferenceManager mPreferenceManager; field in ChooseAccountPreferenceControllerTest
72 mPreferenceManager = new PreferenceManager(mContext); in setUp()
73 mPreferenceScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()

123