Home
last modified time | relevance | path

Searched refs:portNumber (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/media/java/android/media/midi/
DMidiDeviceServer.java147 int portNumber = mOutputPort.getPortNumber(); in close() local
148 mInputPortOutputPorts[portNumber] = null; in close()
149 mInputPortOpen[portNumber] = false; in close()
151 mUmpInputPortUids[portNumber] = UNUSED_UID; in close()
172 int portNumber = mInputPort.getPortNumber(); in close() local
173 MidiDispatcher dispatcher = mOutputPortDispatchers[portNumber]; in close()
177 mOutputPortOpenCount[portNumber] = openCount; in close()
179 mUmpOutputPortUids[portNumber] = UNUSED_UID; in close()
211 public FileDescriptor openInputPort(IBinder token, int portNumber) {
218 if (portNumber < 0 || portNumber >= mInputPortCount) {
[all …]
DMidiDevice.java135 public MidiInputPort openInputPort(int portNumber) { in openInputPort() argument
141 FileDescriptor fd = mDeviceServer.openInputPort(token, portNumber); in openInputPort()
145 return new MidiInputPort(mDeviceServer, token, fd, portNumber); in openInputPort()
161 public MidiOutputPort openOutputPort(int portNumber) { in openOutputPort() argument
167 FileDescriptor fd = mDeviceServer.openOutputPort(token, portNumber); in openOutputPort()
171 return new MidiOutputPort(mDeviceServer, token, fd, portNumber); in openOutputPort()
DMidiDeviceStatus.java77 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()
DMidiOutputPort.java105 FileDescriptor fd, int portNumber) { in MidiOutputPort() argument
108 mPortNumber = portNumber; in MidiOutputPort()
114 /* package */ MidiOutputPort(FileDescriptor fd, int portNumber) { in MidiOutputPort() argument
115 this(null, null, fd, portNumber); in MidiOutputPort()
DMidiInputPort.java53 FileDescriptor fd, int portNumber) { in MidiInputPort() argument
59 mPortNumber = portNumber; in MidiInputPort()
64 /* package */ MidiInputPort(FileDescriptor fd, int portNumber) { in MidiInputPort() argument
65 this(null, null, fd, portNumber); in MidiInputPort()
DIMidiDeviceServer.aidl24 FileDescriptor openInputPort(IBinder token, int portNumber); in openInputPort() argument
25 FileDescriptor openOutputPort(IBinder token, int portNumber); in openOutputPort() argument
DMidiDeviceInfo.java268 PortInfo(int type, int portNumber, String name) { in PortInfo() argument
270 mPortNumber = portNumber; in PortInfo()
/frameworks/base/media/native/midi/
Damidi.cpp252 static media_status_t AMIDI_openPort(const AMidiDevice *device, int32_t portNumber, int type, in AMIDI_openPort() argument
261 ? device->server->openOutputPort(portToken, portNumber, &ufd) in AMIDI_openPort()
262 : device->server->openInputPort(portToken, portNumber, &ufd); in AMIDI_openPort()
302 media_status_t AMIDI_API AMidiOutputPort_open(const AMidiDevice *device, int32_t portNumber, in AMidiOutputPort_open() argument
304 return AMIDI_openPort(device, portNumber, PORTTYPE_OUTPUT, (AMIDI_Port**)outOutputPortPtr); in AMidiOutputPort_open()
379 media_status_t AMIDI_API AMidiInputPort_open(const AMidiDevice *device, int32_t portNumber, in AMidiInputPort_open() argument
381 return AMIDI_openPort(device, portNumber, PORTTYPE_INPUT, (AMIDI_Port**)outInputPortPtr); in AMidiInputPort_open()
/frameworks/base/media/native/midi/include/amidi/
DAMidi.h249 media_status_t AMIDI_API AMidiOutputPort_open(const AMidiDevice *device, int32_t portNumber,
296 media_status_t AMIDI_API AMidiInputPort_open(const AMidiDevice *device, int32_t portNumber,
/frameworks/base/core/java/android/os/
DPowerManager.java3426 int portNumber) { in LowPowerStandbyPortDescription() argument
3429 this.mPortNumber = portNumber; in LowPowerStandbyPortDescription()
3447 int portNumber, @Nullable InetAddress localAddress) { in LowPowerStandbyPortDescription() argument
3450 this.mPortNumber = portNumber; in LowPowerStandbyPortDescription()
3557 parcelablePortDescription.portNumber = portDescription.mPortNumber; in toParcelable()
3596 parcelablePortDescription.portNumber, in fromParcelable()
DIPowerManager.aidl108 int portNumber;