Searched refs:mDeviceServer (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/media/java/android/media/midi/ |
D | MidiDevice.java | 43 private final IMidiDeviceServer mDeviceServer; field in MidiDevice 82 mDeviceServer.closePort(mOutputPortToken); in close() 107 mDeviceServer = server; in MidiDevice() 108 mDeviceServerBinder = mDeviceServer.asBinder(); in MidiDevice() 141 FileDescriptor fd = mDeviceServer.openInputPort(token, portNumber); in openInputPort() 145 return new MidiInputPort(mDeviceServer, token, fd, portNumber); in openInputPort() 167 FileDescriptor fd = mDeviceServer.openOutputPort(token, portNumber); in openOutputPort() 171 return new MidiOutputPort(mDeviceServer, token, fd, portNumber); in openOutputPort() 204 int calleePid = mDeviceServer.connectPorts(token, fd, outputPortNumber); in connectPorts()
|
D | MidiInputPort.java | 38 private IMidiDeviceServer mDeviceServer; field in MidiInputPort 54 mDeviceServer = server; in MidiInputPort() 130 return mDeviceServer; in getDeviceServer() 148 if (mDeviceServer != null) { in close() 150 mDeviceServer.closePort(mToken); in close() 167 mDeviceServer = null; in finalize()
|
D | MidiOutputPort.java | 41 private IMidiDeviceServer mDeviceServer; field in MidiOutputPort 103 mDeviceServer = server; in MidiOutputPort() 141 if (mDeviceServer != null) { in close() 143 mDeviceServer.closePort(mToken); in close() 160 mDeviceServer = null; in finalize()
|
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/ |
D | BluetoothMidiDevice.java | 71 private MidiDeviceServer mDeviceServer; field in BluetoothMidiDevice 236 mDeviceServer = mMidiManager.createDeviceServer(inputPortReceivers, 1, in BluetoothMidiDevice() 239 mOutputReceiver = mDeviceServer.getOutputPortReceivers()[0]; in BluetoothMidiDevice() 275 if (mDeviceServer != null) { in close() 276 IoUtils.closeQuietly(mDeviceServer); in close() 277 mDeviceServer = null; in close() 287 return mDeviceServer.asBinder(); in getBinder()
|