OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:mdeviceserver
(Results
1 - 4
of
4
) sorted by null
/frameworks/base/media/java/android/media/midi/
MidiInputPort.java
38
private IMidiDeviceServer
mDeviceServer
;
54
mDeviceServer
= server;
116
// Set mIsClosed = true so we will not call
mDeviceServer
.closePort() in close().
130
return
mDeviceServer
;
148
if (
mDeviceServer
!= null) {
150
mDeviceServer
.closePort(mToken);
164
mDeviceServer
= null;
MidiDevice.java
41
private final IMidiDeviceServer
mDeviceServer
;
77
mDeviceServer
.closePort(mOutputPortToken);
99
mDeviceServer
= server;
132
ParcelFileDescriptor pfd =
mDeviceServer
.openInputPort(token, portNumber);
136
return new MidiInputPort(
mDeviceServer
, token, pfd, portNumber);
158
ParcelFileDescriptor pfd =
mDeviceServer
.openOutputPort(token, portNumber);
162
return new MidiOutputPort(
mDeviceServer
, token, pfd, portNumber);
195
int calleePid =
mDeviceServer
.connectPorts(token, pfd, outputPortNumber);
MidiOutputPort.java
40
private IMidiDeviceServer
mDeviceServer
;
95
mDeviceServer
= server;
133
if (
mDeviceServer
!= null) {
135
mDeviceServer
.closePort(mToken);
149
mDeviceServer
= null;
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/
BluetoothMidiDevice.java
71
private MidiDeviceServer
mDeviceServer
;
236
mDeviceServer
= mMidiManager.createDeviceServer(inputPortReceivers, 1,
239
mOutputReceiver =
mDeviceServer
.getOutputPortReceivers()[0];
275
if (
mDeviceServer
!= null) {
276
IoUtils.closeQuietly(
mDeviceServer
);
277
mDeviceServer
= null;
287
return
mDeviceServer
.asBinder();
Completed in 265 milliseconds