summaryrefslogtreecommitdiff
path: root/test-mock/api/system-current.txt
blob: 7d891c8150fdbb1e9811a85ca7ee81c50b4bc7ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// 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<android.content.IntentFilter> getAllIntentFilters(String);
    method @Deprecated public String getDefaultBrowserPackageNameAsUser(int);
    method @Deprecated public java.util.List<android.content.pm.PackageInfo> 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<android.content.pm.InstantAppInfo> getInstantApps();
    method @Deprecated public java.util.List<android.content.pm.IntentFilterVerificationInfo> 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 @Deprecated 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<java.lang.String>);
  }

}