// Signature format: 2.0 package android.test.mock { public class MockContext extends android.content.Context { method public android.content.Context createCredentialProtectedStorageContext(); method public java.io.File getPreloadsFileCache(); method public boolean isCredentialProtectedStorage(); method public void sendBroadcastAsUser(android.content.Intent, android.os.UserHandle, String, android.os.Bundle); } @Deprecated public class MockPackageManager extends android.content.pm.PackageManager { method @Deprecated public void addOnPermissionsChangeListener(android.content.pm.PackageManager.OnPermissionsChangedListener); method @Deprecated public boolean arePermissionsIndividuallyControlled(); method @Deprecated public java.util.List getAllIntentFilters(String); method @Deprecated public String getDefaultBrowserPackageNameAsUser(int); method @Deprecated public java.util.List getInstalledPackagesAsUser(int, int); method @Deprecated public android.graphics.drawable.Drawable getInstantAppIcon(String); method @Deprecated public android.content.ComponentName getInstantAppInstallerComponent(); method @Deprecated public android.content.ComponentName getInstantAppResolverSettingsComponent(); method @Deprecated public java.util.List getInstantApps(); method @Deprecated public java.util.List getIntentFilterVerifications(String); method @Deprecated public int getIntentVerificationStatusAsUser(String, int); method @Deprecated public int getPermissionFlags(String, String, android.os.UserHandle); method @Deprecated public void grantRuntimePermission(String, String, android.os.UserHandle); method @Deprecated public int installExistingPackage(String) throws android.content.pm.PackageManager.NameNotFoundException; method @Deprecated public int installExistingPackage(String, int) throws android.content.pm.PackageManager.NameNotFoundException; method @Deprecated public void registerDexModule(String, @Nullable android.content.pm.PackageManager.DexModuleRegisterCallback); method @Deprecated public void removeOnPermissionsChangeListener(android.content.pm.PackageManager.OnPermissionsChangedListener); method @Deprecated public void revokeRuntimePermission(String, String, android.os.UserHandle); method @Deprecated public boolean setDefaultBrowserPackageNameAsUser(String, int); method public String[] setPackagesSuspended(String[], boolean, android.os.PersistableBundle, android.os.PersistableBundle, String); method @Deprecated public void setUpdateAvailable(String, boolean); method @Deprecated public boolean updateIntentVerificationStatusAsUser(String, int, int); method @Deprecated public void updatePermissionFlags(String, String, int, int, android.os.UserHandle); method @Deprecated public void verifyIntentFilter(int, int, java.util.List); } }