Home
last modified time | relevance | path

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

12345678910>>...25

/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/hardware/interfaces/stats/1.0/vts/functional/
DVtsHalStatsV1_0TargetTest.cpp55 Return<void> ret; in TEST_P() local
65 Return<void> ret; in TEST_P() local
77 Return<void> ret; in TEST_P() local
91 Return<void> ret; in TEST_P() local
101 Return<void> ret; in TEST_P() local
111 Return<void> ret; in TEST_P() local
124 Return<void> ret; in TEST_P() local
145 Return<void> ret; in TEST_P() 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.cpp130 Return<void> ret = mDevice->getMasterVolume( in getMasterVolume() local
154 Return<void> ret = mDevice->getMicMute( in getMicMute() local
172 Return<void> ret = mDevice->getMasterMute( in getMasterMute() local
199 Return<void> ret = utils::getParameters(mDevice, in getParameters() local
217 Return<void> ret = mDevice->getInputBufferSize( in getInputBufferSize() local
242 Return<void> ret = mDevice->openOutputStream( in openOutputStream() local
295 Return<void> ret = mDevice->openInputStream( in openInputStream() local
327 Return<void> ret = mDevice->createAudioPatch( in createAudioPatch() local
348 Return<void> ret = mDevice->getAudioPort( in getAudioPort() local
376 Return<void> ret = mDevice->getMicrophones( in getMicrophones() local
[all …]
/frameworks/ml/nn/driver/sample/
DSampleDriverUtils.cpp30 const auto ret = callback->notify(convertToV1_0(status), preparedModel); in notify() local
38 const auto ret = callback->notify_1_2(convertToV1_0(status), preparedModel); in notify() local
47 const auto ret = callback->notify_1_3(status, preparedModel); in notify() local
56 const auto ret = callback->notify(convertToV1_0(status)); in notify() local
64 const auto ret = callback->notify_1_2(convertToV1_0(status), outputShapes, timing); in notify() local
72 const auto ret = callback->notify_1_3(status, outputShapes, timing); in notify() local
/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
/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/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
265 int ret; in doEffectCreate() local
356 int ret = init(); in EffectRelease() local
424 int ret = init(); in EffectGetSubEffects() 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/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/av/camera/ndk/impl/
DACameraCaptureSession.cpp62 camera_status_t ret = dev->stopRepeatingLocked(); in closeByApp() local
84 camera_status_t ret; in stopRepeating() local
102 camera_status_t ret; in abortCaptures() local
119 camera_status_t ret; in updateOutputConfiguration() local
/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/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/ml/nn/runtime/test/
DTestVersionedInterfaces.cpp595 const auto ret = []() -> Return<bool> { return false; }; in TEST_F() local
609 const auto ret = makeCallbackReturn(V1_0::ErrorStatus::GENERAL_FAILURE, V1_0::Capabilities{}); in TEST_F() local
621 const auto ret = makeCallbackReturn(V1_0::ErrorStatus::GENERAL_FAILURE, V1_1::Capabilities{}); in TEST_F() local
633 const auto ret = makeCallbackReturn(V1_0::ErrorStatus::GENERAL_FAILURE, V1_2::Capabilities{}); in TEST_F() local
645 const auto ret = makeCallbackReturn(V1_3::ErrorStatus::GENERAL_FAILURE, V1_3::Capabilities{}); in TEST_F() local
657 const auto ret = makeCallbackReturn(V1_0::ErrorStatus::GENERAL_FAILURE, ""); in TEST_F() local
669 const auto ret = makeCallbackReturn(V1_0::ErrorStatus::GENERAL_FAILURE, DeviceType::OTHER); in TEST_F() local
681 const auto ret = makeCallbackReturn(V1_0::ErrorStatus::GENERAL_FAILURE, hidl_vec<Extension>{}); in TEST_F() local
693 const auto ret = makeCallbackReturn(V1_0::ErrorStatus::GENERAL_FAILURE, kMaxNumberOfCacheFiles, in TEST_F() local
706 const auto ret = makeCallbackReturn(V1_0::ErrorStatus::NONE, kMaxNumberOfCacheFiles + 1, in TEST_F() local
[all …]
/frameworks/native/libs/binder/tests/
DbinderLibTest.cpp85 int ret; in start_server_process() local
161 status_t ret; in TearDown() local
197 int ret; in addServerEtc() local
226 int ret; in waitForReadData() local
292 int ret; in waitEvent() local
354 int ret; in onTransact() local
393 status_t ret; in TEST_F() local
402 status_t ret; in TEST_F() local
411 status_t ret; in TEST_F() local
422 status_t ret; in TEST_F() local
[all …]
/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/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/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/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/ml/nn/runtime/
DVersionedInterfaces.cpp167 const Return<bool> ret = preparedModel->linkToDeath(deathHandler, 0); in makeVersionedIPreparedModel() local
227 Return<ErrorStatus> ret = mPreparedModelV1_3->execute_1_3(request, measure, otp, in executeAsynchronously() local
253 Return<V1_0::ErrorStatus> ret = in executeAsynchronously() local
280 Return<V1_0::ErrorStatus> ret = mPreparedModelV1_0->execute(request10, callback); in executeAsynchronously() local
314 Return<void> ret = mPreparedModelV1_3->executeSynchronously_1_3( in executeSynchronously() local
341 Return<void> ret = mPreparedModelV1_2->executeSynchronously( in executeSynchronously() local
405 const Return<void> ret = device->getCapabilities_1_3( in getCapabilitiesFunction() local
429 Return<void> ret = mPreparedModelV1_3->executeFenced( in executeFenced() local
483 const Return<void> ret = device->getCapabilities_1_2( in getCapabilitiesFunction() local
499 const Return<void> ret = device->getCapabilities_1_1( in getCapabilitiesFunction() local
[all …]

12345678910>>...25