xref: /aosp_15_r20/prebuilts/sdk/35/test/api/android.test.mock.txt (revision 344a7f5ef16c479e7a7f54ee6567a9d112f9e72b)
1*344a7f5eSAndroid Build Coastguard Worker// Signature format: 2.0
2*344a7f5eSAndroid Build Coastguard Workerpackage android.test.mock {
3*344a7f5eSAndroid Build Coastguard Worker
4*344a7f5eSAndroid Build Coastguard Worker  public class MockContext extends android.content.Context {
5*344a7f5eSAndroid Build Coastguard Worker    method public int getDisplayId();
6*344a7f5eSAndroid Build Coastguard Worker    method public void updateDisplay(int);
7*344a7f5eSAndroid Build Coastguard Worker  }
8*344a7f5eSAndroid Build Coastguard Worker
9*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class MockPackageManager extends android.content.pm.PackageManager {
10*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void addCrossProfileIntentFilter(android.content.IntentFilter, int, int, int);
11*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void clearCrossProfileIntentFilters(int);
12*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int getInstallReason(String, android.os.UserHandle);
13*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public java.util.List<android.content.pm.ApplicationInfo> getInstalledApplicationsAsUser(int, int);
14*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public String[] getNamesForUids(int[]);
15*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @NonNull public String getServicesSystemSharedLibraryPackageName();
16*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @NonNull public String getSharedSystemSharedLibraryPackageName();
17*344a7f5eSAndroid Build Coastguard Worker  }
18*344a7f5eSAndroid Build Coastguard Worker
19*344a7f5eSAndroid Build Coastguard Worker}
20*344a7f5eSAndroid Build Coastguard Worker
21