Lines Matching refs:devIndex
56 hdiDevInfo.devIndex = halDevInfo.devIndex; in TransferDevInfo()
106 void InputEventDataCallback(const InputEventPackage **pkgs, uint32_t count, uint32_t devIndex) in InputEventDataCallback() argument
131 g_inputEventCallback->EventPkgCallback(tmp, devIndex); in InputEventDataCallback()
142 HotPlugEvent.devIndex = event->devIndex; in HotplugEventDataCallback()
187 StaArr.devIndex = staArrHdf[i].devIndex; in ScanInputDevice()
195 int32_t InputInterfacesImpl::OpenInputDevice(uint32_t devIndex) in OpenInputDevice() argument
203 int32_t ret = inputInterface_->iInputManager->OpenInputDevice(devIndex); in OpenInputDevice()
211 int32_t InputInterfacesImpl::CloseInputDevice(uint32_t devIndex) in CloseInputDevice() argument
219 int32_t ret = inputInterface_->iInputManager->CloseInputDevice(devIndex); in CloseInputDevice()
227 int32_t InputInterfacesImpl::GetInputDevice(uint32_t devIndex, DeviceInfo &devInfo) in GetInputDevice() argument
237 int32_t ret = inputInterface_->iInputManager->GetInputDevice(devIndex, &deviceInfo); in GetInputDevice()
290 int32_t InputInterfacesImpl::SetPowerStatus(uint32_t devIndex, uint32_t status) in SetPowerStatus() argument
298 int32_t ret = inputInterface_->iInputController->SetPowerStatus(devIndex, status); in SetPowerStatus()
306 int32_t InputInterfacesImpl::GetPowerStatus(uint32_t devIndex, uint32_t &status) in GetPowerStatus() argument
314 int32_t ret = inputInterface_->iInputController->GetPowerStatus(devIndex, &status); in GetPowerStatus()
322 int32_t InputInterfacesImpl::GetDeviceType(uint32_t devIndex, uint32_t &deviceType) in GetDeviceType() argument
330 int32_t ret = inputInterface_->iInputController->GetDeviceType(devIndex, &deviceType); in GetDeviceType()
338 int32_t InputInterfacesImpl::GetChipInfo(uint32_t devIndex, std::string &chipInfo) in GetChipInfo() argument
347 int32_t ret = inputInterface_->iInputController->GetChipInfo(devIndex, infoStr, CHIP_INFO_LEN); in GetChipInfo()
357 int32_t InputInterfacesImpl::GetVendorName(uint32_t devIndex, std::string &vendorName) in GetVendorName() argument
366 …int32_t ret = inputInterface_->iInputController->GetVendorName(devIndex, infoStr, VENDOR_NAME_LEN); in GetVendorName()
376 int32_t InputInterfacesImpl::GetChipName(uint32_t devIndex, std::string &chipName) in GetChipName() argument
385 int32_t ret = inputInterface_->iInputController->GetChipName(devIndex, infoStr, CHIP_NAME_LEN); in GetChipName()
395 int32_t InputInterfacesImpl::SetGestureMode(uint32_t devIndex, uint32_t gestureMode) in SetGestureMode() argument
403 int32_t ret = inputInterface_->iInputController->SetGestureMode(devIndex, gestureMode); in SetGestureMode()
411 int32_t InputInterfacesImpl::RunCapacitanceTest(uint32_t devIndex, uint32_t testType, std::string &… in RunCapacitanceTest() argument
420 …int32_t ret = inputInterface_->iInputController->RunCapacitanceTest(devIndex, testType, result.dat… in RunCapacitanceTest()
428 int32_t InputInterfacesImpl::RunExtraCommand(uint32_t devIndex, const ExtraCmd &cmd) in RunExtraCommand() argument
440 int32_t ret = inputInterface_->iInputController->RunExtraCommand(devIndex, &cmdInfo); in RunExtraCommand()
448 int32_t InputInterfacesImpl::RegisterReportCallback(uint32_t devIndex, const sptr<IInputCallback> &… in RegisterReportCallback() argument
456 if (devIndex >= MAX_INPUT_DEV_NUM) { in RegisterReportCallback()
457 HDF_LOGE("%{public}s: devIndex [%{public}d] out of range", __func__, devIndex); in RegisterReportCallback()
467 ret = inputInterface_->iInputReporter->RegisterReportCallback(devIndex, &eventCb); in RegisterReportCallback()
479 int32_t InputInterfacesImpl::UnregisterReportCallback(uint32_t devIndex) in UnregisterReportCallback() argument
487 int32_t ret = inputInterface_->iInputReporter->UnregisterReportCallback(devIndex); in UnregisterReportCallback()