blob: 14f1b64869eff2befce3ab816431de4edc7ac287 [file] [log] [blame]
Tor Norbye68ea0c32018-12-26 19:55:07 -08001// Signature format: 2.0
Sundong Ahnf24779c2018-07-31 16:54:41 +09002package android.test.mock {
3
Wale Ogunwale691af682019-02-11 03:09:10 -08004 public class MockContext extends android.content.Context {
wilsonshih5db7b392019-02-20 23:08:45 +08005 method public int getDisplayId();
Vladimir Komsiyskia69ed6a2024-02-12 10:47:53 +01006 method public void updateDisplay(int);
Wale Ogunwale691af682019-02-11 03:09:10 -08007 }
8
Tor Norbye68ea0c32018-12-26 19:55:07 -08009 @Deprecated public class MockPackageManager extends android.content.pm.PackageManager {
Paul Duffin96ce72c2023-10-12 16:51:25 +010010 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 Ahnf24779c2018-07-31 16:54:41 +090017 }
18
19}
20