Home
last modified time | relevance | path

Searched refs:refreshType (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Permission/service/java/com/android/safetycenter/logging/
DSafetyCenterStatsdLogger.java213 @RefreshRequestType int refreshType, in writeSourceRefreshSystemEvent()
225 toSourceRefreshEventType(refreshType), in writeSourceRefreshSystemEvent()
240 @RefreshRequestType int refreshType, in writeWholeRefreshSystemEvent()
250 toWholeRefreshEventType(refreshType), in writeWholeRefreshSystemEvent()
372 private static int toSourceRefreshEventType(@RefreshRequestType int refreshType) { in toSourceRefreshEventType() argument
373 switch (refreshType) { in toSourceRefreshEventType()
379 Log.w(TAG, "Unexpected SafetyCenterManager.RefreshRequestType: " + refreshType); in toSourceRefreshEventType()
383 private static int toWholeRefreshEventType(@RefreshRequestType int refreshType) { in toWholeRefreshEventType() argument
384 switch (refreshType) { in toWholeRefreshEventType()
390 Log.w(TAG, "Unexpected SafetyCenterManager.RefreshRequestType: " + refreshType); in toWholeRefreshEventType()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DPowerUsageBase.java102 protected void restartBatteryStatsLoader(int refreshType) { in restartBatteryStatsLoader() argument
104 bundle.putInt(KEY_REFRESH_TYPE, refreshType); in restartBatteryStatsLoader()
125 protected void onLoadFinished(@BatteryUpdateType int refreshType) { in onLoadFinished() argument
126 refreshUi(refreshType); in onLoadFinished()
129 protected abstract void refreshUi(@BatteryUpdateType int refreshType); in refreshUi() argument
DPowerUsageSummary.java194 protected void refreshUi(@BatteryUpdateType int refreshType) { in refreshUi() argument
205 if (mNeedUpdateBatteryTip && refreshType != BatteryUpdateType.BATTERY_LEVEL) { in refreshUi()
252 protected void restartBatteryStatsLoader(@BatteryUpdateType int refreshType) { in restartBatteryStatsLoader() argument
253 super.restartBatteryStatsLoader(refreshType); in restartBatteryStatsLoader()
DPowerUsageAdvanced.java178 protected void refreshUi(@BatteryUpdateType int refreshType) { in refreshUi() argument
183 protected void restartBatteryStatsLoader(int refreshType) { in restartBatteryStatsLoader() argument
185 bundle.putInt(KEY_REFRESH_TYPE, refreshType); in restartBatteryStatsLoader()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DPowerUsageBaseTest.java146 protected void refreshUi(int refreshType) { in refreshUi() argument