Build 1.0_r1(from source)

android.media
Class IAudioService.Stub

java.lang.Object
  extended by android.os.Binder
      extended by android.media.IAudioService.Stub
All Implemented Interfaces:
IAudioService, IBinder, IInterface
Direct Known Subclasses:
AudioService
Enclosing interface:
IAudioService

public abstract static class IAudioService.Stub
extends Binder
implements IAudioService

Local-side IPC implementation stub class.


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.media.IAudioService
IAudioService.Stub
 
Nested classes/interfaces inherited from interface android.os.IBinder
IBinder.DeathRecipient
 
Field Summary
(package private) static int TRANSACTION_adjustStreamVolume
           
(package private) static int TRANSACTION_adjustSuggestedStreamVolume
           
(package private) static int TRANSACTION_adjustVolume
           
(package private) static int TRANSACTION_getMode
           
(package private) static int TRANSACTION_getRingerMode
           
(package private) static int TRANSACTION_getRouting
           
(package private) static int TRANSACTION_getStreamMaxVolume
           
(package private) static int TRANSACTION_getStreamVolume
           
(package private) static int TRANSACTION_getVibrateSetting
           
(package private) static int TRANSACTION_isMicrophoneMute
           
(package private) static int TRANSACTION_isMusicActive
           
(package private) static int TRANSACTION_loadSoundEffects
           
(package private) static int TRANSACTION_playSoundEffect
           
(package private) static int TRANSACTION_setMicrophoneMute
           
(package private) static int TRANSACTION_setMode
           
(package private) static int TRANSACTION_setParameter
           
(package private) static int TRANSACTION_setRingerMode
           
(package private) static int TRANSACTION_setRouting
           
(package private) static int TRANSACTION_setStreamMute
           
(package private) static int TRANSACTION_setStreamSolo
           
(package private) static int TRANSACTION_setStreamVolume
           
(package private) static int TRANSACTION_setVibrateSetting
           
(package private) static int TRANSACTION_shouldVibrate
           
(package private) static int TRANSACTION_unloadSoundEffects
           
 
Fields inherited from interface android.os.IBinder
DUMP_TRANSACTION, FIRST_CALL_TRANSACTION, FLAG_ONEWAY, INTERFACE_TRANSACTION, LAST_CALL_TRANSACTION, PING_TRANSACTION
 
Constructor Summary
IAudioService.Stub()
          Construct the stub at attach it to the interface.
 
Method Summary
 IBinder asBinder()
          Retrieve the Binder object associated with this interface.
static IAudioService asInterface(IBinder obj)
          Cast an IBinder object into an IAudioService interface, generating a proxy if needed.
 boolean onTransact(int code, Parcel data, Parcel reply, int flags)
          Default implementation is a stub that returns false.
 
Methods inherited from class android.os.Binder
attachInterface, clearCallingIdentity, dump, finalize, flushPendingCommands, getCallingPid, getCallingUid, getInterfaceDescriptor, isBinderAlive, joinThreadPool, linkToDeath, pingBinder, queryLocalInterface, restoreCallingIdentity, transact, unlinkToDeath
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface android.media.IAudioService
adjustStreamVolume, adjustSuggestedStreamVolume, adjustVolume, getMode, getRingerMode, getRouting, getStreamMaxVolume, getStreamVolume, getVibrateSetting, isMicrophoneMute, isMusicActive, loadSoundEffects, playSoundEffect, setMicrophoneMute, setMode, setParameter, setRingerMode, setRouting, setStreamMute, setStreamSolo, setStreamVolume, setVibrateSetting, shouldVibrate, unloadSoundEffects
 

Field Detail

TRANSACTION_adjustVolume

static final int TRANSACTION_adjustVolume
See Also:
Constant Field Values

TRANSACTION_adjustSuggestedStreamVolume

static final int TRANSACTION_adjustSuggestedStreamVolume
See Also:
Constant Field Values

TRANSACTION_adjustStreamVolume

static final int TRANSACTION_adjustStreamVolume
See Also:
Constant Field Values

TRANSACTION_setStreamVolume

static final int TRANSACTION_setStreamVolume
See Also:
Constant Field Values

TRANSACTION_setStreamSolo

static final int TRANSACTION_setStreamSolo
See Also:
Constant Field Values

TRANSACTION_setStreamMute

static final int TRANSACTION_setStreamMute
See Also:
Constant Field Values

TRANSACTION_getStreamVolume

static final int TRANSACTION_getStreamVolume
See Also:
Constant Field Values

TRANSACTION_getStreamMaxVolume

static final int TRANSACTION_getStreamMaxVolume
See Also:
Constant Field Values

TRANSACTION_setRingerMode

static final int TRANSACTION_setRingerMode
See Also:
Constant Field Values

TRANSACTION_getRingerMode

static final int TRANSACTION_getRingerMode
See Also:
Constant Field Values

TRANSACTION_setVibrateSetting

static final int TRANSACTION_setVibrateSetting
See Also:
Constant Field Values

TRANSACTION_getVibrateSetting

static final int TRANSACTION_getVibrateSetting
See Also:
Constant Field Values

TRANSACTION_shouldVibrate

static final int TRANSACTION_shouldVibrate
See Also:
Constant Field Values

TRANSACTION_setMicrophoneMute

static final int TRANSACTION_setMicrophoneMute
See Also:
Constant Field Values

TRANSACTION_isMicrophoneMute

static final int TRANSACTION_isMicrophoneMute
See Also:
Constant Field Values

TRANSACTION_setMode

static final int TRANSACTION_setMode
See Also:
Constant Field Values

TRANSACTION_getMode

static final int TRANSACTION_getMode
See Also:
Constant Field Values

TRANSACTION_setRouting

static final int TRANSACTION_setRouting
See Also:
Constant Field Values

TRANSACTION_getRouting

static final int TRANSACTION_getRouting
See Also:
Constant Field Values

TRANSACTION_isMusicActive

static final int TRANSACTION_isMusicActive
See Also:
Constant Field Values

TRANSACTION_setParameter

static final int TRANSACTION_setParameter
See Also:
Constant Field Values

TRANSACTION_playSoundEffect

static final int TRANSACTION_playSoundEffect
See Also:
Constant Field Values

TRANSACTION_loadSoundEffects

static final int TRANSACTION_loadSoundEffects
See Also:
Constant Field Values

TRANSACTION_unloadSoundEffects

static final int TRANSACTION_unloadSoundEffects
See Also:
Constant Field Values
Constructor Detail

IAudioService.Stub

public IAudioService.Stub()
Construct the stub at attach it to the interface.

Method Detail

asInterface

public static IAudioService asInterface(IBinder obj)
Cast an IBinder object into an IAudioService interface, generating a proxy if needed.


asBinder

public IBinder asBinder()
Description copied from interface: IInterface
Retrieve the Binder object associated with this interface. You must use this instead of a plain cast, so that proxy objects can return the correct result.

Specified by:
asBinder in interface IInterface

onTransact

public boolean onTransact(int code,
                          Parcel data,
                          Parcel reply,
                          int flags)
                   throws RemoteException
Description copied from class: Binder
Default implementation is a stub that returns false. You will want to override this to do the appropriate unmarshalling of transactions.

If you want to call this, call transact().

Overrides:
onTransact in class Binder
Throws:
RemoteException

Build 1.0_r1(from source)

Please submit a feedback, bug or feature