📄 imediaplaybackservice.java
字号:
_reply.recycle();_data.recycle();}}public void prev() throws android.os.RemoteException{android.os.Parcel _data = android.os.Parcel.obtain();android.os.Parcel _reply = android.os.Parcel.obtain();try {_data.writeInterfaceToken(DESCRIPTOR);mRemote.transact(Stub.TRANSACTION_prev, _data, _reply, 0);_reply.readException();}finally {_reply.recycle();_data.recycle();}}public void next() throws android.os.RemoteException{android.os.Parcel _data = android.os.Parcel.obtain();android.os.Parcel _reply = android.os.Parcel.obtain();try {_data.writeInterfaceToken(DESCRIPTOR);mRemote.transact(Stub.TRANSACTION_next, _data, _reply, 0);_reply.readException();}finally {_reply.recycle();_data.recycle();}}public long duration() throws android.os.RemoteException{android.os.Parcel _data = android.os.Parcel.obtain();android.os.Parcel _reply = android.os.Parcel.obtain();long _result;try {_data.writeInterfaceToken(DESCRIPTOR);mRemote.transact(Stub.TRANSACTION_duration, _data, _reply, 0);_reply.readException();_result = _reply.readLong();}finally {_reply.recycle();_data.recycle();}return _result;}public long position() throws android.os.RemoteException{android.os.Parcel _data = android.os.Parcel.obtain();android.os.Parcel _reply = android.os.Parcel.obtain();long _result;try {_data.writeInterfaceToken(DESCRIPTOR);mRemote.transact(Stub.TRANSACTION_position, _data, _reply, 0);_reply.readException();_result = _reply.readLong();}finally {_reply.recycle();_data.recycle();}return _result;}public long seek(long pos) throws android.os.RemoteException{android.os.Parcel _data = android.os.Parcel.obtain();android.os.Parcel _reply = android.os.Parcel.obtain();long _result;try {_data.writeInterfaceToken(DESCRIPTOR);_data.writeLong(pos);mRemote.transact(Stub.TRANSACTION_seek, _data, _reply, 0);_reply.readException();_result = _reply.readLong();}finally {_reply.recycle();_data.recycle();}return _result;}public java.lang.String getTrackName() throws android.os.RemoteException{android.os.Parcel _data = android.os.Parcel.obtain();android.os.Parcel _reply = android.os.Parcel.obtain();java.lang.String _result;try {_data.writeInterfaceToken(DESCRIPTOR);mRemote.transact(Stub.TRANSACTION_getTrackName, _data, _reply, 0);_reply.readException();_result = _reply.readString();}finally {_reply.recycle();_data.recycle();}return _result;}public java.lang.String getAlbumName() throws android.os.RemoteException{android.os.Parcel _data = android.os.Parcel.obtain();android.os.Parcel _reply = android.os.Parcel.obtain();java.lang.String _result;try {_data.writeInterfaceToken(DESCRIPTOR);mRemote.transact(Stub.TRANSACTION_getAlbumName, _data, _reply, 0);_reply.readException();_result = _reply.readString();}finally {_reply.recycle();_data.recycle();}return _result;}public int getAlbumId() throws android.os.RemoteException{android.os.Parcel _data = android.os.Parcel.obtain();android.os.Parcel _reply = android.os.Parcel.obtain();int _result;try {_data.writeInterfaceToken(DESCRIPTOR);mRemote.transact(Stub.TRANSACTION_getAlbumId, _data, _reply, 0);_reply.readException();_result = _reply.readInt();}finally {_reply.recycle();_data.recycle();}return _result;}public java.lang.String getArtistName() throws android.os.RemoteException{android.os.Parcel _data = android.os.Parcel.obtain();android.os.Parcel _reply = android.os.Parcel.obtain();java.lang.String _result;try {_data.writeInterfaceToken(DESCRIPTOR);mRemote.transact(Stub.TRANSACTION_getArtistName, _data, _reply, 0);_reply.readException();_result = _reply.readString();}finally {_reply.recycle();_data.recycle();}return _result;}public int getArtistId() throws android.os.RemoteException{android.os.Parcel _data = android.os.Parcel.obtain();android.os.Parcel _reply = android.os.Parcel.obtain();int _result;try {_data.writeInterfaceToken(DESCRIPTOR);mRemote.transact(Stub.TRANSACTION_getArtistId, _data, _reply, 0);_reply.readException();_result = _reply.readInt();}finally {_reply.recycle();_data.recycle();}return _result;}public void enqueue(int[] list, int action) throws android.os.RemoteException{android.os.Parcel _data = android.os.Parcel.obtain();android.os.Parcel _reply = android.os.Parcel.obtain();try {_data.writeInterfaceToken(DESCRIPTOR);_data.writeIntArray(list);_data.writeInt(action);mRemote.transact(Stub.TRANSACTION_enqueue, _data, _reply, 0);_reply.readException();}finally {_reply.recycle();_data.recycle();}}public int[] getQueue() throws android.os.RemoteException{android.os.Parcel _data = android.os.Parcel.obtain();android.os.Parcel _reply = android.os.Parcel.obtain();int[] _result;try {_data.writeInterfaceToken(DESCRIPTOR);mRemote.transact(Stub.TRANSACTION_getQueue, _data, _reply, 0);_reply.readException();_result = _reply.createIntArray();}finally {_reply.recycle();_data.recycle();}return _result;}public void moveQueueItem(int from, int to) throws android.os.RemoteException{android.os.Parcel _data = android.os.Parcel.obtain();android.os.Parcel _reply = android.os.Parcel.obtain();try {_data.writeInterfaceToken(DESCRIPTOR);_data.writeInt(from);_data.writeInt(to);mRemote.transact(Stub.TRANSACTION_moveQueueItem, _data, _reply, 0);_reply.readException();}finally {_reply.recycle();_data.recycle();}}public void setQueuePosition(int index) throws android.os.RemoteException{android.os.Parcel _data = android.os.Parcel.obtain();android.os.Parcel _reply = android.os.Parcel.obtain();try {_data.writeInterfaceToken(DESCRIPTOR);_data.writeInt(index);mRemote.transact(Stub.TRANSACTION_setQueuePosition, _data, _reply, 0);_reply.readException();}finally {_reply.recycle();_data.recycle();}}public java.lang.String getPath() throws android.os.RemoteException{android.os.Parcel _data = android.os.Parcel.obtain();android.os.Parcel _reply = android.os.Parcel.obtain();java.lang.String _result;try {_data.writeInterfaceToken(DESCRIPTOR);mRemote.transact(Stub.TRANSACTION_getPath, _data, _reply, 0);_reply.readException();_result = _reply.readString();}finally {_reply.recycle();_data.recycle();}return _result;}public int getAudioId() throws android.os.RemoteException{android.os.Parcel _data = android.os.Parcel.obtain();android.os.Parcel _reply = android.os.Parcel.obtain();int _result;try {_data.writeInterfaceToken(DESCRIPTOR);mRemote.transact(Stub.TRANSACTION_getAudioId, _data, _reply, 0);_reply.readException();_result = _reply.readInt();}finally {_reply.recycle();_data.recycle();}return _result;}public void setShuffleMode(int shufflemode) throws android.os.RemoteException{android.os.Parcel _data = android.os.Parcel.obtain();android.os.Parcel _reply = android.os.Parcel.obtain();try {_data.writeInterfaceToken(DESCRIPTOR);_data.writeInt(shufflemode);mRemote.transact(Stub.TRANSACTION_setShuffleMode, _data, _reply, 0);_reply.readException();}finally {_reply.recycle();_data.recycle();}}public int getShuffleMode() throws android.os.RemoteException{android.os.Parcel _data = android.os.Parcel.obtain();android.os.Parcel _reply = android.os.Parcel.obtain();int _result;try {_data.writeInterfaceToken(DESCRIPTOR);mRemote.transact(Stub.TRANSACTION_getShuffleMode, _data, _reply, 0);_reply.readException();_result = _reply.readInt();}finally {_reply.recycle();_data.recycle();}return _result;}public int removeTracks(int first, int last) throws android.os.RemoteException{android.os.Parcel _data = android.os.Parcel.obtain();android.os.Parcel _reply = android.os.Parcel.obtain();int _result;try {_data.writeInterfaceToken(DESCRIPTOR);_data.writeInt(first);_data.writeInt(last);mRemote.transact(Stub.TRANSACTION_removeTracks, _data, _reply, 0);_reply.readException();_result = _reply.readInt();}finally {_reply.recycle();_data.recycle();}return _result;}public int removeTrack(int id) throws android.os.RemoteException{android.os.Parcel _data = android.os.Parcel.obtain();android.os.Parcel _reply = android.os.Parcel.obtain();int _result;try {_data.writeInterfaceToken(DESCRIPTOR);_data.writeInt(id);mRemote.transact(Stub.TRANSACTION_removeTrack, _data, _reply, 0);_reply.readException();_result = _reply.readInt();}finally {_reply.recycle();_data.recycle();}return _result;}public void setRepeatMode(int repeatmode) throws android.os.RemoteException{android.os.Parcel _data = android.os.Parcel.obtain();android.os.Parcel _reply = android.os.Parcel.obtain();try {_data.writeInterfaceToken(DESCRIPTOR);_data.writeInt(repeatmode);mRemote.transact(Stub.TRANSACTION_setRepeatMode, _data, _reply, 0);_reply.readException();}finally {_reply.recycle();_data.recycle();}}public int getRepeatMode() throws android.os.RemoteException{android.os.Parcel _data = android.os.Parcel.obtain();android.os.Parcel _reply = android.os.Parcel.obtain();int _result;try {_data.writeInterfaceToken(DESCRIPTOR);mRemote.transact(Stub.TRANSACTION_getRepeatMode, _data, _reply, 0);_reply.readException();_result = _reply.readInt();}finally {_reply.recycle();_data.recycle();}return _result;}public int getMediaMountedCount() throws android.os.RemoteException{android.os.Parcel _data = android.os.Parcel.obtain();android.os.Parcel _reply = android.os.Parcel.obtain();int _result;try {_data.writeInterfaceToken(DESCRIPTOR);mRemote.transact(Stub.TRANSACTION_getMediaMountedCount, _data, _reply, 0);_reply.readException();_result = _reply.readInt();}finally {_reply.recycle();_data.recycle();}return _result;}}static final int TRANSACTION_openfile = (IBinder.FIRST_CALL_TRANSACTION + 0);static final int TRANSACTION_openfileAsync = (IBinder.FIRST_CALL_TRANSACTION + 1);static final int TRANSACTION_open = (IBinder.FIRST_CALL_TRANSACTION + 2);static final int TRANSACTION_getQueuePosition = (IBinder.FIRST_CALL_TRANSACTION + 3);static final int TRANSACTION_isPlaying = (IBinder.FIRST_CALL_TRANSACTION + 4);static final int TRANSACTION_stop = (IBinder.FIRST_CALL_TRANSACTION + 5);static final int TRANSACTION_pause = (IBinder.FIRST_CALL_TRANSACTION + 6);static final int TRANSACTION_play = (IBinder.FIRST_CALL_TRANSACTION + 7);static final int TRANSACTION_prev = (IBinder.FIRST_CALL_TRANSACTION + 8);static final int TRANSACTION_next = (IBinder.FIRST_CALL_TRANSACTION + 9);static final int TRANSACTION_duration = (IBinder.FIRST_CALL_TRANSACTION + 10);static final int TRANSACTION_position = (IBinder.FIRST_CALL_TRANSACTION + 11);static final int TRANSACTION_seek = (IBinder.FIRST_CALL_TRANSACTION + 12);static final int TRANSACTION_getTrackName = (IBinder.FIRST_CALL_TRANSACTION + 13);static final int TRANSACTION_getAlbumName = (IBinder.FIRST_CALL_TRANSACTION + 14);static final int TRANSACTION_getAlbumId = (IBinder.FIRST_CALL_TRANSACTION + 15);static final int TRANSACTION_getArtistName = (IBinder.FIRST_CALL_TRANSACTION + 16);static final int TRANSACTION_getArtistId = (IBinder.FIRST_CALL_TRANSACTION + 17);static final int TRANSACTION_enqueue = (IBinder.FIRST_CALL_TRANSACTION + 18);static final int TRANSACTION_getQueue = (IBinder.FIRST_CALL_TRANSACTION + 19);static final int TRANSACTION_moveQueueItem = (IBinder.FIRST_CALL_TRANSACTION + 20);static final int TRANSACTION_setQueuePosition = (IBinder.FIRST_CALL_TRANSACTION + 21);static final int TRANSACTION_getPath = (IBinder.FIRST_CALL_TRANSACTION + 22);static final int TRANSACTION_getAudioId = (IBinder.FIRST_CALL_TRANSACTION + 23);static final int TRANSACTION_setShuffleMode = (IBinder.FIRST_CALL_TRANSACTION + 24);static final int TRANSACTION_getShuffleMode = (IBinder.FIRST_CALL_TRANSACTION + 25);static final int TRANSACTION_removeTracks = (IBinder.FIRST_CALL_TRANSACTION + 26);static final int TRANSACTION_removeTrack = (IBinder.FIRST_CALL_TRANSACTION + 27);static final int TRANSACTION_setRepeatMode = (IBinder.FIRST_CALL_TRANSACTION + 28);static final int TRANSACTION_getRepeatMode = (IBinder.FIRST_CALL_TRANSACTION + 29);static final int TRANSACTION_getMediaMountedCount = (IBinder.FIRST_CALL_TRANSACTION + 30);}public void openfile(java.lang.String path) throws android.os.RemoteException;public void openfileAsync(java.lang.String path) throws android.os.RemoteException;public void open(int[] list, int position) throws android.os.RemoteException;public int getQueuePosition() throws android.os.RemoteException;public boolean isPlaying() throws android.os.RemoteException;public void stop() throws android.os.RemoteException;public void pause() throws android.os.RemoteException;public void play() throws android.os.RemoteException;public void prev() throws android.os.RemoteException;public void next() throws android.os.RemoteException;public long duration() throws android.os.RemoteException;public long position() throws android.os.RemoteException;public long seek(long pos) throws android.os.RemoteException;public java.lang.String getTrackName() throws android.os.RemoteException;public java.lang.String getAlbumName() throws android.os.RemoteException;public int getAlbumId() throws android.os.RemoteException;public java.lang.String getArtistName() throws android.os.RemoteException;public int getArtistId() throws android.os.RemoteException;public void enqueue(int[] list, int action) throws android.os.RemoteException;public int[] getQueue() throws android.os.RemoteException;public void moveQueueItem(int from, int to) throws android.os.RemoteException;public void setQueuePosition(int index) throws android.os.RemoteException;public java.lang.String getPath() throws android.os.RemoteException;public int getAudioId() throws android.os.RemoteException;public void setShuffleMode(int shufflemode) throws android.os.RemoteException;public int getShuffleMode() throws android.os.RemoteException;public int removeTracks(int first, int last) throws android.os.RemoteException;public int removeTrack(int id) throws android.os.RemoteException;public void setRepeatMode(int repeatmode) throws android.os.RemoteException;public int getRepeatMode() throws android.os.RemoteException;public int getMediaMountedCount() throws android.os.RemoteException;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -