OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:batteryUtils
(Results
1 - 3
of
3
) sorted by null
/packages/apps/Settings/src/com/android/settings/fuelgauge/
BatteryInfoLoader.java
36
BatteryUtils
batteryUtils
;
41
batteryUtils
=
BatteryUtils
.getInstance(context);
51
return
batteryUtils
.getBatteryInfo(mStatsHelper, LOG_TAG);
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
AnomalyDetectionJobService.java
45
import com.android.settings.fuelgauge.
BatteryUtils
;
96
final
BatteryUtils
batteryUtils
=
BatteryUtils
.getInstance(this);
108
batteryDatabaseManager,
batteryUtils
, policy, powerWhitelistBackend,
129
BatteryDatabaseManager databaseManager,
BatteryUtils
batteryUtils
,
151
final String packageName =
batteryUtils
.getPackageName(uid);
152
final long versionCode =
batteryUtils
.getAppLongVersionCode(packageName);
154
if (
batteryUtils
.shouldHideAnomaly(powerWhitelistBackend, uid, anomalyInfo))
[
all
...]
/packages/apps/Settings/src/com/android/settings/
DeviceAdminAdd.java
62
import com.android.settings.fuelgauge.
BatteryUtils
;
430
unrestrictAppIfPossible(
BatteryUtils
.getInstance(this));
453
void unrestrictAppIfPossible(
BatteryUtils
batteryUtils
) {
456
final int uid =
batteryUtils
.getPackageUid(packageName);
457
if (
batteryUtils
.isForceAppStandbyEnabled(uid, packageName)) {
458
batteryUtils
.setForceAppStandby(uid, packageName, AppOpsManager.MODE_ALLOWED);
Completed in 1608 milliseconds