Home
last modified time | relevance | path

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

12345

/device/google/trout/hal/sensors/2.1/
DSensor.cpp147 return Result::OK; in flush()
151 Result result = Result::OK; in flush()
153 if (result == Result::OK) sendAdditionalInfoReport(); in flush()
238 Result result = Result::OK; in injectEvent()
264 return OK; in checkAxis()
284 status_t ret = OK; in checkOrientation()
286 if (!sensorOrientationList) return OK; in checkOrientation()
287 if (sensorOrientationList->empty()) return OK; in checkOrientation()
295 if (ret != OK) return ret; in checkOrientation()
298 if (ret != OK) return ret; in checkOrientation()
[all …]
/device/google/atv/audio_proxy/service/
DStreamOutImpl.cpp115 _hidl_cb(Result::OK, mConfig); in getAudioProperties()
189 return Result::OK; in standby()
205 _hidl_cb(keys.size() > 0 ? Result::NOT_SUPPORTED : Result::OK, {}); in getParameters()
212 return Result::OK; in setParameters()
234 return Result::OK; in close()
244 return mStream->setVolume(left, right) ? Result::OK : Result::INVALID_STATE; in setVolume()
304 if (status != ::android::OK || !eventFlag) { in prepareForWriting()
319 if (status != ::android::OK) { in prepareForWriting()
337 _hidl_cb(Result::OK, *mCommandMQ->getDesc(), *mDataMQ->getDesc(), in prepareForWriting()
346 _hidl_cb(Result::OK, 0); in getRenderPosition()
[all …]
DDeviceImpl.cpp207 Return<Result> DeviceImpl::initCheck() { return Result::OK; } in initCheck()
293 _hidl_cb(Result::OK, streamOut, config); in openOutputStreamImpl()
348 _hidl_cb(Result::OK, streamOut, config); in openOutputStream()
385 _hidl_cb(Result::OK, handle); in createAudioPatch()
391 return removed > 0 ? Result::OK : Result::INVALID_ARGUMENTS; in releaseAudioPatch()
452 return mServiceConfig.streams.count(busAddress) > 0 ? Result::OK in setConnectedState()
466 _hidl_cb(Result::OK, newPatch); in updateAudioPatch()
472 ? Result::OK in close()
498 return Result::OK; in setConnectedState_7_1()
/device/generic/goldfish/audio/
Dprimary_device.cpp45 return Result::OK; in initCheck()
55 return Result::OK; in setMasterVolume()
59 _hidl_cb(Result::OK, mMasterVolume); in getMasterVolume()
66 return Result::OK; in setMicMute()
70 _hidl_cb(Result::OK, mMicMute); in getMicMute()
77 return Result::OK; in setMasterMute()
81 _hidl_cb(Result::OK, mMasterMute); in getMasterMute()
95 _hidl_cb(Result::OK, sz); in getInputBufferSize()
152 _hidl_cb(Result::OK, handle); in createAudioPatch()
174 _hidl_cb(Result::OK, previousPatchHandle); in updateAudioPatch()
[all …]
Dstream_in.cpp74 if (status != OK || !rawEfGroup) { in ReadThread()
197 status.retval = Result::OK; in doRead()
281 return Result::OK; in standby()
297 _hidl_cb((keys.size() > 0) ? Result::NOT_SUPPORTED : Result::OK, {}); in getParameters()
305 return Result::OK; in setParameters()
338 return Result::OK; in closeImpl()
342 return Result::OK; in closeImpl()
383 _hidl_cb(Result::OK, in prepareForReading()
410 _hidl_cb(Result::OK, mFrames, systemTime(SYSTEM_TIME_MONOTONIC)); in getCapturePosition()
422 _hidl_cb(Result::OK, {util::getMicrophoneInfo()}); in getActiveMicrophones()
Dstream_out.cpp77 if (status != OK || !rawEfGroup) { in WriteThread()
112 return Result::OK; in getPresentationPosition()
224 status.retval = Result::OK; in doWrite()
251 status.retval = Result::OK; in doGetLatency()
331 return Result::OK; in standby()
347 _hidl_cb((keys.size() > 0) ? Result::NOT_SUPPORTED : Result::OK, {}); in getParameters()
355 return Result::OK; in setParameters()
368 return Result::OK; in closeImpl()
372 return Result::OK; in closeImpl()
418 return Result::OK; in setVolume()
[all …]
Ddevice_factory.cpp58 _hidl_cb(Result::OK, new PrimaryDevice); in openDevice()
66 _hidl_cb(Result::OK, new PrimaryDevice); in openPrimaryDevice()
76 _hidl_cb(Result::OK, getDeviceRet); in openDevice_7_1()
87 _hidl_cb(Result::OK, new PrimaryDevice); in openPrimaryDevice_7_1()
Dstream_common.cpp64 _hidl_cb(Result::OK, {profile}); in getSupportedProfiles()
77 _hidl_cb(Result::OK, m_config.base); in getAudioProperties()
81 _hidl_cb(Result::OK, {m_device}); in getDevices()
/device/google/cuttlefish/guest/hals/camera/
Dvsock_camera_provider_2_7.cpp67 return Status::OK; in setCallback()
74 _hidl_cb(Status::OK, empty); in getVendorTags()
83 _hidl_cb(Status::OK, empty); in getCameraIdList()
91 _hidl_cb(Status::OK, true); in isSetTorchModeSupported()
112 _hidl_cb(Status::OK, new VsockCameraDevice(name, settings_, connection_)); in getCameraDeviceInterface_V3_x()
124 _hidl_cb(Status::OK, hidl_camera_id_combinations); in getConcurrentStreamingCameraIds()
131 _hidl_cb(Status::OK, false); in isConcurrentStreamCombinationSupported()
138 _hidl_cb(Status::OK, false); in isConcurrentStreamCombinationSupported_2_7()
Dvsock_camera_device_session_3_4.cpp56 Status status = metadata.isValid() ? Status::OK : Status::ILLEGAL_ARGUMENT; in constructDefaultRequestSettings()
138 Status s = Status::OK; in processCaptureRequest()
141 if (s != Status::OK) { in processCaptureRequest()
157 Status s = Status::OK; in processCaptureRequest_3_4()
160 if (s != Status::OK) { in processCaptureRequest_3_4()
178 return Status::OK; in flush()
198 if (status != Status::OK) { in configureStreams()
215 return Status::OK; in configureStreams()
280 return Status::OK; in isStreamConfigurationSupported()
357 return Status::OK; in processOneCaptureRequest()
[all …]
Dvsock_camera_device_3_4.cpp47 _hidl_cb(Status::OK, resCost); in getResourceCost()
56 _hidl_cb(Status::OK, hidl_vec); in getCameraCharacteristics()
86 _hidl_cb(Status::OK, session_); in open()
/device/generic/goldfish-opengl/system/hwc3/
DGralloc.cpp36 using android::OK;
45 if (status != OK) { in GetWidth()
59 if (status != OK) { in GetHeight()
73 if (status != OK) { in GetDrmFormat()
83 if (status != OK) { in GetPlaneLayouts()
114 if (status != OK) { in Import()
124 if (status != OK) { in Release()
155 if (status != OK) { in Lock()
237 if (status != OK) { in Unlock()
/device/generic/goldfish-opengl/system/codecs/omx/avcdec/
DGoldfishAVCDec.cpp99 CHECK_EQ(deInitDecoder(), (status_t)OK); in ~GoldfishAVCDec()
115 return OK; in resetPlugin()
126 return OK; in resetDecoder()
133 return OK; in setFlushMode()
154 return OK; in initDecoder()
165 return OK; in deInitDecoder()
194 CHECK(err == OK); in getVUIParams()
303 if (OK != initDecoder()) { in onQueueFilled()
/device/google/cuttlefish/host/commands/control_env_proxy_server/
Dmain.cpp71 return Status::OK; in CallUnaryMethod()
97 return Status::OK; in ListServices()
123 return Status::OK; in ListMethods()
148 return Status::OK; in ListReqResType()
163 return Status::OK; in TypeInformation()
/device/generic/goldfish/sensors/
Dmultihal_sensors.cpp138 return Result::OK; in setOperationMode()
176 return Result::OK; in activate()
282 return Result::OK; in batch()
306 return Result::OK; in flush()
314 return Result::OK; in injectSensorData_2_1()
328 return Result::OK; in injectSensorData_2_1()
335 return Result::OK; in initialize()
/device/google/trout/hal/vehicle/2.0/
DDefaultVehicleHalServer.cpp200 return StatusCode::OK; in handleGenerateFakeDataRequest()
245 return StatusCode::OK; in onSetProperty()
254 return StatusCode::OK; in onSetProperty()
263 return StatusCode::OK; in onSetProperty()
314 return StatusCode::OK; in onSetProperty()
329 return StatusCode::OK; in onSetProperty()
/device/google/contexthub/contexthubhal/
DNanohubHidlAdapter.cpp160 return Result::OK; in sendMessageToHub()
189 retVal = Result::OK; in registerCallback()
382 return Result::OK; in unloadNanoApp()
430 return Result::OK; in loadNanoApp()
461 return Result::OK; in enableNanoApp()
492 return Result::OK; in disableNanoApp()
518 return Result::OK; in queryApps()
/device/google/gs201/fingerprint/fpc1540/fp_tool/
Dfp_test.cpp28 OK, enumerator
122 return OK; in run_auth_cmd()
148 return OK; in run_cancel_cmd()
192 if (ret != OK) in main()
/device/google/gs101/fingerprint/fpc1540/fp_tool/
Dfp_test.cpp28 OK, enumerator
122 return OK; in run_auth_cmd()
148 return OK; in run_cancel_cmd()
192 if (ret != OK) in main()
/device/generic/goldfish-opengl/system/codecs/c2/decoders/hevcdec/
DC2GoldfishHevcDec.cpp394 return err == OK ? C2_OK : C2_CORRUPTED; in onInit()
398 if (OK != resetDecoder()) in onStop()
423 if (OK != setFlushMode()) in onFlush_sm()
494 return OK; in createDecoder()
499 return OK; in setParams()
508 return OK; in initDecoder()
541 if (OK != setParams(mStride)) in setDecodeArgs()
553 return OK; in setFlushMode()
562 return OK; in resetDecoder()
952 if (err == OK) { in process()
[all …]
/device/google/cuttlefish/guest/hals/nfc/src/
Dnfc.rs116 client.send_event_callback(NfcEvent::CLOSE_CPLT, NfcStatus::OK)?; in close()
250 session.send_event_callback(NfcEvent::OPEN_CPLT, NfcStatus::OK) in open()
270 client.send_event_callback(NfcEvent::POST_INIT_CPLT, NfcStatus::OK) in coreInitialized()
303 client.send_event_callback(NfcEvent::OPEN_CPLT, NfcStatus::OK) in powerCycle()
310 client.send_event_callback(NfcEvent::PRE_DISCOVER_CPLT, NfcStatus::OK) in preDiscover()
/device/generic/car/emulator/audio/halservice/
Dservice.cpp37 using android::OK;
54 LOG_ALWAYS_FATAL_IF(status != OK, "Error while registering audio service: %d", status); in main()
56 LOG_ALWAYS_FATAL_IF(status != OK, "Error while registering audio effects service: %d", status); in main()
/device/generic/goldfish-opengl/system/codecs/c2/decoders/avcdec/
DC2GoldfishAvcDec.cpp446 return err == OK ? C2_OK : C2_CORRUPTED; in onInit()
450 if (OK != resetDecoder()) in onStop()
479 if (OK != setFlushMode()) in onFlush_sm()
549 return OK; in createDecoder()
554 return OK; in setParams()
562 return OK; in initDecoder()
595 if (OK != setParams(mStride)) in setDecodeArgs()
607 return OK; in setFlushMode()
616 return OK; in resetDecoder()
999 if (err == OK) { in process()
[all …]
/device/google/trout/tools/tracing/server/
DTracingServerImpl.cpp61 return ::grpc::Status::OK; in StartTracing()
70 return ::grpc::Status::OK; in StopTracing()
88 return ::grpc::Status::OK; in GetTracingFile()
/device/google/trout/hal/dumpstate/1.1/
DDumpstateGrpcServer.cpp47 return ::grpc::Status::OK; in toGRpcStatus()
71 return ::grpc::Status::OK; in GetAvailableServices()
79 return ::grpc::Status::OK; in GetServiceLogs()

12345