Home
last modified time | relevance | path

Searched refs:ps (Results 1 – 25 of 68) sorted by relevance

123

/frameworks/base/tests/CoreTests/android/core/
DTestWebServer.java642 PrintStream ps = new PrintStream(s.getOutputStream()); in handleClient() local
667 ps.print(HTTP_VERSION_STRING + " " + HTTP_BAD_METHOD + in handleClient()
669 ps.write(buf, 0, 5); in handleClient()
670 ps.write(EOL); in handleClient()
671 ps.flush(); in handleClient()
688 printStatus(ps); in handleClient()
689 printHeaders(ps); in handleClient()
692 psWriteEOL(ps); in handleClient()
699 send404(ps); in handleClient()
701 sendFile(ps); in handleClient()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java173 PointerState ps = new PointerState(); in PointerLocationView() local
174 mPointers.add(ps); in PointerLocationView()
232 final PointerState ps = mPointers.get(mActivePointerId); in onDraw() local
240 final int N = ps.mTraceCount; in onDraw()
241 if ((mCurDown && ps.mCurDown) || N == 0) { in onDraw()
244 .append("X: ").append(ps.mCoords.x, 1) in onDraw()
248 .append("Y: ").append(ps.mCoords.y, 1) in onDraw()
251 float dx = ps.mTraceX[N - 1] - ps.mTraceX[0]; in onDraw()
252 float dy = ps.mTraceY[N - 1] - ps.mTraceY[0]; in onDraw()
269 .append("Xv: ").append(ps.mXVelocity, 3) in onDraw()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DKeySetManagerServiceTest.java114 PackageSetting ps = generateFakePackageSetting("packageA"); in testAddSigningKSToPackageEmpty() local
115 mPackagesMap.put(ps.name, ps); in testAddSigningKSToPackageEmpty()
121 mKsms.addSigningKeySetToPackageLPw(ps, signingKeys); in testAddSigningKSToPackageEmpty()
131 assertEquals(1, ps.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageEmpty()
141 PackageSetting ps = generateFakePackageSetting("packageA"); in testAddSigningKSToPackageUpgradeSame() local
142 mPackagesMap.put(ps.name, ps); in testAddSigningKSToPackageUpgradeSame()
148 mKsms.addSigningKeySetToPackageLPw(ps, signingKeys); in testAddSigningKSToPackageUpgradeSame()
151 mKsms.addSigningKeySetToPackageLPw(ps, signingKeys); in testAddSigningKSToPackageUpgradeSame()
161 assertEquals(1, ps.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageUpgradeSame()
171 PackageSetting ps = generateFakePackageSetting("packageA"); in testAddSigningKSToPackageUpgradeDiff() local
[all …]
DPackageManagerSettingsTests.java239 PackageSetting ps = packages.get("com.google.app1"); in verifyKeySetMetaData() local
240 assertEquals(1, ps.keySetData.getProperSigningKeySet()); in verifyKeySetMetaData()
241 ps = packages.get("com.google.app2"); in verifyKeySetMetaData()
242 assertEquals(1, ps.keySetData.getProperSigningKeySet()); in verifyKeySetMetaData()
243 assertEquals(new Long(4), ps.keySetData.getAliases().get("AB")); in verifyKeySetMetaData()
244 ps = packages.get("com.android.app3"); in verifyKeySetMetaData()
245 assertEquals(2, ps.keySetData.getProperSigningKeySet()); in verifyKeySetMetaData()
246 assertEquals(new Long(3), ps.keySetData.getAliases().get("C")); in verifyKeySetMetaData()
247 assertEquals(1, ps.keySetData.getUpgradeKeySets().length); in verifyKeySetMetaData()
248 assertEquals(3, ps.keySetData.getUpgradeKeySets()[0]); in verifyKeySetMetaData()
[all …]
/frameworks/rs/driver/runtime/
Drs_program.c11 rsgProgramStoreGetDepthFunc(rs_program_store ps) { in rsgProgramStoreGetDepthFunc() argument
12 ProgramStore_t *prog = (ProgramStore_t *)ps.p; in rsgProgramStoreGetDepthFunc()
20 rsgProgramStoreIsDepthMaskEnabled(rs_program_store ps) { in rsgProgramStoreIsDepthMaskEnabled() argument
21 ProgramStore_t *prog = (ProgramStore_t *)ps.p; in rsgProgramStoreIsDepthMaskEnabled()
29 rsgProgramStoreIsColorMaskRedEnabled(rs_program_store ps) { in rsgProgramStoreIsColorMaskRedEnabled() argument
30 ProgramStore_t *prog = (ProgramStore_t *)ps.p; in rsgProgramStoreIsColorMaskRedEnabled()
38 rsgProgramStoreIsColorMaskGreenEnabled(rs_program_store ps) { in rsgProgramStoreIsColorMaskGreenEnabled() argument
39 ProgramStore_t *prog = (ProgramStore_t *)ps.p; in rsgProgramStoreIsColorMaskGreenEnabled()
47 rsgProgramStoreIsColorMaskBlueEnabled(rs_program_store ps) { in rsgProgramStoreIsColorMaskBlueEnabled() argument
48 ProgramStore_t *prog = (ProgramStore_t *)ps.p; in rsgProgramStoreIsColorMaskBlueEnabled()
[all …]
/frameworks/rs/driver/
DrsdProgramStore.cpp40 bool rsdProgramStoreInit(const Context *rsc, const ProgramStore *ps) { in rsdProgramStoreInit() argument
46 ps->mHal.drv = drv; in rsdProgramStoreInit()
49 switch (ps->mHal.state.depthFunc) { in rsdProgramStoreInit()
80 if ((ps->mHal.state.blendSrc == RS_BLEND_SRC_ONE) && in rsdProgramStoreInit()
81 (ps->mHal.state.blendDst == RS_BLEND_DST_ZERO)) { in rsdProgramStoreInit()
85 switch (ps->mHal.state.blendSrc) { in rsdProgramStoreInit()
118 switch (ps->mHal.state.blendDst) { in rsdProgramStoreInit()
152 ps->mHal.drv = nullptr; in rsdProgramStoreInit()
156 void rsdProgramStoreSetActive(const Context *rsc, const ProgramStore *ps) { in rsdProgramStoreSetActive() argument
157 DrvProgramStore *drv = (DrvProgramStore *)ps->mHal.drv; in rsdProgramStoreSetActive()
[all …]
DrsdProgramStore.h24 const android::renderscript::ProgramStore *ps);
26 const android::renderscript::ProgramStore *ps);
28 const android::renderscript::ProgramStore *ps);
/frameworks/compile/slang/lit-tests/bitcode_wrapper/
Dbitcode_wrapper_test.ll6 ; RUN: xxd -ps -l 4 %t11 | FileCheck %s
8 ; RUN: xxd -ps -l 4 %t12 | FileCheck %s
10 ; RUN: xxd -ps -l 4 %t13 | FileCheck %s
12 ; RUN: xxd -ps -l 4 %t14 | FileCheck %s
14 ; RUN: xxd -ps -l 4 %t15 | FileCheck %s
16 ; RUN: xxd -ps -l 4 %t16 | FileCheck %s
18 ; RUN: xxd -ps -l 4 %t17 | FileCheck %s
20 ; RUN: xxd -ps -l 4 %t18 | FileCheck %s
22 ; RUN: xxd -ps -l 4 %t19 | FileCheck %s
24 ; RUN: xxd -ps -l 4 %t20 | FileCheck %s
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DSettings.java478 final PackageSetting ps = mPackages.get(packageName); in applyPendingPermissionGrantsLPw() local
479 if (ps == null) { in applyPendingPermissionGrantsLPw()
483 final PermissionsState perms = ps.getPermissionsState(); in applyPendingPermissionGrantsLPw()
646 PackageSetting ps = iter.next(); in pruneSharedUsersLPw() local
647 if (mPackages.get(ps.name) == null) { in pruneSharedUsersLPw()
1107 final PackageSetting ps = mPackages.valueAt(i); in removeInstallerPackageStatus() local
1108 final String installerPackageName = ps.getInstallerPackageName(); in removeInstallerPackageStatus()
1111 ps.setInstallerPackageName(null); in removeInstallerPackageStatus()
1112 ps.isOrphaned = true; in removeInstallerPackageStatus()
1227 PackageSetting ps = mPackages.get(packageName); in getIntentFilterVerificationLPr() local
[all …]
DInstructionSets.java53 public static String[] getAppDexInstructionSets(PackageSetting ps) { in getAppDexInstructionSets() argument
54 if (ps.primaryCpuAbiString != null) { in getAppDexInstructionSets()
55 if (ps.secondaryCpuAbiString != null) { in getAppDexInstructionSets()
57 VMRuntime.getInstructionSet(ps.primaryCpuAbiString), in getAppDexInstructionSets()
58 VMRuntime.getInstructionSet(ps.secondaryCpuAbiString) }; in getAppDexInstructionSets()
61 VMRuntime.getInstructionSet(ps.primaryCpuAbiString) }; in getAppDexInstructionSets()
DPackageManagerService.java1549 PackageSetting ps = mSettings.mPackages.get(ent.getKey()); in doHandleMessage() local
1550 uids[i] = (ps != null) in doHandleMessage()
1551 ? UserHandle.getUid(packageUserId, ps.appId) in doHandleMessage()
2050 for (PackageSetting ps : packages) {
2051 Slog.d(TAG, "Destroying " + ps.name + " because volume was forgotten");
2052 deletePackage(ps.name, new LegacyPackageDeleteObserver(null).getBinder(),
2414 PackageSetting ps = pkgSettingIter.next(); in PackageManagerService()
2415 if (isSystemApp(ps)) { in PackageManagerService()
2416 mExistingSystemPackages.add(ps.name); in PackageManagerService()
2473 PackageSetting ps = psit.next(); in PackageManagerService()
[all …]
DSharedUserSetting.java55 for (PackageSetting ps : packages) { in removePackage()
56 aggregatedFlags |= ps.pkgFlags; in removePackage()
62 for (PackageSetting ps : packages) { in removePackage()
63 aggregatedPrivateFlags |= ps.pkgPrivateFlags; in removePackage()
DEphemeralApplicationRegistry.java178 PackageSetting ps = (PackageSetting) pkg.mExtras; in onPackageInstalledLPw() local
179 if (ps == null) { in onPackageInstalledLPw()
186 if (mService.mPackages.get(pkg.packageName) == null || !ps.getInstalled(userId)) { in onPackageInstalledLPw()
237 PackageSetting ps = (PackageSetting) pkg.mExtras; in onPackageUninstalledLPw() local
238 if (ps == null) { in onPackageUninstalledLPw()
244 if (mService.mPackages.get(pkg.packageName) != null && ps.getInstalled(userId)) { in onPackageUninstalledLPw()
395 PackageSetting ps = (PackageSetting) pkg.mExtras; in createEphemeralAppInfoForPackage() local
396 if (ps == null) { in createEphemeralAppInfoForPackage()
399 PackageUserState userState = ps.readUserState(userId); in createEphemeralAppInfoForPackage()
407 Set<String> permissions = ps.getPermissionsState().getPermissions(userId); in createEphemeralAppInfoForPackage()
/frameworks/rs/driver/runtime/arch/
Dx86_sse3.ll5 declare <4 x float> @llvm.x86.sse3.hadd.ps(<4 x float>, <4 x float>) nounwind readnone
10 …%2 = tail call <4 x float> @llvm.x86.sse3.hadd.ps(<4 x float> %1, <4 x float> %1) nounwind readnone
11 …%3 = tail call <4 x float> @llvm.x86.sse3.hadd.ps(<4 x float> %2, <4 x float> %2) nounwind readnone
22 …%6 = tail call <4 x float> @llvm.x86.sse3.hadd.ps(<4 x float> %5, <4 x float> %5) nounwind readnone
23 …%7 = tail call <4 x float> @llvm.x86.sse3.hadd.ps(<4 x float> %6, <4 x float> %6) nounwind readnone
31 …%3 = tail call <4 x float> @llvm.x86.sse3.hadd.ps(<4 x float> %2, <4 x float> %2) nounwind readnone
43 …%2 = tail call <4 x float> @llvm.x86.sse3.hadd.ps(<4 x float> %1, <4 x float> %1) nounwind readnone
44 …%3 = tail call <4 x float> @llvm.x86.sse3.hadd.ps(<4 x float> %2, <4 x float> %2) nounwind readnone
56 …%6 = tail call <4 x float> @llvm.x86.sse3.hadd.ps(<4 x float> %5, <4 x float> %5) nounwind readnone
57 …%7 = tail call <4 x float> @llvm.x86.sse3.hadd.ps(<4 x float> %6, <4 x float> %6) nounwind readnone
[all …]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Ds10_8pf.cpp584 Word16 ps; in search_10and8i40() local
651 ps = 0; in search_10and8i40()
684 ps = ps2; in search_10and8i40()
713 *(p_temp1++) = ps + dn[i5]; in search_10and8i40()
720 ps = 0; in search_10and8i40()
759 ps = ps2; in search_10and8i40()
789 *(p_temp1++) = ps + dn[i7]; in search_10and8i40()
797 ps = 0; in search_10and8i40()
845 ps = ps2; in search_10and8i40()
883 *(p_temp1++) = ps + dn[i9]; in search_10and8i40()
[all …]
Dc4_17pf.cpp400 Word16 ps = 0; /* initialization only needed to keep gcc silent */ in search_4i40() local
465 ps = 0; in search_4i40()
505 ps = ps1; in search_4i40()
516 ps0 = ps; in search_4i40()
523 ps = 0; in search_4i40()
563 ps = ps1; in search_4i40()
574 ps0 = ps; in search_4i40()
579 ps = 0; in search_4i40()
618 ps = ps1; in search_4i40()
Dc3_14pf.cpp386 Word16 ps = 0; /* initialization only needed to keep gcc silent */ in search_3i40() local
453 ps = 0; in search_3i40()
495 ps = ps1; in search_3i40()
506 ps0 = ps; in search_3i40()
513 ps = 0; in search_3i40()
553 ps = ps1; in search_3i40()
/frameworks/base/core/java/com/android/internal/os/
DCpuPowerCalculator.java78 final BatteryStats.Uid.Proc ps = processStats.valueAt(i); in calculateApp() local
80 app.cpuFgTimeMs += ps.getForegroundTime(statsType); in calculateApp()
82 final long costValue = ps.getUserTime(statsType) + ps.getSystemTime(statsType) in calculateApp()
83 + ps.getForegroundTime(statsType); in calculateApp()
/frameworks/native/include/binder/
DBinderService.h55 sp<ProcessState> ps(ProcessState::self()); in joinThreadPool()
56 ps->startThreadPool(); in joinThreadPool()
57 ps->giveThreadPoolName(); in joinThreadPool()
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dc4t64fx.c106 Word16 * ps, /* (i/o) correlation of all fixed pulses */
137 Word16 psk, ps, alpk, alp, val, k_cn, k_dn, exp; in ACELP_4t64_fx() local
284 ps = dn2[i]; in ACELP_4t64_fx()
285 if (ps >= 0) in ACELP_4t64_fx()
294 dn2[i] = -ps; in ACELP_4t64_fx()
305 ps = -1; in ACELP_4t64_fx()
308 if(dn2[j] > ps) in ACELP_4t64_fx()
310 ps = dn2[j]; in ACELP_4t64_fx()
557 ps = 0; in ACELP_4t64_fx()
570 ps = dn[ix] + dn[iy]; in ACELP_4t64_fx()
[all …]
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/
DPresenterTest.java58 PresenterSelector ps = hf.getPresenterSelector(); in testHeaderPresenter() local
60 Presenter p = ps.getPresenter(new Row()); in testHeaderPresenter()
67 p = ps.getPresenter(new SectionRow("Section Name")); in testHeaderPresenter()
74 p = ps.getPresenter(new DividerRow()); in testHeaderPresenter()
/frameworks/base/tools/layoutlib/bridge/src/android/preference/
DPreference_Delegate.java60 PreferenceScreen ps = (PreferenceScreen) inflater.inflate(parser, null, true); in inflatePreference() local
61 pm.setPreferences(ps); in inflatePreference()
63 ps.bind(preferenceView); in inflatePreference()
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStats.java429 final ProcessState ps = pkgState.mProcesses.valueAt(iproc); in resetSafely() local
430 if (ps.isInUse()) { in resetSafely()
431 ps.resetSafely(now); in resetSafely()
432 ps.getCommonProcess().tmpNumInUse++; in resetSafely()
433 ps.getCommonProcess().tmpFoundSubProc = ps; in resetSafely()
464 ProcessState ps = uids.valueAt(iu); in resetSafely() local
465 if (ps.isInUse() || ps.tmpNumInUse > 0) { in resetSafely()
472 if (!ps.isActive() && ps.isMultiPackage() && ps.tmpNumInUse == 1) { in resetSafely()
474 ps = ps.tmpFoundSubProc; in resetSafely()
475 ps.makeStandalone(); in resetSafely()
[all …]
/frameworks/native/services/surfaceflinger/
Dmain_surfaceflinger.cpp36 sp<ProcessState> ps(ProcessState::self()); in main() local
37 ps->startThreadPool(); in main()
/frameworks/rs/api/
DGenerateHeaderFiles.cpp237 ostringstream ps; in writeFunctionPermutation() local
238 ps << p->rsType; in writeFunctionPermutation()
240 ps << "*"; in writeFunctionPermutation()
243 ps << " " << p->specName; in writeFunctionPermutation()
245 const string s = ps.str(); in writeFunctionPermutation()

123