MockPackageManager
MockPackageManager()
MockPackageManager(IntPtr, JniHandleOwnership)
DefaultActivityIcon
InstantAppCookieMaxBytes
IsInstantApp
IsSafeMode
JniPeerMembers
PackageInstaller
ThresholdClass
ThresholdType
AddPackageToPreferred(String)
AddPermission(PermissionInfo)
AddPermissionAsync(PermissionInfo)
AddPreferredActivity(IntentFilter, MatchResults, ComponentName[], ComponentName)
CanonicalToCurrentPackageNames(String[])
CanRequestPackageInstalls()
CheckPermission(String, String)
CheckSignatures(Int32, Int32)
CheckSignatures(String, String)
ClearInstantAppCookie()
ClearPackagePreferredActivities(String)
CurrentToCanonicalPackageNames(String[])
ExtendVerificationTimeout(Int32, PackageInstallVerification, Int64)
GetActivityBanner(ComponentName)
GetActivityBanner(Intent)
GetActivityIcon(ComponentName)
GetActivityIcon(Intent)
GetActivityInfo(ComponentName, PackageInfoFlags)
GetActivityLogo(ComponentName)
GetActivityLogo(Intent)
GetAllIntentFilters(String)
GetAllPermissionGroups(PackageInfoFlags)
GetApplicationBanner(ApplicationInfo)
GetApplicationBanner(String)
GetApplicationEnabledSetting(String)
GetApplicationIcon(ApplicationInfo)
GetApplicationIcon(String)
GetApplicationInfo(String, PackageInfoFlags)
GetApplicationLabel(ApplicationInfo)
GetApplicationLabelFormatted(ApplicationInfo)
GetApplicationLogo(ApplicationInfo)
GetApplicationLogo(String)
GetChangedPackages(Int32)
GetComponentEnabledSetting(ComponentName)
GetDefaultBrowserPackageName(Int32)
GetDrawable(String, Int32, ApplicationInfo)
GetInstalledApplications(PackageInfoFlags)
GetInstalledPackages(PackageInfoFlags)
GetInstallerPackageName(String)
GetInstantAppCookie()
GetInstrumentationInfo(ComponentName, PackageInfoFlags)
GetLaunchIntentForPackage(String)
GetLeanbackLaunchIntentForPackage(String)
GetNameForUid(Int32)
GetPackageGids(String)
GetPackageGids(String, PackageInfoFlags)
GetPackageInfo(String, PackageInfoFlags)
GetPackageInfo(VersionedPackage, PackageInfoFlags)
GetPackagesForUid(Int32)
GetPackagesHoldingPermissions(String[], PackageInfoFlags)
GetPackageUid(String, PackageInfoFlags)
GetPermissionGroupInfo(String, PackageInfoFlags)
GetPermissionInfo(String, PackageInfoFlags)
GetPreferredActivities(IList<IntentFilter>, IList<ComponentName>, String)
GetPreferredPackages(PackageInfoFlags)
GetProviderInfo(ComponentName, PackageInfoFlags)
GetReceiverInfo(ComponentName, PackageInfoFlags)
GetResourcesForActivity(ComponentName)
GetResourcesForApplication(ApplicationInfo)
GetResourcesForApplication(String)
GetServiceInfo(ComponentName, PackageInfoFlags)
GetSharedLibraries(PackageInstallReason)
GetSystemAvailableFeatures()
GetSystemSharedLibraryNames()
GetText(String, Int32, ApplicationInfo)
GetTextFormatted(String, Int32, ApplicationInfo)
GetUserBadgedDrawableForDensity(Drawable, UserHandle, Rect, Int32)
GetUserBadgedIcon(Drawable, UserHandle)
GetUserBadgedLabel(String, UserHandle)
GetUserBadgedLabelFormatted(ICharSequence, UserHandle)
GetXml(String, Int32, ApplicationInfo)
HasSystemFeature(String)
HasSystemFeature(String, Int32)
InvokeIsInstantApp(String)
IsPermissionRevokedByPolicy(String, String)
QueryBroadcastReceivers(Intent, PackageInfoFlags)
QueryContentProviders(String, Int32, PackageInfoFlags)
QueryInstrumentation(String, PackageInfoFlags)
QueryIntentActivities(Intent, PackageInfoFlags)
QueryIntentActivityOptions(ComponentName, Intent[], Intent, PackageInfoFlags)
QueryIntentContentProviders(Intent, PackageInfoFlags)
QueryIntentServices(Intent, PackageInfoFlags)
QueryPermissionsByGroup(String, PackageInfoFlags)
RemovePackageFromPreferred(String)
RemovePermission(String)
ResolveActivity(Intent, PackageInfoFlags)
ResolveContentProvider(String, PackageInfoFlags)
ResolveService(Intent, PackageInfoFlags)
SetApplicationCategoryHint(String, Int32)
SetApplicationEnabledSetting(String, ComponentEnabledState, ComponentEnableOption)
SetComponentEnabledSetting(ComponentName, ComponentEnabledState, ComponentEnableOption)
SetDefaultBrowserPackageName(String, Int32)
SetInstallerPackageName(String, String)
UpdateInstantAppCookie(Byte[])
VerifyPendingInstall(Int32, PackageInstallVerification)
net9.0-android34.0
namespace Android.Test.Mock
{
[ObsoletedOSPlatform("android24.0", "This class is obsoleted in this android platform")]
[Register("android/test/mock/MockPackageManager", DoNotGenerateAcw = true)]
public class MockPackageManager : PackageManager
{
[Register("queryBroadcastReceivers", "(Landroid/content/Intent;I)Ljava/util/List;", "GetQueryBroadcastReceivers_Landroid_content_Intent_IHandler")]
public override IList<ResolveInfo!>? QueryBroadcastReceivers(Intent? intent, [GeneratedEnum] PackageInfoFlags flags);
}
}
.NET | 6.07.08.09.0 |
---|---|
Information specific to net9.0 | |
Platforms | This API is only available when you target a specific platform: |
Android | 21.022.023.024.025.026.027.028.029.030.031.032.033.034.0 |
Information specific to net9.0-android34.0 | |
Assembly | Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API