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(); |
Philip P. Moltmann | 3e49617 | 2019-02-11 16:29:19 -0800 | [diff] [blame^] | 12 | method public int getPermissionFlags(String, String, android.os.UserHandle); |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 13 | method @NonNull public String getServicesSystemSharedLibraryPackageName(); |
| 14 | method @NonNull public String getSharedSystemSharedLibraryPackageName(); |
| 15 | method public void grantRuntimePermission(String, String, android.os.UserHandle); |
| 16 | method public void revokeRuntimePermission(String, String, android.os.UserHandle); |
Philip P. Moltmann | 3e49617 | 2019-02-11 16:29:19 -0800 | [diff] [blame^] | 17 | method public void updatePermissionFlags(String, String, int, int, android.os.UserHandle); |
Sundong Ahn | f24779c | 2018-07-31 16:54:41 +0900 | [diff] [blame] | 18 | } |
| 19 | |
| 20 | } |
| 21 | |