Home
last modified time | relevance | path

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

12345678910>>...34

/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/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/sdm845/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/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/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/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/interfaces/tetheroffload/control/1.0/vts/functional/
DVtsHalTetheroffloadControlV1_0TargetTest.cpp171 const Return<void> ret = config->setHandles(h1, h2, ASSERT_TRUE_CALLBACK); in setupConfigHal() local
190 const Return<void> ret = control->initOffload(control_cb, init_cb); in initOffload() local
212 const Return<void> ret = control->stopOffload(cb); in stopOffload() local
264 int ret = ioctl(sock, SIOCGIFFLAGS, &ifr, sizeof(ifr)); in interfaceIsUp() local
294 const Return<void> ret = control->setLocalPrefixes(prefixes, ASSERT_FALSE_CALLBACK); in TEST_F() local
302 const Return<void> ret = control->getForwardedStats(upstream, ASSERT_ZERO_BYTES_CALLBACK); in TEST_F() local
310 const Return<void> ret = control->setDataLimit(upstream, limit, ASSERT_FALSE_CALLBACK); in TEST_F() local
321 const Return<void> ret = in TEST_F() local
331 const Return<void> ret = control->addDownstream(iface, prefix, ASSERT_FALSE_CALLBACK); in TEST_F() local
340 const Return<void> ret = control->addDownstream(iface, prefix, ASSERT_FALSE_CALLBACK); in TEST_F() local
[all …]
/hardware/interfaces/audio/effect/all-versions/vts/functional/
DVtsHalAudioEffectTargetTest.cpp88 Return<void> ret = in TEST_F() local
102 Return<void> ret = in TEST_F() local
131 Return<void> ret = in TEST_F() local
152 Return<void> ret = effectsFactory->debugDump(hidl_handle()); in TEST_F() local
154 Return<void> ret = effectsFactory->debug(hidl_handle(), {}); in TEST_F() local
180 Return<Result> ret = effect->init(); in SetUp() local
208 Return<void> ret = effectsFactory->createEffect( in findAndCreateEffect() local
220 Return<void> ret = in findEffectInstance() local
239 Return<void> ret = effect->getConfig([&](Result r, const EffectConfig& conf) { in getChannelCount() local
255 Return<Result> ret = effect->close(); in TEST_F() local
[all …]
/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/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/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/qcom/wlan/qcwcn/wifi_hal/
Dnan_req.cpp25 wifi_error ret; in putNanEnable() local
368 wifi_error ret; in putNanDisable() local
400 wifi_error ret; in putNanConfig() local
660 wifi_error ret; in putNanPublish() local
878 wifi_error ret; in putNanPublishCancel() local
917 wifi_error ret; in putNanSubscribe() local
1139 wifi_error ret; in putNanSubscribeCancel() local
1177 wifi_error ret; in putNanTransmitFollowup() local
1250 wifi_error ret; in putNanStats() local
1291 wifi_error ret; in putNanTCA() local
[all …]
Drtt.cpp46 wifi_error ret; in wifi_get_rtt_capabilities() local
89 wifi_error ret; in wifi_rtt_range_request() local
145 wifi_error ret; in wifi_rtt_range_cancel() local
191 wifi_error ret; in wifi_set_lci() local
230 wifi_error ret; in wifi_set_lcr() local
271 wifi_error ret; in wifi_rtt_get_responder_info() local
311 wifi_error ret; in wifi_enable_responder() local
346 wifi_error ret; in wifi_disable_responder() local
Dnan.cpp46 wifi_error ret; in nan_register_handler() local
72 wifi_error ret; in nan_enable_request() local
114 wifi_error ret; in nan_disable_request() local
157 wifi_error ret; in nan_publish_request() local
200 wifi_error ret; in nan_publish_cancel_request() local
243 wifi_error ret; in nan_subscribe_request() local
286 wifi_error ret; in nan_subscribe_cancel_request() local
329 wifi_error ret; in nan_transmit_followup_request() local
372 wifi_error ret; in nan_stats_request() local
415 wifi_error ret; in nan_config_request() local
[all …]
Dwificonfig.cpp43 wifi_error ret; in wifi_extended_dtim_config_set() local
121 wifi_error ret; in wifi_set_country_code() local
187 wifi_error ret; in wifi_set_beacon_wifi_iface_stats_averaging_factor() local
254 wifi_error ret; in wifi_set_guard_time() local
317 wifi_error ret; in wifi_select_tx_power_scenario() local
404 wifi_error ret; in wifi_reset_tx_power_scenario() local
462 wifi_error ret; in wifi_set_latency_mode() local
567 wifi_error ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create() local
584 wifi_error ret = mMsg.create(cmdId, 0, 0); in create_generic() local
599 int *ret = (int *)arg; in error_handler_wifi_config() local
[all …]
/hardware/nxp/secure_element/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/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/
Dstress_iio.c158 int ret; in inv_set_rate() local
175 int ret; in setup_offset_and_bias() local
222 int ret; in setup_dmp() local
332 int ret; in enable_gyro() local
341 int ret; in enable_gyro_output() local
351 int ret; in enable_compass() local
362 int ret; in enable_pressure() local
372 int ret; in enable_quaternion() local
386 int ret; in enable_step_detector() local
393 int ret; in enable_step_indicator() local
[all …]
/hardware/qcom/sdm845/display/sdm/libs/core/drm/
Dhw_color_manager_drm.cpp153 DRMPPFeatureID ret = kPPFeaturesMax; in ToDrmFeatureId() local
188 DisplayError ret = kErrorNone; in GetDrmPCC() local
272 DisplayError ret = kErrorNone; in GetDrmIGC() local
339 DisplayError ret = kErrorNone; in GetDrmPGC() local
389 DisplayError ret = kErrorNone; in GetDrmMixerGC() local
405 DisplayError ret = kErrorNone; in GetDrmPAHsic() local
476 DisplayError ret = kErrorNone; in GetDrmPASixZone() local
557 DisplayError ret = kErrorNone; in GetDrmPAMemColSkin() local
620 DisplayError ret = kErrorNone; in GetDrmPAMemColSky() local
683 DisplayError ret = kErrorNone; in GetDrmPAMemColFoliage() local
[all …]
/hardware/interfaces/usb/1.0/vts/functional/
DVtsHalUsbV1_0TargetTest.cpp118 Return<void> ret = usb->setCallback(usb_cb_2); in SetUp() local
188 Return<void> ret = usb->setCallback(usb_cb_1); in TEST_F() local
197 Return<void> ret = usb->queryPortStatus(); in TEST_F() local
213 Return<void> ret = usb->switchRole("", role); in TEST_F() local
234 Return<void> ret = usb->queryPortStatus(); in TEST_F() local
243 Return<void> ret = usb->switchRole(portBeingSwitched.c_str(), role); in TEST_F() local
281 Return<void> ret = usb->queryPortStatus(); in TEST_F() local
290 Return<void> ret = usb->switchRole(portBeingSwitched.c_str(), role); in TEST_F() local
327 Return<void> ret = usb->queryPortStatus(); in TEST_F() local
336 Return<void> ret = usb->switchRole(portBeingSwitched.c_str(), role); in TEST_F() local
/hardware/interfaces/light/2.0/vts/functional/
DVtsHalLightV2_0TargetTest.cpp38 #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) argument
39 #define EXPECT_OK(ret) EXPECT_TRUE(ret.isOk()) argument
109 Return<Status> ret = light->setLight(type, kOff); in TearDown() local
118 Return<Status> ret = light->setLight(Type::BACKLIGHT, kWhite); in TearDown() local
131 Return<Status> ret = light->setLight(type, kWhite); in TEST_F() local
142 Return<Status> ret = light->setLight(type, kLowPersistance); in TEST_F() local
161 Return<Status> ret = light->setLight(type, kWhite); in TEST_F() local
/hardware/qcom/audio/hal/
Dvoice.c46 int ret = 0; in voice_get_session_from_use_case() local
104 int i, ret = 0; in voice_stop_usecase() local
158 int i, ret = 0; in voice_start_usecase() local
251 int ret = 0; in voice_is_call_state_active() local
269 int ret = 0; in voice_is_in_call_rec_stream() local
281 int ret = 0; in voice_get_active_session_id() local
294 int ret = 0; in voice_check_and_set_incall_rec_usecase() local
337 int ret = 0; in voice_check_and_stop_incall_rec_usecase() local
352 int ret = 0; in voice_check_and_set_incall_music_usecase() local
434 int ret = 0; in voice_start_call() local
[all …]
/hardware/nxp/nfc/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/nxp/nfc/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
/hardware/interfaces/gatekeeper/1.0/default/
DGatekeeper.cpp32 int ret = hw_get_module_by_class(GATEKEEPER_HARDWARE_MODULE_ID, NULL, &module); in Gatekeeper() local
46 int ret = gatekeeper_close(device); in ~Gatekeeper() local
65 int ret = device->enroll(device, uid, in enroll() local
96 int ret = device->verify(device, uid, challenge, in verify() local
122 int ret = device->delete_user(device, uid); in deleteUser() local
141 int ret = device->delete_all_users(device); in deleteAllUsers() local
/hardware/interfaces/boot/1.0/default/
DBootControl.cpp47 int ret = mModule->markBootSuccessful(mModule); in markBootSuccessful() local
56 int ret = mModule->setActiveBootSlot(mModule, slot); in setActiveBootSlot() local
65 int ret = mModule->setSlotAsUnbootable(mModule, slot); in setSlotAsUnbootable() local
74 int32_t ret = mModule->isSlotBootable(mModule, slot); in isSlotBootable() local
82 int32_t ret = mModule->isSlotMarkedSuccessful(mModule, slot); in isSlotMarkedSuccessful() local
117 int ret = 0; in HIDL_FETCH_IBootControl() local

12345678910>>...34