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(); |
Vladimir Komsiyski | a69ed6a | 2024-02-12 10:47:53 +0100 | [diff] [blame] | 6 | method public void updateDisplay(int); |
Wale Ogunwale | 691af68 | 2019-02-11 03:09:10 -0800 | [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 { |
Paul Duffin | 96ce72c | 2023-10-12 16:51:25 +0100 | [diff] [blame] | 10 | method @Deprecated public void addCrossProfileIntentFilter(android.content.IntentFilter, int, int, int); |
| 11 | method @Deprecated public void clearCrossProfileIntentFilters(int); |
| 12 | method @Deprecated public int getInstallReason(String, android.os.UserHandle); |
| 13 | method @Deprecated public java.util.List<android.content.pm.ApplicationInfo> getInstalledApplicationsAsUser(int, int); |
| 14 | method @Deprecated public String[] getNamesForUids(int[]); |
| 15 | method @Deprecated @NonNull public String getServicesSystemSharedLibraryPackageName(); |
| 16 | method @Deprecated @NonNull public String getSharedSystemSharedLibraryPackageName(); |
Sundong Ahn | f24779c | 2018-07-31 16:54:41 +0900 | [diff] [blame] | 17 | } |
| 18 | |
| 19 | } |
| 20 | |