Lines Matching refs:state
129 // Transition the node from its current state all the way down
140 OMX_STATETYPE state;
141 CHECK_EQ(OMX_GetState(mHandle, &state), OMX_ErrorNone);
142 switch (state) {
149 while ((err = OMX_GetState(mHandle, &state)) == OMX_ErrorNone
150 && state != OMX_StateIdle
151 && state != OMX_StateInvalid) {
153 ALOGE("component failed to enter Idle state, aborting.");
154 state = OMX_StateInvalid;
162 if (state == OMX_StateInvalid) {
178 while ((err = OMX_GetState(mHandle, &state)) == OMX_ErrorNone
179 && state != OMX_StateLoaded
180 && state != OMX_StateInvalid) {
182 ALOGE("component failed to enter Loaded state, aborting.");
183 state = OMX_StateInvalid;
187 ALOGV("waiting for Loaded state...");
200 CHECK(!"should not be here, unknown state.");
269 status_t OMXNodeInstance::getState(OMX_STATETYPE* state) {
272 OMX_ERRORTYPE err = OMX_GetState(mHandle, state);