xref: /aosp_15_r20/prebuilts/sdk/31/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  }
7*344a7f5eSAndroid Build Coastguard Worker
8*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class MockPackageManager extends android.content.pm.PackageManager {
9*344a7f5eSAndroid Build Coastguard Worker    method public int getInstallReason(String, android.os.UserHandle);
10*344a7f5eSAndroid Build Coastguard Worker    method public java.util.List<android.content.pm.ApplicationInfo> getInstalledApplicationsAsUser(int, int);
11*344a7f5eSAndroid Build Coastguard Worker    method public String[] getNamesForUids(int[]);
12*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getServicesSystemSharedLibraryPackageName();
13*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getSharedSystemSharedLibraryPackageName();
14*344a7f5eSAndroid Build Coastguard Worker  }
15*344a7f5eSAndroid Build Coastguard Worker
16*344a7f5eSAndroid Build Coastguard Worker}
17*344a7f5eSAndroid Build Coastguard Worker
18