Home
last modified time | relevance | path

Searched refs:mDeviceServer (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/media/java/android/media/midi/
DMidiDevice.java43 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()
DMidiInputPort.java38 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()
DMidiOutputPort.java41 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/
DBluetoothMidiDevice.java71 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()