Lines Matching refs:mState
966 mState(RELEASED),
985 if (mState != RELEASED) {
997 if (mState != RELEASED) return INVALID_OPERATION;
1036 mState = ALLOCATED;
1048 mState = CONNECTED;
1142 mState = ACTIVE;
1166 if (mState >= ALLOCATED) {
1174 if (mState >= CONNECTED) {
1192 mState = RELEASED;
1199 if (mState < CONNECTED) {
1242 if (stream->mState != ACTIVE) {
1243 ALOGE("%s: Called when in bad state: %d", __FUNCTION__, stream->mState);
1272 int state = stream->mState;
1306 if (stream->mState != ACTIVE) {
1307 ALOGE("%s: Called when in bad state: %d", __FUNCTION__, stream->mState);
1327 int state = static_cast<const StreamAdapter*>(w)->mState;
1347 mState(RELEASED),
1361 if (mState != RELEASED) {
1372 if (mState != RELEASED) return INVALID_OPERATION;
1404 mState = ACTIVE;
1413 if (mState >= ACTIVE) {
1434 mState = RELEASED;
1477 if (stream->mState != ACTIVE) {
1478 ALOGE("%s: Called when in bad state: %d", __FUNCTION__, stream->mState);
1511 int state = stream->mState;