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.java2036 shadowPackageManager.installPackage(newPackageInfo("first.package", new Signature("00000000"))); in checkSignatures_same()
2038 newPackageInfo("second.package", new Signature("00000000"))); in checkSignatures_same()
2044 shadowPackageManager.installPackage(newPackageInfo("first.package", (Signature[]) null)); in checkSignatures_firstNotSigned()
2046 newPackageInfo("second.package", new Signature("00000000"))); in checkSignatures_firstNotSigned()
2052 shadowPackageManager.installPackage(newPackageInfo("first.package", new Signature("00000000"))); in checkSignatures_secondNotSigned()
2053 shadowPackageManager.installPackage(newPackageInfo("second.package", (Signature[]) null)); in checkSignatures_secondNotSigned()
2059 shadowPackageManager.installPackage(newPackageInfo("first.package", (Signature[]) null)); in checkSignatures_neitherSigned()
2060 shadowPackageManager.installPackage(newPackageInfo("second.package", (Signature[]) null)); in checkSignatures_neitherSigned()
2066 shadowPackageManager.installPackage(newPackageInfo("first.package", new Signature("00000000"))); in checkSignatures_noMatch()
2068 newPackageInfo("second.package", new Signature("FFFFFFFF"))); in checkSignatures_noMatch()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowApplicationPackageManager.java148 result.add(newPackageInfo(packageInfo)); in getInstalledPackages()
319 return newPackageInfo(info); in getPackageInfo()
326 private static PackageInfo newPackageInfo(PackageInfo orig) { in newPackageInfo() method in ShadowApplicationPackageManager