diff options
author | Todd Kennedy <toddke@google.com> | 2017-07-25 15:38:39 -0700 |
---|---|---|
committer | Todd Kennedy <toddke@google.com> | 2017-07-31 11:29:37 -0700 |
commit | 9da8b8a7fc8c68c17e1bf8cce24e2f73abe5138e (patch) | |
tree | f58e436de30b56b87e5e3f5a378b35c16ec7dfbf /test-runner/api | |
parent | 340e7d257362fddb0fad0450b88556745381ce4b (diff) |
Add new API to retrieve app names in a batch
Change-Id: I57e5c132bc58a32d70007a7a105775b526ff7bb9
Fixes: 62805090
Test: cts-tradefed run commandAndExit cts-dev -m CtsContentTestCases -t android.content.pm.cts.PackageManagerTest#testGetNamesForUids_null
Test: cts-tradefed run commandAndExit cts-dev -m CtsContentTestCases -t android.content.pm.cts.PackageManagerTest#testGetNamesForUids_empty
Test: cts-tradefed run commandAndExit cts-dev -m CtsContentTestCases -t android.content.pm.cts.PackageManagerTest#testGetNamesForUids_valid
Diffstat (limited to 'test-runner/api')
-rw-r--r-- | test-runner/api/android-test-mock-current.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test-runner/api/android-test-mock-current.txt b/test-runner/api/android-test-mock-current.txt index 4063ed7dae5e..93bbf6c5c024 100644 --- a/test-runner/api/android-test-mock-current.txt +++ b/test-runner/api/android-test-mock-current.txt @@ -292,6 +292,7 @@ package android.test.mock { method public android.content.Intent getLeanbackLaunchIntentForPackage(java.lang.String); method public int getMoveStatus(int); method public java.lang.String getNameForUid(int); + method public java.lang.String[] getNamesForUids(int[]); method public java.util.List<android.os.storage.VolumeInfo> getPackageCandidateVolumes(android.content.pm.ApplicationInfo); method public android.os.storage.VolumeInfo getPackageCurrentVolume(android.content.pm.ApplicationInfo); method public int[] getPackageGids(java.lang.String) throws android.content.pm.PackageManager.NameNotFoundException; |