Searched refs:numOutputPorts (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/media/java/android/media/midi/ |
D | MidiDeviceInfo.java | 313 public MidiDeviceInfo(int type, int id, int numInputPorts, int numOutputPorts, in MidiDeviceInfo() argument 326 if (numOutputPorts < 0 || numOutputPorts > maxPorts) { in MidiDeviceInfo() 328 + numOutputPorts); in MidiDeviceInfo() 333 mOutputPortCount = numOutputPorts; in MidiDeviceInfo() 340 mOutputPortNames = new String[numOutputPorts]; in MidiDeviceInfo()
|
D | MidiDeviceServer.java | 398 int numOutputPorts, Callback callback) { in MidiDeviceServer() argument 402 mOutputPortCount = numOutputPorts; in MidiDeviceServer() 407 mOutputPortDispatchers = new MidiDispatcher[numOutputPorts]; in MidiDeviceServer() 408 for (int i = 0; i < numOutputPorts; i++) { in MidiDeviceServer() 413 mOutputPortOpenCount = new int[numOutputPorts]; in MidiDeviceServer()
|
D | MidiManager.java | 446 int numOutputPorts, String[] inputPortNames, String[] outputPortNames, in createDeviceServer() argument 451 numOutputPorts, callback); in createDeviceServer() 453 inputPortReceivers.length, numOutputPorts, inputPortNames, outputPortNames, in createDeviceServer()
|
D | IMidiManager.aidl | 47 int numOutputPorts, in String[] inputPortNames, in String[] outputPortNames, in registerDeviceServer() argument
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbAlsaMidiDevice.java | 91 int numOutputPorts = deviceInfo.getOutputPortCount(); 100 for (int i = 0; i < numOutputPorts; i++) {
|
D | UsbDirectMidiDevice.java | 123 int numOutputPorts = deviceInfo.getOutputPortCount(); 132 for (int i = 0; i < numOutputPorts; i++) {
|
/frameworks/base/services/midi/java/com/android/server/midi/ |
D | MidiService.java | 1218 int numOutputPorts, String[] inputPortNames, String[] outputPortNames, in registerDeviceServer() argument 1229 return addDeviceLocked(type, numInputPorts, numOutputPorts, inputPortNames, in registerDeviceServer() 1305 private MidiDeviceInfo addDeviceLocked(int type, int numInputPorts, int numOutputPorts, in addDeviceLocked() argument 1325 MidiDeviceInfo deviceInfo = new MidiDeviceInfo(type, id, numInputPorts, numOutputPorts, in addDeviceLocked() 1426 int numOutputPorts = 0; in addLegacyPackageDeviceServer() local 1446 numOutputPorts = 0; in addLegacyPackageDeviceServer() 1484 numOutputPorts++; in addLegacyPackageDeviceServer() 1502 if (numInputPorts == 0 && numOutputPorts == 0) { in addLegacyPackageDeviceServer() 1521 numInputPorts, numOutputPorts, in addLegacyPackageDeviceServer()
|