/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/ |
D | ScreenOnTimeController.java | 46 @VisibleForTesting Context mPrefContext; field in ScreenOnTimeController 63 mPrefContext = screen.getContext(); in displayPreference() 67 mPrefContext.getString(R.string.screen_time_category_last_full_charge); in displayPreference() 86 : mPrefContext.getString( in showCategoryTitle() 91 : mPrefContext.getString( in showCategoryTitle() 101 mPrefContext, in showScreenOnTimeText() 106 enlargeFontOfNumberIfNeeded(mPrefContext, timeSequence)); in showScreenOnTimeText()
|
D | BatteryUsageBreakdownController.java | 84 @VisibleForTesting Context mPrefContext; field in BatteryUsageBreakdownController 203 mPrefContext = screen.getContext(); in displayPreference() 209 mPrefContext.getString( in displayPreference() 214 mPrefContext.getString(R.string.battery_usage_less_than_percent, formatPercentage); in displayPreference() 216 mPrefContext.getString( in displayPreference() 223 mPrefContext.getString(R.string.battery_usage_spinner_view_by_apps), in displayPreference() 224 mPrefContext.getString(R.string.battery_usage_spinner_view_by_systems) in displayPreference() 237 mPrefContext, in displayPreference() 294 : mPrefContext.getString( in showCategoryTitle() 299 : mPrefContext.getString( in showCategoryTitle() [all …]
|
D | BatteryChartPreferenceController.java | 81 @VisibleForTesting Context mPrefContext; field in BatteryChartPreferenceController 140 mMetricsFeatureProvider.action(mPrefContext, SettingsEnums.OPEN_BATTERY_USAGE); in onResume() 168 mPrefContext = screen.getContext(); in displayPreference() 196 mPrefContext, in onBatteryLevelDataUpdate() 306 mPrefContext, in setBatteryChartViewInner() 333 mPrefContext, in setBatteryChartViewInner() 457 ? mPrefContext.getString( in getAccessibilityAnnounceMessage() 459 : mPrefContext.getString( in getAccessibilityAnnounceMessage() 463 return mPrefContext.getString( in getAccessibilityAnnounceMessage() 623 return mPrefContext.getString(
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiConnectionPreferenceController.java | 64 private Context mPrefContext; field in WifiConnectionPreferenceController 148 mPrefContext = screen.getContext(); in displayPreference() 157 if (wifiEntry == null || mPrefContext == null) { in updatePreference() 161 mPreference = new WifiEntryPreference(mPrefContext, wifiEntry); in updatePreference() 169 new SubSettingLauncher(mPrefContext) in updatePreference()
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenModeAddBypassingAppsPreferenceController.java | 64 @VisibleForTesting Context mPrefContext; field in ZenModeAddBypassingAppsPreferenceController 99 mPrefContext = screen.getContext(); in displayPreference() 137 final Drawable icon = AppUtils.getIcon(mPrefContext, entry); in updateIcon() 153 mPreferenceCategory = new PreferenceCategory(mPrefContext); in updateAppList() 174 pref = new AppPreference(mPrefContext); in updateAppList() 203 pref = new Preference(mPrefContext); in updateAppList()
|
D | ZenModeAllBypassingAppsPreferenceController.java | 60 @VisibleForTesting Context mPrefContext; field in ZenModeAllBypassingAppsPreferenceController 86 mPrefContext = screen.getContext(); in displayPreference() 125 final Drawable icon = AppUtils.getIcon(mPrefContext, entry); in updateIcon() 155 pref = new AppPreference(mPrefContext); in updateAppList() 190 pref = new Preference(mPrefContext); in updateAppList()
|
/packages/apps/Settings/src/com/android/settings/notification/modes/ |
D | ZenModeAddBypassingAppsPreferenceController.java | 65 @VisibleForTesting Context mPrefContext; field in ZenModeAddBypassingAppsPreferenceController 101 mPrefContext = screen.getContext(); in displayPreference() 139 final Drawable icon = AppUtils.getIcon(mPrefContext, entry); in updateIcon() 155 mPreferenceCategory = new PreferenceCategory(mPrefContext); in updateAppList() 176 pref = new AppPreference(mPrefContext); in updateAppList() 205 pref = new Preference(mPrefContext); in updateAppList()
|
D | ZenModeAllBypassingAppsPreferenceController.java | 61 @VisibleForTesting Context mPrefContext; field in ZenModeAllBypassingAppsPreferenceController 88 mPrefContext = screen.getContext(); in displayPreference() 127 final Drawable icon = AppUtils.getIcon(mPrefContext, entry); in updateIcon() 157 pref = new AppPreference(mPrefContext); in updateAppList() 191 pref = new Preference(mPrefContext); in updateAppList()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDeviceUpdater.java | 58 protected Context mPrefContext; field in BluetoothDeviceUpdater 206 mPrefContext = context; in setPrefContext() 248 new BluetoothDevicePreference(mPrefContext, cachedDevice, in addPreference()
|
D | SavedBluetoothDeviceUpdater.java | 130 mMetricsFeatureProvider.action(mPrefContext, in onPreferenceClick()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/ |
D | BatteryTipPreferenceController.java | 59 @VisibleForTesting Context mPrefContext; field in BatteryTipPreferenceController 89 mPrefContext = screen.getContext(); in displayPreference()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/ |
D | ScreenOnTimeControllerTest.java | 69 mScreenOnTimeController.mPrefContext = mContext; in setUp()
|
D | BatteryChartPreferenceControllerTest.java | 112 mBatteryChartPreferenceController.mPrefContext = mContext; in setUp() 586 controller.mPrefContext = mContext; in createController()
|
D | BatteryTipsCardPreferenceTest.java | 81 mBatteryChartPreferenceController.mPrefContext = mContext; in setUp()
|
D | BatteryUsageBreakdownControllerTest.java | 485 controller.mPrefContext = mContext; in createController()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/ |
D | ZenModeAllBypassingAppsPreferenceControllerTest.java | 75 mController.mPrefContext = mContext; in setup()
|
D | ZenModeAddBypassingAppsPreferenceControllerTest.java | 73 mController.mPrefContext = mContext; in setup()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/ |
D | ZenModeAllBypassingAppsPreferenceControllerTest.java | 75 mController.mPrefContext = mContext; in setup()
|
D | ZenModeAddBypassingAppsPreferenceControllerTest.java | 73 mController.mPrefContext = mContext; in setup()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/ |
D | BatteryTipPreferenceControllerTest.java | 80 mBatteryTipPreferenceController.mPrefContext = mContext; in setUp()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/ |
D | AudioSharingDeviceVolumeControlUpdater.java | 119 new AudioSharingDeviceVolumePreference(mPrefContext, cachedDevice); in addPreference()
|