Home
last modified time | relevance | path

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

12345678910>>...17

/test/xts/acts/kernel_lite/math_posix/src/
DMathComplexApiTest.cpp35 int ret = TestCabs(); variable
44 int ret = TestCabsf(); variable
54 int ret = TestCabsl(); variable
64 int ret = TestCacos(); variable
74 int ret = TestCacosf(); variable
84 int ret = TestCacoshf(); variable
94 int ret = TestCacoshl(); variable
104 int ret = TestCacosl(); variable
114 int ret = TestCarg(); variable
124 int ret = TestCargf(); variable
[all …]
/test/xts/dcts/distributedhardware/distributedcameratest/
Ddcamera_automat_test.cpp38 int32_t ret = mainDemo->InitSensors(); in SetUpTestCase() local
71 int32_t ret = PreviewOn(0, mainDemo); variable
86 int32_t ret = CaptureTest(mainDemo); variable
101 int32_t ret = VideoTest(mainDemo); variable
116 int32_t ret = mainDemo->SetAwbMode(sleepOk); variable
131 int32_t ret = mainDemo->SetAwbMode(cameraOk); variable
146 int32_t ret = mainDemo->SetAeExpo(); variable
161 int32_t ret = mainDemo->SetMetadata(); variable
176 int32_t ret = FlashLightTest(mainDemo); variable
191 int32_t ret = OfflineTest(mainDemo); variable
[all …]
/test/xts/hats/hdf/hdf_lite/display/
Dhdi_display_test.cpp36 int32_t ret; in SetUpTestCase() local
48 int32_t ret; in TearDownTestCase() local
65 int32_t ret; variable
84 int32_t ret; variable
102 int32_t ret; variable
120 int32_t ret; variable
138 int32_t ret; variable
156 int32_t ret; variable
174 int32_t ret; variable
194 int32_t ret; variable
[all …]
/test/xts/dcts/distributedhardware/distributedscreentest/
Ddsreen_automat_test.cpp88 int ret = StartMirror(0); variable
102 int ret = StopMirror(0); variable
116 int ret = StartExpand(0); variable
130 int ret = StopExpand(0); variable
144 int ret = CreateWindow(0); variable
158 int ret = QueryRemoteDeviceInfo(0); variable
172 int ret = QueryRemoteScreenInfo(0); variable
185 int ret = StartMirror(0); variable
200 int ret = StartExpand(0); variable
215 int ret = StartMirror(0); variable
[all …]
/test/xts/hats/hdf/hdf_lite/manager/common/
Dhdf_pm_test.cpp65 …int32_t ret = ioService->dispatcher->Dispatch(&ioService->object, HDF_PM_TEST_ONE_DRIVER_ONCE, nul… variable
79 …int32_t ret = ioService->dispatcher->Dispatch(&ioService->object, HDF_PM_TEST_ONE_DRIVER_TWICE, nu… variable
93 …int32_t ret = ioService->dispatcher->Dispatch(&ioService->object, HDF_PM_TEST_ONE_DRIVER_TEN, null… variable
107 int32_t ret = ioService->dispatcher->Dispatch( variable
122 int32_t ret = ioService->dispatcher->Dispatch( variable
137 …int32_t ret = ioService->dispatcher->Dispatch(&ioService->object, HDF_PM_TEST_TWO_DRIVER_ONCE, nul… variable
151 …int32_t ret = ioService->dispatcher->Dispatch(&ioService->object, HDF_PM_TEST_TWO_DRIVER_TWICE, nu… variable
165 …int32_t ret = ioService->dispatcher->Dispatch(&ioService->object, HDF_PM_TEST_TWO_DRIVER_TEN, null… variable
179 int32_t ret = ioService->dispatcher->Dispatch( variable
194 int32_t ret = ioService->dispatcher->Dispatch( variable
[all …]
/test/xts/hats/hdf/input/hdi_input/common/
Dhdi_input_test.cpp52 int32_t ret; in SetUpTestCase() local
110 int32_t ret; in ReportHotPlugEventPkgCallback() local
148 int32_t ret = g_inputInterface->iInputManager->OpenInputDevice(g_allDev[i].devIndex); in OpenOnlineDev() local
168 … int32_t ret = g_inputInterface->iInputReporter->UnregisterReportCallback(g_allDev[i].devIndex); in CloseOnlineDev() local
192 int32_t ret; variable
216 int32_t ret = g_inputInterface->iInputReporter->RegisterHotPlugCallback(&g_hotplugCb); variable
250 int32_t ret = g_inputInterface->iInputManager->OpenInputDevice(TOUCH_INDEX); variable
255 int32_t ret = INPUT_SUCCESS; variable
273 int32_t ret = g_inputInterface->iInputManager->OpenInputDevice(0); variable
290 int32_t ret = 0; variable
[all …]
/test/xts/acts/security_lite/permission_posix/pms/src/
DActsPMSLoadTest.cpp100 int ret = LoadPermissions(TEST_APP_SHORT, TEST_TASKID); variable
118 int ret = LoadPermissions(TEST_APP_ID, TEST_TASKID); variable
137 int ret = LoadPermissions(TEST_APP_ID, TEST_TASKID); variable
158 int ret = LoadPermissions(TEST_APP_ID, TEST_TASKID); variable
178 int ret = LoadPermissions(TEST_APP_ID, TEST_TASKID); variable
196 int ret = LoadPermissions(TEST_APP_ID, MAX_PID); variable
212 int ret = LoadPermissions(TEST_APP_ID, MAX_PID); variable
224 int ret = LoadPermissions(TEST_APP_ID, TEST_TASKID); variable
241 int ret = LoadPermissions(TEST_APP_ID, TEST_TASKID); variable
258 int ret = LoadPermissions(TEST_APP_ID, TEST_TASKID); variable
[all …]
DActsPMSUnloadTest.cpp100 int ret = UnLoadPermissions(MAX_PID); variable
118 int ret = UnLoadPermissions(TEST_TASKID); variable
130 int ret = UnLoadPermissions(TEST_TASKID); variable
142 int ret = UnLoadPermissions(TEST_TASKID); variable
156 int ret = g_interface->CheckPermission(TEST_TASKID, g_systemPers[0].name); variable
178 int ret = UnLoadPermissions(TEST_TASKID); variable
196 int ret = UnLoadPermissions(TEST_TASKID); variable
213 int ret = UnLoadPermissions(TEST_TASKID); variable
229 int ret = UnLoadPermissions(TEST_TASKID); variable
245 int ret = UnLoadPermissions(TEST_TASKID); variable
[all …]
DActsPMSGrantRuntimeTest.cpp100 int ret = g_interface->GrantRuntimePermission(MAX_PID, g_systemPers[0].name); variable
122 int ret = g_interface->GrantRuntimePermission(TEST_TASKID, g_systemPers[0].name); variable
138 int ret = g_interface->GrantRuntimePermission(TEST_TASKID, g_systemPers[0].name); variable
156 int ret = g_interface->GrantRuntimePermission(TEST_TASKID, g_systemPers[0].name); variable
177 int ret = g_interface->GrantRuntimePermission(TEST_TASKID, g_systemPers[1].name); variable
194 int ret = g_interface->GrantRuntimePermission(TEST_TASKID, g_systemPers[SYS_PERM_NUM - 1].name); variable
211 int ret; variable
231 int ret = g_interface->GrantRuntimePermission(TEST_TASKID, PERMISSION_UNDEFINED); variable
249 int ret = g_interface->GrantRuntimePermission(TEST_TASKID, g_systemPers[0].name); variable
268 int ret = g_interface->GrantRuntimePermission(TEST_TASKID, g_systemPers[0].name); variable
[all …]
DActsPMSRevokeRuntimeTest.cpp101 int ret = g_interface->RevokeRuntimePermission(MAX_PID, g_systemPers[0].name); variable
124 int ret = g_interface->RevokeRuntimePermission(TEST_TASKID, g_systemPers[0].name); variable
141 int ret = g_interface->RevokeRuntimePermission(TEST_TASKID, g_systemPers[0].name); variable
159 int ret = g_interface->RevokeRuntimePermission(TEST_TASKID, g_systemPers[1].name); variable
177 … int ret = g_interface->RevokeRuntimePermission(TEST_TASKID, g_systemPers[SYS_PERM_NUM - 1].name); variable
195 int ret; variable
216 int ret = g_interface->RevokeRuntimePermission(TEST_TASKID, PERMISSION_UNDEFINED); variable
236 int ret = g_interface->RevokeRuntimePermission(TEST_TASKID, g_systemPers[0].name); variable
255 int ret = g_interface->RevokeRuntimePermission(TEST_TASKID, g_systemPers[0].name); variable
273 int ret; variable
[all …]
DActsPMSDeleteTest.cpp98 int ret = SaveOrUpdatePermissions(TEST_APP_ID, g_systemPers, SYS_PERM_NUM, FIRST_INSTALL); variable
112 int ret = DeletePermissions(TEST_APP_ID); variable
129 int ret = SaveOrUpdatePermissions(TEST_APP_ID, g_systemPers, SYS_PERM_NUM, FIRST_INSTALL); variable
148 int ret = SaveOrUpdatePermissions(TEST_APP_ID, g_systemPers, SYS_PERM_NUM, FIRST_INSTALL); variable
166 int ret = SaveOrUpdatePermissions(TEST_APP_ID, g_systemPers, SYS_PERM_NUM, FIRST_INSTALL); variable
184 int ret = SaveOrUpdatePermissions(TEST_APP_ID, g_systemPers, SYS_PERM_NUM, FIRST_INSTALL); variable
207 int ret = SaveOrUpdatePermissions(TEST_APP_ID, g_systemPers, SYS_PERM_NUM, FIRST_INSTALL); variable
222 int ret = SaveOrUpdatePermissions(TEST_APP_ID, g_systemPers, SYS_PERM_NUM, FIRST_INSTALL); variable
240 int ret = SaveOrUpdatePermissions(TEST_APP_ID, g_systemPers, SYS_PERM_NUM, FIRST_INSTALL); variable
262 int ret = DeletePermissions(TEST_APP_ID); variable
[all …]
/test/xts/hats/hdf/usb/functionTest/common/
Dusbd_function_test.cpp47 auto ret = g_usbInterface->SetPortRole(DEFAULT_PORT_ID, POWER_ROLE_SINK, DATA_ROLE_DEVICE); in SetUpTestCase() local
72 auto ret = g_usbInterface->GetCurrentFunctions(funcs); variable
86 auto ret = g_usbInterface->SetCurrentFunctions(USB_FUNCTION_ACM); variable
106 auto ret = g_usbInterface->SetCurrentFunctions(USB_FUNCTION_ACM); variable
120 auto ret = g_usbInterface->SetCurrentFunctions(USB_FUNCTION_INVALID); variable
133 auto ret = g_usbInterface->SetCurrentFunctions(USB_FUNCTION_ECM); variable
148 auto ret = g_usbInterface->SetCurrentFunctions(funcs); variable
162 auto ret = g_usbInterface->SetCurrentFunctions(USB_FUNCTION_HDC); variable
177 auto ret = g_usbInterface->SetCurrentFunctions(funcs); variable
192 auto ret = g_usbInterface->SetCurrentFunctions(funcs); variable
[all …]
/test/xts/acts/kernel_lite/io_posix/src/
DIoTestSprintf.cpp31 int ret = sprintf(str, "%d", -2147483648); variable
64 int ret = sprintf(str, "%ld", -2147483648); // 2^31-1 variable
97 int ret = sprintf(str, "%lld", -9223372036854775807LL); // 2^63-1 variable
130 int ret = sprintf(str, "%jd", -9223372036854775807LL); variable
155 int ret = sprintf(str, "%td", 2147483647); variable
172 int ret = sprintf(str, "%zd", 2147483647); variable
189 int ret = sprintf(str, "%hd %hhd %hu %hhu", 32767, 127, 65535, 255); variable
206 int ret = sprintf(str, "%5d %5d", 1, -1); variable
251 int ret = sprintf(str, "%-5d %-5d", 1, -1); variable
284 int ret = sprintf(str, "%.5d %.5d", 1, -1); variable
[all …]
DIoTestSscanf.cpp30 int ret = sscanf("1.196532544", "%f", &f); variable
57 int ret = sscanf("1.100000e+00", "%e", &f); variable
91 int ret = sscanf("1.23e-07", "%g", &f); variable
117 int ret = sscanf("0x1.199999999999ap+0", "%a", &f); variable
150 int ret = sscanf("a", "%c", &c); variable
177 int ret = sscanf("hello", "%s", str); variable
202 int ret = sscanf("-2147483648", "%d", &i); variable
244 int ret = sscanf("-128", "%hhd", &intHhd); variable
286 int ret = sscanf("32767", "%hd", &intHd); variable
328 int ret = sscanf("-2147483648", "%ld", &intL); variable
[all …]
/test/xts/dcts/communication/softbus_standard/transmission/reliability/
Dtrans_reliability_test.cpp47 int ret = RegisterDeviceStateDefCallback(); in SetUpTestCase() local
58 int ret = UnRegisterDeviceStateDefCallback(); in TearDownTestCase() local
73 int ret; variable
89 int ret; variable
111 int ret; variable
171 int ret; variable
187 int ret; variable
218 int ret; variable
234 int ret; variable
251 int ret; variable
[all …]
/test/xts/hats/hdf/input/hdi_passthrough/
Dhdf_input_hdi_test.cpp75 int32_t ret = g_inputInterfaces->ScanInputDevice(sta); in OpenOnlineDev() local
101 int32_t ret = g_inputInterfaces->ScanInputDevice(sta); in CloseOnlineDev() local
154 int32_t ret; variable
179 int32_t ret = g_inputInterfaces->OpenInputDevice(TOUCH_INDEX); variable
202 int32_t ret = g_inputInterfaces->OpenInputDevice(INVALID_INDEX); variable
224 int32_t ret = g_inputInterfaces->CloseInputDevice(TOUCH_INDEX); variable
247 int32_t ret = g_inputInterfaces->CloseInputDevice(INVALID_INDEX); variable
270 int32_t ret = g_inputInterfaces->OpenInputDevice(TOUCH_INDEX); variable
304 int32_t ret = g_inputInterfaces->GetInputDevice(INVALID_INDEX, dev); variable
330 int32_t ret; variable
[all …]
/test/xts/hats/kernel/rtginterface/
Drtg_interface_test.cpp57 bool ret = EnableRtg(true); in SetUp() local
64 bool ret = EnableRtg(false); in TearDown() local
75 int ret; variable
90 int ret; variable
102 int ret; variable
120 int ret; variable
137 int ret; variable
150 int ret; variable
170 int ret; variable
190 int ret; variable
[all …]
/test/xts/hats/hdf/audio/idl/common/capture/src/
Daudio_capture_common_test.cpp54 int32_t ret = HDF_SUCCESS; in GetCaptureBufferSize() local
201 int32_t ret = capture_->Start(capture_); variable
223 int32_t ret = capture_->Start(capture_); variable
251 int32_t ret = capture_->Start(capture_); variable
272 int32_t ret; variable
296 int32_t ret = capture_->Start(capture_); variable
304 int32_t ret = capture_->Start(nullptr); variable
314 int32_t ret = capture_->Start(capture_); variable
325 int32_t ret = capture_->Stop(nullptr); variable
335 int32_t ret = capture_->Start(capture_); variable
[all …]
/test/xts/hats/distributedhardware/distributedcameratest/
Ddcameraprovidercase.cpp145 int32_t ret = cameraProvider.EnableDCameraDevice(dhBase, testParam, hdiCallback_); variable
151 int32_t ret = cameraProvider.OpenSession(dhBase); variable
157 int32_t ret = cameraProvider.ConfigureStreams(dhBase, streamInfos); variable
163 int32_t ret = cameraProvider.StartCapture(dhBase, captureInfos); variable
169 int32_t ret = cameraProvider.OnSettingsResult(dhBase, result); variable
177 int32_t ret = cameraProvider.OnSettingsResult(dhBase, result1); variable
185 int32_t ret = cameraProvider.OnSettingsResult(dhBase, result2); variable
193 int32_t ret = cameraProvider.OnSettingsResult(dhBase, result3); variable
201 int32_t ret = cameraProvider.OnSettingsResult(dhBase, result4); variable
209 int32_t ret = cameraProvider.OnSettingsResult(dhBase, result5); variable
[all …]
/test/xts/dcts/communication/softbus_standard/transmission/sendmsg/
Dtrans_func_test.cpp47 int ret = RegisterDeviceStateDefCallback(); in SetUpTestCase() local
57 int ret = UnRegisterDeviceStateDefCallback(); in TearDownTestCase() local
72 int ret; variable
93 int ret; variable
114 int ret; variable
135 int ret; variable
158 int ret; variable
179 int ret; variable
200 int ret; variable
221 int ret; variable
[all …]
/test/xts/hats/hdf/sensor/hdiService/
Dhdf_sensor_hdiService_test.cpp138 int32_t ret = g_sensorInterface->GetAllSensorInfo(g_info); variable
165 int32_t ret = g_sensorInterface->Register(TRADITIONAL_SENSOR_TYPE, g_medicalCallback); variable
182 int32_t ret = g_sensorInterface->Register(MEDICAL_SENSOR_TYPE, g_medicalCallback); variable
199 int32_t ret = g_sensorInterface->Register(SENSOR_GROUP_TYPE_MAX, g_medicalCallback); variable
216 int32_t ret = g_sensorInterface->Register(TRADITIONAL_SENSOR_TYPE, g_traditionalCallback); variable
247 int32_t ret = g_sensorInterface->Register(TRADITIONAL_SENSOR_TYPE, g_traditionalCallback); variable
276 int32_t ret = g_sensorInterface->SetBatch(ABNORMAL_SENSORID, 0, 0); variable
292 int32_t ret = g_sensorInterface->SetBatch(iter.sensorId, -1, SENSOR_POLL_TIME); variable
309 int32_t ret = g_sensorInterface->SetBatch(iter.sensorId, -1, -1); variable
326 int32_t ret = g_sensorInterface->SetBatch(iter.sensorId, SENSOR_INTERVAL2, -1); variable
[all …]
/test/xts/dcts/distributedhardware/distributedaudiotest/
Ddaudio_automat_test.cpp35 int ret = InitTestDemo(); in SetUpTestCase() local
48 std::string ret = FindAudioDevice(); variable
55 std::string ret = OpenSpk(); variable
62 std::string ret = StartRender(); variable
69 std::string ret = StopRender(); variable
76 std::string ret = CloseSpk(); variable
83 std::string ret = OpenMic(); variable
90 std::string ret = StartCapture(); variable
97 std::string ret = StopCapture(); variable
104 std::string ret = CloseMic(); variable
[all …]
/test/xts/hats/hdf/codec/hdi_adapter/
Dcodec_hdi_adapter_test.cpp172 int32_t ret; in GetArrayStr() local
291 …int32_t ret = g_manager->CreateComponent(&g_component, &g_componentId, (char *)name, APP_DATA, g_c… variable
304 …int32_t ret = g_manager->CreateComponent(&g_component, &g_componentId, nullptr, APP_DATA, g_callba… variable
321 …int32_t ret = g_manager->CreateComponent(&component, &componentId, const_cast<char *>(DECODER_AVC), variable
343 …int32_t ret = g_manager->CreateComponent(&component, &componentId, const_cast<char *>(DECODER_AVC), variable
363 …int32_t ret = g_manager->CreateComponent(&component, &componentId, const_cast<char *>(DECODER_AVC), variable
376 …int32_t ret = g_manager->CreateComponent(&g_component, &g_componentId, const_cast<char *>(ENCODER_… variable
391 int32_t ret = g_component->GetComponentVersion(g_component, &verInfo); variable
404 auto ret = g_component->GetParameter(g_component, OMX_IndexParamVideoPortFormat, nullptr, 0); variable
419 …auto ret = g_component->GetParameter(g_component, OMX_IndexParamVideoPortFormat, reinterpret_cast<… variable
[all …]
/test/xts/acts/security_lite/huks/liteos_a_adapter/
Dhks_others_test.cpp64 int32_t ret = HksGetKeyParamSet(NULL, NULL, NULL); variable
75 int32_t ret = HksGetKeyInfoList(NULL, NULL, NULL); variable
86 int32_t ret = HksAttestKey(NULL, NULL, NULL); variable
97 int32_t ret = HksGetCertificateChain(NULL, NULL, NULL); variable
108 int32_t ret = HksWrapKey(NULL, NULL, NULL, NULL); variable
119 int32_t ret = HksUnwrapKey(NULL, NULL, NULL, NULL); variable
130 int32_t ret = HksGetSdkVersion(NULL); variable
141 int32_t ret = HksInitialize(); variable
/test/xts/hats/hdf/light/hdiService/
Dhdf_light_hdiService_test.cpp92 int32_t ret = g_lightInterface->GetLightInfo(info); variable
113 int32_t ret = g_lightInterface->GetLightInfo(info); variable
127 int32_t ret = g_lightInterface->TurnOnLight(iter.lightId, effect); variable
145 int32_t ret = g_lightInterface->GetLightInfo(info); variable
159 int32_t ret = g_lightInterface->TurnOnLight(iter.lightId, effect); variable
174 int32_t ret = g_lightInterface->GetLightInfo(info); variable
190 int32_t ret = g_lightInterface->TurnOnLight(iter.lightId, effect); variable
208 int32_t ret = g_lightInterface->GetLightInfo(info); variable
222 int32_t ret = g_lightInterface->TurnOnLight(iter.lightId, effect); variable
240 int32_t ret = g_lightInterface->TurnOnLight(HDF_LIGHT_ID_BUTT, effect); variable
[all …]

12345678910>>...17