Searched refs:serviceState (Results 1 – 3 of 3) sorted by relevance
28 ServiceState serviceState = new ServiceState(); in testServiceState() local30 assertEquals(0, serviceState.describeContents()); in testServiceState()32 serviceState.setStateOff(); in testServiceState()33 assertEquals(ServiceState.STATE_POWER_OFF, serviceState.getState()); in testServiceState()34 checkOffStatus(serviceState); in testServiceState()36 serviceState.setStateOutOfService(); in testServiceState()37 assertEquals(ServiceState.STATE_OUT_OF_SERVICE, serviceState.getState()); in testServiceState()38 checkOffStatus(serviceState); in testServiceState()40 serviceState.setState(ServiceState.STATE_IN_SERVICE); in testServiceState()41 assertEquals(ServiceState.STATE_IN_SERVICE, serviceState.getState()); in testServiceState()[all …]
95 public void onServiceStateChanged(ServiceState serviceState) { in testOnServiceStateChanged()
98367 private android.telephony.ServiceState serviceState