Build 1.0_r1(from source)

android.content.pm
Class IPackageManager.Stub

java.lang.Object
  extended by android.os.Binder
      extended by android.content.pm.IPackageManager.Stub
All Implemented Interfaces:
IPackageManager, IBinder, IInterface
Enclosing interface:
IPackageManager

public abstract static class IPackageManager.Stub
extends Binder
implements IPackageManager

Local-side IPC implementation stub class.


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.content.pm.IPackageManager
IPackageManager.Stub
 
Nested classes/interfaces inherited from interface android.os.IBinder
IBinder.DeathRecipient
 
Field Summary
(package private) static int TRANSACTION_addPackageToPreferred
           
(package private) static int TRANSACTION_addPermission
           
(package private) static int TRANSACTION_addPreferredActivity
           
(package private) static int TRANSACTION_checkPermission
           
(package private) static int TRANSACTION_checkSignatures
           
(package private) static int TRANSACTION_checkUidPermission
           
(package private) static int TRANSACTION_clearApplicationUserData
           
(package private) static int TRANSACTION_clearPackagePreferredActivities
           
(package private) static int TRANSACTION_deleteApplicationCacheFiles
           
(package private) static int TRANSACTION_deletePackage
           
(package private) static int TRANSACTION_enterSafeMode
           
(package private) static int TRANSACTION_freeApplicationCache
           
(package private) static int TRANSACTION_getActivityInfo
           
(package private) static int TRANSACTION_getAllPermissionGroups
           
(package private) static int TRANSACTION_getApplicationEnabledSetting
           
(package private) static int TRANSACTION_getApplicationInfo
           
(package private) static int TRANSACTION_getComponentEnabledSetting
           
(package private) static int TRANSACTION_getInstalledApplications
           
(package private) static int TRANSACTION_getInstalledPackages
           
(package private) static int TRANSACTION_getInstrumentationInfo
           
(package private) static int TRANSACTION_getNameForUid
           
(package private) static int TRANSACTION_getPackageGids
           
(package private) static int TRANSACTION_getPackageInfo
           
(package private) static int TRANSACTION_getPackagesForUid
           
(package private) static int TRANSACTION_getPackageSizeInfo
           
(package private) static int TRANSACTION_getPackageUid
           
(package private) static int TRANSACTION_getPermissionGroupInfo
           
(package private) static int TRANSACTION_getPermissionInfo
           
(package private) static int TRANSACTION_getPersistentApplications
           
(package private) static int TRANSACTION_getPreferredActivities
           
(package private) static int TRANSACTION_getPreferredPackages
           
(package private) static int TRANSACTION_getReceiverInfo
           
(package private) static int TRANSACTION_getServiceInfo
           
(package private) static int TRANSACTION_hasSystemUidErrors
           
(package private) static int TRANSACTION_installPackage
           
(package private) static int TRANSACTION_queryContentProviders
           
(package private) static int TRANSACTION_queryInstrumentation
           
(package private) static int TRANSACTION_queryIntentActivities
           
(package private) static int TRANSACTION_queryIntentActivityOptions
           
(package private) static int TRANSACTION_queryIntentReceivers
           
(package private) static int TRANSACTION_queryIntentServices
           
(package private) static int TRANSACTION_queryPermissionsByGroup
           
(package private) static int TRANSACTION_querySyncProviders
           
(package private) static int TRANSACTION_removePackageFromPreferred
           
(package private) static int TRANSACTION_removePermission
           
(package private) static int TRANSACTION_resolveContentProvider
           
(package private) static int TRANSACTION_resolveIntent
           
(package private) static int TRANSACTION_resolveService
           
(package private) static int TRANSACTION_setApplicationEnabledSetting
           
(package private) static int TRANSACTION_setComponentEnabledSetting
           
(package private) static int TRANSACTION_systemReady
           
 
Fields inherited from interface android.os.IBinder
DUMP_TRANSACTION, FIRST_CALL_TRANSACTION, FLAG_ONEWAY, INTERFACE_TRANSACTION, LAST_CALL_TRANSACTION, PING_TRANSACTION
 
