1// Signature format: 2.0 2package android.test.mock { 3 4 public class MockContext extends android.content.Context { 5 method public int getDisplayId(); 6 method public void updateDisplay(int); 7 } 8 9 @Deprecated public class MockPackageManager extends android.content.pm.PackageManager { 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(); 17 } 18 19} 20 21