/frameworks/base/media/java/android/media/midi/ |
D | MidiDeviceServer.java | 147 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 …]
|
D | MidiDevice.java | 135 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()
|
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 | 105 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()
|
D | MidiInputPort.java | 53 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()
|
D | IMidiDeviceServer.aidl | 24 FileDescriptor openInputPort(IBinder token, int portNumber); in openInputPort() argument 25 FileDescriptor openOutputPort(IBinder token, int portNumber); in openOutputPort() argument
|
D | MidiDeviceInfo.java | 268 PortInfo(int type, int portNumber, String name) { in PortInfo() argument 270 mPortNumber = portNumber; in PortInfo()
|
/frameworks/base/media/native/midi/ |
D | amidi.cpp | 252 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/ |
D | AMidi.h | 249 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/ |
D | PowerManager.java | 3426 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()
|
D | IPowerManager.aidl | 108 int portNumber;
|