You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.5 KiB
28 lines
1.5 KiB
4 months ago
|
// Signature format: 2.0
|
||
|
package android.test.mock {
|
||
|
|
||
|
public class MockContext extends android.content.Context {
|
||
|
method public int getDisplayId();
|
||
|
}
|
||
|
|
||
|
@Deprecated public class MockPackageManager extends android.content.pm.PackageManager {
|
||
|
method public void addOnPermissionsChangeListener(android.content.pm.PackageManager.OnPermissionsChangedListener);
|
||
|
method public boolean arePermissionsIndividuallyControlled();
|
||
|
method public String getDefaultBrowserPackageNameAsUser(int);
|
||
|
method public int getInstallReason(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 String[] getNamesForUids(int[]);
|
||
|
method public String getPermissionControllerPackageName();
|
||
|
method public int getPermissionFlags(String, String, android.os.UserHandle);
|
||
|
method @NonNull public String getServicesSystemSharedLibraryPackageName();
|
||
|
method @NonNull public String getSharedSystemSharedLibraryPackageName();
|
||
|
method public void grantRuntimePermission(String, String, android.os.UserHandle);
|
||
|
method public void removeOnPermissionsChangeListener(android.content.pm.PackageManager.OnPermissionsChangedListener);
|
||
|
method public void revokeRuntimePermission(String, String, android.os.UserHandle);
|
||
|
method public void updatePermissionFlags(String, String, int, int, android.os.UserHandle);
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|