/frameworks/base/tests/CoreTests/android/core/ |
D | TestWebServer.java | 642 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/ |
D | PointerLocationView.java | 152 PointerState ps = new PointerState(); in PointerLocationView() local 153 mPointers.add(ps); in PointerLocationView() 211 final PointerState ps = mPointers.get(mActivePointerId); in onDraw() local 219 final int N = ps.mTraceCount; in onDraw() 220 if ((mCurDown && ps.mCurDown) || N == 0) { in onDraw() 223 .append("X: ").append(ps.mCoords.x, 1) in onDraw() 227 .append("Y: ").append(ps.mCoords.y, 1) in onDraw() 230 float dx = ps.mTraceX[N - 1] - ps.mTraceX[0]; in onDraw() 231 float dy = ps.mTraceY[N - 1] - ps.mTraceY[0]; in onDraw() 248 .append("Xv: ").append(ps.mXVelocity, 3) in onDraw() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageManagerSettingsTests.java | 146 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/compile/libbcc/lib/Renderscript/runtime/ |
D | rs_program.c | 9 rsgProgramStoreGetDepthFunc(rs_program_store ps) { in rsgProgramStoreGetDepthFunc() argument 10 ProgramStore_t *prog = (ProgramStore_t *)ps.p; in rsgProgramStoreGetDepthFunc() 18 rsgProgramStoreIsDepthMaskEnabled(rs_program_store ps) { in rsgProgramStoreIsDepthMaskEnabled() argument 19 ProgramStore_t *prog = (ProgramStore_t *)ps.p; in rsgProgramStoreIsDepthMaskEnabled() 27 rsgProgramStoreIsColorMaskRedEnabled(rs_program_store ps) { in rsgProgramStoreIsColorMaskRedEnabled() argument 28 ProgramStore_t *prog = (ProgramStore_t *)ps.p; in rsgProgramStoreIsColorMaskRedEnabled() 36 rsgProgramStoreIsColorMaskGreenEnabled(rs_program_store ps) { in rsgProgramStoreIsColorMaskGreenEnabled() argument 37 ProgramStore_t *prog = (ProgramStore_t *)ps.p; in rsgProgramStoreIsColorMaskGreenEnabled() 45 rsgProgramStoreIsColorMaskBlueEnabled(rs_program_store ps) { in rsgProgramStoreIsColorMaskBlueEnabled() argument 46 ProgramStore_t *prog = (ProgramStore_t *)ps.p; in rsgProgramStoreIsColorMaskBlueEnabled() [all …]
|
/frameworks/rs/driver/ |
D | rsdProgramStore.cpp | 40 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 …]
|
D | rsdProgramStore.h | 24 const android::renderscript::ProgramStore *ps); 26 const android::renderscript::ProgramStore *ps); 28 const android::renderscript::ProgramStore *ps);
|
/frameworks/support/renderscript/v8/rs_support/scriptc/ |
D | rs_program.rsh | 31 * @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/scriptc/ |
D | rs_program.rsh | 31 * @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/base/tests/RenderScriptTests/tests/src/com/android/rs/test/ |
D | UT_program_store.java | 105 void checkObject(ProgramStore ps, in checkObject() argument 115 _RS_ASSERT("ps.isDepthMaskEnabled() == depthMask", ps.isDepthMaskEnabled() == depthMask); in checkObject() 116 _RS_ASSERT("ps.getDepthFunc() == df", ps.getDepthFunc() == df); in checkObject() 117 _RS_ASSERT("ps.getBlendSrcFunc() == bsf", ps.getBlendSrcFunc() == bsf); in checkObject() 118 _RS_ASSERT("ps.getBlendDstFunc() == bdf", ps.getBlendDstFunc() == bdf); in checkObject() 119 _RS_ASSERT("ps.isColorMaskRedEnabled() == R", ps.isColorMaskRedEnabled() == R); in checkObject() 120 _RS_ASSERT("ps.isColorMaskGreenEnabled() == G", ps.isColorMaskGreenEnabled() == G); in checkObject() 121 _RS_ASSERT("ps.isColorMaskBlueEnabled () == B", ps.isColorMaskBlueEnabled () == B); in checkObject() 122 _RS_ASSERT("ps.isColorMaskAlphaEnabled() == A", ps.isColorMaskAlphaEnabled() == A); in checkObject() 123 _RS_ASSERT("ps.isDitherEnabled() == dither", ps.isDitherEnabled() == dither); in checkObject() [all …]
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
D | LoadTestsAutoTest.java | 156 private void printRow(PrintStream ps, String format, Object...objs) { in printRow() argument 157 ps.println(String.format(format, objs)); in printRow() 166 PrintStream ps = new PrintStream(out); in dumpMemoryInfo() local 168 ps.print("\n\n\n"); in dumpMemoryInfo() 169 ps.println("** MEMINFO in pid " + Process.myPid() in dumpMemoryInfo() 193 printRow(ps, formatString, "", "native", "dalvik", "other", "total"); in dumpMemoryInfo() 194 printRow(ps, formatString, "size:", nativeMax, dalvikMax, "N/A", nativeMax + dalvikMax); in dumpMemoryInfo() 195 printRow(ps, formatString, "allocated:", nativeAllocated, dalvikAllocated, "N/A", in dumpMemoryInfo() 197 printRow(ps, formatString, "free:", nativeFree, dalvikFree, "N/A", in dumpMemoryInfo() 200 printRow(ps, formatString, "(Pss):", memInfo.nativePss, memInfo.dalvikPss, in dumpMemoryInfo() [all …]
|
/frameworks/base/services/java/com/android/server/pm/ |
D | Settings.java | 870 PackageSetting ps = null; in readPackageRestrictionsLPr() local 882 ps = mPackages.get(name); in readPackageRestrictionsLPr() 883 if (ps == null) { in readPackageRestrictionsLPr() 921 ps.setUserState(userId, enabled, installed, stopped, notLaunched, in readPackageRestrictionsLPr() 1177 PackageSetting ps = mPackages.get(name); in readStoppedLPw() local 1178 if (ps != null) { in readStoppedLPw() 1179 ps.setStopped(true, 0); in readStoppedLPw() 1181 ps.setNotLaunched(true, 0); in readStoppedLPw() 1545 final PackageSetting ps = mPackages.get(key); in getListOfIncompleteInstallPackagesLPr() local 1546 if (ps.getInstallStatus() == PackageSettingBase.PKG_INSTALL_INCOMPLETE) { in getListOfIncompleteInstallPackagesLPr() [all …]
|
D | PackageManagerService.java | 664 PackageSetting ps = mSettings.mPackages.get(ent.getKey()); in doHandleMessage() local 665 uids[i] = (ps != null) ? ps.appId : -1; in doHandleMessage() 1178 PackageSetting ps = psit.next(); in PackageManagerService() local 1184 if ((ps.pkgFlags & ApplicationInfo.FLAG_SYSTEM) == 0) { in PackageManagerService() 1191 final PackageParser.Package scannedPkg = mPackages.get(ps.name); in PackageManagerService() 1200 if (mSettings.isDisabledSystemPackageLPr(ps.name)) { in PackageManagerService() 1201 Slog.i(TAG, "Expecting better updatd system app for " + ps.name in PackageManagerService() 1203 removePackageLI(ps, true); in PackageManagerService() 1209 if (!mSettings.isDisabledSystemPackageLPr(ps.name)) { in PackageManagerService() 1211 String msg = "System package " + ps.name in PackageManagerService() [all …]
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
D | RenderState.java | 48 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()
|
D | render.rs | 72 if (rsIsObject(renderState->ps)) { 73 rsgBindProgramStore(renderState->ps); 98 if (rsIsObject(renderState->ps)) {
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
D | s10_8pf.cpp | 584 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 …]
|
D | c4_17pf.cpp | 400 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()
|
D | c3_14pf.cpp | 386 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/ |
D | c4t64fx.c | 106 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 …]
|
D | c2t64fx.c | 57 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/compile/slang/tests/P_unknown_function/ |
D | unknown_function.rs | 5 rs_program_store ps; 6 rsgProgramStoreGetDepthFunc(ps);
|
/frameworks/native/libs/utils/ |
D | String16.cpp | 323 const size_t ps = prefix.size(); in startsWith() local 324 if (ps > size()) return false; in startsWith() 325 return strzcmp16(mString, ps, prefix.string(), ps) == 0; in startsWith() 330 const size_t ps = strlen16(prefix); in startsWith() local 331 if (ps > size()) return false; in startsWith() 332 return strncmp16(mString, prefix, ps) == 0; in startsWith()
|
/frameworks/rs/ |
D | rs_hal.h | 214 bool (*init)(const Context *rsc, const ProgramStore *ps); 215 void (*setActive)(const Context *rsc, const ProgramStore *ps); 216 void (*destroy)(const Context *rsc, const ProgramStore *ps); 220 bool (*init)(const Context *rsc, const ProgramRaster *ps); 221 void (*setActive)(const Context *rsc, const ProgramRaster *ps); 222 void (*destroy)(const Context *rsc, const ProgramRaster *ps);
|
D | rsProgramStore.cpp | 153 ObjectBaseRef<ProgramStore> ps = ProgramStore::getProgramStore(rsc, in rsi_ProgramStoreCreate() local 158 ps->incUserRef(); in rsi_ProgramStoreCreate() 159 return ps.get(); in rsi_ProgramStoreCreate()
|
/frameworks/support/renderscript/v8/rs_support/ |
D | rs_hal.h | 213 bool (*init)(const Context *rsc, const ProgramStore *ps); 214 void (*setActive)(const Context *rsc, const ProgramStore *ps); 215 void (*destroy)(const Context *rsc, const ProgramStore *ps); 219 bool (*init)(const Context *rsc, const ProgramRaster *ps); 220 void (*setActive)(const Context *rsc, const ProgramRaster *ps); 221 void (*destroy)(const Context *rsc, const ProgramRaster *ps);
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 1402 Uid.Proc ps = ent.getValue(); in dumpCheckinLocked() local 1404 long userTime = ps.getUserTime(which); in dumpCheckinLocked() 1405 long systemTime = ps.getSystemTime(which); in dumpCheckinLocked() 1406 int starts = ps.getStarts(which); in dumpCheckinLocked() 1423 Uid.Pkg ps = ent.getValue(); in dumpCheckinLocked() local 1424 int wakeups = ps.getWakeups(which); in dumpCheckinLocked() 1425 Map<String, ? extends Uid.Pkg.Serv> serviceStats = ps.getServiceStats(); in dumpCheckinLocked() 1926 Uid.Proc ps = ent.getValue(); in dumpLocked() local 1932 userTime = ps.getUserTime(which); in dumpLocked() 1933 systemTime = ps.getSystemTime(which); in dumpLocked() [all …]
|