Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 1 | // Signature format: 2.0 |
Sundong Ahn | f24779c | 2018-07-31 16:54:41 +0900 | [diff] [blame] | 2 | package android.test.mock { |
| 3 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 4 | @Deprecated public class MockPackageManager extends android.content.pm.PackageManager { |
Sundong Ahn | f24779c | 2018-07-31 16:54:41 +0900 | [diff] [blame] | 5 | method public boolean arePermissionsIndividuallyControlled(); |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 6 | method public String getDefaultBrowserPackageNameAsUser(int); |
| 7 | method public int getInstallReason(String, android.os.UserHandle); |
Sundong Ahn | f24779c | 2018-07-31 16:54:41 +0900 | [diff] [blame] | 8 | method public java.util.List<android.content.pm.ApplicationInfo> getInstalledApplicationsAsUser(int, int); |
| 9 | method public java.util.List<android.content.pm.PackageInfo> getInstalledPackagesAsUser(int, int); |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 10 | method public String[] getNamesForUids(int[]); |
| 11 | method public String getPermissionControllerPackageName(); |
| 12 | method @NonNull public String getServicesSystemSharedLibraryPackageName(); |
| 13 | method @NonNull public String getSharedSystemSharedLibraryPackageName(); |
| 14 | method public void grantRuntimePermission(String, String, android.os.UserHandle); |
| 15 | method public void revokeRuntimePermission(String, String, android.os.UserHandle); |
Sundong Ahn | f24779c | 2018-07-31 16:54:41 +0900 | [diff] [blame] | 16 | } |
| 17 | |
| 18 | } |
| 19 | |