Home
last modified time | relevance | path

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

/device/google/wahoo/power/
DInteractionHandler.cpp44 : mState(INTERACTION_STATE_UNINITIALIZED), in InteractionHandler()
58 if (mState != INTERACTION_STATE_UNINITIALIZED) in Init()
74 mState = INTERACTION_STATE_IDLE; in Init()
83 if (mState == INTERACTION_STATE_UNINITIALIZED) in Exit()
87 mState = INTERACTION_STATE_UNINITIALIZED; in Exit()
135 if (mState == INTERACTION_STATE_UNINITIALIZED) { in Acquire()
151 if (mState != INTERACTION_STATE_IDLE && finalDuration <= mDurationMs) { in Acquire()
166 if (mState == INTERACTION_STATE_WAITING) in Acquire()
168 else if (mState == INTERACTION_STATE_IDLE) in Acquire()
171 mState = INTERACTION_STATE_INTERACTION; in Acquire()
[all …]
DInteractionHandler.h49 enum interaction_state mState; member
/device/asus/fugu/libaudio/
DAudioOutput.cpp45 : mState(OUT_OF_SYNC) in AudioOutput()
146 mState = PRIMED; in primeOutput()
156 mState = ACTIVE; in adjustDelay()
247 mState = OUT_OF_SYNC; in openPCMDevice()
302 if (mState == PRIMED) in getNextWriteTimestamp()
303 mState = DMA_START; in getNextWriteTimestamp()
310 if (mState > PRIMED) { in getNextWriteTimestamp()
348 mState = FATAL; in reset()
374 mState = FATAL; in getDMAStartData()
386 switch (mState) { in processOneChunk()
[all …]
DAudioOutput.h63 State getState() { return mState; }; in getState()
64 bool hasFatalError() { return mState == FATAL; } in hasFatalError()
122 State mState; variable
DHDMIAudioOutput.cpp131 mState); in dump()
/device/google/contexthub/contexthubhal/
Dsystem_comms.h135 volatile int mState; variable
149 if (mState != SESSION_DONE) { in complete()
150 mState = SESSION_DONE; in complete()
165 mState = state; in setState()
169 Session() { mState = SESSION_INIT; mStatus = -1; } in Session()
176 mDoneCond.wait(lk, [this] { return mState == SESSION_DONE; }); in wait()
181 return mState; in getState()
185 return mState == SESSION_DONE; in isDone()
189 return mState > SESSION_DONE; in isRunning()
/device/generic/goldfish/camera/
DEmulatedCameraDevice.h334 return mState != ECDS_CONSTRUCTED; in isInitialized()
339 return mState == ECDS_CONNECTED || mState == ECDS_STARTED; in isConnected()
342 return mState == ECDS_STARTED; in isStarted()
625 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()
DEmulatedCameraDevice.cpp48 mState(ECDS_CONSTRUCTED), in EmulatedCameraDevice()
71 __FUNCTION__, mState); in Initialize()
75 mState = ECDS_INITIALIZED; in Initialize()
/device/linaro/bootloader/edk2/EmbeddedPkg/Application/AndroidFastboot/
DAndroidFastbootApp.c46 STATIC ANDROID_FASTBOOT_STATE mState = ExpectCmdState; variable
134 mState = ExpectDataState; in HandleDownload()
425 mState = ExpectCmdState; in AcceptData()
449 if (mState == ExpectCmdState) { in DataReady()
451 } else if (mState == ExpectDataState) { in DataReady()
/device/google/wahoo/vibrator/
DVibrator.h53 std::ofstream mState; variable
DVibrator.cpp69 mState(std::move(state)), in Vibrator()
/device/google/marlin/camera/QCamera2/HAL3/
DQCamera3HWI.cpp383 mState(CLOSED), in QCamera3HardwareInterface()
562 if (mState != CLOSED) in ~QCamera3HardwareInterface()
633 obj->mState = ERROR; in camEvtHandle()
671 if (mState != CLOSED) { in openCamera()
691 mState = OPENED; in openCamera()
866 mState = CLOSED; in closeCamera()
889 LOGI("E :mCameraId = %d mState = %d", mCameraId, mState); in initialize()
893 switch (mState) { in initialize()
898 LOGE("Invalid state %d", mState); in initialize()
921 mState = INITIALIZED; in initialize()
[all …]
DQCamera3HWI.h558 State mState; variable