Home
last modified time | relevance | path

Searched refs:ps1 (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageManagerSettingsTests.java185 final PackageSetting ps1 = createPackageSetting(PACKAGE_NAME_1); in testApplicationInfoForUseSdkOptionalEnabled() local
186 ps1.setPkg(((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME_1).hideAsParsed()) in testApplicationInfoForUseSdkOptionalEnabled()
187 .setUid(ps1.getAppId()) in testApplicationInfoForUseSdkOptionalEnabled()
190 ps1.setUsesSdkLibraries(new String[] { "com.example.sdk.one" }); in testApplicationInfoForUseSdkOptionalEnabled()
191 ps1.setUsesSdkLibrariesVersionsMajor(new long[] { 12 }); in testApplicationInfoForUseSdkOptionalEnabled()
192 ps1.setUsesSdkLibrariesOptional(new boolean[] {true}); in testApplicationInfoForUseSdkOptionalEnabled()
193 ps1.addUsesLibraryInfo(new SharedLibraryInfo("path1", in testApplicationInfoForUseSdkOptionalEnabled()
203 ps1.addUsesLibraryInfo(new SharedLibraryInfo("path11", in testApplicationInfoForUseSdkOptionalEnabled()
213 ApplicationInfo appInfo1 = PackageInfoUtils.generateApplicationInfo(ps1.getAndroidPackage(), in testApplicationInfoForUseSdkOptionalEnabled()
214 0 /*flags*/, ps1.getUserStateOrDefault(0), 0 /*userId*/, in testApplicationInfoForUseSdkOptionalEnabled()
[all …]
DKeySetManagerServiceTest.java212 PackageSetting ps1 = generateFakePackageSetting("packageA"); in testAddSigningKSToPackageUpgradeDiff2() local
213 mPackagesMap.put(ps1.getPackageName(), ps1); in testAddSigningKSToPackageUpgradeDiff2() local
221 mKsms.addSigningKeySetToPackageLPw(ps1, signingKeys); in testAddSigningKSToPackageUpgradeDiff2()
228 mKsms.addSigningKeySetToPackageLPw(ps1, signingKeys); in testAddSigningKSToPackageUpgradeDiff2()
244 assertEquals(2, ps1.getKeySetData().getProperSigningKeySet()); in testAddSigningKSToPackageUpgradeDiff2()
255 PackageSetting ps1 = generateFakePackageSetting("packageA"); in testAddSigningKSToPackageNewOrtho() local
256 mPackagesMap.put(ps1.getPackageName(), ps1); in testAddSigningKSToPackageNewOrtho() local
264 mKsms.addSigningKeySetToPackageLPw(ps1, signingKeys1); in testAddSigningKSToPackageNewOrtho()
281 assertEquals(1, ps1.getKeySetData().getProperSigningKeySet()); in testAddSigningKSToPackageNewOrtho()
300 PackageSetting ps1 = generateFakePackageSetting("packageA"); in testAddSigningKSToPackageNewSame() local
[all …]
DAppsFilterImplTest.java960 PackageSetting ps1 = getPackageSettingFromParsingPackage(actorOne, DUMMY_ACTOR_APPID, in testActsOnTargetOfOverlayThroughSharedUser() local
1004 simulateAddPackage(ps1, appsFilter, actorSharedSetting); in testActsOnTargetOfOverlayThroughSharedUser()
/frameworks/av/media/module/codecs/amrnb/enc/src/
Dc4_17pf.cpp409 Word16 ps1; in search_4i40() local
480 ps1 = ps0 + dn[i1]; in search_4i40()
491 sq1 = (Word16)(((Word32) ps1 * ps1) >> 15); in search_4i40()
505 ps = ps1; in search_4i40()
532 ps1 = ps0 + dn[i2]; in search_4i40()
549 sq1 = (Word16)(((Word32) ps1 * ps1) >> 15); in search_4i40()
563 ps = ps1; in search_4i40()
587 ps1 = ps0 + dn[i3]; /* index increment = STEP */ in search_4i40()
604 sq1 = (Word16)(((Word32) ps1 * ps1) >> 15); in search_4i40()
618 ps = ps1; in search_4i40()
Dc3_14pf.cpp396 Word16 ps1; in search_3i40() local
468 ps1 = ps0 + dn[i1]; in search_3i40()
481 sq1 = (Word16)(((Word32) ps1 * ps1) >> 15); in search_3i40()
495 ps = ps1; in search_3i40()
522 ps1 = ps0 + dn[i2]; in search_3i40()
539 sq1 = (Word16)(((Word32) ps1 * ps1) >> 15); in search_3i40()
553 ps = ps1; in search_3i40()
Ds10_8pf.cpp583 Word16 ps1; in search_10and8i40() local
669 ps1 = dn[j]; in search_10and8i40()
675 ps2 = ps1 + *(p_temp1++); in search_10and8i40()
745 ps1 = dn[j]; in search_10and8i40()
749 ps2 = ps1 + *(p_temp1++); in search_10and8i40()
830 ps1 = dn[j]; in search_10and8i40()
834 ps2 = ps1 + *(p_temp1++); in search_10and8i40()
927 ps1 = dn[j]; in search_10and8i40()
932 ps2 = ps1 + *(p_temp1++); in search_10and8i40()
Dc2_11pf.cpp420 Word16 ps1; in search_2i40() local
483 ps1 = add(ps0, dn[i1], pOverflow); in search_2i40()
496 sq1 = (Word16)(((Word32) ps1 * ps1) >> 15); in search_2i40()
Dc2_9pf.cpp602 Word16 ps1; in search_2i40() local
670 ps1 = ps0 + dn[i1]; in search_2i40()
687 sq1 = (Word16)(((Word32) ps1 * ps1) >> 15); in search_2i40()
/frameworks/av/media/module/codecs/amrwb/enc/src/
Dc2t64fx.c57 Word16 ps, psk, ps1, ps2, alpk, alp1, alp2, sq; in ACELP_2t64_fx() local
237 ps1 = dn[i0]; in ACELP_2t64_fx()
242 ps2 = add1(ps1, dn[i1]); in ACELP_2t64_fx()
Dc4t64fx.c997 Word16 ps1, ps2, sq, sqk; in search_ixiy() local
1016 ps1 = *ps + dn[x]; in search_ixiy()
1024 ps2 = add1(ps1, dn[y]); in search_ixiy()
/frameworks/base/services/core/java/com/android/server/pm/
DComputerEngine.java4201 final PackageStateInternal ps1 = in checkSignatures() local
4205 if (p1 == null || ps1 == null || p2 == null || ps2 == null) { in checkSignatures()
4208 if (shouldFilterApplicationIncludingUninstalled(ps1, callingUid, userId) in checkSignatures()