Home
last modified time | relevance | path

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

/cts/tests/tests/telephony/current/src/android/telephony/gba/cts/
DTestGbaConfig.java19 final class TestGbaConfig { class
33 private static TestGbaConfig sInstance;
35 private TestGbaConfig() { in TestGbaConfig() method in TestGbaConfig
38 static TestGbaConfig getInstance() { in getInstance()
40 sInstance = new TestGbaConfig(); in getInstance()
DTestGbaService.java30 private TestGbaConfig mConfig;
35 mConfig = TestGbaConfig.getInstance(); in onCreate()
36 mConfig.setServiceState(TestGbaConfig.STATE_CREATED); in onCreate()
57 mConfig.setServiceState(TestGbaConfig.STATE_BOUND); in onBind()
64 mConfig.setServiceState(TestGbaConfig.STATE_UNBOUND); in onUnbind()
71 mConfig.setServiceState(TestGbaConfig.STATE_REMOVED); in onDestroy()
DGbaServiceTest.java69 private static TestGbaConfig sConfig;
79 sConfig = TestGbaConfig.getInstance(); in init()
243 boolean isExpected = (ss == TestGbaConfig.STATE_UNKNOWN in testServiceReleaseDefault()
244 || ss == TestGbaConfig.STATE_REMOVED in testServiceReleaseDefault()
245 || ss == TestGbaConfig.STATE_UNBOUND); in testServiceReleaseDefault()
254 assertFalse(TestGbaConfig.STATE_BOUND == sConfig.getServiceState()); in testServiceReleaseDefault()
264 boolean isExpected = (ss == TestGbaConfig.STATE_UNKNOWN in testServiceReleaseDuration()
265 || ss == TestGbaConfig.STATE_REMOVED in testServiceReleaseDuration()
266 || ss == TestGbaConfig.STATE_UNBOUND); in testServiceReleaseDuration()
276 assertEquals(TestGbaConfig.STATE_BOUND, sConfig.getServiceState()); in testServiceReleaseDuration()
[all …]