Lines Matching refs:mState

55     mState(STATE_CONSTRUCTED),  in Camera3Stream()
70 mState = STATE_ERROR; in Camera3Stream()
99 switch (mState) { in startConfiguration()
119 ALOGE("%s: Unknown state %d", __FUNCTION__, mState); in startConfiguration()
142 if (mState == STATE_CONSTRUCTED) { in startConfiguration()
143 mState = STATE_IN_CONFIG; in startConfiguration()
145 LOG_ALWAYS_FATAL_IF(mState != STATE_CONFIGURED, "Invalid state: 0x%x", mState); in startConfiguration()
146 mState = STATE_IN_RECONFIG; in startConfiguration()
154 return (mState == STATE_IN_CONFIG) || (mState == STATE_IN_RECONFIG); in isConfiguring()
160 switch (mState) { in finishConfiguration()
186 if (mState == STATE_IN_RECONFIG && in finishConfiguration()
189 mState = STATE_CONFIGURED; in finishConfiguration()
203 mState = STATE_ERROR; in finishConfiguration()
211 mState = STATE_ERROR; in finishConfiguration()
215 mState = STATE_CONFIGURED; in finishConfiguration()
223 switch (mState) { in cancelConfiguration()
244 mState = (mState == STATE_IN_RECONFIG) ? STATE_CONFIGURED : STATE_CONSTRUCTED; in cancelConfiguration()
262 if (mState != STATE_CONFIGURED) { in startPrepare()
264 "state %d", __FUNCTION__, mId, mState); in startPrepare()
289 mState = STATE_PREPARING; in startPrepare()
296 return mState == STATE_PREPARING; in isPreparing()
306 if (mState != STATE_PREPARING) { in prepareNextBuffer()
308 "state %d", __FUNCTION__, mId, mState); in prepareNextBuffer()
346 if (mState != STATE_PREPARING) { in cancelPrepareLocked()
348 "PREPARING state %d", __FUNCTION__, mId, mState); in cancelPrepareLocked()
362 mState = STATE_CONFIGURED; in cancelPrepareLocked()
374 if (mState != STATE_CONFIGURED) { in tearDown()
376 "CONFIGURED state %d", __FUNCTION__, mId, mState); in tearDown()
403 mState = STATE_IN_CONFIG; in tearDown()
409 mState = STATE_ERROR; in tearDown()
417 mState = STATE_CONFIGURED; in tearDown()
428 if (mState != STATE_CONFIGURED) { in getBuffer()
430 __FUNCTION__, mId, mState); in getBuffer()
484 if (mState != STATE_CONFIGURED) { in getInputBuffer()
486 __FUNCTION__, mId, mState); in getInputBuffer()