Home
last modified time | relevance | path

Searched refs:MAX_INPUT_DEV_NUM (Results 1 – 12 of 12) sorted by relevance

/drivers/hdf_core/framework/model/input/driver/
Dhdf_hid_adapter.c30 InputDevice *cachedHid[MAX_INPUT_DEV_NUM];
31 HidInfo *g_cachedInfo[MAX_INPUT_DEV_NUM];
61 while (i < MAX_INPUT_DEV_NUM && cachedHid[i] != NULL) { in LoadCachedHid()
74 while (id < MAX_INPUT_DEV_NUM) { in cachedPosId()
108 while (id < MAX_INPUT_DEV_NUM) { in FreeCachedInfo()
180 while (id < MAX_INPUT_DEV_NUM) { in SetInputDevAbility()
187 if (id == MAX_INPUT_DEV_NUM || info == NULL) { in SetInputDevAbility()
225 while ((i < MAX_INPUT_DEV_NUM) && (cachedHid[i] != NULL)) { in CacheHid()
228 if (i < MAX_INPUT_DEV_NUM) { in CacheHid()
Dhdf_input_device_manager.c260 uint32_t idList[MAX_INPUT_DEV_NUM + 1]; in AllocDeviceID()
263 ret = memset_s(idList, (MAX_INPUT_DEV_NUM + 1) * sizeof(uint32_t), 0, in AllocDeviceID()
264 (MAX_INPUT_DEV_NUM + 1) * sizeof(uint32_t)); in AllocDeviceID()
280 for (id = INPUTDEV_FIRST_ID; id < MAX_INPUT_DEV_NUM + 1; id++) { in AllocDeviceID()
Dhdf_input_device_manager.h24 #define MAX_INPUT_DEV_NUM 32 macro
/drivers/peripheral/input/hal/src/
Dinput_controller.c206 if ((devIndex >= MAX_INPUT_DEV_NUM) || (status >= INPUT_POWER_STATUS_UNKNOWN)) { in SetPowerStatus()
237 if ((devIndex >= MAX_INPUT_DEV_NUM) || (status == NULL)) { in GetPowerStatus()
273 if ((devIndex >= MAX_INPUT_DEV_NUM) || (deviceType == NULL)) { in GetDeviceType()
311 if ((devIndex >= MAX_INPUT_DEV_NUM) || (info == NULL) || (len < lenLimit)) { in GetDevStringInfo()
381 if (devIndex >= MAX_INPUT_DEV_NUM) { in SetGestureMode()
413 if (devIndex >= (MAX_INPUT_DEV_NUM) || (testType >= TEST_TYPE_UNKNOWN) || in RunCapacitanceTest()
454 if ((devIndex >= MAX_INPUT_DEV_NUM) || (cmdInfo == NULL) || (cmdInfo->cmdCode == NULL) || in RunExtraCommand()
486 if (devIndex >= MAX_INPUT_DEV_NUM) { in GetDeviceAbility()
532 if (devIndex >= MAX_INPUT_DEV_NUM) { in GetDeviceAttr()
Dinput_reporter.c99 …if ((devIndex >= MAX_INPUT_DEV_NUM) || (callback == NULL) || (callback->EventPkgCallback == NULL))… in RegisterReportCallback()
141 if (devIndex >= MAX_INPUT_DEV_NUM) { in UnregisterReportCallback()
Dinput_manager.c50 if (devIndex >= MAX_INPUT_DEV_NUM || devInfo == NULL) { in GetInputDevice()
172 if (devIndex >= MAX_INPUT_DEV_NUM) { in CheckIndex()
/drivers/peripheral/input/test/unittest/udriver/
Dhdi_input_test.cpp325 InputDeviceInfo *dev = new InputDeviceInfo[MAX_INPUT_DEV_NUM] {};
328 ret = g_inputInterface->iInputManager->GetInputDeviceList(&num, &dev, MAX_INPUT_DEV_NUM);
333 ASSERT_LE(num, MAX_INPUT_DEV_NUM);
/drivers/peripheral/input/interfaces/include/
Dinput_type.h54 #define MAX_INPUT_DEV_NUM 32 macro
/drivers/peripheral/input/test/benchmarktest/
Dinput_benchmark_test.cpp139 ret = g_inputInterfaces->GetInputDeviceList(num, dev, MAX_INPUT_DEV_NUM); in BENCHMARK_F()
142 ASSERT_LE(num, (uint32_t)MAX_INPUT_DEV_NUM); in BENCHMARK_F()
/drivers/peripheral/input/test/unittest/common/
Dhdi_input_test.cpp371 InputDeviceInfo *dev[MAX_INPUT_DEV_NUM] = {0};
375 ret = g_inputInterface->iInputManager->GetInputDeviceList(&num, dev, MAX_INPUT_DEV_NUM);
379 …ret = num <= MAX_INPUT_DEV_NUM ? HDF_SUCCESS : HDF_FAILURE; /* num <= MAX_INPUT_DEV_NUM return tr…
/drivers/peripheral/input/test/unittest/hdi/
Dhdf_input_hdi_test.cpp298 ret = g_inputInterfaces->GetInputDeviceList(num, dev, MAX_INPUT_DEV_NUM);
302 …ret = num <= MAX_INPUT_DEV_NUM ? HDF_SUCCESS : HDF_FAILURE; /* num <= MAX_INPUT_DEV_NUM return tr…
/drivers/peripheral/input/hdi_service/
Dinput_interfaces_impl.cpp450 if (devIndex >= MAX_INPUT_DEV_NUM) { in RegisterReportCallback()