Home
last modified time | relevance | path

Searched refs:batteryUtils (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DAnomalyDetectionJobService.java96 final BatteryUtils batteryUtils = BatteryUtils.getInstance(this); in onStartJob() local
108 batteryDatabaseManager, batteryUtils, policy, powerAllowlistBackend, in onStartJob()
129 BatteryDatabaseManager databaseManager, BatteryUtils batteryUtils, in saveAnomalyToDatabase() argument
151 final String packageName = batteryUtils.getPackageName(uid); in saveAnomalyToDatabase()
152 final long versionCode = batteryUtils.getAppLongVersionCode(packageName); in saveAnomalyToDatabase()
154 if (batteryUtils.shouldHideAnomaly(powerAllowlistBackend, uid, anomalyInfo)) { in saveAnomalyToDatabase()
163 batteryUtils.setForceAppStandby(uid, packageName, in saveAnomalyToDatabase()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminAdd.java524 void unrestrictAppIfPossible(BatteryUtils batteryUtils) { in unrestrictAppIfPossible() argument
527 batteryUtils.clearForceAppStandby(packageName); in unrestrictAppIfPossible()