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.
42 lines
3.0 KiB
42 lines
3.0 KiB
// 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 sendBroadcast(android.content.Intent, String, android.os.Bundle);
|
|
method public void sendBroadcastAsUser(android.content.Intent, android.os.UserHandle, String, android.os.Bundle);
|
|
method public void sendOrderedBroadcast(android.content.Intent, String, android.os.Bundle, android.content.BroadcastReceiver, android.os.Handler, int, String, android.os.Bundle);
|
|
}
|
|
|
|
@Deprecated public class MockPackageManager extends android.content.pm.PackageManager {
|
|
method public void addOnPermissionsChangeListener(android.content.pm.PackageManager.OnPermissionsChangedListener);
|
|
method public boolean arePermissionsIndividuallyControlled();
|
|
method @Deprecated public java.util.List<android.content.IntentFilter> getAllIntentFilters(String);
|
|
method public String getDefaultBrowserPackageNameAsUser(int);
|
|
method public java.util.List<android.content.pm.PackageInfo> getInstalledPackagesAsUser(int, int);
|
|
method public android.graphics.drawable.Drawable getInstantAppIcon(String);
|
|
method public android.content.ComponentName getInstantAppInstallerComponent();
|
|
method public android.content.ComponentName getInstantAppResolverSettingsComponent();
|
|
method public java.util.List<android.content.pm.InstantAppInfo> getInstantApps();
|
|
method public java.util.List<android.content.pm.IntentFilterVerificationInfo> getIntentFilterVerifications(String);
|
|
method public int getIntentVerificationStatusAsUser(String, int);
|
|
method public int getPermissionFlags(String, String, android.os.UserHandle);
|
|
method public void grantRuntimePermission(String, String, android.os.UserHandle);
|
|
method public int installExistingPackage(String) throws android.content.pm.PackageManager.NameNotFoundException;
|
|
method public int installExistingPackage(String, int) throws android.content.pm.PackageManager.NameNotFoundException;
|
|
method public void registerDexModule(String, @Nullable android.content.pm.PackageManager.DexModuleRegisterCallback);
|
|
method public void removeOnPermissionsChangeListener(android.content.pm.PackageManager.OnPermissionsChangedListener);
|
|
method public void revokeRuntimePermission(String, String, android.os.UserHandle);
|
|
method public boolean setDefaultBrowserPackageNameAsUser(String, int);
|
|
method public String[] setPackagesSuspended(String[], boolean, android.os.PersistableBundle, android.os.PersistableBundle, String);
|
|
method public void setUpdateAvailable(String, boolean);
|
|
method public boolean updateIntentVerificationStatusAsUser(String, int, int);
|
|
method public void updatePermissionFlags(String, String, int, int, android.os.UserHandle);
|
|
method public void verifyIntentFilter(int, int, java.util.List<java.lang.String>);
|
|
}
|
|
|
|
}
|
|
|