Tor Norbye | 8752ded | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 1 | // Signature format: 2.0 |
Paul Duffin | bacad40 | 2017-06-28 11:57:59 +0100 | [diff] [blame] | 2 | package android.test.mock { |
| 3 | |
Jeff Sharkey | bc4f48b | 2017-12-06 21:02:11 -0700 | [diff] [blame] | 4 | public class MockContext extends android.content.Context { |
| 5 | method public android.content.SharedPreferences getSharedPreferences(java.io.File, int); |
Tor Norbye | 8752ded | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 6 | method public java.io.File getSharedPreferencesPath(String); |
Jeff Sharkey | bc4f48b | 2017-12-06 21:02:11 -0700 | [diff] [blame] | 7 | } |
| 8 | |
Tor Norbye | 8752ded | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 9 | @Deprecated public class MockPackageManager extends android.content.pm.PackageManager { |
| 10 | method @Deprecated public String getDefaultBrowserPackageName(int); |
| 11 | method @Deprecated public boolean setDefaultBrowserPackageName(String, int); |
Paul Duffin | 96ce72c | 2023-10-12 16:51:25 +0100 | [diff] [blame] | 12 | method @Deprecated public boolean setInstantAppCookie(@NonNull byte[]); |
Paul Duffin | bacad40 | 2017-06-28 11:57:59 +0100 | [diff] [blame] | 13 | } |
| 14 | |
| 15 | } |
| 16 | |