/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
D | EnterpriseSetDefaultAppsListFragmentTest.java | 49 private PreferenceManager mPreferenceManager; field in EnterpriseSetDefaultAppsListFragmentTest 58 when(mPreferenceManager.getContext()).thenReturn(mContext); in setUp() 59 when(mScreen.getPreferenceManager()).thenReturn(mPreferenceManager); in setUp() 60 mFragment = new EnterpriseSetDefaultAppsListFragmentTestable(mPreferenceManager, mScreen); in setUp() 92 private final PreferenceManager mPreferenceManager; field in EnterpriseSetDefaultAppsListFragmentTest.EnterpriseSetDefaultAppsListFragmentTestable 97 mPreferenceManager = preferenceManager; in EnterpriseSetDefaultAppsListFragmentTestable() 103 return mPreferenceManager; in getPreferenceManager()
|
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/network/telephony/ |
D | NetworkSelectSettingsTest.java | 56 private PreferenceManager mPreferenceManager; field in NetworkSelectSettingsTest 77 doReturn(mPreferenceManager).when(mConnectedPreferenceCategory).getPreferenceManager(); in setUp() 79 doReturn(mPreferenceManager).when(mPreferenceCategory).getPreferenceManager(); in setUp() 83 doReturn(mPreferenceManager).when(mNetworkSelectSettings).getPreferenceManager(); in setUp() 84 doReturn(mContext).when(mPreferenceManager).getContext(); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
D | EnterpriseDisclosurePreferenceControllerTest.java | 48 private PreferenceManager mPreferenceManager; field in EnterpriseDisclosurePreferenceControllerTest 59 mPreferenceManager = new PreferenceManager(mContext); in setUp() 60 mPreferenceScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp() 83 doReturn(mPreferenceManager).when(mFragment).getPreferenceManager(); in displayPreference_hasDisclosure_shouldSetTitle()
|
D | ChooseAccountPreferenceControllerTest.java | 63 private PreferenceManager mPreferenceManager; field in ChooseAccountPreferenceControllerTest 72 mPreferenceManager = new PreferenceManager(mContext); in setUp() 73 mPreferenceScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
|
D | RemoveAccountPreferenceControllerTest.java | 91 private PreferenceManager mPreferenceManager; field in RemoveAccountPreferenceControllerTest 109 when(mFragment.getPreferenceManager()).thenReturn(mPreferenceManager); in setUp() 110 when(mPreferenceManager.getContext()).thenReturn(RuntimeEnvironment.application); 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 | 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()
|
D | UsbDetailsFunctionsControllerTest.java | 66 private PreferenceManager mPreferenceManager; field in UsbDetailsFunctionsControllerTest 85 mPreferenceManager = new PreferenceManager(mContext); in setUp() 86 mScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp() 91 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/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()
|
D | EmergencyContactsPreferenceTest.java | 55 @Mock private PreferenceManager mPreferenceManager; field in EmergencyContactsPreferenceTest 66 when(mPreferenceManager.getSharedPreferences()).thenReturn(mSharedPreferences); in setUp() 75 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/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/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/development/compat/ |
D | PlatformCompatDashboardTest.java | 77 private PreferenceManager mPreferenceManager; field in PlatformCompatDashboardTest 102 mPreferenceManager = new PreferenceManager(mContext); in setUp() 103 mPreferenceScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp() 111 doReturn(mPreferenceManager).when(mDashboard).getPreferenceManager(); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/ |
D | DashboardFragmentTest.java | 282 private final PreferenceManager mPreferenceManager; field in DashboardFragmentTest.TestFragment 290 mPreferenceManager = mock(PreferenceManager.class); in TestFragment() 294 when(mPreferenceManager.getContext()).thenReturn(mContext); in TestFragment() 331 return mPreferenceManager; in getPreferenceManager()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | InstantAppButtonsPreferenceControllerTest.java | 83 private PreferenceManager mPreferenceManager; field in InstantAppButtonsPreferenceControllerTest 97 mPreferenceManager = new PreferenceManager(mContext); in setUp() 98 mScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp() 99 when(mFragment.getPreferenceManager()).thenReturn(mPreferenceManager); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | AirplaneModePreferenceControllerTest.java | 61 private PreferenceManager mPreferenceManager; field in AirplaneModePreferenceControllerTest 78 mPreferenceManager = new PreferenceManager(mContext); in setUp() 79 mScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/trustagent/ |
D | TrustAgentsPreferenceControllerTest.java | 72 private PreferenceManager mPreferenceManager; field in TrustAgentsPreferenceControllerTest 81 mPreferenceManager = new PreferenceManager(mContext); in setUp() 82 mPreferenceScreen = mPreferenceManager.createPreferenceScreen(mContext); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/cdma/ |
D | CdmaListPreferenceTest.java | 44 private PreferenceManager mPreferenceManager; field in CdmaListPreferenceTest 68 verify(mPreferenceManager, never()).showDialog(mPreference); in onClick_inEcm_doNothing()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/cdma/ |
D | CdmaBasePreferenceController.java | 46 protected PreferenceManager mPreferenceManager; field in CdmaBasePreferenceController 73 mPreferenceManager = preferenceManager; in init()
|