Home
last modified time | relevance | path

Searched refs:newState (Results 1 – 9 of 9) sorted by relevance

/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/remote/
DBleConnection.java353 public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState) { in onConnectionStateChange() argument
356 "Device " + gatt.getDevice() + " newState: " + newState + in onConnectionStateChange()
359 if (newState == BluetoothProfile.STATE_CONNECTED) { in onConnectionStateChange()
368 } else if (newState == BluetoothProfile.STATE_DISCONNECTED) { in onConnectionStateChange()
DTransport.java123 public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState) { in onConnectionStateChange() argument
125 switch (newState) { in onConnectionStateChange()
/device/google/contexthub/firmware/os/drivers/st_acc44/
Dst_acc44.c286 static bool trySwitchState(enum st_acc44_SensorState newState) { in trySwitchState() argument
288 bool ret = atomicCmpXchgByte(&mTask.state, SENSOR_IDLE, newState); in trySwitchState()
291 getStateName(prevState), getStateName(newState), ret ? "ok" : "failed"); in trySwitchState()
294 return atomicCmpXchgByte(&mTask.state, SENSOR_IDLE, newState); in trySwitchState()
/device/google/contexthub/firmware/os/drivers/st_mag40/
Dst_mag40.c273 static bool trySwitchState(enum st_mag40_SensorState newState) { in trySwitchState() argument
275 bool ret = atomicCmpXchgByte(&mTask.state, SENSOR_IDLE, newState); in trySwitchState()
278 getStateName(prevState), getStateName(newState), ret ? "ok" : "failed"); in trySwitchState()
281 return atomicCmpXchgByte(&mTask.state, SENSOR_IDLE, newState); in trySwitchState()
/device/google/cuttlefish/guest/hals/camera/
Dvsock_camera_provider_2_7.h61 hardware::hidl_bitfield<DeviceState> newState) override;
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c758 static bool trySwitchState_(TASK, enum SensorState newState) { argument
760 bool ret = atomicCmpXchgByte(&T(state), SENSOR_IDLE, newState);
763 getStateName(prevState), getStateName(newState), ret ? "ok" : "failed");
766 return atomicCmpXchgByte(&T(state), SENSOR_IDLE, newState);
/device/google/cuttlefish/guest/hals/ril/reference-ril/
Dreference-ril.c421 static void setRadioState(RIL_RadioState newState);
5247 setRadioState(RIL_RadioState newState) argument
5249 RLOGD("setRadioState(%d)", newState);
5262 newState = RADIO_STATE_UNAVAILABLE;
5265 if (sState != newState || s_closed > 0) {
5266 sState = newState;
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c725 static bool trySwitchState_(TASK, enum SensorState newState) { argument
727 bool ret = atomicCmpXchgByte(&T(state), SENSOR_IDLE, newState);
730 getStateName(prevState), getStateName(newState), ret ? "ok" : "failed");
733 return atomicCmpXchgByte(&T(state), SENSOR_IDLE, newState);
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c952 static bool trySwitchState_(TASK, enum SensorState newState) in trySwitchState_() argument
954 return atomicCmpXchgByte(&T(state), SENSOR_IDLE, newState); in trySwitchState_()