Constructor Summary
IPackageManager.Stub()
          Construct the stub at attach it to the interface.
 
Method Summary
 IBinder asBinder()
          Retrieve the Binder object associated with this interface.
static IPackageManager asInterface(IBinder obj)
          Cast an IBinder object into an IPackageManager 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.content.pm.IPackageManager
addPackageToPreferred, addPermission, addPreferredActivity, checkPermission, checkSignatures, checkUidPermission, clearApplicationUserData, clearPackagePreferredActivities, deleteApplicationCacheFiles, deletePackage, enterSafeMode, freeApplicationCache, getActivityInfo, getAllPermissionGroups, getApplicationEnabledSetting, getApplicationInfo, getComponentEnabledSetting, getInstalledApplications, getInstalledPackages, getInstrumentationInfo, getNameForUid, getPackageGids, getPackageInfo, getPackagesForUid, getPackageSizeInfo, getPackageUid, getPermissionGroupInfo, getPermissionInfo, getPersistentApplications, getPreferredActivities, getPreferredPackages, getReceiverInfo, getServiceInfo, hasSystemUidErrors, installPackage, queryContentProviders, queryInstrumentation, queryIntentActivities, queryIntentActivityOptions, queryIntentReceivers, queryIntentServices, queryPermissionsByGroup, querySyncProviders, removePackageFromPreferred, removePermission, resolveContentProvider, resolveIntent, resolveService, setApplicationEnabledSetting, setComponentEnabledSetting, systemReady
 

Field Detail

TRANSACTION_getPackageInfo

static final int TRANSACTION_getPackageInfo
See Also:
Constant Field Values

TRANSACTION_getPackageUid

static final int TRANSACTION_getPackageUid
See Also:
Constant Field Values

TRANSACTION_getPackageGids

static final int TRANSACTION_getPackageGids
See Also:
Constant Field Values

TRANSACTION_getPermissionInfo

static final int TRANSACTION_getPermissionInfo
See Also:
Constant Field Values

TRANSACTION_queryPermissionsByGroup

static final int TRANSACTION_queryPermissionsByGroup
See Also:
Constant Field Values

TRANSACTION_getPermissionGroupInfo

static final int TRANSACTION_getPermissionGroupInfo
See Also:
Constant Field Values

TRANSACTION_getAllPermissionGroups

static final int TRANSACTION_getAllPermissionGroups
See Also:
Constant Field Values

TRANSACTION_getApplicationInfo

static final int TRANSACTION_getApplicationInfo
See Also:
Constant Field Values

TRANSACTION_getActivityInfo

static final int TRANSACTION_getActivityInfo
See Also:
Constant Field Values

TRANSACTION_getReceiverInfo

static final int TRANSACTION_getReceiverInfo
See Also:
Constant Field Values

TRANSACTION_getServiceInfo

static final int TRANSACTION_getServiceInfo
See Also:
Constant Field Values

TRANSACTION_checkPermission

static final int TRANSACTION_checkPermission
See Also:
Constant Field Values

TRANSACTION_checkUidPermission

static final int TRANSACTION_checkUidPermission
See Also:
Constant Field Values

TRANSACTION_addPermission

static final int TRANSACTION_addPermission
See Also:
Constant Field Values

TRANSACTION_removePermission

static final int TRANSACTION_removePermission
See Also:
Constant Field Values

TRANSACTION_checkSignatures

static final int TRANSACTION_checkSignatures
See Also:
Constant Field Values

TRANSACTION_getPackagesForUid

static final int TRANSACTION_getPackagesForUid
See Also:
Constant Field Values

TRANSACTION_getNameForUid

static final int TRANSACTION_getNameForUid
See Also:
Constant Field Values

TRANSACTION_resolveIntent

static final int TRANSACTION_resolveIntent
See Also:
Constant Field Values

TRANSACTION_queryIntentActivities

static final int TRANSACTION_queryIntentActivities
See Also:
Constant Field Values

TRANSACTION_queryIntentActivityOptions

