/frameworks/base/core/java/com/android/internal/widget/ |
H A D | PointerLocationView.java | 90 PointerState ps = new PointerState(); 91 ps.mVelocity = VelocityTracker.obtain(); 92 mPointers.add(ps); 124 final PointerState ps = mPointers.get(0); 129 final int N = ps.mXs.size(); 130 if ((mCurDown && ps.mCurDown) || N == 0) { 132 canvas.drawText("X: " + ps.mCurX, 1 + itemW, base, mTextPaint); 134 canvas.drawText("Y: " + ps.mCurY, 1 + itemW * 2, base, mTextPaint); 136 float dx = ps.mXs.get(N-1) - ps [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
H A D | TestWebServer.java | 642 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/tests/DumpRenderTree/src/com/android/dumprendertree/ |
H A D | LoadTestsAutoTest.java | 103 private void printRow(PrintStream ps, String format, Object...objs) { argument 104 ps.println(String.format(format, objs)); 113 PrintStream ps = new PrintStream(out); 115 ps.print("\n\n\n"); 116 ps.println("** MEMINFO in pid " + Process.myPid() 140 printRow(ps, formatString, "", "native", "dalvik", "other", "total"); 141 printRow(ps, formatString, "size:", nativeMax, dalvikMax, "N/A", nativeMax + dalvikMax); 142 printRow(ps, formatString, "allocated:", nativeAllocated, dalvikAllocated, "N/A", 144 printRow(ps, formatString, "free:", nativeFree, dalvikFree, "N/A", 147 printRow(ps, formatStrin [all...] |
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | c4_17pf.cpp | 400 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 D | s10_8pf.cpp | 192 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 D | c3_14pf.cpp | 386 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/base/services/java/com/android/server/ |
H A D | PackageManagerService.java | 544 PackageSetting ps = mSettings.mPackages.get(ent.getKey()); 545 uids[i] = (ps != null) ? ps.userId : -1; 931 PackageSetting ps = psit.next(); 932 if ((ps.pkgFlags&ApplicationInfo.FLAG_SYSTEM) != 0 933 && !mPackages.containsKey(ps.name) 934 && !mSettings.mDisabledSysPackages.containsKey(ps.name)) { 936 String msg = "System package " + ps.name 940 mInstaller.remove(ps.name); 1020 void cleanupInstallFailedPackage(PackageSetting ps) { argument 2516 collectCertificatesLI(PackageParser pp, PackageSetting ps, PackageParser.Package pkg, File srcFile, int parseFlags) argument [all...] |
/frameworks/base/libs/utils/ |
H A D | String16.cpp | 538 const size_t ps = prefix.size(); local 539 if (ps > size()) return false; 540 return strzcmp16(mString, ps, prefix.string(), ps) == 0; 545 const size_t ps = strlen16(prefix); local 546 if (ps > size()) return false; 547 return strncmp16(mString, prefix, ps) == 0;
|
/frameworks/base/core/java/android/os/ |
H A D | BatteryStats.java | 962 Uid.Proc ps = ent.getValue(); 964 long userTime = ps.getUserTime(which); 965 long systemTime = ps.getSystemTime(which); 966 int starts = ps.getStarts(which); 983 Uid.Pkg ps = ent.getValue(); 984 int wakeups = ps.getWakeups(which); 985 Map<String, ? extends Uid.Pkg.Serv> serviceStats = ps.getServiceStats(); 1367 Uid.Proc ps = ent.getValue(); 1372 userTime = ps.getUserTime(which); 1373 systemTime = ps [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatteryStatsImpl.java | 2573 Proc ps = mProcessStats.get(name); 2574 if (ps == null) { 2575 ps = new Proc(); 2576 mProcessStats.put(name, ps); 2579 return ps; 2587 Pkg ps = mPackageStats.get(name); 2588 if (ps == null) { 2589 ps = new Pkg(); 2590 mPackageStats.put(name, ps); 2593 return ps; [all...] |
/frameworks/base/telephony/java/android/telephony/ |
H A D | PhoneNumberUtils.java | 1578 String ps = null; 1579 SystemProperties.get(PROPERTY_IDP_STRING, ps); 1580 if (TextUtils.isEmpty(ps)) { 1581 ps = NANP_IDP_STRING; 1583 return ps;
|
/frameworks/base/libs/rs/ |
H A D | rs.spec | 370 param float ps
|
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
H A D | Pm.java | 469 List<PermissionInfo> ps = mPm.queryPermissionsByGroup( 471 int count = ps.size(); 474 PermissionInfo pi = ps.get(p);
|
/frameworks/base/core/java/android/text/ |
H A D | TextUtils.java | 597 ParcelableSpan ps = (ParcelableSpan)prop; 598 p.writeInt(ps.getSpanTypeId()); 599 ps.writeToParcel(p, parcelableFlags);
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | ActivityManagerService.java | 1552 BatteryStatsImpl.Uid.Proc ps = pr.batteryStats; 1553 ps.addCpuTimeLocked(st.rel_utime, st.rel_stime); 1554 ps.addSpeedStepTimes(cpuSpeedTimes); 1556 BatteryStatsImpl.Uid.Proc ps = 1558 if (ps != null) { 1559 ps.addCpuTimeLocked(st.rel_utime, st.rel_stime); 1560 ps.addSpeedStepTimes(cpuSpeedTimes); 2258 BatteryStatsImpl.Uid.Proc ps = 2261 if (ps != null) { 2262 ps [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ActivityManagerNative.java | 112 static public void noteWakeupAlarm(PendingIntent ps) { argument 114 getDefault().noteWakeupAlarm(ps.getTarget());
|