Home
last modified time | relevance | path

Searched refs:READ_IF_OK (Results 1 – 2 of 2) sorted by relevance

/device/generic/goldfish/camera/
DEmulatedFakeCamera2.cpp1611 #define READ_IF_OK(res, what, def) \ in processRequest() macro
1617 mControlMode = READ_IF_OK(res, mode.data.u8[0], ANDROID_CONTROL_MODE_OFF); in processRequest()
1637 mEffectMode = READ_IF_OK(res, mode.data.u8[0], in processRequest()
1643 mSceneMode = READ_IF_OK(res, mode.data.u8[0], in processRequest()
1660 mAeMode = READ_IF_OK(res, mode.data.u8[0], in processRequest()
1666 uint8_t aeLockVal = READ_IF_OK(res, mode.data.u8[0], in processRequest()
1677 mAwbMode = READ_IF_OK(res, mode.data.u8[0], in processRequest()
1692 #undef READ_IF_OK in processRequest()
/device/google/cuttlefish/guest/hals/camera/
DEmulatedFakeCamera2.cpp1606 #define READ_IF_OK(res, what, def) (((res) == OK) ? (what) : (uint8_t)(def)) in processRequest() macro
1609 mControlMode = READ_IF_OK(res, mode.data.u8[0], ANDROID_CONTROL_MODE_OFF); in processRequest()
1628 READ_IF_OK(res, mode.data.u8[0], ANDROID_CONTROL_EFFECT_MODE_OFF); in processRequest()
1632 READ_IF_OK(res, mode.data.u8[0], ANDROID_CONTROL_SCENE_MODE_DISABLED); in processRequest()
1644 mAeMode = READ_IF_OK(res, mode.data.u8[0], ANDROID_CONTROL_AE_MODE_OFF); in processRequest()
1648 READ_IF_OK(res, mode.data.u8[0], ANDROID_CONTROL_AE_LOCK_ON); in processRequest()
1656 mAwbMode = READ_IF_OK(res, mode.data.u8[0], ANDROID_CONTROL_AWB_MODE_OFF); in processRequest()
1669 #undef READ_IF_OK in processRequest()