Searched refs:prevState (Results 1 – 5 of 5) sorted by relevance
315 ConnectionState prevState = state.getAndSet(ConnectionState.DISCONNECTED); in disconnect() local317 if (prevState != ConnectionState.UNINITIALIZED && in disconnect()318 prevState != ConnectionState.DISCONNECTED) { in disconnect()
289 uint8_t prevState = ret ? SENSOR_IDLE : GET_STATE(); in trySwitchState() local291 getStateName(prevState), getStateName(newState), ret ? "ok" : "failed"); in trySwitchState()
276 uint8_t prevState = ret ? SENSOR_IDLE : GET_STATE(); in trySwitchState() local278 getStateName(prevState), getStateName(newState), ret ? "ok" : "failed"); in trySwitchState()
761 uint8_t prevState = ret ? SENSOR_IDLE : GET_STATE(); local763 getStateName(prevState), getStateName(newState), ret ? "ok" : "failed");
728 uint8_t prevState = ret ? SENSOR_IDLE : GET_STATE(); local730 getStateName(prevState), getStateName(newState), ret ? "ok" : "failed");