Home
last modified time | relevance | path

Searched refs:getConnectCount (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/powermanager/tests/
DPowerHalControllerTest.cpp69 int getConnectCount() { return mConnectedCount; } in getConnectCount() function in TestPowerHalConnector
112 int powerHalConnectCount = mHalConnector->getConnectCount(); in TEST_F()
119 powerHalConnectCount = mHalConnector->getConnectCount(); in TEST_F()
131 int powerHalConnectCount = failingHalConnector->getConnectCount(); in TEST_F()
143 powerHalConnectCount = failingHalConnector->getConnectCount(); in TEST_F()
151 int powerHalConnectCount = mHalConnector->getConnectCount(); in TEST_F()
167 powerHalConnectCount = mHalConnector->getConnectCount(); in TEST_F()
174 int powerHalConnectCount = mHalConnector->getConnectCount(); in TEST_F()
195 powerHalConnectCount = mHalConnector->getConnectCount(); in TEST_F()
203 int powerHalConnectCount = mHalConnector->getConnectCount(); in TEST_F()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/
DGameServiceProviderInstanceImplTest.java250 assertThat(mFakeGameServiceConnector.getConnectCount()).isEqualTo(1); in start_startsGameSession()
251 assertThat(mFakeGameSessionServiceConnector.getConnectCount()).isEqualTo(0); in start_startsGameSession()
261 assertThat(mFakeGameServiceConnector.getConnectCount()).isEqualTo(1); in start_multipleTimes_startsGameSessionOnce()
262 assertThat(mFakeGameSessionServiceConnector.getConnectCount()).isEqualTo(0); in start_multipleTimes_startsGameSessionOnce()
271 assertThat(mFakeGameServiceConnector.getConnectCount()).isEqualTo(0); in stop_neverStarted_doesNothing()
272 assertThat(mFakeGameSessionServiceConnector.getConnectCount()).isEqualTo(0); in stop_neverStarted_doesNothing()
283 assertThat(mFakeGameServiceConnector.getConnectCount()).isEqualTo(1); in startAndStop_startsAndStopsGameSession()
284 assertThat(mFakeGameSessionServiceConnector.getConnectCount()).isEqualTo(0); in startAndStop_startsAndStopsGameSession()
298 assertThat(mFakeGameServiceConnector.getConnectCount()).isEqualTo(2); in startAndStop_multipleTimes_startsAndStopsGameSessionMultipleTimes()
299 assertThat(mFakeGameSessionServiceConnector.getConnectCount()).isEqualTo(0); in startAndStop_multipleTimes_startsAndStopsGameSessionMultipleTimes()
[all …]
DFakeServiceConnector.java146 public int getConnectCount() { in getConnectCount() method in FakeServiceConnector