Searched refs:BatterySaverPolicy (Results 1 – 11 of 11) sorted by relevance
36 public class BatterySaverPolicy extends ContentObserver { class169 public BatterySaverPolicy(Handler handler) { in BatterySaverPolicy() method in BatterySaverPolicy190 synchronized (BatterySaverPolicy.this) { in updateConstants()224 synchronized (BatterySaverPolicy.this) { in getBatterySaverPolicy()
95 import com.android.server.power.BatterySaverPolicy.ServiceType;226 private final BatterySaverPolicy mBatterySaverPolicy;644 mBatterySaverPolicy = new BatterySaverPolicy(mHandler); in PowerManagerService()666 PowerManagerService(Context context, BatterySaverPolicy batterySaverPolicy) { in PowerManagerService()
23 import com.android.server.power.BatterySaverPolicy.ServiceType;55 private BatterySaverPolicy mBatterySaverPolicy;60 mBatterySaverPolicy = new BatterySaverPolicy(mHandler); in setUp()
49 private @Mock BatterySaverPolicy mBatterySaverPolicy;67 eq(BatterySaverPolicy.ServiceType.SCREEN_BRIGHTNESS), anyBoolean())) in setUp()
84 import com.android.server.power.BatterySaverPolicy;85 import com.android.server.power.BatterySaverPolicy.ServiceType;555 case BatterySaverPolicy.GPS_MODE_DISABLED_WHEN_SCREEN_OFF: in updateLowPowerMode()
58 import com.android.server.power.BatterySaverPolicy.ServiceType;
44 import com.android.server.power.BatterySaverPolicy.ServiceType;
69 import com.android.server.power.BatterySaverPolicy.ServiceType;
194 import com.android.server.power.BatterySaverPolicy.ServiceType;
235 import com.android.server.power.BatterySaverPolicy.ServiceType;
127 import com.android.server.power.BatterySaverPolicy.ServiceType;