Home
last modified time | relevance | path

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

/frameworks/base/media/native/midi/
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) {
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 …]
DAndroid.bp29 "MidiDeviceInfo.cpp",
Damidi.cpp131 MidiDeviceInfo deviceInfo; in AMIDI_getDeviceInfo()
/frameworks/base/media/java/android/media/midi/
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()
DMidiDeviceInfo.java32 public final class MidiDeviceInfo implements Parcelable { class
204 public MidiDeviceInfo(int type, int id, int numInputPorts, int numOutputPorts, in MidiDeviceInfo() method in MidiDeviceInfo
317 if (o instanceof MidiDeviceInfo) { in equals()
318 return (((MidiDeviceInfo)o).mId == mId); in equals()
341 public static final @android.annotation.NonNull Parcelable.Creator<MidiDeviceInfo> CREATOR =
342 new Parcelable.Creator<MidiDeviceInfo>() {
343 public MidiDeviceInfo createFromParcel(Parcel in) {
354 return new MidiDeviceInfo(type, id, inputPortCount, outputPortCount,
358 public MidiDeviceInfo[] newArray(int size) {
359 return new MidiDeviceInfo[size];
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()
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()
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()
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.java36 import android.media.midi.MidiDeviceInfo;
95 private final HashMap<MidiDeviceInfo, Device> mDevicesByInfo
96 = new HashMap<MidiDeviceInfo, Device>();
198 MidiDeviceInfo deviceInfo = device.getDeviceInfo(); in deviceAdded()
212 MidiDeviceInfo deviceInfo = device.getDeviceInfo(); in deviceRemoved()
289 private MidiDeviceInfo mDeviceInfo;
306 public Device(IMidiDeviceServer server, MidiDeviceInfo deviceInfo, in Device()
312 MidiDeviceInfo.PROPERTY_BLUETOOTH_DEVICE);; in Device()
361 public MidiDeviceInfo getDeviceInfo() { in getDeviceInfo()
366 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/boot/hiddenapi/
Dhiddenapi-max-target-o.txt31849 …oid/media/midi/IMidiDeviceListener$Stub$Proxy;->onDeviceAdded(Landroid/media/midi/MidiDeviceInfo;)V
31850 …d/media/midi/IMidiDeviceListener$Stub$Proxy;->onDeviceRemoved(Landroid/media/midi/MidiDeviceInfo;)V
31858 Landroid/media/midi/IMidiDeviceListener;->onDeviceAdded(Landroid/media/midi/MidiDeviceInfo;)V
31859 Landroid/media/midi/IMidiDeviceListener;->onDeviceRemoved(Landroid/media/midi/MidiDeviceInfo;)V
31874 …ndroid/media/midi/IMidiDeviceServer$Stub$Proxy;->getDeviceInfo()Landroid/media/midi/MidiDeviceInfo;
31879 Landroid/media/midi/IMidiDeviceServer$Stub$Proxy;->setDeviceInfo(Landroid/media/midi/MidiDeviceInfo
31893 Landroid/media/midi/IMidiDeviceServer;->getDeviceInfo()Landroid/media/midi/MidiDeviceInfo;
31896 Landroid/media/midi/IMidiDeviceServer;->setDeviceInfo(Landroid/media/midi/MidiDeviceInfo;)V
31899 Landroid/media/midi/IMidiManager$Stub$Proxy;->getDevices()[Landroid/media/midi/MidiDeviceInfo;
31900 Landroid/media/midi/IMidiManager$Stub$Proxy;->getDeviceStatus(Landroid/media/midi/MidiDeviceInfo;)L…
[all …]
/frameworks/base/boot/
Dpreloaded-classes4778 android.media.midi.MidiDeviceInfo$1
4779 android.media.midi.MidiDeviceInfo
Dboot-image-profile.txt28007 Landroid/media/midi/MidiDeviceInfo$1;
28008 Landroid/media/midi/MidiDeviceInfo;
/frameworks/base/config/
Dpreloaded-classes4776 android.media.midi.MidiDeviceInfo$1
4777 android.media.midi.MidiDeviceInfo
Dboot-image-profile.txt37644 Landroid/media/midi/MidiDeviceInfo$1;
37645 Landroid/media/midi/MidiDeviceInfo;
/frameworks/base/core/api/
Dcurrent.txt24953 method public android.media.midi.MidiDeviceInfo getInfo();
24962 public final class MidiDeviceInfo implements android.os.Parcelable {
24967 method public android.media.midi.MidiDeviceInfo.PortInfo[] getPorts();
24972 …nNull public static final android.os.Parcelable.Creator<android.media.midi.MidiDeviceInfo> CREATOR;
24985 public static final class MidiDeviceInfo.PortInfo {
24995 method public final android.media.midi.MidiDeviceInfo getDeviceInfo();
25006 method public android.media.midi.MidiDeviceInfo getDeviceInfo();
25020 method public android.media.midi.MidiDeviceInfo[] getDevices();
25022 …method public void openDevice(android.media.midi.MidiDeviceInfo, android.media.midi.MidiManager.On…
25029 method public void onDeviceAdded(android.media.midi.MidiDeviceInfo);
[all …]
/frameworks/base/services/
Dart-profile25189 …idiService;Landroid/media/midi/IMidiDeviceServer;Landroid/media/midi/MidiDeviceInfo;Landroid/conte…
25190 PLcom/android/server/midi/MidiService$Device;->getDeviceInfo()Landroid/media/midi/MidiDeviceInfo;
25203 …media/midi/IMidiDeviceServer;Landroid/content/pm/ServiceInfo;ZI)Landroid/media/midi/MidiDeviceInfo;