android.content.pm
Class IPackageManager.Stub
java.lang.Object
android.os.Binder
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.
| 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 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 |
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
IPackageManager.Stub
public IPackageManager.Stub()
- Construct the stub at attach it to the interface.
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
Please submit a feedback, bug or feature