/drivers/peripheral/input/test/fuzztest/inputgetchipinfo_fuzzer/ |
H A D | inputgetchipinfo_fuzzer.cpp | 29 InputDevDesc sta[MAX_DEVICES]; in InputGetchipInfoFuzzTest() local 34 (void)memset_s(sta, MAX_DEVICES * sizeof(InputDevDesc), 0, MAX_DEVICES * sizeof(InputDevDesc)); in InputGetchipInfoFuzzTest() 40 ret = g_inputInterface->iInputManager->ScanInputDevice(sta, MAX_DEVICES); in InputGetchipInfoFuzzTest() 45 if (sta[i].devIndex == 0) { in InputGetchipInfoFuzzTest() 49 ret = g_inputInterface->iInputManager->OpenInputDevice(sta[i].devIndex); in InputGetchipInfoFuzzTest() 61 if (sta[i].devIndex == 0) { in InputGetchipInfoFuzzTest() 65 ret = g_inputInterface->iInputManager->CloseInputDevice(sta[i].devIndex); in InputGetchipInfoFuzzTest()
|
/drivers/peripheral/input/test/fuzztest/inputgetdevicetype_fuzzer/ |
H A D | inputgetdevicetype_fuzzer.cpp | 29 InputDevDesc sta[MAX_DEVICES]; in InputGetDeviceTypeFuzzTest() local 34 (void)memset_s(sta, MAX_DEVICES * sizeof(InputDevDesc), 0, MAX_DEVICES * sizeof(InputDevDesc)); in InputGetDeviceTypeFuzzTest() 40 ret = g_inputInterface->iInputManager->ScanInputDevice(sta, MAX_DEVICES); in InputGetDeviceTypeFuzzTest() 45 if (sta[i].devIndex == 0) { in InputGetDeviceTypeFuzzTest() 49 ret = g_inputInterface->iInputManager->OpenInputDevice(sta[i].devIndex); in InputGetDeviceTypeFuzzTest() 61 if (sta[i].devIndex == 0) { in InputGetDeviceTypeFuzzTest() 65 ret = g_inputInterface->iInputManager->CloseInputDevice(sta[i].devIndex); in InputGetDeviceTypeFuzzTest()
|
/drivers/peripheral/input/test/fuzztest/inputgetchipname_fuzzer/ |
H A D | inputgetchipname_fuzzer.cpp | 28 InputDevDesc sta[MAX_DEVICES]; in InputGetChipnameFuzzTest() local 33 (void)memset_s(sta, MAX_DEVICES * sizeof(InputDevDesc), 0, MAX_DEVICES * sizeof(InputDevDesc)); in InputGetChipnameFuzzTest() 39 ret = g_inputInterface->iInputManager->ScanInputDevice(sta, MAX_DEVICES); in InputGetChipnameFuzzTest() 44 if (sta[i].devIndex == 0) { in InputGetChipnameFuzzTest() 48 ret = g_inputInterface->iInputManager->OpenInputDevice(sta[i].devIndex); in InputGetChipnameFuzzTest() 60 if (sta[i].devIndex == 0) { in InputGetChipnameFuzzTest() 64 ret = g_inputInterface->iInputManager->CloseInputDevice(sta[i].devIndex); in InputGetChipnameFuzzTest()
|
/drivers/peripheral/input/test/fuzztest/inputgetvendorname_fuzzer/ |
H A D | inputgetvendorname_fuzzer.cpp | 29 InputDevDesc sta[MAX_DEVICES]; in InputGetVendorNameFuzzTest() local 34 (void)memset_s(sta, MAX_DEVICES * sizeof(InputDevDesc), 0, MAX_DEVICES * sizeof(InputDevDesc)); in InputGetVendorNameFuzzTest() 40 ret = g_inputInterface->iInputManager->ScanInputDevice(sta, MAX_DEVICES); in InputGetVendorNameFuzzTest() 45 if (sta[i].devIndex == 0) { in InputGetVendorNameFuzzTest() 49 ret = g_inputInterface->iInputManager->OpenInputDevice(sta[i].devIndex); in InputGetVendorNameFuzzTest() 61 if (sta[i].devIndex == 0) { in InputGetVendorNameFuzzTest() 65 ret = g_inputInterface->iInputManager->CloseInputDevice(sta[i].devIndex); in InputGetVendorNameFuzzTest()
|
/drivers/peripheral/input/test/fuzztest/inputgetpowerstatus_fuzzer/ |
H A D | inputgetpowerstatus_fuzzer.cpp | 29 InputDevDesc sta[MAX_DEVICES]; in InputGetpowerStatusFuzzTest() local 33 (void)memset_s(sta, MAX_DEVICES * sizeof(InputDevDesc), 0, MAX_DEVICES * sizeof(InputDevDesc)); in InputGetpowerStatusFuzzTest() 39 ret = g_inputInterface->iInputManager->ScanInputDevice(sta, MAX_DEVICES); in InputGetpowerStatusFuzzTest() 44 if (sta[i].devIndex == 0) { in InputGetpowerStatusFuzzTest() 48 ret = g_inputInterface->iInputManager->OpenInputDevice(sta[i].devIndex); in InputGetpowerStatusFuzzTest() 60 if (sta[i].devIndex == 0) { in InputGetpowerStatusFuzzTest() 64 ret = g_inputInterface->iInputManager->CloseInputDevice(sta[i].devIndex); in InputGetpowerStatusFuzzTest()
|
/drivers/peripheral/input/test/fuzztest/inputregisterreportcallback_fuzzer/ |
H A D | inputregisterreportcallback_fuzzer.cpp | 28 InputDevDesc sta[MAX_DEVICES]; in DoSomethingInterestingWithMyAPI() local 32 (void)memset_s(sta, MAX_DEVICES * sizeof(InputDevDesc), 0, MAX_DEVICES * sizeof(InputDevDesc)); in DoSomethingInterestingWithMyAPI() 38 ret = g_inputInterface->iInputManager->ScanInputDevice(sta, MAX_DEVICES); in DoSomethingInterestingWithMyAPI() 43 if (sta[i].devIndex == 0) { in DoSomethingInterestingWithMyAPI() 47 ret = g_inputInterface->iInputManager->OpenInputDevice(sta[i].devIndex); in DoSomethingInterestingWithMyAPI() 64 if (sta[i].devIndex == 0) { in DoSomethingInterestingWithMyAPI() 68 ret = g_inputInterface->iInputManager->CloseInputDevice(sta[i].devIndex); in DoSomethingInterestingWithMyAPI()
|
/drivers/peripheral/input/test/fuzztest/inputsetgesturemode_fuzzer/ |
H A D | inputsetgesturemode_fuzzer.cpp | 33 InputDevDesc sta[MAX_DEVICES]; in InputSetGestureModeFuzzTest() local 37 (void)memset_s(sta, MAX_DEVICES * sizeof(InputDevDesc), 0, MAX_DEVICES * sizeof(InputDevDesc)); in InputSetGestureModeFuzzTest() 43 ret = g_inputInterface->iInputManager->ScanInputDevice(sta, MAX_DEVICES); in InputSetGestureModeFuzzTest() 48 if (sta[i].devIndex == 0) { in InputSetGestureModeFuzzTest() 52 ret = g_inputInterface->iInputManager->OpenInputDevice(sta[i].devIndex); in InputSetGestureModeFuzzTest() 64 if (sta[i].devIndex == 0) { in InputSetGestureModeFuzzTest() 68 ret = g_inputInterface->iInputManager->CloseInputDevice(sta[i].devIndex); in InputSetGestureModeFuzzTest()
|
/drivers/peripheral/input/test/fuzztest/inputsetpowerstatus_fuzzer/ |
H A D | inputsetpowerstatus_fuzzer.cpp | 33 InputDevDesc sta[MAX_DEVICES]; in InputSetPowerStatusFuzzTest() local 37 (void)memset_s(sta, MAX_DEVICES * sizeof(InputDevDesc), 0, MAX_DEVICES * sizeof(InputDevDesc)); in InputSetPowerStatusFuzzTest() 43 ret = g_inputInterface->iInputManager->ScanInputDevice(sta, MAX_DEVICES); in InputSetPowerStatusFuzzTest() 48 if (sta[i].devIndex == 0) { in InputSetPowerStatusFuzzTest() 52 ret = g_inputInterface->iInputManager->OpenInputDevice(sta[i].devIndex); in InputSetPowerStatusFuzzTest() 64 if (sta[i].devIndex == 0) { in InputSetPowerStatusFuzzTest() 68 ret = g_inputInterface->iInputManager->CloseInputDevice(sta[i].devIndex); in InputSetPowerStatusFuzzTest()
|
/drivers/peripheral/input/test/fuzztest/inputunregisterreportcallback_fuzzer/ |
H A D | inputunregisterreportcallback_fuzzer.cpp | 28 InputDevDesc sta[MAX_DEVICES]; in InputUnregisterReportCallbackFuzzTest() local 33 (void)memset_s(sta, MAX_DEVICES * sizeof(InputDevDesc), 0, MAX_DEVICES * sizeof(InputDevDesc)); in InputUnregisterReportCallbackFuzzTest() 39 ret = g_inputInterface->iInputManager->ScanInputDevice(sta, MAX_DEVICES); in InputUnregisterReportCallbackFuzzTest() 44 if (sta[i].devIndex == 0) { in InputUnregisterReportCallbackFuzzTest() 48 ret = g_inputInterface->iInputManager->OpenInputDevice(sta[i].devIndex); in InputUnregisterReportCallbackFuzzTest() 65 if (sta[i].devIndex == 0) { in InputUnregisterReportCallbackFuzzTest() 69 ret = g_inputInterface->iInputManager->CloseInputDevice(sta[i].devIndex); in InputUnregisterReportCallbackFuzzTest()
|
/drivers/peripheral/input/test/fuzztest/runcapacitancetest_fuzzer/ |
H A D | runcapacitancetest_fuzzer.cpp | 34 InputDevDesc sta[MAX_DEVICES]; in RunCapacitanceTestFuzzTest() local 39 (void)memset_s(sta, MAX_DEVICES * sizeof(InputDevDesc), 0, MAX_DEVICES * sizeof(InputDevDesc)); in RunCapacitanceTestFuzzTest() 45 ret = g_inputInterface->iInputManager->ScanInputDevice(sta, MAX_DEVICES); in RunCapacitanceTestFuzzTest() 50 if (sta[i].devIndex == 0) { in RunCapacitanceTestFuzzTest() 54 ret = g_inputInterface->iInputManager->OpenInputDevice(sta[i].devIndex); in RunCapacitanceTestFuzzTest() 67 if (sta[i].devIndex == 0) { in RunCapacitanceTestFuzzTest() 71 ret = g_inputInterface->iInputManager->CloseInputDevice(sta[i].devIndex); in RunCapacitanceTestFuzzTest()
|
/drivers/peripheral/input/test/fuzztest/runextracommand_fuzzer/ |
H A D | runextracommand_fuzzer.cpp | 28 InputDevDesc sta[MAX_DEVICES]; in RunExtraCommandFuzzTest() local 34 (void)memset_s(sta, MAX_DEVICES * sizeof(InputDevDesc), 0, MAX_DEVICES * sizeof(InputDevDesc)); in RunExtraCommandFuzzTest() 40 ret = g_inputInterface->iInputManager->ScanInputDevice(sta, MAX_DEVICES); in RunExtraCommandFuzzTest() 45 if (sta[i].devIndex == 0) { in RunExtraCommandFuzzTest() 49 ret = g_inputInterface->iInputManager->OpenInputDevice(sta[i].devIndex); in RunExtraCommandFuzzTest() 61 if (sta[i].devIndex == 0) { in RunExtraCommandFuzzTest() 65 ret = g_inputInterface->iInputManager->CloseInputDevice(sta[i].devIndex); in RunExtraCommandFuzzTest()
|
/drivers/peripheral/input/test/fuzztest/closeinputdevice_fuzzer/ |
H A D | closeinputdevice_fuzzer.cpp | 29 InputDevDesc sta[MAX_DEVICES]; in CloseInputDeviceFuzzTest() local 32 (void)memset_s(sta, MAX_DEVICES * sizeof(InputDevDesc), 0, MAX_DEVICES * sizeof(InputDevDesc)); in CloseInputDeviceFuzzTest() 38 ret = g_inputInterface->iInputManager->ScanInputDevice(sta, MAX_DEVICES); in CloseInputDeviceFuzzTest() 43 if (sta[i].devIndex == 0) { in CloseInputDeviceFuzzTest() 47 ret = g_inputInterface->iInputManager->OpenInputDevice(sta[i].devIndex); in CloseInputDeviceFuzzTest()
|
/drivers/peripheral/input/test/unittest/common/ |
H A D | hdi_input_test.cpp | 38 static void CloseOnlineDev(InputDevDesc *sta, int32_t len); 39 static void OpenOnlineDev(InputDevDesc *sta, int32_t len); 52 InputDevDesc sta[MAX_DEVICES]; in SetUpTestCase() local 53 ret = memset_s(sta, MAX_DEVICES * sizeof(InputDevDesc), 0, MAX_DEVICES * sizeof(InputDevDesc)); in SetUpTestCase() 65 ret = g_inputInterface->iInputManager->ScanInputDevice(sta, MAX_DEVICES); in SetUpTestCase() 70 if (sta[i].devIndex == 0) { in SetUpTestCase() 138 static void OpenOnlineDev(InputDevDesc *sta, int32_t len) in OpenOnlineDev() argument 140 int32_t ret = g_inputInterface->iInputManager->ScanInputDevice(sta, len); in OpenOnlineDev() 147 if (sta[i].devIndex == 0) { in OpenOnlineDev() 150 ret = g_inputInterface->iInputManager->OpenInputDevice(sta[ in OpenOnlineDev() 164 CloseOnlineDev(InputDevDesc *sta, int32_t len) CloseOnlineDev() argument 192 InputDevDesc sta[MAX_DEVICES]; HWTEST_F() local 212 InputDevDesc sta[MAX_DEVICES]; HWTEST_F() local [all...] |
/drivers/peripheral/input/test/fuzztest/openinputdevice_fuzzer/ |
H A D | openinputdevice_fuzzer.cpp | 29 InputDevDesc sta[MAX_DEVICES]; in OpenInputDeviceFuzzTest() local 32 (void)memset_s(sta, MAX_DEVICES * sizeof(InputDevDesc), 0, MAX_DEVICES * sizeof(InputDevDesc)); in OpenInputDeviceFuzzTest() 38 ret = g_inputInterface->iInputManager->ScanInputDevice(sta, MAX_DEVICES); in OpenInputDeviceFuzzTest() 43 if (sta[i].devIndex == 0) { in OpenInputDeviceFuzzTest()
|
/drivers/peripheral/input/test/unittest/hdi/ |
H A D | hdf_input_hdi_test.cpp | 73 static void OpenOnlineDev(std::vector<DevDesc> sta) in OpenOnlineDev() argument 75 int32_t ret = g_inputInterfaces->ScanInputDevice(sta); in OpenOnlineDev() 82 if (sta[i].devIndex == 0) { in OpenOnlineDev() 85 ret = g_inputInterfaces->OpenInputDevice(sta[i].devIndex); in OpenOnlineDev() 87 HDF_LOGE("%s: open device[%d] failed, ret %d", __func__, sta[i].devIndex, ret); in OpenOnlineDev() 91 ret = g_inputInterfaces->RegisterReportCallback(sta[i].devIndex, g_callback); in OpenOnlineDev() 93 HDF_LOGE("%s: register callback failed for device[%d], ret %d", __func__, sta[i].devIndex, ret); in OpenOnlineDev() 99 static void CloseOnlineDev(std::vector<DevDesc> sta) in CloseOnlineDev() argument 101 int32_t ret = g_inputInterfaces->ScanInputDevice(sta); in CloseOnlineDev() 108 if (sta[ in CloseOnlineDev() 149 std::vector<DevDesc> sta; HWTEST_F() local 776 std::vector<DevDesc> sta; HWTEST_F() local [all...] |
/drivers/hdf_core/adapter/khdf/linux/model/network/wifi/ |
H A D | Makefile | 22 WSTA_PATH := core/components/sta 36 $(HDF_WIFI_FRAMEWORKS_ROOT)/$(WSTA_PATH)/sta.o \
|
H A D | hdfwifi.mk | 43 -I$(srctree)/drivers/hdf/framework/model/network/wifi/core/components/sta \
|
/drivers/hdf_core/adapter/khdf/liteos/model/network/wifi/ |
H A D | Makefile | 41 WSTA_PATH := $(HDM_WIFI_ROOT)/core/components/sta 67 $(WSTA_PATH)/sta.c \
|
/drivers/peripheral/input/test/unittest/udriver/ |
H A D | hdi_input_test.cpp | 129 InputDevDesc sta[MAX_DEVICES]; in HWTEST_F() local 130 if (memset_s(sta, MAX_DEVICES * sizeof(InputDevDesc), 0, MAX_DEVICES * sizeof(InputDevDesc)) != EOK) { in HWTEST_F() 138 ret = g_inputInterface->iInputManager->ScanInputDevice(sta, sizeof(sta) / sizeof(InputDevDesc)); in HWTEST_F() 141 __func__, sta[0].devType, sta[0].devIndex, sta[1].devType, sta[1].devIndex); in HWTEST_F() 144 if (sta[i].devIndex == 0) { in HWTEST_F() 147 if (sta[ in HWTEST_F() [all...] |
/drivers/hdf_core/framework/model/input/driver/ |
H A D | hdf_input_device_manager.c | 414 DevDesc sta; in ScanAllDev() local 417 sta.devType = tmpDev->devType; in ScanAllDev() 418 sta.devId = tmpDev->devId; in ScanAllDev() 420 if (!HdfSbufWriteBuffer(reply, &sta, sizeof(DevDesc))) { in ScanAllDev()
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/src/ |
H A D | v4l2_uvc.cpp | 201 struct stat sta = {}; in V4L2UvcEnmeDevices() local 214 if (stat(devName, &sta) != 0) { in V4L2UvcEnmeDevices() 218 if (!S_ISCHR(sta.st_mode)) { in V4L2UvcEnmeDevices()
|
/drivers/peripheral/camera/vdi_base/usb_camera/adapter/platform/v4l2/src/driver_adapter/src/ |
H A D | v4l2_uvc.cpp | 200 struct stat sta = {}; in V4L2UvcEnmeDevices() local 213 if (stat(devName, &sta) != 0) { in V4L2UvcEnmeDevices() 217 if (!S_ISCHR(sta.st_mode)) { in V4L2UvcEnmeDevices()
|
/drivers/peripheral/input/test/benchmarktest/ |
H A D | input_benchmark_test.cpp | 69 std::vector<DevDesc> sta;
in BENCHMARK_F() local 72 ret = g_inputInterfaces->ScanInputDevice(sta);
in BENCHMARK_F()
|
/drivers/hdf_core/adapter/khdf/linux/test/ |
H A D | test_khdf.mk | 62 -I$(srctree)/$(HDF_FRAMEWORK_ROOT)/model/network/wifi/core/components/sta \
|
/drivers/hdf_core/adapter/khdf/liteos/test/ |
H A D | test_lite.mk | 84 HDF_TEST_INCLUDE += -I $(HDF_ROOT_TEST_DIR)/hdf_core/framework/model/network/wifi/core/components/sta
|