Home
last modified time | relevance | path

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

123

/device/generic/goldfish/audio/
Dprimary_device.cpp39 return Result::OK; in initCheck()
49 return Result::OK; in setMasterVolume()
53 _hidl_cb(Result::OK, mMasterVolume); in getMasterVolume()
60 return Result::OK; in setMicMute()
64 _hidl_cb(Result::OK, mMicMute); in getMicMute()
71 return Result::OK; in setMasterMute()
75 _hidl_cb(Result::OK, mMasterMute); in getMasterMute()
88 _hidl_cb(Result::OK, sz); in getInputBufferSize()
115 _hidl_cb(Result::OK, stream.release(), config); in openOutputStream()
142 _hidl_cb(Result::OK, stream.release(), config); in openInputStream()
[all …]
Dstream_common.cpp60 _hidl_cb(Result::OK, {m_config.sampleRateHz}); in getSupportedSampleRates()
62 _hidl_cb(Result::OK, {}); in getSupportedSampleRates()
78 _hidl_cb(Result::OK, {m_config.channelMask}); in getSupportedChannelMasks()
80 _hidl_cb(Result::OK, {}); in getSupportedChannelMasks()
94 _hidl_cb(Result::OK, {m_config.format}); in getSupportedFormats()
107 _hidl_cb(Result::OK, {m_device}); in getDevices()
Dstream_out.cpp71 if (status != OK || !rawEfGroup) { in WriteThread()
191 status.retval = Result::OK; in doWrite()
209 status.retval = Result::OK; in doGetLatency()
314 return Result::OK; in standby()
330 _hidl_cb((keys.size() > 0) ? FAILURE(Result::NOT_SUPPORTED) : Result::OK, {}); in getParameters()
338 return Result::OK; in setParameters()
351 return Result::OK; in closeImpl()
355 return Result::OK; in closeImpl()
398 return Result::OK; in setVolume()
422 _hidl_cb(Result::OK, in prepareForWriting()
Dstream_in.cpp69 if (status != OK || !rawEfGroup) { in ReadThread()
192 status.retval = Result::OK; in doRead()
307 return Result::OK; in standby()
323 _hidl_cb((keys.size() > 0) ? FAILURE(Result::NOT_SUPPORTED) : Result::OK, {}); in getParameters()
331 return Result::OK; in setParameters()
364 return Result::OK; in closeImpl()
368 return Result::OK; in closeImpl()
409 _hidl_cb(Result::OK, in prepareForReading()
433 _hidl_cb(Result::OK, {util::getMicrophoneInfo()}); in getActiveMicrophones()
Ddevice_factory.cpp54 _hidl_cb(Result::OK, new PrimaryDevice); in openDevice()
63 _hidl_cb(Result::OK, new PrimaryDevice); in openPrimaryDevice()
/device/google/coral/vibrator/
DVibrator.cpp120 return Status::OK; in on()
143 return Status::OK; in off()
172 return Status::OK; in setEffectAmplitude()
184 return Status::OK; in setGlobalAmplitude()
202 return Status::OK; in setExternalControl()
319 return Status::OK; in getSimpleDetails()
336 if (status != Status::OK) { in getCompoundDetails()
350 if (status != Status::OK) { in getCompoundDetails()
364 return Status::OK; in getCompoundDetails()
374 return Status::OK; in setEffectQueue()
[all …]
/device/google/crosshatch/small_hals/
Dservice.cpp23 using android::OK;
32 LOG_ALWAYS_FATAL_IF(OK != registerPassthroughServiceImplementation<IMemtrack>()); in main()
33 LOG_ALWAYS_FATAL_IF(OK != registerPassthroughServiceImplementation<IVibrator>()); in main()
/device/generic/goldfish/camera/fake-pipeline2/
DJpegCompressor.cpp52 return OK; in reserve()
78 if (res != OK) { in start()
112 return OK; in cancel()
116 return OK; in readyToRun()
125 mListener->onJpegDone(mJpegBuffer, res == OK); in threadLoop()
198 return OK; in compress()
221 if (res != OK) return false; in waitForDone()
/device/google/wahoo/usb/
Dservice.cpp35 using android::OK;
45 if (status != OK) { in main()
52 if (status != OK) { in main()
/device/google/crosshatch/usb/
Dservice.cpp35 using android::OK;
45 if (status != OK) { in main()
52 if (status != OK) { in main()
/device/google/coral/usb/
Dservice.cpp35 using android::OK;
45 if (status != OK) { in main()
52 if (status != OK) { in main()
/device/google/bonito/usb/
Dservice.cpp35 using android::OK;
45 if (status != OK) { in main()
52 if (status != OK) { in main()
/device/google/cuttlefish/guest/hals/camera/fake-pipeline2/
DJpegCompressor.cpp44 return OK; in reserve()
68 if (res != OK) { in start()
102 return OK; in cancel()
105 status_t JpegCompressor::readyToRun() { return OK; } in readyToRun()
113 mListener->onJpegDone(mJpegBuffer, res == OK); in threadLoop()
201 return OK; in compress()
224 if (res != OK) return false; in waitForDone()
/device/google/contexthub/lefty/
DLefty.cpp33 if (mHubConnection->initCheck() == ::android::OK in setLeftyMode()
34 && mHubConnection->getAliveCheck() == ::android::OK) { in setLeftyMode()
/device/google/cuttlefish/guest/hals/health/storage/
Dservice.cpp21 using android::OK;
38 if (result != OK) { in main()
/device/generic/goldfish/sensors/
Dmultihal_sensors.cpp124 return Result::OK; in setOperationMode()
159 return Result::OK; in activate()
183 return Result::OK; in batch()
205 return Result::OK; in flush()
213 return Result::OK; in injectSensorData()
227 return Result::OK; in injectSensorData()
235 return Result::OK; in initialize()
/device/linaro/hikey/power/
Dservice.cpp26 using android::OK;
53 if (status != OK) { in main()
/device/generic/goldfish/camera/
DEmulatedQemuCamera3.cpp205 if (res != OK) { in Initialize()
212 if (res != OK) { in Initialize()
267 if (mStatus == STATUS_CLOSED) return OK; in closeCamera()
452 return OK; in configureStreams()
833 if (res != OK) { in processCaptureRequest()
938 if (res == OK) { in processCaptureRequest()
966 if (res != OK) { in processCaptureRequest()
972 if (res != OK) { in processCaptureRequest()
1000 if (res != OK) { in processCaptureRequest()
1016 if (res != OK) { in processCaptureRequest()
[all …]
DEmulatedFakeCamera2.cpp135 if (res != OK) { in Initialize()
141 if (res != OK) { in Initialize()
146 if (res != OK) return res; in Initialize()
344 if (res != OK) { in constructDefaultRequest()
351 if (res != OK) { in constructDefaultRequest()
702 return OK; in waitUntilRunning()
713 return OK; in newRequestAvailable()
1150 return OK; in waitUntilRunning()
1159 if (res != OK) { in waitForReady()
1384 if (res != OK) { in threadLoop()
[all …]
DEmulatedFakeCamera3.cpp126 if (res != OK) { in Initialize()
133 if (res != OK) { in Initialize()
187 if (mStatus == STATUS_CLOSED) return OK; in closeCamera()
397 return OK; in configureStreams()
874 if (res != OK) { in processCaptureRequest()
948 if (res == OK) { in processCaptureRequest()
974 if (res != OK) { in processCaptureRequest()
984 if (res != OK) { in processCaptureRequest()
1010 if (res != OK) { in processCaptureRequest()
1020 if (res != OK) { in processCaptureRequest()
[all …]
/device/google/cuttlefish/guest/hals/camera/
DEmulatedFakeCamera3.cpp114 if (res != OK) { in Initialize()
121 if (res != OK) { in Initialize()
175 if (mStatus == STATUS_CLOSED) return OK; in closeCamera()
361 return OK; in configureStreams()
822 if (res != OK) { in processCaptureRequest()
889 if (res == OK) { in processCaptureRequest()
892 if (res != OK) { in processCaptureRequest()
898 if (res == OK) { in processCaptureRequest()
925 if (res != OK) { in processCaptureRequest()
931 if (res != OK) { in processCaptureRequest()
[all …]
DEmulatedFakeCamera2.cpp165 if (res != OK) { in Initialize()
171 if (res != OK) { in Initialize()
176 if (res != OK) return res; in Initialize()
367 if (res != OK) { in constructDefaultRequest()
372 if (res != OK) { in constructDefaultRequest()
704 return OK; in waitUntilRunning()
715 return OK; in newRequestAvailable()
1158 return OK; in waitUntilRunning()
1167 if (res != OK) { in waitForReady()
1383 if (res != OK) { in threadLoop()
[all …]
/device/google/wahoo/vibrator/
DVibrator.cpp122 return Status::OK; in on()
136 return Status::OK; in off()
159 return Status::OK; in setAmplitude()
207 Status status = Status::OK; in performEffect()
/device/generic/goldfish-opengl/system/codecs/omx/avcdec/
DGoldfishAVCDec.cpp100 CHECK_EQ(deInitDecoder(), (status_t)OK); in ~GoldfishAVCDec()
116 return OK; in resetPlugin()
127 return OK; in resetDecoder()
134 return OK; in setFlushMode()
155 return OK; in initDecoder()
166 return OK; in deInitDecoder()
195 CHECK(err == OK); in getVUIParams()
304 if (OK != initDecoder()) { in onQueueFilled()
/device/google/bonito/powerstats/
Dservice.cpp31 using android::OK;
131 if (serviceStatus != android::OK) { in main()
144 if (status != OK) { in main()

123