Searched refs:MAX_INPUT_DEV_NUM (Results 1 – 12 of 12) sorted by relevance
/drivers/hdf_core/framework/model/input/driver/ |
D | hdf_hid_adapter.c | 30 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()
|
D | hdf_input_device_manager.c | 260 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()
|
D | hdf_input_device_manager.h | 24 #define MAX_INPUT_DEV_NUM 32 macro
|
/drivers/peripheral/input/hal/src/ |
D | input_controller.c | 206 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()
|
D | input_reporter.c | 99 …if ((devIndex >= MAX_INPUT_DEV_NUM) || (callback == NULL) || (callback->EventPkgCallback == NULL))… in RegisterReportCallback() 141 if (devIndex >= MAX_INPUT_DEV_NUM) { in UnregisterReportCallback()
|
D | input_manager.c | 50 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/ |
D | hdi_input_test.cpp | 325 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/ |
D | input_type.h | 54 #define MAX_INPUT_DEV_NUM 32 macro
|
/drivers/peripheral/input/test/benchmarktest/ |
D | input_benchmark_test.cpp | 139 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/ |
D | hdi_input_test.cpp | 371 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/ |
D | hdf_input_hdi_test.cpp | 298 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/ |
D | input_interfaces_impl.cpp | 450 if (devIndex >= MAX_INPUT_DEV_NUM) { in RegisterReportCallback()
|