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