Home
last modified time | relevance | path

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

/packages/services/Car/car-lib/src/android/car/hardware/power/
DICarPower.aidl22 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()
DCarPowerManager.java83 private ICarPowerStateListener mListenerToService;
478 ICarPowerStateListener listenerToService; in clearListener()
714 ICarPowerStateListener listenerToService = new ICarPowerStateListener.Stub() { in setServiceForListenerLocked()
780 ICarPowerStateListener listenerToService; in updateFutureLocked()
DICarPowerStateListener.aidl23 oneway interface ICarPowerStateListener { interface
/packages/services/Car/tests/carservice_test/src/com/android/car/power/
DCarPowerManagementTest.java29 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/
DSessionController.java22 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/
DCarWifiServiceUnitTest.java32 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/
DCarWifiService.java33 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/
DVendorServiceControllerTest.java32 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/
DGarageModeController.java24 import android.car.hardware.power.ICarPowerStateListener;
43 public class GarageModeController extends ICarPowerStateListener.Stub {
/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java53 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/
DSessionControllerUnitTest.java30 import android.car.hardware.power.ICarPowerStateListener;
66 private ArgumentCaptor<ICarPowerStateListener> mPowerStateListenerCaptor;
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/remoteaccess/
DCarRemoteAccessServiceUnitTest.java50 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/
DVendorServiceController.java36 import android.car.hardware.power.ICarPowerStateListener;
140 private final ICarPowerStateListener mCarPowerStateListener =
141 new ICarPowerStateListener.Stub() {
/packages/services/Car/service/src/com/android/car/watchdog/
DCarWatchdogService.java56 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/
DCarPowerManagementServiceUnitTest.java59 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/
DCarWatchdogServiceUnitTest.java95 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/
DCarRemoteAccessService.java38 import android.car.hardware.power.ICarPowerStateListener;
196 private final ICarPowerStateListener mCarPowerStateListener =
197 new ICarPowerStateListener.Stub() {