Home
last modified time | relevance | path

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

12345678910>>...58

/hardware/interfaces/audio/common/all-versions/test/utility/include/utility/
DAssertOk.h38 inline ::testing::AssertionResult assertIsOk(const char* expr, const Return<T>& ret) { in assertIsOk()
45 inline ::testing::AssertionResult continueIfIsOk(const char* expr, const Return<T>& ret, in continueIfIsOk()
63 Result expected, const Return<Result>& ret) { in assertResult()
86 const Return<Result>& ret) { in assertResult()
91 inline ::testing::AssertionResult assertOk(const char* expr, const Return<void>& ret) { in assertOk()
102 inline ::testing::AssertionResult assertOk(const char* expr, const Return<Result>& ret) { in assertOk()
107 #define ASSERT_IS_OK(ret) ASSERT_PRED_FORMAT1(detail::assertIsOk, ret) argument
108 #define EXPECT_IS_OK(ret) EXPECT_PRED_FORMAT1(detail::assertIsOk, ret) argument
111 #define ASSERT_OK(ret) ASSERT_PRED_FORMAT1(detail::assertOk, ret) argument
112 #define EXPECT_OK(ret) EXPECT_PRED_FORMAT1(detail::assertOk, ret) argument
[all …]
/hardware/qcom/sm8150/data/ipacfg-mgr/hal/src/
DIpaEventRelay.cpp50 auto ret = mFramework->onEvent(OffloadCallbackEvent::OFFLOAD_STARTED); in onOffloadStarted() local
66 auto ret = mFramework->onEvent(OffloadCallbackEvent::OFFLOAD_STOPPED_ERROR); in onOffloadStopped() local
72 auto ret = mFramework->onEvent(OffloadCallbackEvent::OFFLOAD_STOPPED_UNSUPPORTED); in onOffloadStopped() local
84 auto ret = mFramework->onEvent(OffloadCallbackEvent::OFFLOAD_SUPPORT_AVAILABLE); in onOffloadSupportAvailable() local
92 auto ret = mFramework->onEvent(OffloadCallbackEvent::OFFLOAD_STOPPED_LIMIT_REACHED); in onLimitReached() local
/hardware/qcom/display/msm8909/sdm/libs/core/fb/
Dhw_color_manager.cpp60 DisplayError ret = kErrorNone; in SetPCC() local
75 DisplayError ret = kErrorNone; in SetIGC() local
89 DisplayError ret = kErrorNone; in SetPGC() local
103 DisplayError ret = kErrorNone; in SetMixerGC() local
116 DisplayError ret = kErrorNone; in SetPAV2() local
131 DisplayError ret = kErrorNone; in SetDither() local
143 DisplayError ret = kErrorNone; in SetGamut() local
156 DisplayError ret = kErrorNone; in SetPADither() local
168 DisplayError ret = kErrorNone; in SetCSCLegacy() local
/hardware/qcom/sm8150/display/sdm/libs/core/fb/
Dhw_color_manager.cpp59 DisplayError ret = kErrorNone; in SetPCC() local
74 DisplayError ret = kErrorNone; in SetIGC() local
88 DisplayError ret = kErrorNone; in SetPGC() local
102 DisplayError ret = kErrorNone; in SetMixerGC() local
115 DisplayError ret = kErrorNone; in SetPAV2() local
130 DisplayError ret = kErrorNone; in SetDither() local
142 DisplayError ret = kErrorNone; in SetGamut() local
155 DisplayError ret = kErrorNone; in SetPADither() local
/hardware/qcom/display/msm8996/sdm/libs/core/fb/
Dhw_color_manager.cpp59 DisplayError ret = kErrorNone; in SetPCC() local
74 DisplayError ret = kErrorNone; in SetIGC() local
88 DisplayError ret = kErrorNone; in SetPGC() local
102 DisplayError ret = kErrorNone; in SetMixerGC() local
115 DisplayError ret = kErrorNone; in SetPAV2() local
130 DisplayError ret = kErrorNone; in SetDither() local
142 DisplayError ret = kErrorNone; in SetGamut() local
155 DisplayError ret = kErrorNone; in SetPADither() local
/hardware/qcom/display/msm8998/sdm/libs/core/fb/
Dhw_color_manager.cpp59 DisplayError ret = kErrorNone; in SetPCC() local
74 DisplayError ret = kErrorNone; in SetIGC() local
88 DisplayError ret = kErrorNone; in SetPGC() local
102 DisplayError ret = kErrorNone; in SetMixerGC() local
115 DisplayError ret = kErrorNone; in SetPAV2() local
130 DisplayError ret = kErrorNone; in SetDither() local
142 DisplayError ret = kErrorNone; in SetGamut() local
155 DisplayError ret = kErrorNone; in SetPADither() local
/hardware/qcom/audio/hal/
Daudio_perf.cpp98 auto ret = gPowerHal_1_2_->powerHintAsync_1_2( in audio_streaming_hint_start() local
111 auto ret = gPowerHal_Aidl_->setBoost( in audio_streaming_hint_start() local
135 auto ret = gPowerHal_1_2_->powerHintAsync_1_2( in audio_streaming_hint_end() local
148 auto ret = gPowerHal_Aidl_->setBoost( in audio_streaming_hint_end() local
172 auto ret = gPowerHal_1_2_->powerHintAsync_1_2( in audio_low_latency_hint_start() local
185 auto ret = gPowerHal_Aidl_->setMode( in audio_low_latency_hint_start() local
209 auto ret = gPowerHal_1_2_->powerHintAsync_1_2( in audio_low_latency_hint_end() local
222 auto ret = gPowerHal_Aidl_->setMode( in audio_low_latency_hint_end() local
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/
Dhw_color_manager.cpp59 DisplayError ret = kErrorNone; in SetPCC() local
74 DisplayError ret = kErrorNone; in SetIGC() local
88 DisplayError ret = kErrorNone; in SetPGC() local
102 DisplayError ret = kErrorNone; in SetMixerGC() local
115 DisplayError ret = kErrorNone; in SetPAV2() local
130 DisplayError ret = kErrorNone; in SetDither() local
142 DisplayError ret = kErrorNone; in SetGamut() local
155 DisplayError ret = kErrorNone; in SetPADither() local
/hardware/google/camera/common/hal/aidl_service/
Dlibc_wrappers.cc42 int ret = real_function(pathname, mode); in mkfifo() local
49 int ret = real_function(pathname, mode); in access() local
56 int ret = real_function(pathname, mode); in mkdir() local
63 int ret = real_function(pathname); in rmdir() local
70 int ret = real_function(path); in chdir() local
77 int ret = real_function(oldpath, newpath); in link() local
84 int ret = real_function(pathname); in unlink() local
91 int ret = real_function(oldpath, newpath); in rename() local
98 int ret = real_function(file_name, buf); in stat() local
105 int ret = real_function(path, mode); in chmod() local
[all …]
/hardware/google/graphics/common/libv4l2/
Dexynos_v4l2.c184 int ret = -1; in exynos_v4l2_close() local
200 int ret = -1; in exynos_v4l2_enuminput() local
228 int ret = -1; in exynos_v4l2_s_input() local
254 int ret; in exynos_v4l2_querycap() local
322 int ret = -1; in exynos_v4l2_g_fmt() local
354 int ret = -1; in __v4l2_s_fmt() local
400 int ret = -1; in exynos_v4l2_reqbufs() local
446 int ret = -1; in exynos_v4l2_querybuf() local
484 int ret = -1; in exynos_v4l2_qbuf() local
523 int ret = -1; in exynos_v4l2_dqbuf() local
[all …]
/hardware/interfaces/boot/aidl/client/
DBootControlClient.cpp74 int32_t ret = -1; in GetNumSlots() local
80 int32_t ret = -1; in GetCurrentSlot() local
90 std::string ret; in GetSuffix() local
101 bool ret = false; in IsSlotBootable() local
129 int ret = -1; in GetActiveBootSlot() local
136 bool ret = false; in IsSlotMarkedSuccessful() local
187 const auto ret = module_v1_->getNumberSlots(); in GetNumSlots() local
195 const auto ret = module_v1_->getCurrentSlot(); in GetCurrentSlot() local
204 const auto ret = module_v1_->getSuffix( in GetSuffix() local
215 const auto ret = module_v1_->isSlotBootable(slot); in IsSlotBootable() local
[all …]
/hardware/interfaces/tetheroffload/control/1.0/vts/functional/
DVtsHalTetheroffloadControlV1_0TargetTest.cpp57 int ret = ioctl(sock, SIOCGIFFLAGS, &ifr, sizeof(ifr)); in interfaceIsUp() local
87 const Return<void> ret = control->setLocalPrefixes(prefixes, ASSERT_FALSE_CALLBACK); in TEST_P() local
95 const Return<void> ret = control->getForwardedStats(upstream, ASSERT_ZERO_BYTES_CALLBACK); in TEST_P() local
103 const Return<void> ret = control->setDataLimit(upstream, limit, ASSERT_FALSE_CALLBACK); in TEST_P() local
114 const Return<void> ret = in TEST_P() local
124 const Return<void> ret = control->addDownstream(iface, prefix, ASSERT_FALSE_CALLBACK); in TEST_P() local
133 const Return<void> ret = control->addDownstream(iface, prefix, ASSERT_FALSE_CALLBACK); in TEST_P() local
142 const Return<void> ret = control->removeDownstream(iface, prefix, ASSERT_FALSE_CALLBACK); in TEST_P() local
151 const Return<void> ret = control->removeDownstream(iface, prefix, ASSERT_FALSE_CALLBACK); in TEST_P() local
162 const Return<void> ret = control->setLocalPrefixes(prefixes, ASSERT_TRUE_CALLBACK); in TEST_P() local
[all …]
/hardware/google/gfxstream/common/vulkan/include/vulkan/
Dvk_enum_string_helper.h1537 std::string ret; in string_VkAccessFlags() local
1659 std::string ret; in string_VkImageAspectFlags() local
2424 std::string ret; in string_VkFormatFeatureFlags() local
2479 std::string ret; in string_VkImageCreateFlags() local
2518 std::string ret; in string_VkSampleCountFlags() local
2619 std::string ret; in string_VkImageUsageFlags() local
2648 std::string ret; in string_VkMemoryHeapFlags() local
2691 std::string ret; in string_VkMemoryPropertyFlags() local
2753 std::string ret; in string_VkQueueFlags() local
2780 std::string ret; in string_VkDeviceQueueCreateFlags() local
[all …]
/hardware/interfaces/light/2.0/vts/functional/
DVtsHalLightV2_0TargetTest.cpp40 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) argument
41 #define EXPECT_OK(ret) EXPECT_TRUE(ret.isOk()) argument
96 Return<Status> ret = light->setLight(type, kOff); in TearDown() local
105 Return<Status> ret = light->setLight(Type::BACKLIGHT, kWhite); in TearDown() local
117 Return<Status> ret = light->setLight(type, kWhite); in TEST_P() local
128 Return<Status> ret = light->setLight(type, kLowPersistance); in TEST_P() local
147 Return<Status> ret = light->setLight(type, kWhite); in TEST_P() local
/hardware/interfaces/usb/aidl/vts/
DVtsAidlUsbTargetTest.cpp181 const auto& ret = usb->setCallback(usb_cb_2); in SetUp() local
270 const auto& ret = usb->setCallback(usb_cb_1); in TEST_P() local
284 const auto& ret = usb->queryPortStatus(transactionId); in TEST_P() local
309 const auto& ret = usb->queryPortStatus(transactionId); in TEST_P() local
340 const auto& ret = usb->switchRole("", role, transactionId); in TEST_P() local
362 const auto& ret = usb->queryPortStatus(transactionId); in TEST_P() local
373 const auto& ret = usb->switchRole(portBeingSwitched, role, transactionId); in TEST_P() local
401 const auto& ret = usb->queryPortStatus(transactionId); in TEST_P() local
412 const auto& ret = usb->switchRole(portBeingSwitched, role, transactionId); in TEST_P() local
438 const auto& ret = usb->queryPortStatus(transactionId); in TEST_P() local
[all …]
/hardware/qcom/display/msm8909/sdm/libs/core/drm/
Dhw_color_manager_drm.cpp104 DRMPPFeatureID ret = kPPFeaturesMax; in ToDrmFeatureId() local
139 DisplayError ret = kErrorNone; in GetDrmPCC() local
145 DisplayError ret = kErrorNone; in GetDrmIGC() local
151 DisplayError ret = kErrorNone; in GetDrmPGC() local
201 DisplayError ret = kErrorNone; in GetDrmMixerGC() local
207 DisplayError ret = kErrorNone; in GetDrmPAV2() local
213 DisplayError ret = kErrorNone; in GetDrmDither() local
219 DisplayError ret = kErrorNone; in GetDrmGamut() local
290 DisplayError ret = kErrorNone; in GetDrmPADither() local
/hardware/qcom/display/msm8998/sdm/libs/core/drm/
Dhw_color_manager_drm.cpp104 DRMPPFeatureID ret = kPPFeaturesMax; in ToDrmFeatureId() local
139 DisplayError ret = kErrorNone; in GetDrmPCC() local
145 DisplayError ret = kErrorNone; in GetDrmIGC() local
151 DisplayError ret = kErrorNone; in GetDrmPGC() local
201 DisplayError ret = kErrorNone; in GetDrmMixerGC() local
207 DisplayError ret = kErrorNone; in GetDrmPAV2() local
213 DisplayError ret = kErrorNone; in GetDrmDither() local
219 DisplayError ret = kErrorNone; in GetDrmGamut() local
290 DisplayError ret = kErrorNone; in GetDrmPADither() local
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/drm/
Dhw_color_manager_drm.cpp104 DRMPPFeatureID ret = kPPFeaturesMax; in ToDrmFeatureId() local
139 DisplayError ret = kErrorNone; in GetDrmPCC() local
145 DisplayError ret = kErrorNone; in GetDrmIGC() local
151 DisplayError ret = kErrorNone; in GetDrmPGC() local
201 DisplayError ret = kErrorNone; in GetDrmMixerGC() local
207 DisplayError ret = kErrorNone; in GetDrmPAV2() local
213 DisplayError ret = kErrorNone; in GetDrmDither() local
219 DisplayError ret = kErrorNone; in GetDrmGamut() local
290 DisplayError ret = kErrorNone; in GetDrmPADither() local
/hardware/nxp/secure_element/snxxx/libese-spi/p73/spm/
DphNxpEse_Spm.cpp96 int32_t ret = -1; in phNxpEse_SPM_ConfigPwr() local
213 int32_t ret = -1; in phNxpEse_SPM_SetPwrScheme() local
236 int32_t ret = -1; in phNxpEse_SPM_DisablePwrControl() local
259 int32_t ret = -1; in phNxpEse_SPM_GetState() local
288 int ret = -1; in phNxpEse_SPM_SetJcopDwnldState() local
311 int ret = -1; in phNxpEse_SPM_SetEseClientUpdateState() local
339 int ret = -1; in phNxpEse_SPM_RelAccess() local
/hardware/nxp/secure_element/pn8x/libese-spi/p73/spm/
DphNxpEse_Spm.cpp95 int32_t ret = -1; in phNxpEse_SPM_ConfigPwr() local
190 int32_t ret = -1; in phNxpEse_SPM_EnablePwr() local
230 int32_t ret = -1; in phNxpEse_SPM_DisablePwr() local
252 int32_t ret = -1; in phNxpEse_SPM_SetPwrScheme() local
276 int32_t ret = -1; in phNxpEse_SPM_DisablePwrControl() local
299 int32_t ret = -1; in phNxpEse_SPM_GetState() local
328 int ret = -1; in phNxpEse_SPM_SetJcopDwnldState() local
/hardware/nxp/nfc/snxxx/1.2/
DNfc.h71 auto ret = mCallbackV1_1->sendEvent_1_1((V1_1::NfcEvent)event, in eventCallback() local
77 auto ret = mCallbackV1_0->sendEvent((V1_0::NfcEvent)event, in eventCallback() local
89 auto ret = mCallbackV1_1->sendData(data); in dataCallback() local
94 auto ret = mCallbackV1_0->sendData(data); in dataCallback() local
/hardware/nxp/nfc/pn8x/1.1/
DNfc.h67 auto ret = mCallbackV1_1->sendEvent_1_1((V1_1::NfcEvent)event, in eventCallback() local
73 auto ret = mCallbackV1_0->sendEvent((V1_0::NfcEvent)event, in eventCallback() local
85 auto ret = mCallbackV1_1->sendData(data); in dataCallback() local
90 auto ret = mCallbackV1_0->sendData(data); in dataCallback() local
/hardware/samsung/nfc/1.2/
DSecNfc.h49 auto ret = mCallbackV1_1->sendEvent_1_1((V1_1::NfcEvent)event, in eventCallback() local
55 auto ret = mCallbackV1_0->sendEvent((V1_0::NfcEvent)event, in eventCallback() local
67 auto ret = mCallbackV1_1->sendData(data); in dataCallback() local
72 auto ret = mCallbackV1_0->sendData(data); in dataCallback() local
/hardware/st/nfc/1.1/
DNfc.h68 auto ret = mCallbackV1_1->sendEvent_1_1((V1_1::NfcEvent)event, in eventCallback() local
74 auto ret = mCallbackV1_0->sendEvent((V1_0::NfcEvent)event, in eventCallback() local
86 auto ret = mCallbackV1_1->sendData(data); in dataCallback() local
91 auto ret = mCallbackV1_0->sendData(data); in dataCallback() local
/hardware/nxp/nfc/pn8x/1.2/
DNfc.h69 auto ret = mCallbackV1_1->sendEvent_1_1((V1_1::NfcEvent)event, in eventCallback() local
75 auto ret = mCallbackV1_0->sendEvent((V1_0::NfcEvent)event, in eventCallback() local
87 auto ret = mCallbackV1_1->sendData(data); in dataCallback() local
92 auto ret = mCallbackV1_0->sendData(data); in dataCallback() local

12345678910>>...58