/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | ArcTerminationActionFromAvrTest.java | 64 @Mock private IPowerManager mIPowerManagerMock; field in ArcTerminationActionFromAvrTest 75 new PowerManager(mContextSpy, mIPowerManagerMock, in setUp() 78 new PowerManager(mContextSpy, mIPowerManagerMock, in setUp() 80 when(mIPowerManagerMock.isInteractive()).thenReturn(true); in setUp() 90 return new PowerManager(mContextSpy, mIPowerManagerMock, in setUp()
|
D | ActiveSourceActionTest.java | 62 @Mock private IPowerManager mIPowerManagerMock; field in ActiveSourceActionTest 72 new PowerManager(mContextSpy, mIPowerManagerMock, in setUp() 75 new PowerManager(mContextSpy, mIPowerManagerMock, in setUp() 77 when(mIPowerManagerMock.isInteractive()).thenReturn(true); in setUp() 102 return new PowerManager(mContextSpy, mIPowerManagerMock, in setUp()
|
D | ArcInitiationActionFromAvrTest.java | 63 @Mock private IPowerManager mIPowerManagerMock; field in ArcInitiationActionFromAvrTest 74 new PowerManager(mContextSpy, mIPowerManagerMock, in setUp() 77 new PowerManager(mContextSpy, mIPowerManagerMock, in setUp() 79 when(mIPowerManagerMock.isInteractive()).thenReturn(true); in setUp() 94 return new PowerManager(mContextSpy, mIPowerManagerMock, in setUp()
|
D | PowerStatusMonitorActionTest.java | 71 private IPowerManager mIPowerManagerMock; field in PowerStatusMonitorActionTest 82 new PowerManager(mContextSpy, mIPowerManagerMock, in setUp() 85 new PowerManager(mContextSpy, mIPowerManagerMock, in setUp() 87 when(mIPowerManagerMock.isInteractive()).thenReturn(true); in setUp() 113 return new PowerManager(mContextSpy, mIPowerManagerMock, in setUp()
|
D | DevicePowerStatusActionTest.java | 74 @Mock private IPowerManager mIPowerManagerMock; field in DevicePowerStatusActionTest 84 new PowerManager(mContextSpy, mIPowerManagerMock, in setUp() 87 new PowerManager(mContextSpy, mIPowerManagerMock, in setUp() 89 when(mIPowerManagerMock.isInteractive()).thenReturn(true); in setUp() 114 return new PowerManager(mContextSpy, mIPowerManagerMock, in setUp()
|
D | SystemAudioAutoInitiationActionTest.java | 70 private IPowerManager mIPowerManagerMock; field in SystemAudioAutoInitiationActionTest 82 new PowerManager(mContextSpy, mIPowerManagerMock, in setUp() 85 new PowerManager(mContextSpy, mIPowerManagerMock, in setUp() 87 when(mIPowerManagerMock.isInteractive()).thenReturn(true); in setUp() 112 return new PowerManager(mContextSpy, mIPowerManagerMock, in setUp()
|
D | HdmiCecPowerStatusControllerTest.java | 66 private IPowerManager mIPowerManagerMock; field in HdmiCecPowerStatusControllerTest 79 new PowerManager(contextSpy, mIPowerManagerMock, in setUp() 82 new PowerManager(contextSpy, mIPowerManagerMock, in setUp() 84 when(mIPowerManagerMock.isInteractive()).thenReturn(true); in setUp()
|
D | HdmiCecAtomLoggingTest.java | 86 @Mock private IPowerManager mIPowerManagerMock; field in HdmiCecAtomLoggingTest 102 new PowerManager(mContextSpy, mIPowerManagerMock, in setUp() 104 doReturn(true).when(mIPowerManagerMock).isInteractive(); in setUp()
|
D | OneTouchPlayActionTest.java | 79 private IPowerManager mIPowerManagerMock; field in OneTouchPlayActionTest 97 new PowerManager(mContextSpy, mIPowerManagerMock, in setUp() 100 new PowerManager(mContextSpy, mIPowerManagerMock, in setUp() 102 when(mIPowerManagerMock.isInteractive()).thenReturn(true); in setUp() 127 return new PowerManager(mContextSpy, mIPowerManagerMock, in setUp()
|
D | HdmiControlServiceTest.java | 189 @Mock private IPowerManager mIPowerManagerMock; field in HdmiControlServiceTest 199 new PowerManager(mContextSpy, mIPowerManagerMock, in setUp() 202 new PowerManager(mContextSpy, mIPowerManagerMock, in setUp() 204 when(mIPowerManagerMock.isInteractive()).thenReturn(true); in setUp() 282 when(mIPowerManagerMock.isInteractive()).thenReturn(false); in initialPowerStatus_quiescentBoot_isTransientToStandby() 297 when(mIPowerManagerMock.isInteractive()).thenReturn(false); in powerStatusAfterBootComplete_quiescentBoot_isStandby()
|
D | DeviceSelectActionTest.java | 96 private IPowerManager mIPowerManagerMock; field in DeviceSelectActionTest 130 return new PowerManager(context, mIPowerManagerMock, in setUp()
|
D | HdmiCecLocalDeviceTvTest.java | 78 private IPowerManager mIPowerManagerMock; field in HdmiCecLocalDeviceTvTest 119 return new PowerManager(context, mIPowerManagerMock, in setUp()
|
D | HdmiCecLocalDevicePlaybackTest.java | 85 private IPowerManager mIPowerManagerMock; field in HdmiCecLocalDevicePlaybackTest 146 return new PowerManager(context, mIPowerManagerMock, in setUp() 1344 when(mIPowerManagerMock.isInteractive()).thenReturn(true); in handleSetStreamPath_Dreaming() 1663 when(mIPowerManagerMock.isInteractive()).thenReturn(true); in toggleAndFollowTvPower_isInteractive() 1675 when(mIPowerManagerMock.isInteractive()).thenReturn(false); in toggleAndFollowTvPower_isNotInteractive()
|
D | HdmiCecLocalDeviceAudioSystemTest.java | 88 @Mock private IPowerManager mIPowerManagerMock; field in HdmiCecLocalDeviceAudioSystemTest 184 return new PowerManager(context, mIPowerManagerMock, in setUp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
D | ThermalManagerServiceTest.java | 77 private IPowerManager mIPowerManagerMock; field in ThermalManagerServiceTest 205 mPowerManager = new PowerManager(mContext, mIPowerManagerMock, mIThermalServiceMock, null); in setUp() 363 verify(mIPowerManagerMock, timeout(CALLBACK_TIMEOUT_MILLI_SEC) in testThermalShutdown() 367 verify(mIPowerManagerMock, timeout(CALLBACK_TIMEOUT_MILLI_SEC) in testThermalShutdown()
|