Lines Matching refs:second
56 dumpInfoList(inputDev.second);
109 if (callbackFunc.second != nullptr && ret != INPUT_FAILURE) {
110 callbackFunc.second->EventPkgCallback(const_cast<const InputEventPackage **>(iEvtPkg), iCount, index);
196 if (string(inputDev.second.devPathNode) == devPath) {
197 int32_t fd = inputDev.second.fd;
201 inputDev.second.fd = -1;
202 inputDev.second.status = INPUT_DEVICE_STATUS_CLOSED;
410 if (string(it->second.detailInfo.attrSet.devName) == sDevName) {
411 it->second.fd = fd;
412 it->second.status = INPUT_DEVICE_STATUS_OPENED;
517 if (!strcmp(inputDev.second.devPathNode, nodePath.c_str())) {
518 DoWithEventDeviceDel(epollFd, inputDev.second.index);
551 if (fd == inputDev.second.fd) {
563 if (!strcmp(devName.c_str(), inputDev.second.detailInfo.attrSet.devName)) {
604 if (searchIndex->second.status != INPUT_DEVICE_STATUS_OPENED) {
605 auto openRet = OpenInputDevice(searchIndex->second.devPathNode);
614 searchIndex->second.fd = openRet;
617 __func__, searchIndex->second.devPathNode, searchIndex->second.fd);
619 __func__, searchIndex->second.devPathNode, searchIndex->second.status, searchIndex->first);
620 AddToEpoll(mEpollId_, searchIndex->second.fd);
625 dumpInfoList(e.second);
641 ret = CloseInputDevice(searchIndex->second.devPathNode);
665 if (memcpy_s(*devInfo, inputDeviceInfoSize, &it->second.detailInfo, inputDeviceInfoSize) != EOK) {