Home
last modified time | relevance | path

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

/hardware/google/pixel/power-libperfmgr/
DInteractionHandler.cpp40 : mState(INTERACTION_STATE_UNINITIALIZED), in InteractionHandler()
65 if (mState != INTERACTION_STATE_UNINITIALIZED) in Init()
80 mState = INTERACTION_STATE_IDLE; in Init()
88 if (mState == INTERACTION_STATE_UNINITIALIZED) in Exit()
92 mState = INTERACTION_STATE_UNINITIALIZED; in Exit()
129 if (mState == INTERACTION_STATE_UNINITIALIZED) { in Acquire()
145 if (mState != INTERACTION_STATE_IDLE && finalDuration <= mDurationMs) { in Acquire()
160 if (mState == INTERACTION_STATE_WAITING) in Acquire()
162 else if (mState == INTERACTION_STATE_IDLE) in Acquire()
165 mState = INTERACTION_STATE_INTERACTION; in Acquire()
[all …]
DInteractionHandler.h56 enum interaction_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/qcom/sdm845/gps/sdm845/gnss/
DAgps.cpp44 this, event, mState); in processAgpsEvent()
75 switch (mState) { in processAgpsEventSubscribe()
113 LOC_LOGE("Invalid state: %d", mState); in processAgpsEventSubscribe()
119 switch (mState) { in processAgpsEventUnsubscribe()
177 LOC_LOGE("Invalid state: %d", mState); in processAgpsEventUnsubscribe()
183 switch (mState) { in processAgpsEventGranted()
188 LOC_LOGE("Unexpected event GRANTED in state %d", mState); in processAgpsEventGranted()
200 LOC_LOGE("Invalid state: %d", mState); in processAgpsEventGranted()
206 switch (mState) { in processAgpsEventReleased()
247 LOC_LOGE("Invalid state: %d", mState); in processAgpsEventReleased()
[all …]
DAgps.h148 AgpsState mState; variable
167 mCurrentSubscriber(NULL), mState(AGPS_STATE_RELEASED), in AgpsStateMachine()
/hardware/qcom/sdm845/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()
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()
212 LOC_LOGE("Unexpected event RELEASED in state %d", mState); in processAgpsEventReleased()
[all …]
DAgps.h207 AgpsState mState; variable
226 mCurrentSubscriber(NULL), mState(AGPS_STATE_RELEASED), in AgpsStateMachine()
/hardware/google/av/media/codecs/vorbis/
DC2SoftVorbisDec.cpp113 mState(nullptr), in C2SoftVorbisDec()
127 if (mState) { in onStop()
128 vorbis_dsp_clear(mState); in onStop()
129 delete mState; in onStop()
130 mState = nullptr; in onStop()
150 if (mState) { in onRelease()
151 vorbis_dsp_clear(mState); in onRelease()
152 delete mState; in onRelease()
153 mState = nullptr; in onRelease()
168 mState = new vorbis_dsp_state{}; in initDecoder()
[all …]
DC2SoftVorbisDec.h54 vorbis_dsp_state *mState; member
/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 …]
DAgps.h207 AgpsState mState; variable
226 mCurrentSubscriber(NULL), mState(AGPS_STATE_RELEASED), in AgpsStateMachine()
/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 …]
DAgps.h207 AgpsState mState; variable
226 mCurrentSubscriber(NULL), mState(AGPS_STATE_RELEASED), in AgpsStateMachine()
/hardware/google/av/media/sfplugin/
DCCodec.h136 inline State() : mState(RELEASED) {} in State()
137 inline int get() const { return mState; } in get()
138 inline void set(int newState) { mState = newState; } in set()
142 int mState;
162 Mutexed<State> mState; variable
DCCodec.cpp568 Mutexed<State>::Locked state(mState); in initiateAllocateComponent()
614 Mutexed<State>::Locked state(mState); in allocate()
624 Mutexed<State>::Locked state(mState); in allocate()
652 Mutexed<State>::Locked state(mState); in initiateConfigureComponent()
667 Mutexed<State>::Locked state(mState); in configure()
926 Mutexed<State>::Locked state(mState); in initiateCreateInputSurface()
1074 Mutexed<State>::Locked state(mState); in initiateStart()
1091 Mutexed<State>::Locked state(mState); in start()
1130 Mutexed<State>::Locked state(mState); in start()
1155 Mutexed<State>::Locked state(mState); in initiateStop()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/util/
DQCameraPerf.cpp203 mState(LOCK_MGR_STATE_UNINITIALIZED) in QCameraPerfLockMgr()
209 mState = LOCK_MGR_STATE_ERROR; in QCameraPerfLockMgr()
219 mState = LOCK_MGR_STATE_READY; in QCameraPerfLockMgr()
260 if ((mState == LOCK_MGR_STATE_READY) && in acquirePerfLock()
285 if ((mState == LOCK_MGR_STATE_READY) && in acquirePerfLockIfExpired()
309 if ((mState == LOCK_MGR_STATE_READY) && in releasePerfLock()
335 if ((mState == LOCK_MGR_STATE_READY) && in powerHintInternal()
DQCameraPerf.h147 PerfLockMgrStateEnum mState;
/hardware/qcom/sdm845/gps/sdm845/core/data-items/
DDataItemConcreteTypesBase.h127 mState(state), in ScreenStateDataItemBase()
134 bool mState; variable
142 mState(state), in PowerConnectStateDataItemBase()
149 bool mState; variable
195 mState (state), in ShutdownStateDataItemBase()
202 bool mState; variable
360 mState((WifiSupplicantState)WIFI_SUPPLICANT_DEFAULT_STATE), in WifiSupplicantStatusDataItemBase()
388 WifiSupplicantState mState; variable
/hardware/google/av/media/codecs/base/
DSimpleC2Component.cpp166 if (state->mState == RUNNING) { in setListener_vb()
182 if (state->mState != RUNNING) { in queue_nb()
211 if (state->mState != RUNNING) { in flush_sm()
243 if (state->mState != RUNNING) { in drain_nb()
262 if (state->mState == RUNNING) { in start()
265 bool needsInit = (state->mState == UNINITIALIZED); in start()
279 state->mState = RUNNING; in start()
287 if (state->mState != RUNNING) { in stop()
290 state->mState = STOPPED; in stop()
314 state->mState = UNINITIALIZED; in reset()
/hardware/qcom/sdm845/gps/sdm845/core/
DSystemStatus.h600 return (mState == peer.mState); in equals()
613 return (mState == peer.mState); in equals()
658 return ((mState == peer.mState) && in equals()
674 return (mState == peer.mState); in equals()
/hardware/google/av/media/codecs/base/include/
DSimpleC2Component.h193 ExecState() : mState(UNINITIALIZED) {} in ExecState()
195 int mState; member
/hardware/interfaces/graphics/composer/2.1/utils/hwc2onfbadapter/include/hwc2onfbadapter/
DHWC2OnFbAdapter.h90 State mState{State::MODIFIED};
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3HWI.cpp545 mState(CLOSED), in QCamera3HardwareInterface()
810 if (mState != CLOSED) in ~QCamera3HardwareInterface()
886 obj->mState = ERROR; in camEvtHandle()
924 if (mState != CLOSED) { in openCamera()
995 mState = OPENED; in openCamera()
1171 mState = CLOSED; in closeCamera()
1214 LOGI("E :mCameraId = %d mState = %d", mCameraId, mState); in initialize()
1218 switch (mState) { in initialize()
1223 LOGE("Invalid state %d", mState); in initialize()
1246 mState = INITIALIZED; in initialize()
[all …]
DQCamera3HWI.h817 State mState; variable
/hardware/interfaces/graphics/composer/2.1/utils/hwc2onfbadapter/
DHWC2OnFbAdapter.cpp709 mState = state; in setState()
713 return mState; in getState()