Home
last modified time | relevance | path

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

12

/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/
DPackageManagerSettingsTests.java146 PackageSetting ps = settings.peekPackageLPr(PACKAGE_NAME_1); in testSettingsReadOld() local
147 assertEquals(COMPONENT_ENABLED_STATE_DEFAULT, ps.getEnabled(0)); in testSettingsReadOld()
148 assertEquals(true, ps.getNotLaunched(0)); in testSettingsReadOld()
150 ps = settings.peekPackageLPr(PACKAGE_NAME_2); in testSettingsReadOld()
151 assertEquals(false, ps.getStopped(0)); in testSettingsReadOld()
152 assertEquals(COMPONENT_ENABLED_STATE_DISABLED_USER, ps.getEnabled(0)); in testSettingsReadOld()
153 assertEquals(COMPONENT_ENABLED_STATE_DEFAULT, ps.getEnabled(1)); in testSettingsReadOld()
166 PackageSetting ps = settings.peekPackageLPr(PACKAGE_NAME_2); in testNewPackageRestrictionsFile() local
167 assertEquals(COMPONENT_ENABLED_STATE_DISABLED_USER, ps.getEnabled(0)); in testNewPackageRestrictionsFile()
168 assertEquals(COMPONENT_ENABLED_STATE_DEFAULT, ps.getEnabled(1)); in testNewPackageRestrictionsFile()
[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 = NULL; 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/rs/scriptc/
Drs_program.rsh31 * @param ps program store to query
34 rsgProgramStoreGetDepthFunc(rs_program_store ps);
39 * @param ps program store to query
42 rsgProgramStoreIsDepthMaskEnabled(rs_program_store ps);
46 * @param ps program store to query
49 rsgProgramStoreIsColorMaskRedEnabled(rs_program_store ps);
54 * @param ps program store to query
57 rsgProgramStoreIsColorMaskGreenEnabled(rs_program_store ps);
62 * @param ps program store to query
65 rsgProgramStoreIsColorMaskBlueEnabled(rs_program_store ps);
[all …]
/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 …]
Dx86_sse2.ll4 declare <4 x float> @llvm.x86.sse.min.ps(<4 x float>, <4 x float>)
5 declare <4 x float> @llvm.x86.sse.max.ps(<4 x float>, <4 x float>)
18 …%1 = tail call <4 x float> @llvm.x86.sse.min.ps(<4 x float> %in, <4 x float> %high) nounwind readn…
19 …%2 = tail call <4 x float> @llvm.x86.sse.max.ps(<4 x float> %1, <4 x float> %low) nounwind readnone
/frameworks/base/services/core/java/com/android/server/pm/
DSettings.java1103 PackageSetting ps = null; in readPackageRestrictionsLPr() local
1115 ps = mPackages.get(name); in readPackageRestrictionsLPr()
1116 if (ps == null) { in readPackageRestrictionsLPr()
1168 ps.setUserState(userId, enabled, installed, stopped, notLaunched, hidden, in readPackageRestrictionsLPr()
1475 PackageSetting ps = mPackages.get(name); in readStoppedLPw() local
1476 if (ps != null) { in readStoppedLPw()
1477 ps.setStopped(true, 0); in readStoppedLPw()
1479 ps.setNotLaunched(true, 0); in readStoppedLPw()
1937 final PackageSetting ps = mPackages.get(key); in getListOfIncompleteInstallPackagesLPr() local
1938 if (ps.getInstallStatus() == PackageSettingBase.PKG_INSTALL_INCOMPLETE) { in getListOfIncompleteInstallPackagesLPr()
[all …]
DPackageManagerService.java933 PackageSetting ps = mSettings.mPackages.get(ent.getKey()); in doHandleMessage() local
934 uids[i] = (ps != null) in doHandleMessage()
935 ? UserHandle.getUid(packageUserId, ps.appId) in doHandleMessage()
1563 PackageSetting ps = psit.next(); in PackageManagerService() local
1569 if ((ps.pkgFlags & ApplicationInfo.FLAG_SYSTEM) == 0) { in PackageManagerService()
1576 final PackageParser.Package scannedPkg = mPackages.get(ps.name); in PackageManagerService()
1585 if (mSettings.isDisabledSystemPackageLPr(ps.name)) { in PackageManagerService()
1587 + ps.name + "; removing system app. Last known codePath=" in PackageManagerService()
1588 + ps.codePathString + ", installStatus=" + ps.installStatus in PackageManagerService()
1589 + ", versionCode=" + ps.versionCode + "; scanned versionCode=" in PackageManagerService()
[all …]
DSharedUserSetting.java53 for (PackageSetting ps : packages) { in removePackage()
54 aggregatedFlags |= ps.pkgFlags; in removePackage()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
DRenderState.java48 ProgramStore ps, in RenderState() argument
52 mStore = ps; in RenderState()
73 public void setProgramStore(ProgramStore ps) { in setProgramStore() argument
74 mStore = ps; in setProgramStore()
90 item.ps = mStore; in updateRSData()
Drender.rs72 if (rsIsObject(renderState->ps)) {
73 rsgBindProgramStore(renderState->ps);
98 if (rsIsObject(renderState->ps)) {
/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/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/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 …]
Dc2t64fx.c57 Word16 ps, psk, ps1, ps2, alpk, alp1, alp2, sq; in ACELP_2t64_fx() local
117 ps = dn2[i]; in ACELP_2t64_fx()
118 if (ps >= 0) in ACELP_2t64_fx()
/frameworks/native/services/surfaceflinger/
Dmain_surfaceflinger.cpp36 sp<ProcessState> ps(ProcessState::self()); in main() local
37 ps->startThreadPool(); in main()
/frameworks/rs/
DrsProgramStore.cpp153 ObjectBaseRef<ProgramStore> ps = ProgramStore::getProgramStore(rsc, in rsi_ProgramStoreCreate() local
158 ps->incUserRef(); in rsi_ProgramStoreCreate()
159 return ps.get(); in rsi_ProgramStoreCreate()
Drs_hal.h248 bool (*init)(const Context *rsc, const ProgramStore *ps);
249 void (*setActive)(const Context *rsc, const ProgramStore *ps);
250 void (*destroy)(const Context *rsc, const ProgramStore *ps);
254 bool (*init)(const Context *rsc, const ProgramRaster *ps);
255 void (*setActive)(const Context *rsc, const ProgramRaster *ps);
256 void (*destroy)(const Context *rsc, const ProgramRaster *ps);
DrsScriptC_LibGL.cpp73 void rsrBindProgramStore(Context *rsc, ProgramStore *ps) { in rsrBindProgramStore() argument
74 CHECK_OBJ_OR_NULL(ps); in rsrBindProgramStore()
75 rsc->setProgramStore(ps); in rsrBindProgramStore()
/frameworks/compile/slang/tests/F_fs_ptr/
Dfs_ptr.fs10 short *ps;

12