Home
last modified time | relevance | path

Searched refs:PowerPolicyListener (Results 1 – 5 of 5) sorted by relevance

/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/common/
H A DPowerPolicyListener.java37 public final class PowerPolicyListener { class
39 private static final Logger LOG = new Logger(PowerPolicyListener.class);
62 public PowerPolicyListener(Context context, int component, PolicyChangeHandler handler) { in PowerPolicyListener() method in PowerPolicyListener
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
H A DWifiStateSwitchPreferenceController.java31 import com.android.car.settings.common.PowerPolicyListener;
40 final PowerPolicyListener mPowerPolicyListener;
49 mPowerPolicyListener = new PowerPolicyListener(context, WIFI, isOn -> { in WifiStateSwitchPreferenceController()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/location/
H A DAdasLocationSwitchPreferenceController.java38 import com.android.car.settings.common.PowerPolicyListener;
76 final PowerPolicyListener mPowerPolicyListener;
83 mPowerPolicyListener = new PowerPolicyListener(context, LOCATION, in AdasLocationSwitchPreferenceController()
H A DLocationStateSwitchPreferenceController.java43 import com.android.car.settings.common.PowerPolicyListener;
70 final PowerPolicyListener mPowerPolicyListener;
79 mPowerPolicyListener = new PowerPolicyListener(context, LOCATION, in LocationStateSwitchPreferenceController()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
H A DBluetoothStateSwitchPreferenceController.java40 import com.android.car.settings.common.PowerPolicyListener;
68 final PowerPolicyListener mPowerPolicyListener;
76 mPowerPolicyListener = new PowerPolicyListener(context, BLUETOOTH, in BluetoothStateSwitchPreferenceController()