/device/google/contexthub/firmware/os/drivers/st_acc44/ |
D | st_acc44.c | 286 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/generic/goldfish/camera/ |
D | EmulatedFakeCamera2.h | 365 void updateAfState(uint8_t newState, int32_t triggerId); 372 void updateAeState(uint8_t newState, int32_t triggerId);
|
D | EmulatedFakeCamera2.cpp | 1961 void EmulatedFakeCamera2::ControlThread::updateAfState(uint8_t newState, in updateAfState() argument 1964 if (mAfState != newState) { in updateAfState() 1966 newState, triggerId); in updateAfState() 1967 mAfState = newState; in updateAfState() 1969 newState, triggerId, 0); in updateAfState() 2055 void EmulatedFakeCamera2::ControlThread::updateAeState(uint8_t newState, in updateAeState() argument 2058 if (mAeState != newState) { in updateAeState() 2060 newState, triggerId); in updateAeState() 2061 mAeState = newState; in updateAeState() 2063 newState, triggerId, 0); in updateAeState()
|
/device/google/cuttlefish_common/guest/hals/camera/ |
D | EmulatedFakeCamera2.h | 351 void updateAfState(uint8_t newState, int32_t triggerId); 358 void updateAeState(uint8_t newState, int32_t triggerId);
|
D | EmulatedFakeCamera2.cpp | 1926 void EmulatedFakeCamera2::ControlThread::updateAfState(uint8_t newState, in updateAfState() argument 1929 if (mAfState != newState) { in updateAfState() 1930 ALOGV("%s: Autofocus state now %d, id %d", __FUNCTION__, newState, in updateAfState() 1932 mAfState = newState; in updateAfState() 1933 mParent->sendNotification(CAMERA2_MSG_AUTOFOCUS, newState, triggerId, 0); in updateAfState() 2021 void EmulatedFakeCamera2::ControlThread::updateAeState(uint8_t newState, in updateAeState() argument 2024 if (mAeState != newState) { in updateAeState() 2025 ALOGV("%s: Autoexposure state now %d, id %d", __FUNCTION__, newState, in updateAeState() 2027 mAeState = newState; in updateAeState() 2028 mParent->sendNotification(CAMERA2_MSG_AUTOEXPOSURE, newState, triggerId, 0); in updateAeState()
|
/device/google/contexthub/firmware/os/drivers/st_mag40/ |
D | st_mag40.c | 273 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/generic/goldfish/ril/ |
D | reference-ril.c | 281 static void setRadioState(RIL_RadioState newState); 3068 setRadioState(RIL_RadioState newState) argument 3070 RLOGD("setRadioState(%d)", newState); 3083 newState = RADIO_STATE_UNAVAILABLE; 3086 if (sState != newState || s_closed > 0) { 3087 sState = newState;
|
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/ |
D | invensense_icm40600.c | 758 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/contexthub/firmware/os/drivers/bosch_bmi160/ |
D | bosch_bmi160.c | 718 static bool trySwitchState_(TASK, enum SensorState newState) { argument 720 bool ret = atomicCmpXchgByte(&T(state), SENSOR_IDLE, newState); 723 getStateName(prevState), getStateName(newState), ret ? "ok" : "failed"); 726 return atomicCmpXchgByte(&T(state), SENSOR_IDLE, newState);
|
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/ |
D | st_lsm6dsm.c | 952 static bool trySwitchState_(TASK, enum SensorState newState) in trySwitchState_() argument 954 return atomicCmpXchgByte(&T(state), SENSOR_IDLE, newState); in trySwitchState_()
|