Searched refs:portNumber (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/media/java/android/media/midi/ |
D | MidiDeviceServer.java | 123 int portNumber = mOutputPort.getPortNumber(); in close() local 124 mInputPortOutputPorts[portNumber] = null; in close() 125 mInputPortOpen[portNumber] = false; in close() 143 int portNumber = mInputPort.getPortNumber(); in close() local 144 MidiDispatcher dispatcher = mOutputPortDispatchers[portNumber]; in close() 148 mOutputPortOpenCount[portNumber] = openCount; in close() 163 public ParcelFileDescriptor openInputPort(IBinder token, int portNumber) { 170 if (portNumber < 0 || portNumber >= mInputPortCount) { 171 Log.e(TAG, "portNumber out of range in openInputPort: " + portNumber); 176 if (mInputPortOutputPorts[portNumber] != null) { [all …]
|
D | MidiDevice.java | 126 public MidiInputPort openInputPort(int portNumber) { in openInputPort() argument 132 ParcelFileDescriptor pfd = mDeviceServer.openInputPort(token, portNumber); in openInputPort() 136 return new MidiInputPort(mDeviceServer, token, pfd, portNumber); in openInputPort() 152 public MidiOutputPort openOutputPort(int portNumber) { in openOutputPort() argument 158 ParcelFileDescriptor pfd = mDeviceServer.openOutputPort(token, portNumber); in openOutputPort() 162 return new MidiOutputPort(mDeviceServer, token, pfd, portNumber); in openOutputPort()
|
D | MidiDeviceStatus.java | 77 public boolean isInputPortOpen(int portNumber) { in isInputPortOpen() argument 78 return mInputPortOpen[portNumber]; in isInputPortOpen() 88 public int getOutputPortOpenCount(int portNumber) { in getOutputPortOpenCount() argument 89 return mOutputPortOpenCount[portNumber]; in getOutputPortOpenCount()
|
D | MidiOutputPort.java | 94 ParcelFileDescriptor pfd, int portNumber) { in MidiOutputPort() argument 97 mPortNumber = portNumber; in MidiOutputPort() 103 /* package */ MidiOutputPort(ParcelFileDescriptor pfd, int portNumber) { in MidiOutputPort() argument 104 this(null, null, pfd, portNumber); in MidiOutputPort()
|
D | MidiInputPort.java | 51 ParcelFileDescriptor pfd, int portNumber) { in MidiInputPort() argument 57 mPortNumber = portNumber; in MidiInputPort() 62 /* package */ MidiInputPort(ParcelFileDescriptor pfd, int portNumber) { in MidiInputPort() argument 63 this(null, null, pfd, portNumber); in MidiInputPort()
|
D | IMidiDeviceServer.aidl | 25 ParcelFileDescriptor openInputPort(IBinder token, int portNumber); in openInputPort() argument 26 ParcelFileDescriptor openOutputPort(IBinder token, int portNumber); in openOutputPort() argument
|
D | MidiDeviceInfo.java | 154 PortInfo(int type, int portNumber, String name) { in PortInfo() argument 156 mPortNumber = portNumber; in PortInfo()
|