Searched refs:serviceState (Results 1 – 3 of 3) sorted by relevance
38 ServiceState serviceState = new ServiceState(); in testServiceState() local40 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 …]
482 public void onServiceStateChanged(ServiceState serviceState) { in testGetServiceState()484 mServiceState = serviceState; in testGetServiceState()
100 public void onServiceStateChanged(ServiceState serviceState) { in testOnServiceStateChanged()