Searched refs:getPackageUid (Results 1 – 4 of 4) sorted by relevance
70 return packageManager.getPackageUid(packageName, 0); in getUidForPackage()
195 int packageUid = shadowApplicationPackageManager.getPackageUid(packageName, 0); in checkPackage()
1108 protected int getPackageUid(String packageName, int flags) throws NameNotFoundException { in getPackageUid() method in ShadowApplicationPackageManager
1817 public void getPackageUid() throws NameNotFoundException { in getPackageUid() method in ShadowPackageManagerTest1819 assertThat(packageManager.getPackageUid("a_name", 0)).isEqualTo(10); in getPackageUid()1826 packageManager.getPackageUid("a_name", 0); in getPackageUid_shouldThrowNameNotFoundExceptionIfNotExist()