Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 1 | // Signature format: 2.0 |
Sundong Ahn | f24779c | 2018-07-31 16:54:41 +0900 | [diff] [blame] | 2 | package android.test.mock { |
| 3 | |
Wale Ogunwale | 691af68 | 2019-02-11 03:09:10 -0800 | [diff] [blame] | 4 | public class MockContext extends android.content.Context { |
wilsonshih | 5db7b39 | 2019-02-20 23:08:45 +0800 | [diff] [blame] | 5 | method public int getDisplayId(); |
Wale Ogunwale | 691af68 | 2019-02-11 03:09:10 -0800 | [diff] [blame] | 6 | } |
| 7 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 8 | @Deprecated public class MockPackageManager extends android.content.pm.PackageManager { |
Paul Duffin | 96ce72c | 2023-10-12 16:51:25 +0100 | [diff] [blame^] | 9 | method @Deprecated public void addCrossProfileIntentFilter(android.content.IntentFilter, int, int, int); |
| 10 | method @Deprecated public void clearCrossProfileIntentFilters(int); |
| 11 | method @Deprecated public int getInstallReason(String, android.os.UserHandle); |
| 12 | method @Deprecated public java.util.List<android.content.pm.ApplicationInfo> getInstalledApplicationsAsUser(int, int); |
| 13 | method @Deprecated public String[] getNamesForUids(int[]); |
| 14 | method @Deprecated @NonNull public String getServicesSystemSharedLibraryPackageName(); |
| 15 | method @Deprecated @NonNull public String getSharedSystemSharedLibraryPackageName(); |
Sundong Ahn | f24779c | 2018-07-31 16:54:41 +0900 | [diff] [blame] | 16 | } |
| 17 | |
| 18 | } |
| 19 | |