Home
last modified time | relevance | path

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

/cts/tests/tests/telephony/src/android/telephony/cts/
DServiceStateTest.java38 ServiceState serviceState = new ServiceState(); in testServiceState() local
40 assertEquals(0, serviceState.describeContents()); in testServiceState()
42 serviceState.setStateOff(); in testServiceState()
43 assertEquals(ServiceState.STATE_POWER_OFF, serviceState.getState()); in testServiceState()
44 checkOffStatus(serviceState); in testServiceState()
46 serviceState.setStateOutOfService(); in testServiceState()
47 assertEquals(ServiceState.STATE_OUT_OF_SERVICE, serviceState.getState()); in testServiceState()
48 checkOffStatus(serviceState); in testServiceState()
50 serviceState.setState(ServiceState.STATE_IN_SERVICE); in testServiceState()
51 assertEquals(ServiceState.STATE_IN_SERVICE, serviceState.getState()); in testServiceState()
[all …]
DTelephonyManagerTest.java482 public void onServiceStateChanged(ServiceState serviceState) { in testGetServiceState()
484 mServiceState = serviceState; in testGetServiceState()
DPhoneStateListenerTest.java100 public void onServiceStateChanged(ServiceState serviceState) { in testOnServiceStateChanged()