Loading media/java/android/media/midi/MidiDeviceService.java +10 −9 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ import android.util.Log; * <p>To extend this class, you must declare the service in your manifest file with * an intent filter with the {@link #SERVICE_INTERFACE} action * and meta-data to describe the virtual device. For example:</p> * For example:</p> * <pre> * <service android:name=".VirtualDeviceService" * android:label="@string/service_name"> Loading @@ -42,7 +42,7 @@ import android.util.Log; * <action android:name="android.media.midi.MidiDeviceService" /> * </intent-filter> * <meta-data android:name="android.media.midi.MidiDeviceService" android:resource="@xml/device_info" /> * android:resource="@xml/device_info" /> * </service></pre> */ abstract public class MidiDeviceService extends Service { Loading Loading @@ -114,8 +114,8 @@ abstract public class MidiDeviceService extends Service { } /** * returns the {@link MidiDeviceInfo} instance for this service * @return our MidiDeviceInfo * Returns the {@link MidiDeviceInfo} instance for this service * @return the MidiDeviceInfo of the virtual MIDI device */ public final MidiDeviceInfo getDeviceInfo() { return mDeviceInfo; Loading @@ -123,13 +123,14 @@ abstract public class MidiDeviceService extends Service { /** * Called to notify when an our {@link MidiDeviceStatus} has changed * @param status the number of the port that was opened * @param status the current status of the MIDI device */ public void onDeviceStatusChanged(MidiDeviceStatus status) { } /** * Called to notify when our device has been closed by all its clients * Called to notify when the virtual MIDI device running in this service has been closed by * all its clients */ public void onClose() { } Loading media/java/android/media/midi/MidiUmpDeviceService.java +2 −2 File changed.Contains only whitespace changes. Show changes Loading
media/java/android/media/midi/MidiDeviceService.java +10 −9 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ import android.util.Log; * <p>To extend this class, you must declare the service in your manifest file with * an intent filter with the {@link #SERVICE_INTERFACE} action * and meta-data to describe the virtual device. For example:</p> * For example:</p> * <pre> * <service android:name=".VirtualDeviceService" * android:label="@string/service_name"> Loading @@ -42,7 +42,7 @@ import android.util.Log; * <action android:name="android.media.midi.MidiDeviceService" /> * </intent-filter> * <meta-data android:name="android.media.midi.MidiDeviceService" android:resource="@xml/device_info" /> * android:resource="@xml/device_info" /> * </service></pre> */ abstract public class MidiDeviceService extends Service { Loading Loading @@ -114,8 +114,8 @@ abstract public class MidiDeviceService extends Service { } /** * returns the {@link MidiDeviceInfo} instance for this service * @return our MidiDeviceInfo * Returns the {@link MidiDeviceInfo} instance for this service * @return the MidiDeviceInfo of the virtual MIDI device */ public final MidiDeviceInfo getDeviceInfo() { return mDeviceInfo; Loading @@ -123,13 +123,14 @@ abstract public class MidiDeviceService extends Service { /** * Called to notify when an our {@link MidiDeviceStatus} has changed * @param status the number of the port that was opened * @param status the current status of the MIDI device */ public void onDeviceStatusChanged(MidiDeviceStatus status) { } /** * Called to notify when our device has been closed by all its clients * Called to notify when the virtual MIDI device running in this service has been closed by * all its clients */ public void onClose() { } Loading
media/java/android/media/midi/MidiUmpDeviceService.java +2 −2 File changed.Contains only whitespace changes. Show changes