/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/unit/src/com/android/settings/network/telephony/ |
D | NetworkSelectSettingsTest.java | 62 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()
|
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 | 55 private PreferenceManager mPreferenceManager; field in DisabledSubscriptionControllerTest 68 mPreferenceManager = new PreferenceManager(mContext); in setUp() 69 mScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
|
D | NetworkProviderBackupCallingGroupTest.java | 88 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/ |
D | UsbDetailsHeaderControllerTest.java | 64 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()
|
D | UsbDetailsTranscodeMtpControllerTest.java | 53 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()
|
D | UsbDetailsDataRoleControllerTest.java | 60 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()
|
D | UsbDetailsPowerRoleControllerTest.java | 63 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/ |
D | BluetoothDetailsControllerTestBase.java | 54 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/ |
D | ToggleScreenMagnificationPreferenceFragmentTest.java | 337 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/ |
D | NetworkProviderSimsCategoryControllerTest.java | 58 private PreferenceManager mPreferenceManager; field in NetworkProviderSimsCategoryControllerTest 79 mPreferenceManager = new PreferenceManager(mContext); in setUp() 80 mPreferenceScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
|
D | NetworkProviderDownloadedSimsCategoryControllerTest.java | 60 private PreferenceManager mPreferenceManager; field in NetworkProviderDownloadedSimsCategoryControllerTest 81 mPreferenceManager = new PreferenceManager(mContext); in setUp() 82 mPreferenceScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
|
D | MultiNetworkHeaderControllerTest.java | 61 private PreferenceManager mPreferenceManager; field in MultiNetworkHeaderControllerTest 86 mPreferenceManager = new PreferenceManager(mContext); in setUp() 87 mPreferenceScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
|
D | AirplaneModePreferenceControllerTest.java | 59 private PreferenceManager mPreferenceManager; field in AirplaneModePreferenceControllerTest 78 mPreferenceManager = new PreferenceManager(mContext); in setUp() 79 mScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
|
D | NetworkMobileProviderControllerTest.java | 68 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/ |
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()
|
D | EmergencyListPreferenceTest.java | 47 @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/ |
D | InstrumentedPreferenceFragmentTest.java | 49 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/ |
D | InputMethodAndSubtypePreferenceControllerTest.java | 57 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/ |
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()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | RestrictedAppDetailsTest.java | 86 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/ |
D | PlatformCompatDashboardTest.java | 77 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/ |
D | InstantAppButtonsPreferenceControllerTest.java | 84 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/ |
D | ChooseAccountPreferenceControllerTest.java | 63 private PreferenceManager mPreferenceManager; field in ChooseAccountPreferenceControllerTest 72 mPreferenceManager = new PreferenceManager(mContext); in setUp() 73 mPreferenceScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
|