FileDocCategorySizeDatePackage
MockPackageManager.javaAPI DocAndroid 5.1 API12676Sat Mar 14 14:09:42 GMT 2015android.test.mock

MockPackageManager

public class MockPackageManager extends android.content.pm.PackageManager

Fields Summary
Constructors Summary
public MockPackageManager()

 throw new RuntimeException("Stub!"); 
Methods Summary
public voidaddPackageToPreferred(java.lang.String packageName)

 throw new RuntimeException("Stub!"); 
public booleanaddPermission(android.content.pm.PermissionInfo info)

 throw new RuntimeException("Stub!"); 
public booleanaddPermissionAsync(android.content.pm.PermissionInfo info)

 throw new RuntimeException("Stub!"); 
public voidaddPreferredActivity(android.content.IntentFilter filter, int match, android.content.ComponentName[] set, android.content.ComponentName activity)

 throw new RuntimeException("Stub!"); 
public java.lang.String[]canonicalToCurrentPackageNames(java.lang.String[] names)

 throw new RuntimeException("Stub!"); 
public intcheckPermission(java.lang.String permName, java.lang.String pkgName)

 throw new RuntimeException("Stub!"); 
public intcheckSignatures(java.lang.String pkg1, java.lang.String pkg2)

 throw new RuntimeException("Stub!"); 
public intcheckSignatures(int uid1, int uid2)

 throw new RuntimeException("Stub!"); 
public voidclearPackagePreferredActivities(java.lang.String packageName)

 throw new RuntimeException("Stub!"); 
public java.lang.String[]currentToCanonicalPackageNames(java.lang.String[] names)

 throw new RuntimeException("Stub!"); 
public voidextendVerificationTimeout(int id, int verificationCodeAtTimeout, long millisecondsToDelay)

 throw new RuntimeException("Stub!"); 
public android.graphics.drawable.DrawablegetActivityBanner(android.content.ComponentName activityName)

 throw new RuntimeException("Stub!"); 
public android.graphics.drawable.DrawablegetActivityBanner(android.content.Intent intent)

 throw new RuntimeException("Stub!"); 
public android.graphics.drawable.DrawablegetActivityIcon(android.content.ComponentName activityName)

 throw new RuntimeException("Stub!"); 
public android.graphics.drawable.DrawablegetActivityIcon(android.content.Intent intent)

 throw new RuntimeException("Stub!"); 
public android.content.pm.ActivityInfogetActivityInfo(android.content.ComponentName className, int flags)

 throw new RuntimeException("Stub!"); 
public android.graphics.drawable.DrawablegetActivityLogo(android.content.ComponentName activityName)

 throw new RuntimeException("Stub!"); 
public android.graphics.drawable.DrawablegetActivityLogo(android.content.Intent intent)

 throw new RuntimeException("Stub!"); 
public java.util.ListgetAllPermissionGroups(int flags)

 throw new RuntimeException("Stub!"); 
public android.graphics.drawable.DrawablegetApplicationBanner(android.content.pm.ApplicationInfo info)

 throw new RuntimeException("Stub!"); 
public android.graphics.drawable.DrawablegetApplicationBanner(java.lang.String packageName)

 throw new RuntimeException("Stub!"); 
public intgetApplicationEnabledSetting(java.lang.String packageName)

 throw new RuntimeException("Stub!"); 
public android.graphics.drawable.DrawablegetApplicationIcon(android.content.pm.ApplicationInfo info)

 throw new RuntimeException("Stub!"); 
public android.graphics.drawable.DrawablegetApplicationIcon(java.lang.String packageName)

 throw new RuntimeException("Stub!"); 
public android.content.pm.ApplicationInfogetApplicationInfo(java.lang.String packageName, int flags)

 throw new RuntimeException("Stub!"); 
public java.lang.CharSequencegetApplicationLabel(android.content.pm.ApplicationInfo info)

 throw new RuntimeException("Stub!"); 
public android.graphics.drawable.DrawablegetApplicationLogo(android.content.pm.ApplicationInfo info)

 throw new RuntimeException("Stub!"); 
public android.graphics.drawable.DrawablegetApplicationLogo(java.lang.String packageName)

 throw new RuntimeException("Stub!"); 
public intgetComponentEnabledSetting(android.content.ComponentName componentName)

 throw new RuntimeException("Stub!"); 
public android.graphics.drawable.DrawablegetDefaultActivityIcon()

 throw new RuntimeException("Stub!"); 
public android.graphics.drawable.DrawablegetDrawable(java.lang.String packageName, int resid, android.content.pm.ApplicationInfo appInfo)

 throw new RuntimeException("Stub!"); 
public java.util.ListgetInstalledApplications(int flags)

 throw new RuntimeException("Stub!"); 
public java.util.ListgetInstalledPackages(int flags)

 throw new RuntimeException("Stub!"); 
public java.lang.StringgetInstallerPackageName(java.lang.String packageName)

 throw new RuntimeException("Stub!"); 
public android.content.pm.InstrumentationInfogetInstrumentationInfo(android.content.ComponentName className, int flags)

 throw new RuntimeException("Stub!"); 
public android.content.IntentgetLaunchIntentForPackage(java.lang.String packageName)

 throw new RuntimeException("Stub!"); 
public android.content.IntentgetLeanbackLaunchIntentForPackage(java.lang.String packageName)

 throw new RuntimeException("Stub!"); 
public java.lang.StringgetNameForUid(int uid)

 throw new RuntimeException("Stub!"); 
public android.content.pm.PackageInfogetPackageArchiveInfo(java.lang.String archiveFilePath, int flags)

 throw new RuntimeException("Stub!"); 
