Home
last modified time | relevance | path

Searched refs:MidiDeviceInfo (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/media/native/midi/
DMidiDeviceInfo.cpp32 const char* const MidiDeviceInfo::PROPERTY_NAME = "name";
33 const char* const MidiDeviceInfo::PROPERTY_MANUFACTURER = "manufacturer";
34 const char* const MidiDeviceInfo::PROPERTY_PRODUCT = "product";
35 const char* const MidiDeviceInfo::PROPERTY_VERSION = "version";
36 const char* const MidiDeviceInfo::PROPERTY_SERIAL_NUMBER = "serial_number";
37 const char* const MidiDeviceInfo::PROPERTY_ALSA_CARD = "alsa_card";
38 const char* const MidiDeviceInfo::PROPERTY_ALSA_DEVICE = "alsa_device";
40 String16 MidiDeviceInfo::getProperty(const char* propertyName) { in getProperty()
58 status_t MidiDeviceInfo::writeToParcel(Parcel* parcel) const { in writeToParcel()
73 status_t MidiDeviceInfo::readFromParcel(const Parcel* parcel) { in readFromParcel()
[all …]
DMidiDeviceInfo.h29 class MidiDeviceInfo : public Parcelable {
31 MidiDeviceInfo() = default;
32 virtual ~MidiDeviceInfo() = default;
33 MidiDeviceInfo(const MidiDeviceInfo& midiDeviceInfo) = default;
59 friend bool operator==(const MidiDeviceInfo& lhs, const MidiDeviceInfo& rhs);
60 friend bool operator!=(const MidiDeviceInfo& lhs, const MidiDeviceInfo& rhs) {
DAndroid.bp20 "MidiDeviceInfo.cpp",
Damidi.cpp131 MidiDeviceInfo deviceInfo; in AMIDI_getDeviceInfo()
/frameworks/base/media/java/android/media/midi/
DMidiDeviceInfo.java33 public final class MidiDeviceInfo implements Parcelable { class
205 public MidiDeviceInfo(int type, int id, int numInputPorts, int numOutputPorts, in MidiDeviceInfo() method in MidiDeviceInfo
304 if (o instanceof MidiDeviceInfo) { in equals()
305 return (((MidiDeviceInfo)o).mId == mId); in equals()
328 public static final @android.annotation.NonNull Parcelable.Creator<MidiDeviceInfo> CREATOR =
329 new Parcelable.Creator<MidiDeviceInfo>() {
330 public MidiDeviceInfo createFromParcel(Parcel in) {
341 return new MidiDeviceInfo(type, id, inputPortCount, outputPortCount,
345 public MidiDeviceInfo[] newArray(int size) {
346 return new MidiDeviceInfo[size];
DIMidiManager.aidl24 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()
DMidiManager.java78 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()
215 public MidiDeviceInfo[] getDevices() { in getDevices()
246 public void openDevice(MidiDeviceInfo deviceInfo, OnDeviceOpenedListener listener, in openDevice()
248 final MidiDeviceInfo deviceInfoF = deviceInfo; in openDevice()
294 MidiDeviceInfo deviceInfo = server.getDeviceInfo(); in openBluetoothDevice()
[all …]
DMidiDeviceStatus.java29 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);
DIMidiDeviceListener.aidl19 import android.media.midi.MidiDeviceInfo;
25 void onDeviceAdded(in MidiDeviceInfo device); in onDeviceAdded()
26 void onDeviceRemoved(in MidiDeviceInfo device); in onDeviceRemoved()
DIMidiDeviceServer.aidl19 import android.media.midi.MidiDeviceInfo;
33 MidiDeviceInfo getDeviceInfo(); in getDeviceInfo()
36 oneway void setDeviceInfo(in MidiDeviceInfo deviceInfo); in setDeviceInfo()
DMidiDeviceService.java55 private MidiDeviceInfo mDeviceInfo;
75 MidiDeviceInfo deviceInfo = mMidiManager.getServiceDeviceInfo(getPackageName(), in onCreate()
120 public final MidiDeviceInfo getDeviceInfo() { in getDeviceInfo()
DMidiDeviceServer.java51 private MidiDeviceInfo mDeviceInfo;
243 if (mDeviceInfo.getType() != MidiDeviceInfo.TYPE_VIRTUAL) {
318 public MidiDeviceInfo getDeviceInfo() {
323 public void setDeviceInfo(MidiDeviceInfo deviceInfo) {
372 MidiDeviceInfo deviceInfo, Callback callback) { in MidiDeviceServer()
DMidiDevice.java42 private final MidiDeviceInfo mDeviceInfo; // accessed from native code
104 /* package */ MidiDevice(MidiDeviceInfo deviceInfo, IMidiDeviceServer server, in MidiDevice()
120 public MidiDeviceInfo getInfo() { in getInfo()
DMidiDeviceInfo.aidl19 parcelable MidiDeviceInfo cpp_header "MidiDeviceInfo.h";
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbAlsaManager.java24 import android.media.midi.MidiDeviceInfo;
277 properties.putString(MidiDeviceInfo.PROPERTY_NAME, name); in usbDeviceAdded()
278 properties.putString(MidiDeviceInfo.PROPERTY_MANUFACTURER, manufacturer); in usbDeviceAdded()
279 properties.putString(MidiDeviceInfo.PROPERTY_PRODUCT, product); in usbDeviceAdded()
280 properties.putString(MidiDeviceInfo.PROPERTY_VERSION, version); in usbDeviceAdded()
281 properties.putString(MidiDeviceInfo.PROPERTY_SERIAL_NUMBER, in usbDeviceAdded()
283 properties.putInt(MidiDeviceInfo.PROPERTY_ALSA_CARD, cardRec.getCardNum()); in usbDeviceAdded()
284 properties.putInt(MidiDeviceInfo.PROPERTY_ALSA_DEVICE, 0 /*deviceNum*/); in usbDeviceAdded()
285 properties.putParcelable(MidiDeviceInfo.PROPERTY_USB_DEVICE, usbDevice); in usbDeviceAdded()
333 properties.putString(MidiDeviceInfo.PROPERTY_NAME, r.getString( in setPeripheralMidiState()
[all …]
DUsbMidiDevice.java21 import android.media.midi.MidiDeviceInfo;
81 MidiDeviceInfo deviceInfo = status.getDeviceInfo();
298 null, null, properties, MidiDeviceInfo.TYPE_USB, mCallback); in register()
/frameworks/base/services/midi/java/com/android/server/midi/
DMidiService.java35 import android.media.midi.MidiDeviceInfo;
93 private final HashMap<MidiDeviceInfo, Device> mDevicesByInfo
94 = new HashMap<MidiDeviceInfo, Device>();
196 MidiDeviceInfo deviceInfo = device.getDeviceInfo(); in deviceAdded()
210 MidiDeviceInfo deviceInfo = device.getDeviceInfo(); in deviceRemoved()
287 private MidiDeviceInfo mDeviceInfo;
304 public Device(IMidiDeviceServer server, MidiDeviceInfo deviceInfo, in Device()
310 MidiDeviceInfo.PROPERTY_BLUETOOTH_DEVICE);; in Device()
357 public MidiDeviceInfo getDeviceInfo() { in getDeviceInfo()
362 public void setDeviceInfo(MidiDeviceInfo deviceInfo) { in setDeviceInfo()
[all …]
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/
DBluetoothMidiDevice.java27 import android.media.midi.MidiDeviceInfo;
229 properties.putString(MidiDeviceInfo.PROPERTY_NAME, mBluetoothGatt.getDevice().getName()); in BluetoothMidiDevice()
230 properties.putParcelable(MidiDeviceInfo.PROPERTY_BLUETOOTH_DEVICE, in BluetoothMidiDevice()
237 null, null, properties, MidiDeviceInfo.TYPE_BLUETOOTH, mDeviceServerCallback); in BluetoothMidiDevice()
/frameworks/base/config/
Dpreloaded-classes2420 android.media.midi.MidiDeviceInfo$1
2421 android.media.midi.MidiDeviceInfo
Dhiddenapi-greylist-max-o.txt39106 …oid/media/midi/IMidiDeviceListener$Stub$Proxy;->onDeviceAdded(Landroid/media/midi/MidiDeviceInfo;)V
39107 …d/media/midi/IMidiDeviceListener$Stub$Proxy;->onDeviceRemoved(Landroid/media/midi/MidiDeviceInfo;)V
39115 Landroid/media/midi/IMidiDeviceListener;->onDeviceAdded(Landroid/media/midi/MidiDeviceInfo;)V
39116 Landroid/media/midi/IMidiDeviceListener;->onDeviceRemoved(Landroid/media/midi/MidiDeviceInfo;)V
39131 …ndroid/media/midi/IMidiDeviceServer$Stub$Proxy;->getDeviceInfo()Landroid/media/midi/MidiDeviceInfo;
39136 Landroid/media/midi/IMidiDeviceServer$Stub$Proxy;->setDeviceInfo(Landroid/media/midi/MidiDeviceInfo
39150 Landroid/media/midi/IMidiDeviceServer;->getDeviceInfo()Landroid/media/midi/MidiDeviceInfo;
39153 Landroid/media/midi/IMidiDeviceServer;->setDeviceInfo(Landroid/media/midi/MidiDeviceInfo;)V
39156 Landroid/media/midi/IMidiManager$Stub$Proxy;->getDevices()[Landroid/media/midi/MidiDeviceInfo;
39157 Landroid/media/midi/IMidiManager$Stub$Proxy;->getDeviceStatus(Landroid/media/midi/MidiDeviceInfo;)L…
[all …]
Dboot-image-profile.txt9832 HSPLandroid/media/midi/MidiDeviceInfo$1;-><init>()V
34732 Landroid/media/midi/MidiDeviceInfo$1;
34733 Landroid/media/midi/MidiDeviceInfo;
/frameworks/base/non-updatable-api/
Dcurrent.txt27251 method public android.media.midi.MidiDeviceInfo getInfo();
27260 public final class MidiDeviceInfo implements android.os.Parcelable {
27265 method public android.media.midi.MidiDeviceInfo.PortInfo[] getPorts();
27270 …nNull public static final android.os.Parcelable.Creator<android.media.midi.MidiDeviceInfo> CREATOR;
27283 public static final class MidiDeviceInfo.PortInfo {
27293 method public final android.media.midi.MidiDeviceInfo getDeviceInfo();
27304 method public android.media.midi.MidiDeviceInfo getDeviceInfo();
27318 method public android.media.midi.MidiDeviceInfo[] getDevices();
27320 …method public void openDevice(android.media.midi.MidiDeviceInfo, android.media.midi.MidiManager.On…
27327 method public void onDeviceAdded(android.media.midi.MidiDeviceInfo);
[all …]
/frameworks/base/api/
Dcurrent.txt27381 method public android.media.midi.MidiDeviceInfo getInfo();
27390 public final class MidiDeviceInfo implements android.os.Parcelable {
27395 method public android.media.midi.MidiDeviceInfo.PortInfo[] getPorts();
27400 …nNull public static final android.os.Parcelable.Creator<android.media.midi.MidiDeviceInfo> CREATOR;
27413 public static final class MidiDeviceInfo.PortInfo {
27423 method public final android.media.midi.MidiDeviceInfo getDeviceInfo();
27434 method public android.media.midi.MidiDeviceInfo getDeviceInfo();
27448 method public android.media.midi.MidiDeviceInfo[] getDevices();
27450 …method public void openDevice(android.media.midi.MidiDeviceInfo, android.media.midi.MidiManager.On…
27457 method public void onDeviceAdded(android.media.midi.MidiDeviceInfo);
[all …]