Searched refs:ICarPowerPolicyListener (Results 1 – 15 of 15) sorted by relevance
30 import android.car.hardware.power.ICarPowerPolicyListener;84 captor.capture(), any(ICarPowerPolicyListener.class)); in startListeningForPolicyChanges_addsPowerPolicyListener()126 ICarPowerPolicyListener changeListener = registerAndGetChangeListener(); in onPolicyChange_withPowerSwitchingToEnabled_enablesAudio()137 ICarPowerPolicyListener changeListener = registerAndGetChangeListener(); in onPolicyChange_withPowerRemainingEnabled_doesNothing()149 ICarPowerPolicyListener changeListener = registerAndGetChangeListener(); in onPolicyChange_withPowerSwitchingToDisabled_disablesAudio()160 ICarPowerPolicyListener changeListener = registerAndGetChangeListener(); in onPolicyChange_withPowerStayingDisabled_doesNothing()174 ArgumentCaptor<ICarPowerPolicyListener> captor = ArgumentCaptor.forClass( in stopListeningForPolicyChanges_notNullPowerService()175 ICarPowerPolicyListener.class); in stopListeningForPolicyChanges_notNullPowerService()215 private ICarPowerPolicyListener registerAndGetChangeListener() { in registerAndGetChangeListener()219 ArgumentCaptor<ICarPowerPolicyListener> captor = ArgumentCaptor.forClass( in registerAndGetChangeListener()[all …]
21 import android.car.hardware.power.ICarPowerPolicyListener;47 in ICarPowerPolicyListener listener); in addPowerPolicyListener()49 void removePowerPolicyListener(in ICarPowerPolicyListener listener); in removePowerPolicyListener()
26 oneway interface ICarPowerPolicyListener { interface
65 private final ICarPowerPolicyListener mPolicyChangeBinderCallback =66 new ICarPowerPolicyListener.Stub() {
26 import android.car.hardware.power.ICarPowerPolicyListener;60 private final ICarPowerPolicyListener mPowerPolicyListener =61 new ICarPowerPolicyListener.Stub() {90 public ICarPowerPolicyListener getPowerPolicyListener() { in getPowerPolicyListener()
25 import android.car.hardware.power.ICarPowerPolicyListener;42 private final ICarPowerPolicyListener mChangeListener =43 new ICarPowerPolicyListener.Stub() {
32 import android.car.hardware.power.ICarPowerPolicyListener;121 private final ICarPowerPolicyListener mPowerPolicyListener =122 new ICarPowerPolicyListener.Stub() {
46 import android.car.hardware.power.ICarPowerPolicyListener;295 private final ICarPowerPolicyListener mPowerPolicyListener =296 new ICarPowerPolicyListener.Stub() {
50 import android.car.hardware.power.ICarPowerPolicyListener;136 private ICarPowerPolicyListener mPowerPolicyListener;837 ArgumentCaptor<ICarPowerPolicyListener> powerPolicyEventListenerCaptor = in mockPowerPolicyEvents()838 ArgumentCaptor.forClass(ICarPowerPolicyListener.class); in mockPowerPolicyEvents()
55 import android.car.hardware.power.ICarPowerPolicyListener;258 private final ICarPowerPolicyListener mCarDisplayPowerPolicyListener =259 new ICarPowerPolicyListener.Stub() {
28 import android.car.hardware.power.ICarPowerPolicyListener;975 private static final class PowerPolicyListener extends ICarPowerPolicyListener.Stub {
52 import android.car.hardware.power.ICarPowerPolicyListener;333 private final PowerManagerCallbackList<ICarPowerPolicyListener> mPowerPolicyListeners =2122 ICarPowerPolicyListener listener) { in addPowerPolicyListener()2131 public void removePowerPolicyListener(ICarPowerPolicyListener listener) { in removePowerPolicyListener()2775 ICarPowerPolicyListener listener = mPowerPolicyListeners.getBroadcastItem(idx); in notifyPowerPolicyChange()
59 import android.car.hardware.power.ICarPowerPolicyListener;257 private final ICarPowerPolicyListener mDisplayPowerPolicyListener =258 new ICarPowerPolicyListener.Stub() {
94 import android.car.hardware.power.ICarPowerPolicyListener;195 @Captor private ArgumentCaptor<ICarPowerPolicyListener> mICarPowerPolicyListenerCaptor;211 private ICarPowerPolicyListener mCarPowerPolicyListener;
58 import android.car.hardware.power.ICarPowerPolicyListener;3559 private static final class MockedPowerPolicyListener extends ICarPowerPolicyListener.Stub {