Home
last modified time | relevance | path

Searched refs:ICarPowerStateListener (Results 1 – 6 of 6) sorted by relevance

/packages/services/Car/car-lib/src/android/car/hardware/power/
DICarPower.aidl19 import android.car.hardware.power.ICarPowerStateListener;
23 void registerListener(in ICarPowerStateListener listener) = 0;
25 void unregisterListener(in ICarPowerStateListener listener) = 1;
29 void finished(in ICarPowerStateListener listener) = 3;
33 void registerListenerWithCompletion(in ICarPowerStateListener listener) = 5;
DCarPowerManager.java49 private ICarPowerStateListener mListenerToService;
208 ICarPowerStateListener listenerToService = new ICarPowerStateListener.Stub() { in setServiceForListenerLocked()
240 ICarPowerStateListener listenerToService; in clearListener()
293 ICarPowerStateListener listenerToService; in onCarDisconnected()
DICarPowerStateListener.aidl23 oneway interface ICarPowerStateListener { interface
/packages/services/Car/service/src/com/android/car/
DCarPowerManagementService.java21 import android.car.hardware.power.ICarPowerStateListener;
107 private class PowerManagerCallbackList extends RemoteCallbackList<ICarPowerStateListener> {
113 public void onCallbackDied(ICarPowerStateListener listener) { in onCallbackDied()
440 ICarPowerStateListener listener = in sendPowerManagerEvent()
462 ICarPowerStateListener listener = listenerList.getBroadcastItem(idx); in notifyListeners()
596 public void registerListener(ICarPowerStateListener listener) { in registerListener()
604 public void registerListenerWithCompletion(ICarPowerStateListener listener) { in registerListenerWithCompletion()
614 public void unregisterListener(ICarPowerStateListener listener) { in unregisterListener()
619 private void doUnregisterListener(ICarPowerStateListener listener) { in doUnregisterListener()
635 public void finished(ICarPowerStateListener listener) { in finished()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarPowerManagementServiceTest.java26 import android.car.hardware.power.ICarPowerStateListener;
220 ICarPowerStateListener listenerToService = new ICarPowerStateListener.Stub() { in registerListenerToService()
/packages/services/Car/car-lib/
DAndroid.bp45 "src/android/car/hardware/power/ICarPowerStateListener.aidl",