Lines Matching refs:mDevices
763 size_t size = mDevices.size(); in getDeviceByDescriptorLocked()
765 Device* device = mDevices.valueAt(i); in getDeviceByDescriptorLocked()
777 ssize_t index = mDevices.indexOfKey(deviceId); in getDeviceLocked()
778 return index >= 0 ? mDevices.valueAt(index) : NULL; in getDeviceLocked()
782 for (size_t i = 0; i < mDevices.size(); i++) { in getDeviceByPathLocked()
783 Device* device = mDevices.valueAt(i); in getDeviceByPathLocked()
799 for (size_t i = 0; i < mDevices.size(); i++) { in getDeviceByFdLocked()
800 Device* device = mDevices.valueAt(i); in getDeviceByFdLocked()
1093 if (mDevices.indexOfKey(ReservedInputDeviceId::VIRTUAL_KEYBOARD_ID) < 0) { in scanDevicesLocked()
1521 for (size_t i = 0; i < mDevices.size(); i++) { in openVideoDeviceLocked()
1522 Device* device = mDevices.valueAt(i); in openVideoDeviceLocked()
1603 mDevices.add(device->id, device); in addDeviceLocked()
1737 for (size_t i = 0; i < mDevices.size(); i++) { in closeVideoDeviceByPathLocked()
1738 Device* device = mDevices.valueAt(i); in closeVideoDeviceByPathLocked()
1753 while (mDevices.size() > 0) { in closeAllDevicesLocked()
1754 closeDeviceLocked(mDevices.valueAt(mDevices.size() - 1)); in closeAllDevicesLocked()
1777 mDevices.removeItem(device->id); in closeDeviceLocked()
1925 for (size_t i = 0; i < mDevices.size(); i++) { in dump()
1926 const Device* device = mDevices.valueAt(i); in dump()