Searched refs:ps (Results 1 - 25 of 40) sorted by relevance

12

/frameworks/rs/driver/
H A DrsdProgramStore.h24 const android::renderscript::ProgramStore *ps);
26 const android::renderscript::ProgramStore *ps);
28 const android::renderscript::ProgramStore *ps);
H A DrsdProgramStore.cpp40 bool rsdProgramStoreInit(const Context *rsc, const ProgramStore *ps) { argument
46 ps->mHal.drv = drv;
49 switch (ps->mHal.state.depthFunc) {
80 if ((ps->mHal.state.blendSrc == RS_BLEND_SRC_ONE) &&
81 (ps->mHal.state.blendDst == RS_BLEND_DST_ZERO)) {
85 switch (ps->mHal.state.blendSrc) {
118 switch (ps->mHal.state.blendDst) {
152 ps->mHal.drv = NULL;
156 void rsdProgramStoreSetActive(const Context *rsc, const ProgramStore *ps) { argument
157 DrvProgramStore *drv = (DrvProgramStore *)ps
199 rsdProgramStoreDestroy(const Context *rsc, const ProgramStore *ps) argument
[all...]
/frameworks/rs/driver/runtime/
H A Drs_program.c11 rsgProgramStoreGetDepthFunc(rs_program_store ps) { argument
12 ProgramStore_t *prog = (ProgramStore_t *)ps.p;
20 rsgProgramStoreIsDepthMaskEnabled(rs_program_store ps) { argument
21 ProgramStore_t *prog = (ProgramStore_t *)ps.p;
29 rsgProgramStoreIsColorMaskRedEnabled(rs_program_store ps) { argument
30 ProgramStore_t *prog = (ProgramStore_t *)ps.p;
38 rsgProgramStoreIsColorMaskGreenEnabled(rs_program_store ps) { argument
39 ProgramStore_t *prog = (ProgramStore_t *)ps.p;
47 rsgProgramStoreIsColorMaskBlueEnabled(rs_program_store ps) { argument
48 ProgramStore_t *prog = (ProgramStore_t *)ps
56 rsgProgramStoreIsColorMaskAlphaEnabled(rs_program_store ps) argument
65 rsgProgramStoreGetBlendSrcFunc(rs_program_store ps) argument
74 rsgProgramStoreGetBlendDstFunc(rs_program_store ps) argument
83 rsgProgramStoreIsDitherEnabled(rs_program_store ps) argument
[all...]
/frameworks/rs/scriptc/
H A 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...]
H A Drs_graphics.rsh88 * @param ps
91 rsgBindProgramStore(rs_program_store ps);
178 * @param ps program object
183 rsgBindConstant(rs_program_fragment ps, uint slot, rs_allocation c);
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DPackageManagerSettingsTests.java139 PackageSetting ps = settings.peekPackageLPr(PACKAGE_NAME_1);
140 assertEquals(COMPONENT_ENABLED_STATE_DEFAULT, ps.getEnabled(0));
141 assertEquals(true, ps.getNotLaunched(0));
143 ps = settings.peekPackageLPr(PACKAGE_NAME_2);
144 assertEquals(false, ps.getStopped(0));
145 assertEquals(COMPONENT_ENABLED_STATE_DISABLED_USER, ps.getEnabled(0));
146 assertEquals(COMPONENT_ENABLED_STATE_DEFAULT, ps.getEnabled(1));
159 PackageSetting ps = settings.peekPackageLPr(PACKAGE_NAME_2);
160 assertEquals(COMPONENT_ENABLED_STATE_DISABLED_USER, ps.getEnabled(0));
161 assertEquals(COMPONENT_ENABLED_STATE_DEFAULT, ps
[all...]
/frameworks/base/tests/CoreTests/android/core/
H A DTestWebServer.java642 PrintStream ps = new PrintStream(s.getOutputStream());
667 ps.print(HTTP_VERSION_STRING + " " + HTTP_BAD_METHOD +
669 ps.write(buf, 0, 5);
670 ps.write(EOL);
671 ps.flush();
688 printStatus(ps);
689 printHeaders(ps);
692 psWriteEOL(ps);
699 send404(ps);
701 sendFile(ps);
752 psPrint(PrintStream ps, String s) argument
758 psWrite(PrintStream ps, byte[] bytes, int len) argument
764 psWriteEOL(PrintStream ps) argument
771 printStatus(PrintStream ps) argument
801 printHeaders(PrintStream ps) argument
844 send404(PrintStream ps) argument
853 sendFile(PrintStream ps) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DPointerLocationView.java173 PointerState ps = new PointerState();
174 mPointers.add(ps);
232 final PointerState ps = mPointers.get(mActivePointerId);
240 final int N = ps.mTraceCount;
241 if ((mCurDown && ps.mCurDown) || N == 0) {
244 .append("X: ").append(ps.mCoords.x, 1)
248 .append("Y: ").append(ps.mCoords.y, 1)
251 float dx = ps.mTraceX[N - 1] - ps.mTraceX[0];
252 float dy = ps
[all...]
/frameworks/native/include/binder/
H A DBinderService.h55 sp<ProcessState> ps(ProcessState::self());
56 ps->startThreadPool();
57 ps->giveThreadPoolName();
/frameworks/native/services/surfaceflinger/
H A Dmain_surfaceflinger.cpp36 sp<ProcessState> ps(ProcessState::self());
37 ps->startThreadPool();
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DRenderState.java48 ProgramStore ps,
52 mStore = ps;
73 public void setProgramStore(ProgramStore ps) { argument
74 mStore = ps;
90 item.ps = mStore;
46 RenderState(VertexShader pv, FragmentShader pf, ProgramStore ps, ProgramRaster pr) argument
/frameworks/base/services/core/java/com/android/server/pm/
H A DSharedUserSetting.java53 for (PackageSetting ps : packages) {
54 aggregatedFlags |= ps.pkgFlags;
H A DSettings.java1103 PackageSetting ps = null;
1115 ps = mPackages.get(name);
1116 if (ps == null) {
1168 ps.setUserState(userId, enabled, installed, stopped, notLaunched, hidden,
1475 PackageSetting ps = mPackages.get(name);
1476 if (ps != null) {
1477 ps.setStopped(true, 0);
1479 ps.setNotLaunched(true, 0);
1937 final PackageSetting ps = mPackages.get(key);
1938 if (ps
3310 dumpPackageLPr(PrintWriter pw, String prefix, String checkinTag, PackageSetting ps, SimpleDateFormat sdf, Date date, List<UserInfo> users) argument
[all...]
H A DPackageManagerService.java951 PackageSetting ps = mSettings.mPackages.get(ent.getKey());
952 uids[i] = (ps != null)
953 ? UserHandle.getUid(packageUserId, ps.appId)
1585 PackageSetting ps = psit.next();
1591 if ((ps.pkgFlags & ApplicationInfo.FLAG_SYSTEM) == 0) {
1598 final PackageParser.Package scannedPkg = mPackages.get(ps.name);
1607 if (mSettings.isDisabledSystemPackageLPr(ps.name)) {
1609 + ps.name + "; removing system app. Last known codePath="
1610 + ps.codePathString + ", installStatus=" + ps
1872 cleanupInstallFailedPackage(PackageSetting ps) argument
3828 addPackageHoldingPermissions(ArrayList<PackageInfo> list, PackageSetting ps, String[] permissions, boolean[] tmp, int flags, int userId) argument
4205 collectCertificatesLI(PackageParser pp, PackageSetting ps, PackageParser.Package pkg, File srcFile, int parseFlags) argument
4970 getAppDexInstructionSets(PackageSetting ps) argument
6747 removePackageLI(PackageSetting ps, boolean chatty) argument
10726 isForwardLocked(PackageSetting ps) argument
10730 isMultiArch(PackageSetting ps) argument
10742 isExternal(PackageSetting ps) argument
10762 isSystemApp(PackageSetting ps) argument
10766 isUpdatedSystemApp(PackageSetting ps) argument
10778 packageFlagsToInstallFlags(PackageSetting ps) argument
11017 removePackageDataLI(PackageSetting ps, int[] allUserHandles, boolean[] perUserInstalled, PackageRemovedInfo outInfo, int flags, boolean writeSettings) argument
11191 deleteInstalledPackageLI(PackageSetting ps, boolean deleteCodeAndResources, int flags, int[] allUserHandles, boolean[] perUserInstalled, PackageRemovedInfo outInfo, boolean writeSettings) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/preference/
H A DPreference_Delegate.java62 PreferenceScreen ps = pm.getPreferenceScreen();
64 ps = (PreferenceScreen) inflater.inflate(parser, ps, true);
66 ps.bind(preferenceView);
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dc4_17pf.cpp400 Word16 ps = 0; /* initialization only needed to keep gcc silent */ local
465 ps = 0;
505 ps = ps1;
516 ps0 = ps;
523 ps = 0;
563 ps = ps1;
574 ps0 = ps;
579 ps = 0;
618 ps = ps1;
H A Ds10_8pf.cpp192 Word16 psk, ps, ps0, ps1, ps2, sq, sq2;
247 ps = 0;
285 ps = ps2;
299 ps0 = ps;
315 ps = 0;
345 ps = ps2;
359 ps0 = ps;
377 ps = 0;
409 ps = ps2;
427 ps0 = ps;
584 Word16 ps; local
[all...]
H A Dc3_14pf.cpp386 Word16 ps = 0; /* initialization only needed to keep gcc silent */ local
453 ps = 0;
495 ps = ps1;
506 ps0 = ps;
513 ps = 0;
553 ps = ps1;
/frameworks/webview/chromium/tools/WebViewShell/
H A Drun_startup_time_test.sh22 adb shell kill -9 `adb shell ps | grep com.android.webview.chromium.shell | tr -s " " " " | cut -d" " -f2`
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dc4t64fx.c106 Word16 * ps, /* (i/o) correlation of all fixed pulses */
137 Word16 psk, ps, alpk, alp, val, k_cn, k_dn, exp; local
284 ps = dn2[i];
285 if (ps >= 0)
294 dn2[i] = -ps;
305 ps = -1;
308 if(dn2[j] > ps)
310 ps = dn2[j];
557 ps = 0;
570 ps
964 search_ixiy( Word16 nb_pos_ix, Word16 track_x, Word16 track_y, Word16 * ps, Word16 * alp, Word16 * ix, Word16 * iy, Word16 dn[], Word16 dn2[], Word16 cor_x[], Word16 cor_y[], Word16 rrixiy[][MSIZE] ) argument
[all...]
H A Dc2t64fx.c57 Word16 ps, psk, ps1, ps2, alpk, alp1, alp2, sq; local
117 ps = dn2[i];
118 if (ps >= 0)
/frameworks/rs/
H A DrsProgramStore.cpp153 ObjectBaseRef<ProgramStore> ps = ProgramStore::getProgramStore(rsc, local
158 ps->incUserRef();
159 return ps.get();
H A 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);
H A DrsScriptC_LibGL.cpp73 void rsrBindProgramStore(Context *rsc, ProgramStore *ps) { argument
74 CHECK_OBJ_OR_NULL(ps);
75 rsc->setProgramStore(ps);
/frameworks/base/core/java/com/android/internal/app/
H A DProcessStats.java1331 final ProcessState ps = pkgState.mProcesses.valueAt(iproc);
1332 if (ps.isInUse()) {
1333 ps.resetSafely(now);
1334 ps.mCommonProcess.mTmpNumInUse++;
1335 ps.mCommonProcess.mTmpFoundSubProc = ps;
1366 ProcessState ps = uids.valueAt(iu);
1367 if (ps.isInUse() || ps.mTmpNumInUse > 0) {
1374 if (!ps
[all...]

Completed in 605 milliseconds

12