Home
last modified time | relevance | path

Searched refs:mPrefContext (Results 1 – 16 of 16) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiConnectionPreferenceController.java47 private Context mPrefContext; field in WifiConnectionPreferenceController
103 mPrefContext = screen.getContext(); in displayPreference()
124 if (mPrefContext != null) { in updatePreference()
125 mPreference = new AccessPointPreference(accessPoint, mPrefContext, mBadgeCache, in updatePreference()
134 new SubSettingLauncher(mPrefContext) in updatePreference()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConnectionPreferenceController.java65 private Context mPrefContext; field in WifiConnectionPreferenceController
141 mPrefContext = screen.getContext(); in displayPreference()
150 if (wifiEntry == null || mPrefContext == null) { in updatePreference()
154 mPreference = new WifiEntryPreference(mPrefContext, wifiEntry); in updatePreference()
162 new SubSettingLauncher(mPrefContext) in updatePreference()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeAddBypassingAppsPreferenceController.java60 @VisibleForTesting Context mPrefContext; field in ZenModeAddBypassingAppsPreferenceController
95 mPrefContext = screen.getContext(); in displayPreference()
130 mPreferenceCategory = new PreferenceCategory(mPrefContext); in updateAppList()
146 pref = new AppPreference(mPrefContext); in updateAppList()
173 pref = new Preference(mPrefContext); in updateAppList()
DZenModeAllBypassingAppsPreferenceController.java59 @VisibleForTesting Context mPrefContext; field in ZenModeAllBypassingAppsPreferenceController
85 mPrefContext = screen.getContext(); in displayPreference()
132 pref = new AppPreference(mPrefContext); in updateAppList()
164 pref = new Preference(mPrefContext); in updateAppList()
/packages/apps/Settings/src/com/android/settings/datausage/
DAppPrefLoader.java31 private Context mPrefContext; field in AppPrefLoader
37 mPrefContext = prefContext; in AppPrefLoader()
46 Preference preference = new Preference(mPrefContext); in loadInBackground()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DAppPrefLoader.java31 private Context mPrefContext; field in AppPrefLoader
37 mPrefContext = prefContext; in AppPrefLoader()
46 Preference preference = new Preference(mPrefContext); in loadInBackground()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenModeAllBypassingAppsPreferenceController.java53 @VisibleForTesting Context mPrefContext; field in ZenModeAllBypassingAppsPreferenceController
79 mPrefContext = mPreferenceScreen.getContext(); in displayPreference()
122 Preference pref = new AppPreference(mPrefContext); in updateNotificationChannelList()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DBluetoothDeviceUpdater.java57 protected Context mPrefContext; field in BluetoothDeviceUpdater
190 mPrefContext = context; in setPrefContext()
218 new BluetoothDevicePreference(mPrefContext, cachedDevice, in addPreference()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDeviceUpdater.java60 protected Context mPrefContext; field in BluetoothDeviceUpdater
204 mPrefContext = context; in setPrefContext()
246 new BluetoothDevicePreference(mPrefContext, cachedDevice, in addPreference()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DBatteryAppListPreferenceController.java81 private Context mPrefContext; field in BatteryAppListPreferenceController
145 mPrefContext = screen.getContext(); in displayPreference()
222 pref = new PowerGaugePreference(mPrefContext, badgedIcon, in refreshAppListGroup()
462 notAvailable = new Preference(mPrefContext); in addNotAvailableMessage()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryAppListPreferenceController.java80 private Context mPrefContext; field in BatteryAppListPreferenceController
144 mPrefContext = screen.getContext(); in displayPreference()
221 pref = new PowerGaugePreference(mPrefContext, badgedIcon, in refreshAppListGroup()
469 notAvailable = new Preference(mPrefContext); in addNotAvailableMessage()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipPreferenceController.java61 Context mPrefContext; field in BatteryTipPreferenceController
91 mPrefContext = screen.getContext(); in displayPreference()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/
DBatteryTipPreferenceController.java61 Context mPrefContext; field in BatteryTipPreferenceController
91 mPrefContext = screen.getContext(); in displayPreference()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipPreferenceControllerTest.java103 mBatteryTipPreferenceController.mPrefContext = mContext; in setUp()
130 controller.mPrefContext = mContext; in testSaveAndRestore()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenModeAllBypassingAppsPreferenceControllerTest.java75 mController.mPrefContext = mContext; in setup()
DZenModeAddBypassingAppsPreferenceControllerTest.java73 mController.mPrefContext = mContext; in setup()