Searched defs:newState (Results 1 - 9 of 9) sorted by relevance

/hardware/invensense/mlsdk/mllite/
H A Dmlstates.c110 * @brief Perform a transition from the current state to newState.
115 * @param newState state we are transitioning to.
118 inv_error_t inv_state_transition(unsigned char newState) argument
122 if (newState == INV_STATE_SERIAL_CLOSED) {
124 } else if (newState == INV_STATE_SERIAL_OPENED) {
126 } else if (((newState == INV_STATE_DMP_OPENED) &&
130 ((newState == INV_STATE_DMP_STARTED) &&
137 inv_state_name(newState));
145 inv_state_name(newState)));
146 result = inv_run_state_callbacks(newState);
247 inv_run_state_callbacks(unsigned char newState) argument
[all...]
H A DmlFIFO.c463 static inv_error_t inv_state_change_fifo(unsigned char newState) argument
471 (newState != inv_get_state()) && (inv_dmpkey_supported(KEY_D_1_178))) {
484 if (INV_STATE_DMP_STARTED == newState) {
/hardware/qcom/display/libhwcomposer/
H A Dhwc_extonly.cpp65 ovutils::eOverlayState newState = ovutils::OV_CLOSED; local
69 newState = ovutils::OV_DUAL_DISP;
72 sState = newState;
H A Dhwc_uimirror.cpp49 ovutils::eOverlayState newState = ctx->mOverlay[HWC_DISPLAY_EXTERNAL]->getState(); local
50 if(newState == ovutils::OV_UI_VIDEO_TV) {
51 sState = newState;
H A Dhwc_video.cpp82 ovutils::eOverlayState newState = ovutils::OV_CLOSED; local
86 newState = ovutils::OV_2D_VIDEO_ON_PANEL;
88 newState = ovutils::OV_CLOSED;
93 newState = ctx->mOverlay[HWC_DISPLAY_EXTERNAL]->getState(); //If we are here, external is active
96 newState = ovutils::OV_UI_VIDEO_TV;
104 sState[dpy] = newState;
/hardware/invensense/libsensors/
H A DMPLSensor.cpp846 int newState = en ? 1 : 0; local
848 //ALOGV_IF((uint32_t(newState) << what) != (mEnabled & (1 << what)),
852 if ((uint32_t(newState) << what) != (mEnabled & (1 << what))) {
854 short flags = newState;
860 if (!newState)
/hardware/invensense/libsensors_iio/
H A DMPLSensor.cpp1417 int newState = en ? 1 : 0; local
1422 ((uint32_t(newState) << what) ? "en" : "dis"));
1429 if ((uint32_t(newState) << what) != (mEnabled & (1 << what))) {
1431 short flags = newState;
/hardware/ril/reference-ril/
H A Dreference-ril.c227 static void setRadioState(RIL_RadioState newState);
2244 setRadioState(RIL_RadioState newState) argument
2246 ALOGD("setRadioState(%d)", newState);
2259 newState = RADIO_STATE_UNAVAILABLE;
2262 if (sState != newState || s_closed > 0) {
2263 sState = newState;
/hardware/samsung_slsi/exynos5/libcamera2/
H A DExynosCameraHWInterface2.cpp5618 void ExynosCameraHWInterface2::SetAfStateForService(int newState) argument
5620 if (m_serviceAfState != newState || newState == 0)
5621 m_notifyCb(CAMERA2_MSG_AUTOFOCUS, newState, m_afTriggerId, 0, m_callbackCookie);
5622 m_serviceAfState = newState;

Completed in 180 milliseconds