Home
last modified time | relevance | path

Searched refs:mState (Results 1 – 14 of 14) sorted by relevance

/device/generic/goldfish/wifi/wifi_hal/
Dhalstate.cpp19 HalState::HalState() : mState(State::Constructed) { in HalState()
26 if (mState != State::Stopped && mState != State::Constructed) { in init()
41 mState = State::Initialized; in init()
53 if (mState == State::Stopping || mState == State::Stopped) { in stop()
57 if (mState != State::Running) { in stop()
67 mState = State::Stopped; in stop()
70 mState = State::Stopping; in stop()
82 if (mState != State::Initialized || !mInfo) { in eventLoop()
85 mState = State::Running; in eventLoop()
100 mState = State::Stopped; in onStop()
Dhalstate.h57 State mState; variable
/device/generic/goldfish/fingerprint/
Dsession.cpp184 previousState = mState; in enroll()
187 mState = State::ENROLLING_START; in enroll()
218 previousState = mState; in authenticate()
221 mState = State::AUTHENTICATING; in authenticate()
248 previousState = mState; in detectInteraction()
250 mState = State::DETECTING_INTERACTION; in detectInteraction()
365 switch (mState) { in onSensorEventOn()
372 const int left = int(State::ENROLLING_END) - int(mState); in onSensorEventOn()
377 mState = State(int(mState) + 1); in onSensorEventOn()
382 mState = State::IDLE; in onSensorEventOn()
[all …]
Dsession.h130 State mState = State::IDLE; // mMutex member
/device/generic/goldfish-opengl/system/codecs/omx/plugin/
DSimpleGoldfishOMXComponent.cpp36 mState(OMX_StateLoaded), in SimpleGoldfishOMXComponent()
71 if (mState == OMX_StateLoaded) { in isSetParameterAllowed()
271 CHECK(mState == OMX_StateLoaded || port->mDef.bEnabled == OMX_FALSE); in useBufferCallerLockedAlready()
324 CHECK((mState == OMX_StateIdle && mTargetState == OMX_StateLoaded) in freeBuffer()
386 *state = mState; in getState()
416 CHECK(mState == OMX_StateExecuting && mTargetState == mState); in onMessageReceived()
483 ALOGV("%p requesting change from %d to %d", this, mState, state); in onChangeState()
486 if (mState == OMX_StateLoaded in onChangeState()
492 mState = mTargetState = OMX_StateIdle; in onChangeState()
496 if (mState != mTargetState) { in onChangeState()
[all …]
/device/google/contexthub/contexthubhal/
Dsystem_comms.h178 volatile int mState; variable
192 if (mState != SESSION_DONE) { in complete()
193 mState = SESSION_DONE; in complete()
208 mState = state; in setState()
212 Session() { mState = SESSION_INIT; mStatus = -1; } in Session()
221 [this] { return mState == SESSION_DONE; }); in wait()
229 return mState; in getState()
233 return mState == SESSION_DONE; in isDone()
237 return mState > SESSION_DONE; in isRunning()
/device/generic/goldfish-opengl/system/codecs/c2/decoders/base/
DSimpleC2Component.cpp220 if (state->mState == RUNNING) { in setListener_vb()
237 if (state->mState != RUNNING) { in queue_nb()
268 if (state->mState != RUNNING) { in flush_sm()
297 if (state->mState != RUNNING) { in drain_nb()
316 if (state->mState == RUNNING) { in start()
319 bool needsInit = (state->mState == UNINITIALIZED); in start()
334 state->mState = RUNNING; in start()
342 if (state->mState != RUNNING) { in stop()
345 state->mState = STOPPED; in stop()
367 state->mState = UNINITIALIZED; in reset()
/device/generic/goldfish/dhcp/client/
Ddhcpclient.cpp57 mState(State::Init), in DhcpClient()
108 switch (mState) { in run()
242 switch (mState) { in waitAndReceive()
515 stateToStr(mState), stateToStr(state)); in setNextState()
516 mState = state; in setNextState()
Ddhcpclient.h102 State mState; variable
/device/google/sunfish/vibrator/drv2624/
DHardware.h37 !hwapi->mState.is_open()) { in Create()
47 bool setState(bool value) override { return set(value, &mState); } in setState()
66 open("state", &mState); in HwApi()
84 std::ofstream mState; variable
/device/google/barbet/vibrator/drv2624/
DHardware.h32 !hwapi->mState.is_open()) { in Create()
42 bool setState(bool value) override { return set(value, &mState); } in setState()
61 open("state", &mState); in HwApi()
85 std::ofstream mState; variable
/device/google/redfin/vibrator/drv2624/
DHardware.h32 !hwapi->mState.is_open()) { in Create()
42 bool setState(bool value) override { return set(value, &mState); } in setState()
61 open("state", &mState); in HwApi()
86 std::ofstream mState; variable
/device/generic/goldfish-opengl/system/codecs/c2/decoders/base/include/
DSimpleC2Component.h197 ExecState() : mState(UNINITIALIZED) {} in ExecState()
199 int mState; member
/device/generic/goldfish-opengl/system/codecs/omx/plugin/include/
DSimpleGoldfishOMXComponent.h106 OMX_STATETYPE mState; member