Home
last modified time | relevance | path

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

12345678910>>...32

/frameworks/av/media/libmedia/
Dmediarecorder.cpp51 status_t ret = mMediaRecorder->setCamera(camera, proxy); in setCamera() local
76 status_t ret = mMediaRecorder->setPreviewSurface(surface); in setPreviewSurface() local
97 status_t ret = mMediaRecorder->init(); in init() local
128 status_t ret = init(); in setVideoSource() local
139 status_t ret = mMediaRecorder->setVideoSource(vs); in setVideoSource() local
159 status_t ret = init(); in setAudioSource() local
173 status_t ret = mMediaRecorder->setAudioSource(as); in setAudioSource() local
197 status_t ret = mMediaRecorder->setPrivacySensitive(privacySensitive); in setPrivacySensitive() local
219 status_t ret = mMediaRecorder->isPrivacySensitive(privacySensitive); in isPrivacySensitive() local
243 status_t ret = mMediaRecorder->setOutputFormat(of); in setOutputFormat() local
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/power/
DThermalManagerServiceMockingTest.java109 List<Temperature> ret = mAidlWrapper.getCurrentTemperatures(true, TemperatureType.MODEM); in verifyWrapperStatusOnCallbackError() local
138 List<Temperature> ret = mAidlWrapper.getCurrentTemperatures(false, TemperatureType.UNKNOWN); in getCurrentTemperatures_aidl() local
171 List<Temperature> ret = mAidlWrapper.getCurrentTemperatures(true, TemperatureType.MODEM); in getCurrentTemperatures_withFilter_aidl() local
187 List<Temperature> ret = mAidlWrapper.getCurrentTemperatures(true, in getCurrentTemperatures_nullResult_aidl() local
213 List<Temperature> ret = mAidlWrapper.getCurrentTemperatures(false, 0); in getCurrentTemperatures_invalidStatus_aidl() local
226 List<Temperature> ret = mAidlWrapper.getCurrentTemperatures(false, 0); in getCurrentTemperatures_illegalArgument_aidl() local
243 List<Temperature> ret = mAidlWrapper.getCurrentTemperatures(false, 0); in getCurrentTemperatures_illegalState_aidl() local
278 List<CoolingDevice> ret = mAidlWrapper.getCurrentCoolingDevices(false, in getCurrentCoolingDevices_aidl() local
292 List<CoolingDevice> ret = mAidlWrapper.getCurrentCoolingDevices(true, in getCurrentCoolingDevices_nullResult_aidl() local
322 List<CoolingDevice> ret = mAidlWrapper.getCurrentCoolingDevices(true, CoolingType.SPEAKER); in getCurrentCoolingDevices_withFilter_aidl() local
[all …]
/frameworks/native/vulkan/vkprofiles/generated/
Dvulkan_profiles.cpp369 bool ret = true; in __anon952d11f00202() local
451 bool ret = true; in __anon952d11f00402() local
485 bool ret = true; in __anon952d11f00602() local
510 bool ret = true; in __anon952d11f00802() local
574 bool ret = true; in __anon952d11f00e02() local
590 bool ret = true; in __anon952d11f01002() local
641 bool ret = true; in __anon952d11f01602() local
657 bool ret = true; in __anon952d11f01802() local
712 bool ret = true; in __anon952d11f01e02() local
728 bool ret = true; in __anon952d11f02002() local
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/storage/
DBubbleVolatileRepositoryTest.kt164 val ret = repository.removeBubblesForUser(user0.identifier, -1) in testRemoveBubblesForUser() constant
179 val ret = repository.removeBubblesForUser(user10_managed.identifier, user0.identifier) in testRemoveBubblesForUser_parentUserRemoved() constant
194 val ret = repository.removeBubblesForUser(user11.identifier, -1) in testRemoveBubblesForUser_withoutBubbles() constant
212 val ret = repository.sanitizeBubbles(listOf(user0.identifier, in testSanitizeBubbles_noChanges() constant
230 val ret = repository.sanitizeBubbles(listOf(user11.identifier)) in testSanitizeBubbles_userRemoved() constant
252 val ret = repository.sanitizeBubbles(listOf(user0.identifier, user11.identifier)) in testSanitizeBubbles_userParentRemoved() constant
/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/services/camera/libcameraservice/aidl/
DAidlCameraDeviceUser.cpp103 UStatus ret = mDeviceRemote->prepare(in_streamId); in prepare() local
119 UStatus ret = mDeviceRemote->submitRequestList(requests, in submitRequestList() local
132 UStatus ret = mDeviceRemote->cancelRequest(mRequestId, _aidl_return); in cancelRepeatingRequest() local
137 UStatus ret = mDeviceRemote->beginConfigure(); in beginConfigure() local
150 UStatus ret = mDeviceRemote->endConfigure(convertFromAidl(in_operatingMode), in endConfigure() local
160 UStatus ret = mDeviceRemote->createStream(outputConfig, &newStreamId); in createStream() local
171 UStatus ret = mDeviceRemote->createDefaultRequest(convertFromAidl(in_templateId), in createDefaultRequest() local
191 UStatus ret = mDeviceRemote->waitUntilIdle(); in waitUntilIdle() local
196 UStatus ret = mDeviceRemote->flush(_aidl_return); in flush() local
203 UStatus ret = mDeviceRemote->updateOutputConfiguration(in_streamId, outputConfig); in updateOutputConfiguration() local
[all …]
DAidlCameraDeviceCallbacks.cpp77 auto ret = mBase->onDeviceError(convertToAidl(errorCode), cre); in onDeviceError() local
83 auto ret = mBase->onDeviceIdle(); in onDeviceIdle() local
92 auto ret = mBase->onCaptureStarted(hCaptureResultExtras, timestamp); in onCaptureStarted() local
160 auto ret = converter->mBase->onResultReceived(captureMetadataInfo, in processResultMessage() local
182 auto ret = mBase->onPrepared(streamId); in onPrepared() local
190 auto ret = in onRepeatingRequestError() local
/frameworks/av/media/codec2/components/dav1d/
DC2SoftDav1dDump.cpp88 int ret = fwrite(ptr, 1, size, mInDataFile); in dumpInput() local
97 int ret = fwrite(&size, 1, 4, mInSizeFile); in dumpInput() local
114 int ret = in dumpOutput() local
123 int ret = fwrite((uint8_t*)srcU + i * srcUStride * typeSize, 1, width * typeSize / 2, in dumpOutput() local
132 int ret = fwrite((uint8_t*)srcV + i * srcVStride * typeSize, 1, width * typeSize / 2, in dumpOutput() local
150 int ret = fwrite(ptr, 1, iSize, mDav1dOutYuvFile); in writeDav1dOutYuvFile() local
170 int ret = fwrite(ptr, 1, cw << hbd, mDav1dOutYuvFile); in writeDav1dOutYuvFile() local
/frameworks/native/libs/binder/tests/parcel_fuzzer/
Drandom_fd.cpp35 std::vector<unique_fd> ret; in getRandomFds() local
43 std::vector<unique_fd> ret; in getRandomFds() local
62 std::vector<unique_fd> ret; in getRandomFds() local
87 std::vector<unique_fd> ret; in getRandomFds() local
/frameworks/av/services/camera/libcameraservice/hidl/
DHidlCameraDeviceUser.cpp192 binder::Status ret = mDeviceRemote->cancelRequest(mRequestId, &lastFrameNumber); in cancelRepeatingRequest() local
198 binder::Status ret = mDeviceRemote->beginConfigure(); in beginConfigure() local
216 binder::Status ret = mDeviceRemote->endConfigure(convertFromHidl(operatingMode), in endConfigure_2_1() local
223 binder::Status ret = mDeviceRemote->deleteStream(streamId); in deleteStream() local
232 binder::Status ret = mDeviceRemote->createStream(outputConfiguration, &newStreamId); in createStream() local
241 binder::Status ret = mDeviceRemote->createDefaultRequest(convertFromHidl(templateId), in createDefaultRequest() local
261 binder::Status ret = mDeviceRemote->waitUntilIdle(); in waitUntilIdle() local
267 binder::Status ret = mDeviceRemote->flush(&lastFrameNumber); in flush() local
276 binder::Status ret = mDeviceRemote->updateOutputConfiguration(streamId, outputConfiguration); in updateOutputConfiguration() local
285 binder::Status ret = mDeviceRemote->isSessionConfigurationSupported( in isSessionConfigurationSupported() 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/av/media/libaudiohal/impl/
DConversionHelperHidl.h37 status_t processReturn(const char* funcName, in processReturn()
48 status_t processReturn(const char* funcName, const ::android::hardware::Return<T>& ret) { in processReturn()
55 status_t processReturn(const char* funcName, in processReturn()
64 status_t processReturn( in processReturn()
DEffectHalHidl.cpp124 Return<void> ret = mEffect->prepareForProcessing( in prepareForProcessing() local
190 Return<Result> ret = mEffect->setProcessBuffers( in setProcessBuffers() local
221 Return<void> ret = mEffect->command(cmdCode, hidlData, *replySize, in command() local
239 Return<void> ret = mEffect->getDescriptor( in getDescriptor() local
253 Return<Result> ret = mEffect->close(); in close() local
263 Return<void> ret = mEffect->debug(hidlHandle, {} /* options */); in dump() local
286 Return<void> ret; in getConfigImpl() local
325 Return<Result> ret = cmdCode == EFFECT_CMD_SET_CONFIG ? in setConfigImpl() local
340 const auto ret = mEffect->getDebugInfo([&] (const auto &info) { in getHalPid() local
/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/av/camera/ndk/impl/
DACameraCaptureSession.cpp70 camera_status_t ret = dev->stopRepeatingLocked(); in closeByApp() local
96 camera_status_t ret; in stopRepeating() local
118 camera_status_t ret; in abortCaptures() local
139 camera_status_t ret; in updateOutputConfiguration() local
160 camera_status_t ret; in prepare() 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/native/libs/binder/ndk/
Dpersistable_bundle.cpp169 bool ret = pBundle->mPBundle.getString(android::String16(key), &outVal); in APersistableBundle_getString() local
183 bool ret = pBundle->mPBundle.getBooleanVector(android::String16(key), &newVec); in APersistableBundle_getBooleanVector() local
190 bool ret = pBundle->mPBundle.getIntVector(android::String16(key), &newVec); in APersistableBundle_getIntVector() local
197 bool ret = pBundle->mPBundle.getLongVector(android::String16(key), &newVec); in APersistableBundle_getLongVector() local
204 bool ret = pBundle->mPBundle.getDoubleVector(android::String16(key), &newVec); in APersistableBundle_getDoubleVector() local
213 bool ret = pBundle->mPBundle.getStringVector(android::String16(key), &newVec); in APersistableBundle_getStringVector() local
221 bool ret = pBundle->mPBundle.getPersistableBundle(android::String16(key), &bundle->mPBundle); in APersistableBundle_getPersistableBundle() local
232 std::set<android::String16> ret = pBundle->mPBundle.getBooleanKeys(); in APersistableBundle_getBooleanKeys() local
240 std::set<android::String16> ret = pBundle->mPBundle.getIntKeys(); in APersistableBundle_getIntKeys() local
248 std::set<android::String16> ret = pBundle->mPBundle.getLongKeys(); in APersistableBundle_getLongKeys() 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/native/libs/input/tests/
DInputDevice_test.cpp47 base::Result<std::shared_ptr<KeyLayoutMap>> ret = KeyLayoutMap::load(path); in loadKeyLayout() local
61 base::Result<std::shared_ptr<KeyCharacterMap>> ret = in loadKeyCharacterMap() local
159 base::Result<std::shared_ptr<KeyLayoutMap>> ret = KeyLayoutMap::load(klPath); in TEST_F() local
166 base::Result<std::shared_ptr<KeyLayoutMap>> ret = KeyLayoutMap::load(klPath); in TEST_F() local
172 base::Result<std::shared_ptr<KeyLayoutMap>> ret = KeyLayoutMap::load(klPath); in TEST() local
210 base::Result<std::shared_ptr<KeyLayoutMap>> ret = KeyLayoutMap::load(klPath); in TEST() local
221 base::Result<std::shared_ptr<KeyLayoutMap>> ret = KeyLayoutMap::load(klPath); in TEST() local
/frameworks/base/native/android/
Dthermal.cpp148 auto ret = mThermalSvc->registerThermalStatusListener(mServiceListener, &success); in addListener() local
181 auto ret = mThermalSvc->unregisterThermalStatusListener(mServiceListener, &success); in removeListener() local
194 binder::Status ret = mThermalSvc->getCurrentThermalStatus(status); in getCurrentThermalStatus() local
206 binder::Status ret = mThermalSvc->getThermalHeadroom(forecastSeconds, result); in getThermalHeadroom() local
222 binder::Status ret = mThermalSvc->getThermalHeadroomThresholds(thresholds.get()); in getThermalHeadroomThresholds() local
276 status_t ret = manager->getCurrentThermalStatus(&status); in AThermal_getCurrentThermalStatus() local
338 status_t ret = manager->getThermalHeadroom(forecastSeconds, &result); in AThermal_getThermalHeadroom() local
/frameworks/base/services/core/jni/
Dcom_android_server_am_BatteryStatsService.cpp117 int ret = sem_post(&wakeup_sem); in notifyWakeup() local
138 int ret = sem_init(&wakeup_sem, 0, 0); in nativeWaitWakeup() local
156 int ret = sem_wait(&wakeup_sem); in nativeWaitWakeup() local
191 static bool checkPowerStatsHalResultLocked(const Return<void>& ret, const char* function) in checkPowerStatsHalResultLocked()
211 Return<void> ret; in initializePowerStatsLocked() local
278 Return<void> ret = gPowerStatsHalV1_0->getEnergyData({}, in getPowerStatsHalRailEnergyDataLocked() local
/frameworks/hardware/interfaces/stats/aidl/vts/functional/
DVtsHalStatsTargetTest.cpp84 const ndk::ScopedAStatus ret = client->reportVendorAtom(atom); in TEST_P() local
105 const ndk::ScopedAStatus ret = client->reportVendorAtom(atom); in TEST_P() local
126 const ndk::ScopedAStatus ret = client->reportVendorAtom(atom); in TEST_P() local
149 const ndk::ScopedAStatus ret = client->reportVendorAtom(atom); in TEST_P() local
/frameworks/opt/net/wifi/libwifi_hal/
Dwifi_hal_common.cpp61 int ret; in insmod() local
81 int ret = -1; in rmmod() local
101 int ret = 0; in wifi_change_driver_state() local
257 int ret = 0; in wifi_change_fw_path() local

12345678910>>...32