Home
last modified time | relevance | path

Searched refs:newPackageInfo (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPackageManagerTest.java2076 shadowPackageManager.installPackage(newPackageInfo("first.package", new Signature("00000000"))); in checkSignatures_same()
2078 newPackageInfo("second.package", new Signature("00000000"))); in checkSignatures_same()
2084 shadowPackageManager.installPackage(newPackageInfo("first.package", (Signature[]) null)); in checkSignatures_firstNotSigned()
2086 newPackageInfo("second.package", new Signature("00000000"))); in checkSignatures_firstNotSigned()
2092 shadowPackageManager.installPackage(newPackageInfo("first.package", new Signature("00000000"))); in checkSignatures_secondNotSigned()
2093 shadowPackageManager.installPackage(newPackageInfo("second.package", (Signature[]) null)); in checkSignatures_secondNotSigned()
2099 shadowPackageManager.installPackage(newPackageInfo("first.package", (Signature[]) null)); in checkSignatures_neitherSigned()
2100 shadowPackageManager.installPackage(newPackageInfo("second.package", (Signature[]) null)); in checkSignatures_neitherSigned()
2106 shadowPackageManager.installPackage(newPackageInfo("first.package", new Signature("00000000"))); in checkSignatures_noMatch()
2108 newPackageInfo("second.package", new Signature("FFFFFFFF"))); in checkSignatures_noMatch()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowApplicationPackageManager.java169 result.add(newPackageInfo(packageInfo)); in getInstalledPackages()
340 return newPackageInfo(info); in getPackageInfo()
347 private static PackageInfo newPackageInfo(PackageInfo orig) { in newPackageInfo() method in ShadowApplicationPackageManager