xref: /aosp_15_r20/prebuilts/sdk/31/public/api/android.test.mock-removed.txt (revision 344a7f5ef16c479e7a7f54ee6567a9d112f9e72b)
1*344a7f5eSAndroid Build Coastguard Worker// Signature format: 2.0
2*344a7f5eSAndroid Build Coastguard Workerpackage android.test.mock {
3*344a7f5eSAndroid Build Coastguard Worker
4*344a7f5eSAndroid Build Coastguard Worker  public class MockContext extends android.content.Context {
5*344a7f5eSAndroid Build Coastguard Worker    method public android.content.SharedPreferences getSharedPreferences(java.io.File, int);
6*344a7f5eSAndroid Build Coastguard Worker    method public java.io.File getSharedPreferencesPath(String);
7*344a7f5eSAndroid Build Coastguard Worker  }
8*344a7f5eSAndroid Build Coastguard Worker
9*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class MockPackageManager extends android.content.pm.PackageManager {
10*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public String getDefaultBrowserPackageName(int);
11*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean setDefaultBrowserPackageName(String, int);
12*344a7f5eSAndroid Build Coastguard Worker    method public boolean setInstantAppCookie(@NonNull byte[]);
13*344a7f5eSAndroid Build Coastguard Worker  }
14*344a7f5eSAndroid Build Coastguard Worker
15*344a7f5eSAndroid Build Coastguard Worker}
16*344a7f5eSAndroid Build Coastguard Worker
17