Lines Matching refs:deviceInfo
196 MidiDeviceInfo deviceInfo = device.getDeviceInfo();
199 listener.onDeviceAdded(deviceInfo);
210 MidiDeviceInfo deviceInfo = device.getDeviceInfo();
213 listener.onDeviceRemoved(deviceInfo);
304 public Device(IMidiDeviceServer server, MidiDeviceInfo deviceInfo,
306 mDeviceInfo = deviceInfo;
309 mBluetoothDevice = (BluetoothDevice)deviceInfo.getProperties().getParcelable(
362 public void setDeviceInfo(MidiDeviceInfo deviceInfo) {
363 mDeviceInfo = deviceInfo;
652 public void openDevice(IBinder token, MidiDeviceInfo deviceInfo,
659 device = mDevicesByInfo.get(deviceInfo);
661 throw new IllegalArgumentException("device does not exist: " + deviceInfo);
752 public MidiDeviceStatus getDeviceStatus(MidiDeviceInfo deviceInfo) {
753 Device device = mDevicesByInfo.get(deviceInfo);
755 throw new IllegalArgumentException("no such device for " + deviceInfo);
788 MidiDeviceInfo deviceInfo = new MidiDeviceInfo(type, id, numInputPorts, numOutputPorts,
793 server.setDeviceInfo(deviceInfo);
807 device.setDeviceInfo(deviceInfo);
811 device = new Device(server, deviceInfo, serviceInfo, uid);
813 mDevicesByInfo.put(deviceInfo, device);
824 return deviceInfo;