Lines Matching refs:PowerState
81 void onApPowerStateChange(PowerState state);
89 public static final class PowerState {
96 public PowerState(int state, int param) {
102 * Whether the current PowerState allows deep sleep or not. Calling this for
117 * Whether the current PowerState allows postponing or not. Calling this for
136 if (!(o instanceof PowerState)) {
139 PowerState that = (PowerState) o;
145 return "PowerState state:" + state + ",param:" + param;
224 public PowerState getCurrentPowerState() {
227 return new PowerState(state[VehicleApPowerStateIndex.VEHICLE_AP_POWER_STATE_INDEX_STATE],
316 listener.onApPowerStateChange(new PowerState(