Home
last modified time | relevance | path

Searched refs:mIPowerManagerMock (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DArcTerminationActionFromAvrTest.java64 @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()
DActiveSourceActionTest.java62 @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()
DArcInitiationActionFromAvrTest.java63 @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()
DPowerStatusMonitorActionTest.java71 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()
DDevicePowerStatusActionTest.java74 @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()
DSystemAudioAutoInitiationActionTest.java70 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()
DHdmiCecPowerStatusControllerTest.java66 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()
DHdmiCecAtomLoggingTest.java86 @Mock private IPowerManager mIPowerManagerMock; field in HdmiCecAtomLoggingTest
102 new PowerManager(mContextSpy, mIPowerManagerMock, in setUp()
104 doReturn(true).when(mIPowerManagerMock).isInteractive(); in setUp()
DOneTouchPlayActionTest.java79 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()
DHdmiControlServiceTest.java189 @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()
DDeviceSelectActionTest.java96 private IPowerManager mIPowerManagerMock; field in DeviceSelectActionTest
130 return new PowerManager(context, mIPowerManagerMock, in setUp()
DHdmiCecLocalDeviceTvTest.java78 private IPowerManager mIPowerManagerMock; field in HdmiCecLocalDeviceTvTest
119 return new PowerManager(context, mIPowerManagerMock, in setUp()
DHdmiCecLocalDevicePlaybackTest.java85 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()
DHdmiCecLocalDeviceAudioSystemTest.java88 @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/
DThermalManagerServiceTest.java77 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()