Lines Matching refs:mDevices
773 size_t size = mDevices.size(); in getDeviceByDescriptorLocked()
775 Device* device = mDevices.valueAt(i); in getDeviceByDescriptorLocked()
787 ssize_t index = mDevices.indexOfKey(deviceId); in getDeviceLocked()
788 return index >= 0 ? mDevices.valueAt(index) : NULL; in getDeviceLocked()
792 for (size_t i = 0; i < mDevices.size(); i++) { in getDeviceByPathLocked()
793 Device* device = mDevices.valueAt(i); in getDeviceByPathLocked()
809 for (size_t i = 0; i < mDevices.size(); i++) { in getDeviceByFdLocked()
810 Device* device = mDevices.valueAt(i); in getDeviceByFdLocked()
1102 if (mDevices.indexOfKey(ReservedInputDeviceId::VIRTUAL_KEYBOARD_ID) < 0) { in scanDevicesLocked()
1524 for (size_t i = 0; i < mDevices.size(); i++) { in openVideoDeviceLocked()
1525 Device* device = mDevices.valueAt(i); in openVideoDeviceLocked()
1604 mDevices.add(device->id, device); in addDeviceLocked()
1738 for (size_t i = 0; i < mDevices.size(); i++) { in closeVideoDeviceByPathLocked()
1739 Device* device = mDevices.valueAt(i); in closeVideoDeviceByPathLocked()
1757 while (mDevices.size() > 0) { in closeAllDevicesLocked()
1758 closeDeviceLocked(mDevices.valueAt(mDevices.size() - 1)); in closeAllDevicesLocked()
1780 mDevices.removeItem(device->id); in closeDeviceLocked()
1921 for (size_t i = 0; i < mDevices.size(); i++) { in dump()
1922 const Device* device = mDevices.valueAt(i); in dump()