/frameworks/base/media/java/android/media/midi/ |
D | MidiDeviceInfo.java | 31 public final class MidiDeviceInfo implements Parcelable { class 198 public MidiDeviceInfo(int type, int id, int numInputPorts, int numOutputPorts, in MidiDeviceInfo() method in MidiDeviceInfo 297 if (o instanceof MidiDeviceInfo) { in equals() 298 return (((MidiDeviceInfo)o).mId == mId); in equals() 321 public static final Parcelable.Creator<MidiDeviceInfo> CREATOR = 322 new Parcelable.Creator<MidiDeviceInfo>() { 323 public MidiDeviceInfo createFromParcel(Parcel in) { 332 return new MidiDeviceInfo(type, id, inputPorts, outputPorts, 336 public MidiDeviceInfo[] newArray(int size) { 337 return new MidiDeviceInfo[size];
|
D | MidiManager.java | 78 public void onDeviceAdded(MidiDeviceInfo device) { in onDeviceAdded() 80 final MidiDeviceInfo deviceF = device; in onDeviceAdded() 92 public void onDeviceRemoved(MidiDeviceInfo device) { in onDeviceRemoved() 94 final MidiDeviceInfo deviceF = device; in onDeviceRemoved() 129 public void onDeviceAdded(MidiDeviceInfo device) { in onDeviceAdded() 137 public void onDeviceRemoved(MidiDeviceInfo device) { in onDeviceRemoved() 209 public MidiDeviceInfo[] getDevices() { in getDevices() 214 return new MidiDeviceInfo[0]; in getDevices() 241 public void openDevice(MidiDeviceInfo deviceInfo, OnDeviceOpenedListener listener, in openDevice() 243 final MidiDeviceInfo deviceInfoF = deviceInfo; in openDevice() [all …]
|
D | IMidiManager.aidl | 24 import android.media.midi.MidiDeviceInfo; 32 MidiDeviceInfo[] getDevices(); in getDevices() 38 …void openDevice(IBinder clientToken, in MidiDeviceInfo device, in IMidiDeviceOpenCallback callback… in openDevice() 44 MidiDeviceInfo registerDeviceServer(in IMidiDeviceServer server, int numInputPorts, in registerDeviceServer() 53 MidiDeviceInfo getServiceDeviceInfo(String packageName, String className); in getServiceDeviceInfo() 56 MidiDeviceStatus getDeviceStatus(in MidiDeviceInfo deviceInfo); in getDeviceStatus()
|
D | MidiDeviceStatus.java | 29 private final MidiDeviceInfo mDeviceInfo; 38 public MidiDeviceStatus(MidiDeviceInfo deviceInfo, boolean inputPortOpen[], in MidiDeviceStatus() 55 public MidiDeviceStatus(MidiDeviceInfo deviceInfo) { in MidiDeviceStatus() 66 public MidiDeviceInfo getDeviceInfo() { in getDeviceInfo() 117 ClassLoader classLoader = MidiDeviceInfo.class.getClassLoader(); 118 MidiDeviceInfo deviceInfo = in.readParcelable(classLoader);
|
D | IMidiDeviceListener.aidl | 19 import android.media.midi.MidiDeviceInfo; 25 void onDeviceAdded(in MidiDeviceInfo device); in onDeviceAdded() 26 void onDeviceRemoved(in MidiDeviceInfo device); in onDeviceRemoved()
|
D | IMidiDeviceServer.aidl | 19 import android.media.midi.MidiDeviceInfo; 33 MidiDeviceInfo getDeviceInfo(); in getDeviceInfo() 34 void setDeviceInfo(in MidiDeviceInfo deviceInfo); in setDeviceInfo()
|
D | MidiDeviceService.java | 55 private MidiDeviceInfo mDeviceInfo; 75 MidiDeviceInfo deviceInfo = mMidiManager.getServiceDeviceInfo(getPackageName(), in onCreate() 120 public final MidiDeviceInfo getDeviceInfo() { in getDeviceInfo()
|
D | MidiDevice.java | 39 private final MidiDeviceInfo mDeviceInfo; 94 /* package */ MidiDevice(MidiDeviceInfo deviceInfo, IMidiDeviceServer server, in MidiDevice() 109 public MidiDeviceInfo getInfo() { in getInfo()
|
D | MidiDeviceServer.java | 49 private MidiDeviceInfo mDeviceInfo; 276 public MidiDeviceInfo getDeviceInfo() { 281 public void setDeviceInfo(MidiDeviceInfo deviceInfo) { 316 MidiDeviceInfo deviceInfo, Callback callback) { in MidiDeviceServer()
|
D | MidiDeviceInfo.aidl | 19 parcelable MidiDeviceInfo;
|
/frameworks/base/services/midi/java/com/android/server/midi/ |
D | MidiService.java | 34 import android.media.midi.MidiDeviceInfo; 83 private final HashMap<MidiDeviceInfo, Device> mDevicesByInfo 84 = new HashMap<MidiDeviceInfo, Device>(); 184 MidiDeviceInfo deviceInfo = device.getDeviceInfo(); in deviceAdded() 198 MidiDeviceInfo deviceInfo = device.getDeviceInfo(); in deviceRemoved() 275 private MidiDeviceInfo mDeviceInfo; 292 public Device(IMidiDeviceServer server, MidiDeviceInfo deviceInfo, in Device() 298 MidiDeviceInfo.PROPERTY_BLUETOOTH_DEVICE);; in Device() 348 public MidiDeviceInfo getDeviceInfo() { in getDeviceInfo() 353 public void setDeviceInfo(MidiDeviceInfo deviceInfo) { in setDeviceInfo() [all …]
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbAlsaManager.java | 27 import android.media.midi.MidiDeviceInfo; 414 properties.putString(MidiDeviceInfo.PROPERTY_NAME, name); in usbDeviceAdded() 415 properties.putString(MidiDeviceInfo.PROPERTY_MANUFACTURER, manufacturer); in usbDeviceAdded() 416 properties.putString(MidiDeviceInfo.PROPERTY_PRODUCT, product); in usbDeviceAdded() 417 properties.putString(MidiDeviceInfo.PROPERTY_VERSION, version); in usbDeviceAdded() 418 properties.putString(MidiDeviceInfo.PROPERTY_SERIAL_NUMBER, in usbDeviceAdded() 420 properties.putInt(MidiDeviceInfo.PROPERTY_ALSA_CARD, alsaDevice.mCard); in usbDeviceAdded() 421 properties.putInt(MidiDeviceInfo.PROPERTY_ALSA_DEVICE, alsaDevice.mDevice); in usbDeviceAdded() 422 properties.putParcelable(MidiDeviceInfo.PROPERTY_USB_DEVICE, usbDevice); in usbDeviceAdded() 477 properties.putString(MidiDeviceInfo.PROPERTY_NAME, r.getString( in setPeripheralMidiState() [all …]
|
D | UsbMidiDevice.java | 20 import android.media.midi.MidiDeviceInfo; 79 MidiDeviceInfo deviceInfo = status.getDeviceInfo(); 288 null, null, properties, MidiDeviceInfo.TYPE_USB, mCallback); in register()
|
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/ |
D | BluetoothMidiDevice.java | 27 import android.media.midi.MidiDeviceInfo; 221 properties.putString(MidiDeviceInfo.PROPERTY_NAME, mBluetoothGatt.getDevice().getName()); in BluetoothMidiDevice() 222 properties.putParcelable(MidiDeviceInfo.PROPERTY_BLUETOOTH_DEVICE, in BluetoothMidiDevice() 229 null, null, properties, MidiDeviceInfo.TYPE_BLUETOOTH, mDeviceServerCallback); in BluetoothMidiDevice()
|
/frameworks/base/api/ |
D | current.txt | 17284 method public android.media.midi.MidiDeviceInfo getInfo(); 17293 public final class MidiDeviceInfo implements android.os.Parcelable { 17298 method public android.media.midi.MidiDeviceInfo.PortInfo[] getPorts(); 17303 …field public static final android.os.Parcelable.Creator<android.media.midi.MidiDeviceInfo> CREATOR; 17316 public static final class MidiDeviceInfo.PortInfo { 17326 method public final android.media.midi.MidiDeviceInfo getDeviceInfo(); 17337 method public android.media.midi.MidiDeviceInfo getDeviceInfo(); 17351 method public android.media.midi.MidiDeviceInfo[] getDevices(); 17353 …method public void openDevice(android.media.midi.MidiDeviceInfo, android.media.midi.MidiManager.On… 17360 method public void onDeviceAdded(android.media.midi.MidiDeviceInfo); [all …]
|
D | system-current.txt | 18620 method public android.media.midi.MidiDeviceInfo getInfo(); 18629 public final class MidiDeviceInfo implements android.os.Parcelable { 18634 method public android.media.midi.MidiDeviceInfo.PortInfo[] getPorts(); 18639 …field public static final android.os.Parcelable.Creator<android.media.midi.MidiDeviceInfo> CREATOR; 18652 public static final class MidiDeviceInfo.PortInfo { 18662 method public final android.media.midi.MidiDeviceInfo getDeviceInfo(); 18673 method public android.media.midi.MidiDeviceInfo getDeviceInfo(); 18687 method public android.media.midi.MidiDeviceInfo[] getDevices(); 18689 …method public void openDevice(android.media.midi.MidiDeviceInfo, android.media.midi.MidiManager.On… 18696 method public void onDeviceAdded(android.media.midi.MidiDeviceInfo); [all …]
|