public int[]getPackageGids(java.lang.String packageName)

 throw new RuntimeException("Stub!"); 
public android.content.pm.PackageInfogetPackageInfo(java.lang.String packageName, int flags)

 throw new RuntimeException("Stub!"); 
public android.content.pm.PackageInstallergetPackageInstaller()

 throw new RuntimeException("Stub!"); 
public java.lang.String[]getPackagesForUid(int uid)

 throw new RuntimeException("Stub!"); 
public java.util.ListgetPackagesHoldingPermissions(java.lang.String[] permissions, int flags)

 throw new RuntimeException("Stub!"); 
public android.content.pm.PermissionGroupInfogetPermissionGroupInfo(java.lang.String name, int flags)

 throw new RuntimeException("Stub!"); 
public android.content.pm.PermissionInfogetPermissionInfo(java.lang.String name, int flags)

 throw new RuntimeException("Stub!"); 
public intgetPreferredActivities(java.util.List outFilters, java.util.List outActivities, java.lang.String packageName)

 throw new RuntimeException("Stub!"); 
public java.util.ListgetPreferredPackages(int flags)

 throw new RuntimeException("Stub!"); 
public android.content.pm.ProviderInfogetProviderInfo(android.content.ComponentName className, int flags)

 throw new RuntimeException("Stub!"); 
public android.content.pm.ActivityInfogetReceiverInfo(android.content.ComponentName className, int flags)

 throw new RuntimeException("Stub!"); 
public android.content.res.ResourcesgetResourcesForActivity(android.content.ComponentName activityName)

 throw new RuntimeException("Stub!"); 
public android.content.res.ResourcesgetResourcesForApplication(android.content.pm.ApplicationInfo app)

 throw new RuntimeException("Stub!"); 
public android.content.res.ResourcesgetResourcesForApplication(java.lang.String appPackageName)

 throw new RuntimeException("Stub!"); 
public android.content.pm.ServiceInfogetServiceInfo(android.content.ComponentName className, int flags)

 throw new RuntimeException("Stub!"); 
public android.content.pm.FeatureInfo[]getSystemAvailableFeatures()

 throw new RuntimeException("Stub!"); 
public java.lang.String[]getSystemSharedLibraryNames()

 throw new RuntimeException("Stub!"); 
public java.lang.CharSequencegetText(java.lang.String packageName, int resid, android.content.pm.ApplicationInfo appInfo)

 throw new RuntimeException("Stub!"); 
public android.graphics.drawable.DrawablegetUserBadgedDrawableForDensity(android.graphics.drawable.Drawable drawable, android.os.UserHandle user, android.graphics.Rect badgeLocation, int badgeDensity)

 throw new RuntimeException("Stub!"); 
public android.graphics.drawable.DrawablegetUserBadgedIcon(android.graphics.drawable.Drawable icon, android.os.UserHandle user)

 throw new RuntimeException("Stub!"); 
public java.lang.CharSequencegetUserBadgedLabel(java.lang.CharSequence label, android.os.UserHandle user)

 throw new RuntimeException("Stub!"); 
public android.content.res.XmlResourceParsergetXml(java.lang.String packageName, int resid, android.content.pm.ApplicationInfo appInfo)

 throw new RuntimeException("Stub!"); 
public booleanhasSystemFeature(java.lang.String name)

 throw new RuntimeException("Stub!"); 
public booleanisSafeMode()

 throw new RuntimeException("Stub!"); 
public java.util.ListqueryBroadcastReceivers(android.content.Intent intent, int flags)

 throw new RuntimeException("Stub!"); 
public java.util.ListqueryContentProviders(java.lang.String processName, int uid, int flags)

 throw new RuntimeException("Stub!"); 
public java.util.ListqueryInstrumentation(java.lang.String targetPackage, int flags)

 throw new RuntimeException("Stub!"); 
public java.util.ListqueryIntentActivities(android.content.Intent intent, int flags)

 throw new RuntimeException("Stub!"); 
public java.util.ListqueryIntentActivityOptions(android.content.ComponentName caller, android.content.Intent[] specifics, android.content.Intent intent, int flags)

 throw new RuntimeException("Stub!"); 
public java.util.ListqueryIntentContentProviders(android.content.Intent intent, int flags)

 throw new RuntimeException("Stub!"); 
public java.util.ListqueryIntentServices(android.content.Intent intent, int flags)

 throw new RuntimeException("Stub!"); 
public java.util.ListqueryPermissionsByGroup(java.lang.String group, int flags)

 throw new RuntimeException("Stub!"); 
public voidremovePackageFromPreferred(java.lang.String packageName)

 throw new RuntimeException("Stub!"); 
public voidremovePermission(java.lang.String name)

 throw new RuntimeException("Stub!"); 
public android.content.pm.ResolveInforesolveActivity(android.content.Intent intent, int flags)

 throw new RuntimeException("Stub!"); 
public android.content.pm.ProviderInforesolveContentProvider(java.lang.String name, int flags)

 throw new RuntimeException("Stub!"); 
public android.content.pm.ResolveInforesolveService(android.content.Intent intent, int flags)

 throw new RuntimeException("Stub!"); 
public voidsetApplicationEnabledSetting(java.lang.String packageName, int newState, int flags)

 throw new RuntimeException("Stub!"); 
public voidsetComponentEnabledSetting(android.content.ComponentName componentName, int newState, int flags)

 throw new RuntimeException("Stub!"); 
public voidsetInstallerPackageName(java.lang.String targetPackage, java.lang.String installerPackageName)

 throw new RuntimeException("Stub!"); 
public voidverifyPendingInstall(int id, int verificationCode)

 throw new RuntimeException("Stub!");