static final int TRANSACTION_queryIntentActivityOptions
See Also:
Constant Field Values

TRANSACTION_queryIntentReceivers

static final int TRANSACTION_queryIntentReceivers
See Also:
Constant Field Values

TRANSACTION_resolveService

static final int TRANSACTION_resolveService
See Also:
Constant Field Values

TRANSACTION_queryIntentServices

static final int TRANSACTION_queryIntentServices
See Also:
Constant Field Values

TRANSACTION_getInstalledPackages

static final int TRANSACTION_getInstalledPackages
See Also:
Constant Field Values

TRANSACTION_getInstalledApplications

static final int TRANSACTION_getInstalledApplications
See Also:
Constant Field Values

TRANSACTION_getPersistentApplications

static final int TRANSACTION_getPersistentApplications
See Also:
Constant Field Values

TRANSACTION_resolveContentProvider

static final int TRANSACTION_resolveContentProvider
See Also:
Constant Field Values

TRANSACTION_querySyncProviders

static final int TRANSACTION_querySyncProviders
See Also:
Constant Field Values

TRANSACTION_queryContentProviders

static final int TRANSACTION_queryContentProviders
See Also:
Constant Field Values

TRANSACTION_getInstrumentationInfo

static final int TRANSACTION_getInstrumentationInfo
See Also:
Constant Field Values

TRANSACTION_queryInstrumentation

static final int TRANSACTION_queryInstrumentation
See Also:
Constant Field Values

TRANSACTION_installPackage

static final int TRANSACTION_installPackage
See Also:
Constant Field Values

TRANSACTION_deletePackage

static final int TRANSACTION_deletePackage
See Also:
Constant Field Values

TRANSACTION_addPackageToPreferred

static final int TRANSACTION_addPackageToPreferred
See Also:
Constant Field Values

TRANSACTION_removePackageFromPreferred

static final int TRANSACTION_removePackageFromPreferred
See Also:
Constant Field Values

TRANSACTION_getPreferredPackages

static final int TRANSACTION_getPreferredPackages
See Also:
Constant Field Values

TRANSACTION_addPreferredActivity

static final int TRANSACTION_addPreferredActivity
See Also:
Constant Field Values

TRANSACTION_clearPackagePreferredActivities

static final int TRANSACTION_clearPackagePreferredActivities
See Also:
Constant Field Values

TRANSACTION_getPreferredActivities

static final int TRANSACTION_getPreferredActivities
See Also:
Constant Field Values

TRANSACTION_setComponentEnabledSetting

static final int TRANSACTION_setComponentEnabledSetting
See Also:
Constant Field Values

TRANSACTION_getComponentEnabledSetting

static final int TRANSACTION_getComponentEnabledSetting
See Also:
Constant Field Values

TRANSACTION_setApplicationEnabledSetting

static final int TRANSACTION_setApplicationEnabledSetting
See Also:
Constant Field Values

TRANSACTION_getApplicationEnabledSetting

static final int TRANSACTION_getApplicationEnabledSetting
See Also:
Constant Field Values

TRANSACTION_freeApplicationCache

static final int TRANSACTION_freeApplicationCache
See Also:
Constant Field Values

TRANSACTION_deleteApplicationCacheFiles

static final int TRANSACTION_deleteApplicationCacheFiles
See Also:
Constant Field Values

TRANSACTION_clearApplicationUserData

static final int TRANSACTION_clearApplicationUserData
See Also:
Constant Field Values

TRANSACTION_getPackageSizeInfo

static final int TRANSACTION_getPackageSizeInfo
See Also:
Constant Field Values

TRANSACTION_enterSafeMode

static final int TRANSACTION_enterSafeMode
See Also:
Constant Field Values

TRANSACTION_systemReady

static final int TRANSACTION_systemReady
See Also:
Constant Field Values

TRANSACTION_hasSystemUidErrors

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

IPackageManager.Stub

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

Method Detail

asInterface

public static IPackageManager asInterface(IBinder obj)
Cast an IBinder object into an IPackageManager 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