Home
last modified time | relevance | path

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

123

/hardware/google/gfxstream/host/
DRenderChannelImpl.cpp54 mState = (State)loadStream->getBe32(); in RenderChannelImpl()
58 const auto state = mState; in RenderChannelImpl()
60 assert(state == mState); in RenderChannelImpl()
83 return mState; in state()
92 (int)mState); in tryWrite()
107 (int)result, (int)buffer->size(), (int)mState); in tryRead()
117 (int)result, (int)buffer->size(), (int)mState); in readBefore()
139 D("mToGuest.pushLocked() returned %d, state %d", (int)result, (int)mState); in writeToGuest()
156 (int)buffer->size(), (int)mState); in readFromGuest()
167 mState |= State::Stopped; in stopFromHost()
[all …]
DRenderThread.cpp95 mState = SnapshotState::StartLoading; in RenderThread()
118 mState = SnapshotState::StartLoading; in RenderThread()
132 assert(mState == SnapshotState::Empty); in pausePreSnapshot()
134 mState = SnapshotState::StartSaving; in pausePreSnapshot()
149 if (mState == SnapshotState::Empty) { in resume()
158 mState = SnapshotState::Empty; in resume()
168 assert(mState == SnapshotState::StartSaving || in save()
169 mState == SnapshotState::InProgress || in save()
170 mState == SnapshotState::Finished); in save()
172 success = mState == SnapshotState::Finished; in save()
[all …]
/hardware/google/pixel/power-libperfmgr/disp-power/
DInteractionHandler.cpp86 : mState(INTERACTION_STATE_UNINITIALIZED), mDurationMs(0) {} in InteractionHandler()
95 if (mState != INTERACTION_STATE_UNINITIALIZED) in Init()
110 mState = INTERACTION_STATE_IDLE; in Init()
118 if (mState == INTERACTION_STATE_UNINITIALIZED) in Exit()
122 mState = INTERACTION_STATE_UNINITIALIZED; in Exit()
163 if (!kDisplayIdleSupport || mState == INTERACTION_STATE_UNINITIALIZED) { in Acquire()
170 if (mState != INTERACTION_STATE_IDLE && finalDuration <= mDurationMs) { in Acquire()
185 if (mState == INTERACTION_STATE_WAITING) in Acquire()
187 else if (mState == INTERACTION_STATE_IDLE) in Acquire()
190 mState = INTERACTION_STATE_INTERACTION; in Acquire()
[all …]
/hardware/interfaces/audio/aidl/default/bluetooth/
DDevicePortProxy.cpp71 mState(BluetoothStreamState::DISABLED), in BluetoothAudioPortAidl()
103 mState = BluetoothStreamState::STANDBY; in registerPort()
178 BluetoothStreamState previous_state = mState; in controlResultHandler()
187 mState = BluetoothStreamState::STANDBY; in controlResultHandler()
198 mState = BluetoothStreamState::STARTED; in controlResultHandler()
206 mState = BluetoothStreamState::STANDBY; in controlResultHandler()
211 mState = BluetoothStreamState::STANDBY; in controlResultHandler()
220 mState = BluetoothStreamState::DISABLED; in controlResultHandler()
246 BluetoothStreamState previous_state = mState; in sessionChangedHandler()
249 mState = BluetoothStreamState::DISABLED; in sessionChangedHandler()
[all …]
/hardware/interfaces/audio/aidl/default/
DStream.cpp154 << "' can not be handled in the state " << toString(mState); in populateReplyWrongState()
170 mState = StreamDescriptor::State::ERROR; in cycle()
204 if (mState == StreamDescriptor::State::STANDBY || in cycle()
205 mState == StreamDescriptor::State::DRAINING) { in cycle()
208 mState = mState == StreamDescriptor::State::STANDBY in cycle()
213 mState = StreamDescriptor::State::ERROR; in cycle()
223 if (mState == StreamDescriptor::State::IDLE || in cycle()
224 mState == StreamDescriptor::State::ACTIVE || in cycle()
225 mState == StreamDescriptor::State::PAUSED || in cycle()
226 mState == StreamDescriptor::State::DRAINING) { in cycle()
[all …]
DEffectImpl.cpp55 RETURN_OK_IF(mState != State::INIT); in open()
70 mState = State::IDLE; in open()
80 RETURN_IF(mState == State::INIT, EX_ILLEGAL_STATE, "alreadyClosed"); in reopen()
91 RETURN_OK_IF(mState == State::INIT); in close()
92 RETURN_IF(mState == State::PROCESSING, EX_ILLEGAL_STATE, "closeAtProcessing"); in close()
93 mState = State::INIT; in close()
231 *state = mState; in getState()
237 RETURN_IF(mState == State::INIT, EX_ILLEGAL_STATE, "instanceNotOpen"); in command()
241 RETURN_OK_IF(mState == State::PROCESSING); in command()
243 mState = State::PROCESSING; in command()
[all …]
/hardware/google/aemu/base/include/aemu/base/memory/
DLazyInstance.h126 std::atomic<State> mState; member
153 bool hasInstance() const { return !mState.inNoObjectState(); } in hasInstance()
168 if (mState.needDestruction()) { in clear()
170 mState.doneDestroying(); in clear()
181 alignas(double) mutable internal::LazyInstanceState mState; member
202 if (mState.needConstruction()) { in ptrInternal()
204 mState.doneConstructing(); in ptrInternal()
DOnDemand.h159 mState.doneConstructing(); in OnDemand()
191 bool hasInstance() const { return !mState.inNoObjectState(); } in hasInstance()
207 if (mState.needConstruction()) { in ptr()
209 mState.doneConstructing(); in ptr()
215 if (mState.needDestruction()) { in clear()
217 mState.doneDestroying(); in clear()
255 alignas(double) mutable State mState = {}; variable
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DConcurrentQueue.h98 BatchingConsumer() : mState(State::INIT) {} in BatchingConsumer()
116 mState = State::STOP_REQUESTED; in requestStop()
127 if (mState.exchange(State::RUNNING) == State::INIT) { in runInternal()
128 while (State::RUNNING == mState) { in runInternal()
130 if (State::STOP_REQUESTED == mState) break; in runInternal()
133 if (State::STOP_REQUESTED == mState) break; in runInternal()
143 mState = State::STOPPED; in runInternal()
149 std::atomic<State> mState; variable
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/include/
DConcurrentQueue.h119 BatchingConsumer() : mState(State::INIT) {} in BatchingConsumer()
134 void requestStop() { mState = State::STOP_REQUESTED; } in requestStop()
144 if (mState.exchange(State::RUNNING) == State::INIT) { in runInternal()
145 while (State::RUNNING == mState) { in runInternal()
147 if (State::STOP_REQUESTED == mState) break; in runInternal()
150 if (State::STOP_REQUESTED == mState) break; in runInternal()
160 mState = State::STOPPED; in runInternal()
166 std::atomic<State> mState; variable
/hardware/qcom/sm8150p/gps/gnss/
DAgps.cpp44 this, event, mState); in processAgpsEvent()
75 switch (mState) { in processAgpsEventSubscribe()
105 LOC_LOGE("Invalid state: %d", mState); in processAgpsEventSubscribe()
111 switch (mState) { in processAgpsEventUnsubscribe()
169 LOC_LOGE("Invalid state: %d", mState); in processAgpsEventUnsubscribe()
175 switch (mState) { in processAgpsEventGranted()
180 LOC_LOGE("Unexpected event GRANTED in state %d", mState); in processAgpsEventGranted()
192 LOC_LOGE("Invalid state: %d", mState); in processAgpsEventGranted()
198 switch (mState) { in processAgpsEventReleased()
239 LOC_LOGE("Invalid state: %d", mState); in processAgpsEventReleased()
[all …]
/hardware/qcom/sm7150/gps/gnss/
DAgps.cpp44 this, event, mState); in processAgpsEvent()
75 switch (mState) { in processAgpsEventSubscribe()
105 LOC_LOGE("Invalid state: %d", mState); in processAgpsEventSubscribe()
111 switch (mState) { in processAgpsEventUnsubscribe()
169 LOC_LOGE("Invalid state: %d", mState); in processAgpsEventUnsubscribe()
175 switch (mState) { in processAgpsEventGranted()
180 LOC_LOGE("Unexpected event GRANTED in state %d", mState); in processAgpsEventGranted()
192 LOC_LOGE("Invalid state: %d", mState); in processAgpsEventGranted()
198 switch (mState) { in processAgpsEventReleased()
239 LOC_LOGE("Invalid state: %d", mState); in processAgpsEventReleased()
[all …]
/hardware/qcom/sm8150/gps/gnss/
DAgps.cpp44 this, event, mState); in processAgpsEvent()
75 switch (mState) { in processAgpsEventSubscribe()
105 LOC_LOGE("Invalid state: %d", mState); in processAgpsEventSubscribe()
111 switch (mState) { in processAgpsEventUnsubscribe()
169 LOC_LOGE("Invalid state: %d", mState); in processAgpsEventUnsubscribe()
175 switch (mState) { in processAgpsEventGranted()
180 LOC_LOGE("Unexpected event GRANTED in state %d", mState); in processAgpsEventGranted()
192 LOC_LOGE("Invalid state: %d", mState); in processAgpsEventGranted()
198 switch (mState) { in processAgpsEventReleased()
239 LOC_LOGE("Invalid state: %d", mState); in processAgpsEventReleased()
[all …]
/hardware/qcom/sm7250/gps/gnss/
DAgps.cpp44 this, event, mState); in processAgpsEvent()
75 switch (mState) { in processAgpsEventSubscribe()
105 LOC_LOGE("Invalid state: %d", mState); in processAgpsEventSubscribe()
111 switch (mState) { in processAgpsEventUnsubscribe()
169 LOC_LOGE("Invalid state: %d", mState); in processAgpsEventUnsubscribe()
175 switch (mState) { in processAgpsEventGranted()
180 LOC_LOGE("Unexpected event GRANTED in state %d", mState); in processAgpsEventGranted()
192 LOC_LOGE("Invalid state: %d", mState); in processAgpsEventGranted()
198 switch (mState) { in processAgpsEventReleased()
239 LOC_LOGE("Invalid state: %d", mState); in processAgpsEventReleased()
[all …]
/hardware/qcom/gps/msm8998/gnss/
DAgps.cpp43 this, event, mState); in processAgpsEvent()
74 switch (mState) { in processAgpsEventSubscribe()
112 LOC_LOGE("Invalid state: %d", mState); in processAgpsEventSubscribe()
118 switch (mState) { in processAgpsEventUnsubscribe()
176 LOC_LOGE("Invalid state: %d", mState); in processAgpsEventUnsubscribe()
182 switch (mState) { in processAgpsEventGranted()
187 LOC_LOGE("Unexpected event GRANTED in state %d", mState); in processAgpsEventGranted()
199 LOC_LOGE("Invalid state: %d", mState); in processAgpsEventGranted()
205 switch (mState) { in processAgpsEventReleased()
246 LOC_LOGE("Invalid state: %d", mState); in processAgpsEventReleased()
[all …]
/hardware/qcom/gps/msm8909w_3100/gnss/
DAgps.cpp43 this, event, mState); in processAgpsEvent()
74 switch (mState){ in processAgpsEventSubscribe()
112 LOC_LOGE("Invalid state: %d", mState); in processAgpsEventSubscribe()
118 switch (mState){ in processAgpsEventUnsubscribe()
180 LOC_LOGE("Invalid state: %d", mState); in processAgpsEventUnsubscribe()
186 switch (mState){ in processAgpsEventGranted()
191 LOC_LOGE("Unexpected event GRANTED in state %d", mState); in processAgpsEventGranted()
203 LOC_LOGE("Invalid state: %d", mState); in processAgpsEventGranted()
209 switch (mState){ in processAgpsEventReleased()
250 LOC_LOGE("Invalid state: %d", mState); in processAgpsEventReleased()
[all …]
/hardware/interfaces/bluetooth/aidl/default/
DBluetoothHci.cpp212 if (mState != HalState::READY) { in initialize()
213 old_state = mState; in initialize()
215 mState = HalState::INITIALIZING; in initialize()
235 mState = HalState::READY; in initialize()
283 mState = HalState::ONE_CLIENT; in initialize()
303 if (mState != HalState::ONE_CLIENT) { in close()
304 LOG_ALWAYS_FATAL_IF(mState == HalState::INITIALIZING, in close()
309 mState = HalState::CLOSING; in close()
322 mState = HalState::READY; in close()
/hardware/google/gfxstream/guest/android-emu/aemu/base/threads/
DAndroidWorkPool.cpp214 switch (mState) { in acquire()
216 mState = State::Acquired; in acquire()
229 switch (mState) { in run()
233 mState = State::Scheduled; in run()
293 mState = State::Exiting; in threadFunc()
298 done = mState == State::Exiting; in threadFunc()
314 mState = State::Unacquired; in doRun()
325 State mState = State::Unacquired; member in gfxstream::guest::WorkPoolThread
/hardware/qcom/camera/msm8998/QCamera2/util/
DQCameraPerf.cpp218 mState(LOCK_MGR_STATE_UNINITIALIZED) in QCameraPerfLockMgr()
224 mState = LOCK_MGR_STATE_ERROR; in QCameraPerfLockMgr()
234 mState = LOCK_MGR_STATE_READY; in QCameraPerfLockMgr()
275 if ((mState == LOCK_MGR_STATE_READY) && in acquirePerfLock()
300 if ((mState == LOCK_MGR_STATE_READY) && in acquirePerfLockIfExpired()
324 if ((mState == LOCK_MGR_STATE_READY) && in releasePerfLock()
350 if ((mState == LOCK_MGR_STATE_READY) && in powerHintInternal()
/hardware/google/pixel/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()
78 std::ofstream mState; variable
/hardware/interfaces/automotive/evs/aidl/impl/default/src/
DEvsGlDisplay.cpp66 mState = RUN; in EvsGlDisplay()
89 if (mBufferBusy || mState == RUN) { in forceShutdown()
92 mState = STOPPING; in forceShutdown()
190 lock, [this]() REQUIRES(mLock) { return mBufferReady || mState != RUN; }); in renderFrames()
191 if (mState != RUN) { in renderFrames()
231 mState = STOPPED; in renderFrames()
/hardware/google/graphics/common/libhwc2.1/libvrr/
DVariableRefreshRateController.cpp111 mState = VrrControllerState::kDisable; in VariableRefreshRateController()
293 if (mState == VrrControllerState::kDisable) { in setActiveVrrConfiguration()
296 mState = VrrControllerState::kRendering; in setActiveVrrConfiguration()
376 mState = VrrControllerState::kDisable; in postSetPowerMode()
390 mState = VrrControllerState::kRendering; in postSetPowerMode()
609 mState = VrrControllerState::kDisable; in stopThread()
640 if (mState == VrrControllerState::kDisable) { in onPresent()
642 } else if (mState == VrrControllerState::kHibernate) { in onPresent()
645 mState = VrrControllerState::kRendering; in onPresent()
900 if (mState == VrrControllerState::kDisable) { in handlePresentTimeout()
[all …]
/hardware/qcom/sm7150/gps/core/data-items/
DDataItemConcreteTypesBase.h188 mState(state), in ScreenStateDataItemBase()
195 bool mState; variable
203 mState(state), in PowerConnectStateDataItemBase()
210 bool mState; variable
256 mState (state), in ShutdownStateDataItemBase()
263 bool mState; variable
418 mState((WifiSupplicantState)WIFI_SUPPLICANT_DEFAULT_STATE), in WifiSupplicantStatusDataItemBase()
446 WifiSupplicantState mState; variable
/hardware/qcom/sm8150p/gps/core/data-items/
DDataItemConcreteTypesBase.h188 mState(state), in ScreenStateDataItemBase()
195 bool mState; variable
203 mState(state), in PowerConnectStateDataItemBase()
210 bool mState; variable
256 mState (state), in ShutdownStateDataItemBase()
263 bool mState; variable
418 mState((WifiSupplicantState)WIFI_SUPPLICANT_DEFAULT_STATE), in WifiSupplicantStatusDataItemBase()
446 WifiSupplicantState mState; variable
/hardware/qcom/sm8150/gps/core/data-items/
DDataItemConcreteTypesBase.h188 mState(state), in ScreenStateDataItemBase()
195 bool mState; variable
203 mState(state), in PowerConnectStateDataItemBase()
210 bool mState; variable
256 mState (state), in ShutdownStateDataItemBase()
263 bool mState; variable
419 mState((WifiSupplicantState)WIFI_SUPPLICANT_DEFAULT_STATE), in WifiSupplicantStatusDataItemBase()
447 WifiSupplicantState mState; variable

123