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