/packages/services/Car/car-lib/src/android/car/hardware/power/ |
D | ICarPower.aidl | 22 import android.car.hardware.power.ICarPowerStateListener; 26 void registerListener(in ICarPowerStateListener listener); in registerListener() 28 void unregisterListener(in ICarPowerStateListener listener); in unregisterListener() 32 void finished(int state, in ICarPowerStateListener listener); in finished() 36 void registerListenerWithCompletion(in ICarPowerStateListener listener); in registerListenerWithCompletion()
|
D | CarPowerManager.java | 83 private ICarPowerStateListener mListenerToService; 478 ICarPowerStateListener listenerToService; in clearListener() 714 ICarPowerStateListener listenerToService = new ICarPowerStateListener.Stub() { in setServiceForListenerLocked() 780 ICarPowerStateListener listenerToService; in updateFutureLocked()
|
D | ICarPowerStateListener.aidl | 23 oneway interface ICarPowerStateListener { interface
|
/packages/services/Car/tests/carservice_test/src/com/android/car/power/ |
D | CarPowerManagementTest.java | 29 import android.car.hardware.power.ICarPowerStateListener; 483 ICarPowerStateListener listener = new ICarPowerStateListener.Stub() { in testSleepShutdownFromPreShutdownPrepare() 491 ICarPowerStateListener cpmsListener = this; in testSleepShutdownFromPreShutdownPrepare() 549 ICarPowerStateListener listener = new ICarPowerStateListener.Stub() { in testShutdownImmediatelyFromPreShutdownPrepare() 556 ICarPowerStateListener cpmsListener = this; in testShutdownImmediatelyFromPreShutdownPrepare() 634 ICarPowerStateListener listener = new ICarPowerStateListener.Stub() { in testShutdownPostponeWhileListenerPendingInState() 641 ICarPowerStateListener cpmsListener = this; in testShutdownPostponeWhileListenerPendingInState() 712 ICarPowerStateListener listener = new ICarPowerStateListener.Stub() { in registerListenerToFakeGarageMode()
|
/packages/services/Car/service/src/com/android/car/telemetry/sessioncontroller/ |
D | SessionController.java | 22 import android.car.hardware.power.ICarPowerStateListener; 66 private final ICarPowerStateListener.Stub mCarPowerStateListener = 67 new ICarPowerStateListener.Stub() {
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/wifi/ |
D | CarWifiServiceUnitTest.java | 32 import android.car.hardware.power.ICarPowerStateListener; 259 private ICarPowerStateListener getCarPowerStateListener() { in getCarPowerStateListener() 260 ArgumentCaptor<ICarPowerStateListener> internalListenerCaptor = in getCarPowerStateListener() 261 ArgumentCaptor.forClass(ICarPowerStateListener.class); in getCarPowerStateListener()
|
/packages/services/Car/service/src/com/android/car/wifi/ |
D | CarWifiService.java | 33 import android.car.hardware.power.ICarPowerStateListener; 82 private final ICarPowerStateListener mCarPowerStateListener = 83 new ICarPowerStateListener.Stub() {
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/pm/ |
D | VendorServiceControllerTest.java | 32 import android.car.hardware.power.ICarPowerStateListener; 419 ICarPowerStateListener listener = mockPowerStateListener(); in powerStateResume_bindsSystemService() 431 private ICarPowerStateListener mockPowerStateListener() { in mockPowerStateListener() 432 ArgumentCaptor<ICarPowerStateListener> listenerCaptor = in mockPowerStateListener() 433 ArgumentCaptor.forClass(ICarPowerStateListener.class); in mockPowerStateListener() 439 private void sendPowerStateChange(ICarPowerStateListener listener, int state) throws Exception { in sendPowerStateChange()
|
/packages/services/Car/service/src/com/android/car/garagemode/ |
D | GarageModeController.java | 24 import android.car.hardware.power.ICarPowerStateListener; 43 public class GarageModeController extends ICarPowerStateListener.Stub {
|
/packages/services/Car/service/src/com/android/car/power/ |
D | CarPowerManagementService.java | 53 import android.car.hardware.power.ICarPowerStateListener; 220 private final PowerManagerCallbackList<ICarPowerStateListener> mPowerManagerListeners = 224 private final PowerManagerCallbackList<ICarPowerStateListener> 231 private final ArrayList<ICarPowerStateListener> mInternalPowerListeners = new ArrayList<>(); 1648 PowerManagerCallbackList<ICarPowerStateListener> completingInternalListeners = in sendPowerManagerEvent() 1651 PowerManagerCallbackList<ICarPowerStateListener> completingBinderListeners = in sendPowerManagerEvent() 1673 ICarPowerStateListener listener = mInternalPowerListeners.get(i); in sendPowerManagerEvent() 1682 ICarPowerStateListener listener = in sendPowerManagerEvent() 1706 private void notifyListeners(PowerManagerCallbackList<ICarPowerStateListener> listenerList, in notifyListeners() 1712 ICarPowerStateListener listener = listenerList.getBroadcastItem(idx); in notifyListeners() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/sessioncontroller/ |
D | SessionControllerUnitTest.java | 30 import android.car.hardware.power.ICarPowerStateListener; 66 private ArgumentCaptor<ICarPowerStateListener> mPowerStateListenerCaptor;
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/remoteaccess/ |
D | CarRemoteAccessServiceUnitTest.java | 50 import android.car.hardware.power.ICarPowerStateListener; 490 ICarPowerStateListener powerStateListener = getCarPowerStateListener(); in testCarRemoteAccessServiceInit_resetRetryCountAfterSuccess() 941 ICarPowerStateListener powerStateListener = getCarPowerStateListener(); in testNotifyApPowerState_waitForVhal() 956 ICarPowerStateListener powerStateListener = getCarPowerStateListener(); in testNotifyApPowerState_shutdownPrepare() 970 ICarPowerStateListener powerStateListener = getCarPowerStateListener(); in testUnbindAllServiceOnShutdownPrepare() 992 ICarPowerStateListener powerStateListener = getCarPowerStateListener(); in testNotifyApPowerState_postShutdownEnter() 1725 private ICarPowerStateListener getCarPowerStateListener() { in getCarPowerStateListener() 1726 ArgumentCaptor<ICarPowerStateListener> internalListenerCaptor = in getCarPowerStateListener() 1727 ArgumentCaptor.forClass(ICarPowerStateListener.class); in getCarPowerStateListener()
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | VendorServiceController.java | 36 import android.car.hardware.power.ICarPowerStateListener; 140 private final ICarPowerStateListener mCarPowerStateListener = 141 new ICarPowerStateListener.Stub() {
|
/packages/services/Car/service/src/com/android/car/watchdog/ |
D | CarWatchdogService.java | 56 import android.car.hardware.power.ICarPowerStateListener; 215 private final ICarPowerStateListener mCarPowerStateListener = 216 new ICarPowerStateListener.Stub() {
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/ |
D | CarPowerManagementServiceUnitTest.java | 59 import android.car.hardware.power.ICarPowerStateListener; 575 ICarPowerStateListener listener = new ICarPowerStateListener.Stub() { in testEmergencyShutdown() 995 ICarPowerStateListener listenerRegistered = new ICarPowerStateListener.Stub() { in testRegisterListenerWithCompletion() 1035 ICarPowerStateListener listenerUnregistered = new ICarPowerStateListener.Stub() { in testUnregisterListenerWithCompletion() 1064 ICarPowerStateListener listener = new ICarPowerStateListener.Stub() { in testShutdownPrepareWithCompletion_timeout() 3578 private final class MockedPowerStateListener extends ICarPowerStateListener.Stub {
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
D | CarWatchdogServiceUnitTest.java | 95 import android.car.hardware.power.ICarPowerStateListener; 194 @Captor private ArgumentCaptor<ICarPowerStateListener> mICarPowerStateListenerCaptor; 210 private ICarPowerStateListener mCarPowerStateListener;
|
/packages/services/Car/service/src/com/android/car/remoteaccess/ |
D | CarRemoteAccessService.java | 38 import android.car.hardware.power.ICarPowerStateListener; 196 private final ICarPowerStateListener mCarPowerStateListener = 197 new ICarPowerStateListener.Stub() {
|