Searched refs:PowerPolicyListener (Results 1 – 5 of 5) sorted by relevance
35 import com.android.car.settings.common.PowerPolicyListener;86 PowerPolicyListener mPowerPolicyListener;159 private void setPowerPolicyListener(PowerPolicyListener listener) { in setPowerPolicyListener()168 setPowerPolicyListener(new PowerPolicyListener(getContext(), LOCATION, in addDefaultPowerPolicyListener()
37 public final class PowerPolicyListener { class39 private static final Logger LOG = new Logger(PowerPolicyListener.class);62 public PowerPolicyListener(Context context, int component, PolicyChangeHandler handler) { in PowerPolicyListener() method in PowerPolicyListener
31 import com.android.car.settings.common.PowerPolicyListener;40 final PowerPolicyListener mPowerPolicyListener;49 mPowerPolicyListener = new PowerPolicyListener(context, WIFI, isOn -> { in WifiStateSwitchPreferenceController()
332 PowerPolicyListener powerPolicyListener = new PowerPolicyListener(POWER_POLICY_S2R); in testSleepEntry()395 PowerPolicyListener powerPolicyListener = new PowerPolicyListener(POWER_POLICY_S2R); in testUnallowedPowerStateEventAtSuspend()607 PowerPolicyListener wifiOffListener = new PowerPolicyListener(policyIdWifiOff); in testApplyPowerPolicy_vhalPropertyUpdated()608 PowerPolicyListener wifiOnListener = new PowerPolicyListener(policyIdWifiOn); in testApplyPowerPolicy_vhalPropertyUpdated()975 private static final class PowerPolicyListener extends ICarPowerPolicyListener.Stub { class in CarPowerManagementTest979 private PowerPolicyListener(String policyId) { in PowerPolicyListener() method in CarPowerManagementTest.PowerPolicyListener
40 import com.android.car.settings.common.PowerPolicyListener;68 final PowerPolicyListener mPowerPolicyListener;76 mPowerPolicyListener = new PowerPolicyListener(context, BLUETOOTH, in BluetoothStateSwitchPreferenceController()