Searched refs:setPackagesForUid (Results 1 – 4 of 4) sorted by relevance
36 shadowPackageManager.setPackagesForUid(PACKAGE_1_UID, new String[] {PACKAGE_NAME_1}); in setUp()37 shadowPackageManager.setPackagesForUid(PACKAGE_2_UID, new String[] {PACKAGE_NAME_2}); in setUp()
205 .setPackagesForUid(111, PACKAGE_NAME1); in checkPackage_doesntBelong()217 .setPackagesForUid(123, PACKAGE_NAME1); in checkPackage_belongs()
1810 shadowPackageManager.setPackagesForUid(10, new String[] {"a_name"}); in getPackagesForUid()1818 shadowPackageManager.setPackagesForUid(10, new String[] {"a_name"}); in getPackageUid()1835 shadowPackageManager.setPackagesForUid(10, new String[] {"a_name"}); in getPackagesForUid_shouldReturnSetPackageName()
564 public void setPackagesForUid(int uid, String... packagesForCallingUid) { in setPackagesForUid() method in ShadowPackageManager