Home
last modified time | relevance | path

Searched defs:ret (Results 1 – 25 of 631) sorted by relevance

12345678910>>...26

/frameworks/av/media/libmedia/
Dmediarecorder.cpp49 status_t ret = mMediaRecorder->setCamera(camera, proxy); in setCamera() local
74 status_t ret = mMediaRecorder->setPreviewSurface(surface); in setPreviewSurface() local
95 status_t ret = mMediaRecorder->init(); in init() local
126 status_t ret = init(); in setVideoSource() local
137 status_t ret = mMediaRecorder->setVideoSource(vs); in setVideoSource() local
157 status_t ret = init(); in setAudioSource() local
171 status_t ret = mMediaRecorder->setAudioSource(as); in setAudioSource() local
200 status_t ret = mMediaRecorder->setOutputFormat(of); in setOutputFormat() local
230 status_t ret = mMediaRecorder->setVideoEncoder(ve); in setVideoEncoder() local
261 status_t ret = mMediaRecorder->setAudioEncoder(ae); in setAudioEncoder() local
[all …]
DIResourceManagerClient.cpp43 bool ret = false; in reclaimResource() local
55 String8 ret; in getName() local
75 bool ret = reclaimResource(); in onTransact() local
81 String8 ret = getName(); in onTransact() local
/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/tests/functional/
DRadioTunerTest.java188 int ret = mRadioTuner.cancel(); in testUseAfterClose() local
197 int ret = mRadioTuner.setConfiguration(mAmBandConfig); in testSetAndGetConfiguration() local
214 int ret = mRadioTuner.setConfiguration(null); in testSetBadConfiguration() local
231 int ret = mRadioTuner.setMute(true); in testMute() local
246 int ret = mRadioTuner.setMute(false); in testMuteNoAudio() local
257 int ret = mRadioTuner.step(RadioTuner.DIRECTION_DOWN, true); in testStep() local
275 int ret = mRadioTuner.step(RadioTuner.DIRECTION_DOWN, true); in testStepLoop() local
290 int ret = mRadioTuner.tune(channel, 0); in testTuneAndGetPI() local
311 int ret = mRadioTuner.cancel(); in testDummyCancel() local
319 int ret = mRadioTuner.step(RadioTuner.DIRECTION_DOWN, false); in testLateCancel() local
/frameworks/av/media/libaudiohal/impl/
DConversionHelperHidl.h44 status_t processReturn(const char* funcName, const Return<R>& ret, T *retval) { in processReturn()
54 status_t processReturn(const char* funcName, const Return<T>& ret) { in processReturn()
61 status_t processReturn(const char* funcName, const Return<CoreResult>& ret) { in processReturn()
70 const char* funcName, const Return<T>& ret, CoreResult retval) { in processReturn()
DEffectHalHidl.cpp159 Return<void> ret = mEffect->prepareForProcessing( in prepareForProcessing() local
223 Return<Result> ret = mEffect->setProcessBuffers( in setProcessBuffers() local
252 Return<void> ret = mEffect->command(cmdCode, hidlData, *replySize, in command() local
268 Return<void> ret = mEffect->getDescriptor( in getDescriptor() local
280 Return<Result> ret = mEffect->close(); in close() local
288 Return<void> ret = mEffect->debug(hidlHandle, {} /* options */); in dump() local
299 Return<void> ret; in getConfigImpl() local
336 Return<Result> ret = cmdCode == EFFECT_CMD_SET_CONFIG ? in setConfigImpl() local
DDeviceHalHidl.cpp132 Return<void> ret = mDevice->getMasterVolume( in getMasterVolume() local
156 Return<void> ret = mDevice->getMicMute( in getMicMute() local
174 Return<void> ret = mDevice->getMasterMute( in getMasterMute() local
201 Return<void> ret = utils::getParameters(mDevice, in getParameters() local
219 Return<void> ret = mDevice->getInputBufferSize( in getInputBufferSize() local
244 Return<void> ret = mDevice->openOutputStream( in openOutputStream() local
297 Return<void> ret = mDevice->openInputStream( in openInputStream() local
329 Return<void> ret = mDevice->createAudioPatch( in createAudioPatch() local
350 Return<void> ret = mDevice->getAudioPort( in getAudioPort() local
378 Return<void> ret = mDevice->getMicrophones( in getMicrophones() local
[all …]
/frameworks/hardware/interfaces/stats/1.0/vts/functional/
DVtsHalStatsV1_0TargetTest.cpp68 Return<void> ret; in TEST_F() local
78 Return<void> ret; in TEST_F() local
90 Return<void> ret; in TEST_F() local
104 Return<void> ret; in TEST_F() local
114 Return<void> ret; in TEST_F() local
124 Return<void> ret; in TEST_F() local
137 Return<void> ret; in TEST_F() local
158 Return<void> ret; in TEST_F() local
/frameworks/av/media/libeffects/factory/
DEffectsFactory.c67 int ret = init(); in Effect_Process() local
92 int ret = init(); in Effect_Command() local
113 int ret = init(); in Effect_GetDescriptor() local
133 int ret = init(); in Effect_ProcessReverse() local
176 int ret = init(); in EffectQueryNumberEffects() local
194 int ret = init(); in EffectQueryEffect() local
241 int ret = init(); in EffectGetDescriptor() local
264 int ret; in EffectCreate() local
333 int ret = init(); in EffectRelease() local
401 int ret = init(); in EffectGetSubEffects() local
[all …]
/frameworks/av/services/camera/libcameraservice/hidl/
DHidlCameraDeviceUser.cpp187 binder::Status ret = mDeviceRemote->cancelRequest(mRequestId, &lastFrameNumber); in cancelRepeatingRequest() local
193 binder::Status ret = mDeviceRemote->beginConfigure(); in beginConfigure() local
204 binder::Status ret = mDeviceRemote->endConfigure(convertFromHidl(operatingMode), in endConfigure() local
210 binder::Status ret = mDeviceRemote->deleteStream(streamId); in deleteStream() local
219 binder::Status ret = mDeviceRemote->createStream(outputConfiguration, &newStreamId); in createStream() local
228 binder::Status ret = mDeviceRemote->createDefaultRequest(convertFromHidl(templateId), in createDefaultRequest() local
240 binder::Status ret = mDeviceRemote->waitUntilIdle(); in waitUntilIdle() local
246 binder::Status ret = mDeviceRemote->flush(&lastFrameNumber); in flush() local
255 binder::Status ret = mDeviceRemote->updateOutputConfiguration(streamId, outputConfiguration); in updateOutputConfiguration() local
264 binder::Status ret = mDeviceRemote->isSessionConfigurationSupported( in isSessionConfigurationSupported() local
DAidlCameraDeviceCallbacks.cpp66 auto ret = mBase->onDeviceError(convertToHidl(errorCode), hCaptureResultExtras); in onDeviceError() local
75 auto ret = mBase->onDeviceIdle(); in onDeviceIdle() local
87 auto ret = mBase->onCaptureStarted(hCaptureResultExtras, timestamp); in onCaptureStarted() local
154 auto ret = converter->mBase->onResultReceived(hResult, hResultExtras, in processResultMessage() local
186 auto ret = in onRepeatingRequestError() local
/frameworks/native/libs/vr/libdvr/tests/
Ddvr_buffer_queue-test.cpp71 int ret = api_.WriteBufferQueueCreate( in TEST_F() local
81 int ret = api_.WriteBufferQueueCreate( in TEST_F() local
93 int ret = api_.WriteBufferQueueCreate( in TEST_F() local
108 int ret = api_.WriteBufferQueueCreate( in TEST_F() local
130 int ret = api_.WriteBufferQueueCreate( in TEST_F() local
149 int ret = api_.WriteBufferQueueCreate( in TEST_F() local
222 int ret = api_.WriteBufferQueueCreate( in TEST_F() local
245 int ret = api_.WriteBufferQueueCreate( in TEST_F() local
363 int ret = api_.WriteBufferQueueCreate( in TEST_F() local
382 int ret = api_.WriteBufferQueueCreate( in TEST_F() local
[all …]
Ddvr_tracking-test.cpp25 int ret; in TEST_F() local
36 int ret = api_.TrackingCameraCreate(&camera); in TEST_F() local
45 int ret; in TEST_F() local
57 int ret = api_.TrackingFeatureExtractorCreate(&camera); in TEST_F() local
/frameworks/ml/nn/runtime/
DVersionedInterfaces.cpp113 const Return<bool> ret = preparedModel->linkToDeath(deathHandler, 0); in makeVersionedIPreparedModel() local
144 Return<ErrorStatus> ret = mPreparedModelV1_2->execute_1_2(request, measure, callback); in execute() local
158 Return<ErrorStatus> ret = mPreparedModelV1_0->execute(request, callback); in execute() local
185 Return<void> ret = mPreparedModelV1_2->executeSynchronously( in executeSynchronously() local
199 ErrorStatus ret = execute(request, measure, callback); in executeSynchronously() local
260 const Return<bool> ret = device->linkToDeath(deathHandler, 0); in create() local
320 Return<ErrorStatus> ret = fn(device); in callProtected() local
367 Return<T_Return> ret = callProtected(context, fn, device, callback, deathHandler); in recoverable() local
414 Return<void> ret = recoverable<void, V1_2::IDevice>( in getCapabilities() local
427 Return<void> ret = recoverable<void, V1_1::IDevice>( in getCapabilities() local
[all …]
/frameworks/native/libs/binder/tests/
DbinderLibTest.cpp80 int ret; in start_server_process() local
155 status_t ret; in TearDown() local
191 int ret; in addServerEtc() local
220 int ret; in waitForReadData() local
286 int ret; in waitEvent() local
348 int ret; in onTransact() local
387 status_t ret; in TEST_F() local
396 status_t ret; in TEST_F() local
405 status_t ret; in TEST_F() local
416 status_t ret; in TEST_F() local
[all …]
/frameworks/av/media/mtp/
DMtpDevice.cpp195 int ret = usb_device_claim_interface(device, interface->bInterfaceNumber); in open() local
339 MtpResponseCode ret = readResponse(); in openSession() local
363 MtpResponseCode ret = readResponse(); in getDeviceInfo() local
382 MtpResponseCode ret = readResponse(); in getStorageIDs() local
398 MtpResponseCode ret = readResponse(); in getStorageInfo() local
421 MtpResponseCode ret = readResponse(); in getObjectHandles() local
439 MtpResponseCode ret = readResponse(); in getObjectInfo() local
456 MtpResponseCode ret = readResponse(); in getThumbnail() local
506 MtpResponseCode ret = readResponse(); in sendObjectInfo() local
533 const MtpResponseCode ret = readResponse(); in sendObject() local
[all …]
/frameworks/base/cmds/interrupter/
Dinterrupter.h29 #define CALL_FUNCTION_1(sym, ret, type1) \ argument
36 #define CALL_FUNCTION_2(sym, ret, type1, type2) \ argument
43 #define CALL_FUNCTION_3(sym, ret, type1, type2, type3) \ argument
50 #define CALL_FUNCTION_4(sym, ret, type1, type2, type3, type4) \ argument
57 #define CALL_FUNCTION_5(sym, ret, type1, type2, type3, type4, type5) \ argument
64 #define DEFINE_INTERCEPT_N(N, sym, ret, ...) \ argument
79 #define DEFINE_INTERCEPT(sym, ret, ...) DEFINE_INTERCEPT_N(INTERCEPT_NARG(__VA_ARGS__), sym, ret, _… argument
/frameworks/native/libs/vr/libbufferhub/
Dbuffer_hub_base.cpp68 if (const int ret = buffer_desc.ImportBuffer(&ion_buffer)) in ImportBuffer() local
73 if (const int ret = buffer_desc.ImportMetadata(&metadata_buffer)) { in ImportBuffer() local
91 if (const int ret = in ImportBuffer() local
162 const int ret = epoll_ctl(shared_fence.Get(), EPOLL_CTL_DEL, in UpdateSharedFence() local
209 int ret = Lock(usage(), 0, 0, width, height, addr); in GetBlobReadWritePointer() local
/frameworks/av/camera/ndk/impl/
DACameraCaptureSession.cpp60 camera_status_t ret = dev->stopRepeatingLocked(); in closeByApp() local
82 camera_status_t ret; in stopRepeating() local
100 camera_status_t ret; in abortCaptures() local
117 camera_status_t ret; in updateOutputConfiguration() local
/frameworks/rs/
DrsFifoSocket.cpp39 int ret = socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0, sv); in init() local
57 size_t ret = ::send(sv[0], data, bytes, 0); in writeAsync() local
71 size_t ret = ::recv(sv[0], retData, retBytes, MSG_WAITALL); in writeWaitReturn() local
82 size_t ret = ::recv(sv[1], data, bytes, MSG_WAITALL); in read() local
/frameworks/native/libs/gui/tests/
DBufferItemConsumer_test.cpp79 status_t ret = mProducer->dequeueBuffer(&slot, &outFence, kWidth, kHeight, 0, 0, in DequeueBuffer() local
97 status_t ret = mProducer->queueBuffer(slot, bufferInput, &bufferOutput); in QueueBuffer() local
104 status_t ret = mBIC->acquireBuffer(&buffer, 0, false); in AcquireBuffer() local
116 status_t ret = mBIC->releaseBuffer(buffer, Fence::NO_FENCE); in ReleaseBuffer() local
141 status_t ret = mBIC->detachBuffer(slot); in TEST_F() local
164 status_t ret = mProducer->detachBuffer(slot); in TEST_F() local
/frameworks/av/media/libeffects/factory/test/
DDumpConfig.cpp43 ssize_t ret = EffectLoadXmlEffectConfig(path); in main() local
55 auto ret = EffectLoadEffectConfig(); in main() local
/frameworks/native/libs/vr/libvrflinger/
Dacquired_buffer.cpp18 const int ret = buffer->Acquire(&fence); in AcquiredBuffer() local
58 const int ret = sync_wait(acquire_fence_.Get(), 0); in IsAvailable() local
86 const int ret = buffer_->ReleaseAsync(); in Release() local
/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2TestVirtualDisplay.cpp47 int ret = mOutputBuffer.getOutputBuffer(outHandle, &acquireFence); in getOutputBuffer() local
71 int ret = mExpectedBuffer.generateExpectedBuffer(testLayers, allLayers, in verifyOutputBuffer() local
86 int ret = mkdir(DIR_NAME, DEFFILEMODE); in writeBuffersToFile() local
/frameworks/opt/net/wifi/libwifi_hal/
Dwifi_hal_common.cpp56 int ret; in insmod() local
76 int ret = -1; in rmmod() local
96 int ret = 0; in wifi_change_driver_state() local
238 int ret = 0; in wifi_change_fw_path() local
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/
Daccessorychat.c36 int ret = 0; in read_thread() local
56 int ret = 0; in write_thread() local
78 int ret = usb_device_control_transfer(device, USB_DIR_OUT | USB_TYPE_VENDOR, in send_string() local
89 int ret; in usb_device_added() local

12345678910>>...26