| package android.test.mock { |
| |
| public class MockContext extends android.content.Context { |
| method public java.lang.String getOpPackageName(); |
| } |
| |
| public deprecated class MockPackageManager extends android.content.pm.PackageManager { |
| method public boolean arePermissionsIndividuallyControlled(); |
| method public java.lang.String getDefaultBrowserPackageNameAsUser(int); |
| method public int getInstallReason(java.lang.String, android.os.UserHandle); |
| method public java.util.List<android.content.pm.ApplicationInfo> getInstalledApplicationsAsUser(int, int); |
| method public java.util.List<android.content.pm.PackageInfo> getInstalledPackagesAsUser(int, int); |
| method public java.lang.String[] getNamesForUids(int[]); |
| method public java.lang.String getPermissionControllerPackageName(); |
| method public java.lang.String getServicesSystemSharedLibraryPackageName(); |
| method public java.lang.String getSharedSystemSharedLibraryPackageName(); |
| method public void grantRuntimePermission(java.lang.String, java.lang.String, android.os.UserHandle); |
| method public void revokeRuntimePermission(java.lang.String, java.lang.String, android.os.UserHandle); |
| } |
| |
| } |
| |