Home
last modified time | relevance | path

Searched refs:mState (Results 1 – 23 of 23) 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-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 …]
DSimpleGoldfishOMXComponent.h106 OMX_STATETYPE mState; member
/device/google/cuttlefish/guest/hals/camera/
DEmulatedCameraDevice.h275 return mWorkerThread.get() != NULL && mState != ECDS_CONSTRUCTED; in isInitialized()
280 return mState == ECDS_CONNECTED || mState == ECDS_STARTED; in isConnected()
282 inline bool isStarted() const { return mState == ECDS_STARTED; } in isStarted()
548 EmulatedCameraDeviceState mState; variable
DEmulatedQemuCameraDevice.cpp89 mState = ECDS_CONNECTED; in connectDevice()
118 mState = ECDS_INITIALIZED; in disconnectDevice()
167 mState = ECDS_STARTED; in startDevice()
195 mState = ECDS_CONNECTED; in stopDevice()
DEmulatedFakeCameraDevice.cpp78 mState = ECDS_CONNECTED; in connectDevice()
97 mState = ECDS_INITIALIZED; in disconnectDevice()
159 mState = ECDS_STARTED; in startDevice()
179 mState = ECDS_CONNECTED; in stopDevice()
DEmulatedCameraDevice.cpp47 mState(ECDS_CONSTRUCTED) {} in EmulatedCameraDevice()
68 __FUNCTION__, mState); in Initialize()
79 mState = ECDS_INITIALIZED; in Initialize()
/device/generic/goldfish-opengl/android-emu/android/base/threads/
DAndroidWorkPool.cpp215 switch (mState) { in acquire()
217 mState = State::Acquired; in acquire()
228 switch (mState) { in run()
232 mState = State::Scheduled; in run()
290 mState = State::Exiting; in threadFunc()
295 done = mState == State::Exiting; in threadFunc()
311 mState = State::Unacquired; in doRun()
322 State mState = State::Unacquired; member in android::base::guest::WorkPoolThread
/device/generic/goldfish/camera/
DEmulatedCameraDevice.h339 return mState != ECDS_CONSTRUCTED; in isInitialized()
344 return mState == ECDS_CONNECTED || mState == ECDS_STARTED; in isConnected()
347 return mState == ECDS_STARTED; in isStarted()
636 EmulatedCameraDeviceState mState; variable
DEmulatedQemuCameraDevice.cpp91 mState = ECDS_CONNECTED; in connectDevice()
121 mState = ECDS_INITIALIZED; in disconnectDevice()
173 mState = ECDS_STARTED; in startDevice()
204 mState = ECDS_CONNECTED; in stopDevice()
DEmulatedFakeCameraDevice.cpp96 mState = ECDS_CONNECTED; in connectDevice()
116 mState = ECDS_INITIALIZED; in disconnectDevice()
178 mState = ECDS_STARTED; in startDevice()
197 mState = ECDS_CONNECTED; in stopDevice()
DEmulatedFakeRotatingCameraDevice.cpp439 mState = ECDS_CONNECTED; in connectDevice()
459 mState = ECDS_INITIALIZED; in disconnectDevice()
484 mState = ECDS_STARTED; in startDevice()
500 mState = ECDS_CONNECTED; in stopDevice()
DEmulatedCameraDevice.cpp48 mState(ECDS_CONSTRUCTED), in EmulatedCameraDevice()
71 __FUNCTION__, mState); in Initialize()
75 mState = ECDS_INITIALIZED; in Initialize()
/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/camera/qemu-pipeline3/
DQemuSensor.cpp105 mState = ECDS_CONNECTED; in startUp()
125 mState = ECDS_CONNECTED; in shutDown()
411 mState = ECDS_CONNECTED; in captureRGBA()
434 mState = ECDS_STARTED; in captureRGBA()
475 mState = ECDS_STARTED; in captureRGBA()
521 mState = ECDS_CONNECTED; in captureYU12()
544 mState = ECDS_STARTED; in captureYU12()
585 mState = ECDS_STARTED; in captureYU12()
DQemuSensor.h148 EmulatedCameraDeviceState mState; variable
/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/coral/vibrator/
DHardware.h65 bool setState(bool value) override { return set(value, mState); } in setState()
98 std::ofstream mState; variable
DHardware.cpp105 fileFromEnv("STATE_PATH", &mState, &mNames[&mState]); in HwApi()
/device/google/wahoo/vibrator/
DVibrator.h58 std::ofstream mState; variable
DVibrator.cpp73 mState(std::move(state)), in Vibrator()