Searched refs:serviceState (Results 1 – 4 of 4) 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 …]
445 public void onServiceStateChanged(ServiceState serviceState) { in testGetServiceState()447 mServiceState = serviceState; in testGetServiceState()
96 public void onServiceStateChanged(ServiceState serviceState) { in testOnServiceStateChanged()
98367 private android.telephony.ServiceState serviceState