Home
last modified time | relevance | path

Searched refs:mStatus (Results 1 – 10 of 10) sorted by relevance

/device/generic/goldfish/camera/
DEmulatedCamera3.cpp47 mStatus(STATUS_ERROR) in EmulatedCamera3()
71 mStatus = STATUS_CLOSED; in Initialize()
83 if (mStatus != STATUS_CLOSED) { in connectCamera()
85 __FUNCTION__, mStatus); in connectCamera()
90 mStatus = STATUS_OPEN; in connectCamera()
95 mStatus = STATUS_CLOSED; in closeCamera()
116 if (mStatus != STATUS_OPEN) { in initializeDevice()
118 __FUNCTION__, mStatus); in initializeDevice()
123 mStatus = STATUS_READY; in initializeDevice()
DEmulatedQemuCamera3.cpp185 if (mStatus != STATUS_ERROR) { in Initialize()
225 if (mStatus != STATUS_CLOSED) { in connectCamera()
226 ALOGE("%s: Can't connect in state %d", __FUNCTION__, mStatus); in connectCamera()
267 if (mStatus == STATUS_CLOSED) return OK; in closeCamera()
312 if (mStatus != STATUS_OPEN && mStatus != STATUS_READY) { in configureStreams()
314 __FUNCTION__, mStatus); in configureStreams()
733 if (mStatus < STATUS_READY) { in processCaptureRequest()
735 mStatus); in processCaptureRequest()
822 mStatus = STATUS_ACTIVE; in processCaptureRequest()
1029 if (mStatus == STATUS_ERROR) { in processCaptureRequest()
[all …]
DEmulatedCamera3.h185 } mStatus; variable
DEmulatedFakeCamera3.cpp120 if (mStatus != STATUS_ERROR) { in Initialize()
147 if (mStatus != STATUS_CLOSED) { in connectCamera()
148 ALOGE("%s: Can't connect in state %d", __FUNCTION__, mStatus); in connectCamera()
187 if (mStatus == STATUS_CLOSED) return OK; in closeCamera()
232 if (mStatus != STATUS_OPEN && mStatus != STATUS_READY) { in configureStreams()
234 __FUNCTION__, mStatus); in configureStreams()
775 if (mStatus < STATUS_READY) { in processCaptureRequest()
777 mStatus); in processCaptureRequest()
863 mStatus = STATUS_ACTIVE; in processCaptureRequest()
1033 if (mStatus == STATUS_ERROR) { in processCaptureRequest()
[all …]
/device/google/cuttlefish/guest/hals/camera/
DEmulatedCamera3.cpp44 mStatus(STATUS_ERROR) { in EmulatedCamera3()
65 mStatus = STATUS_CLOSED; in Initialize()
77 if (mStatus != STATUS_CLOSED) { in connectCamera()
78 ALOGE("%s: Trying to open a camera in state %d!", __FUNCTION__, mStatus); in connectCamera()
83 mStatus = STATUS_OPEN; in connectCamera()
88 mStatus = STATUS_CLOSED; in closeCamera()
108 if (mStatus != STATUS_OPEN) { in initializeDevice()
110 mStatus); in initializeDevice()
115 mStatus = STATUS_READY; in initializeDevice()
DEmulatedFakeCamera3.cpp108 if (mStatus != STATUS_ERROR) { in Initialize()
135 if (mStatus != STATUS_CLOSED) { in connectCamera()
136 ALOGE("%s: Can't connect in state %d", __FUNCTION__, mStatus); in connectCamera()
175 if (mStatus == STATUS_CLOSED) return OK; in closeCamera()
235 if (mStatus != STATUS_OPEN && mStatus != STATUS_READY) { in configureStreams()
236 ALOGE("%s: Cannot configure streams in state %d", __FUNCTION__, mStatus); in configureStreams()
723 if (mStatus < STATUS_READY) { in processCaptureRequest()
725 mStatus); in processCaptureRequest()
811 mStatus = STATUS_ACTIVE; in processCaptureRequest()
982 if (mStatus == STATUS_ERROR) { in processCaptureRequest()
[all …]
DEmulatedCamera3.h177 } mStatus; variable
/device/google/contexthub/contexthubhal/
Dsystem_comms.cpp173 mStatus = -EINVAL; in NanohubRsp()
176 mStatus = buf.readU32(); in NanohubRsp()
404 if (mLen == sizeof(mStatus)) in setup()
405 memcpy(&mStatus, msgData, mLen); in setup()
514 if (rsp.mStatus == NANOHUB_HAL_UPLOAD_ACCEPTED) { in handleTransfer()
517 } else if (rsp.mStatus == NANOHUB_HAL_UPLOAD_RESEND) { in handleTransfer()
519 } else if (rsp.mStatus == NANOHUB_HAL_UPLOAD_RESTART) { in handleTransfer()
522 } else if (rsp.mStatus == NANOHUB_HAL_UPLOAD_CANCEL || in handleTransfer()
523 rsp.mStatus == NANOHUB_HAL_UPLOAD_CANCEL_NO_RETRY) { in handleTransfer()
526 } else if (rsp.mStatus == NANOHUB_HAL_UPLOAD_NO_SPACE) { in handleTransfer()
[all …]
Dsystem_comms.h132 int32_t mStatus; member
182 int32_t mStatus; variable
200 mStatus = status; in abort()
212 Session() { mState = SESSION_INIT; mStatus = -1; } in Session()
215 return mStatus; in getStatus()
/device/linaro/poplar/wifi/wifi_hal/
Dwifi_logger.cpp115 wifi_ring_buffer_status *mStatus; member in DebugCommand
143 … : WifiCommand("DebugCommand", iface, 0), mNumRings(num_rings), mStatus(status), mType(cmdType) in DebugCommand()
145 memset(mStatus, 0, sizeof(wifi_ring_buffer_status) * (*mNumRings)); in DebugCommand()
343 wifi_ring_buffer_status *status(mStatus); in handleResponse()