Tor Norbye | 68ea0c3 | 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 | b8b579e | 2017-11-22 12:34:08 -0700 | [diff] [blame] | 4 | public class MockContext extends android.content.Context { |
| 5 | method public android.content.SharedPreferences getSharedPreferences(java.io.File, int); |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 6 | method public java.io.File getSharedPreferencesPath(String); |
Jeff Sharkey | b8b579e | 2017-11-22 12:34:08 -0700 | [diff] [blame] | 7 | } |
| 8 | |
Tor Norbye | 68ea0c3 | 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); |
| 12 | method public boolean setInstantAppCookie(@NonNull byte[]); |
Paul Duffin | bacad40 | 2017-06-28 11:57:59 +0100 | [diff] [blame] | 13 | } |
| 14 | |
| 15 | } |
| 16 | |