/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/rs/driver/runtime/ |
D | rs_program.c | 11 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/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 209 PointerState ps = new PointerState(); in PointerLocationView() local 210 mPointers.add(ps); in PointerLocationView() 290 final PointerState ps = mPointers.get(mActivePointerId); in onDraw() local 298 final int N = ps.mTraceCount; in onDraw() 299 if ((mCurDown && ps.mCurDown) || N == 0) { in onDraw() 303 .append("X: ").append(ps.mCoords.x, 1) in onDraw() 308 .append("Y: ").append(ps.mCoords.y, 1) in onDraw() 311 float dx = ps.mTraceX[N - 1] - ps.mTraceX[0]; in onDraw() 312 float dy = ps.mTraceY[N - 1] - ps.mTraceY[0]; in onDraw() 330 .append("Xv: ").append(ps.mXVelocity, 3) in onDraw() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | KeySetManagerServiceTest.java | 115 PackageSetting ps = generateFakePackageSetting("packageA"); in testAddSigningKSToPackageEmpty() local 116 mPackagesMap.put(ps.name, ps); in testAddSigningKSToPackageEmpty() 122 mKsms.addSigningKeySetToPackageLPw(ps, signingKeys); in testAddSigningKSToPackageEmpty() 132 assertEquals(1, ps.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageEmpty() 142 PackageSetting ps = generateFakePackageSetting("packageA"); in testAddSigningKSToPackageUpgradeSame() local 143 mPackagesMap.put(ps.name, ps); in testAddSigningKSToPackageUpgradeSame() 149 mKsms.addSigningKeySetToPackageLPw(ps, signingKeys); in testAddSigningKSToPackageUpgradeSame() 152 mKsms.addSigningKeySetToPackageLPw(ps, signingKeys); in testAddSigningKSToPackageUpgradeSame() 162 assertEquals(1, ps.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageUpgradeSame() 172 PackageSetting ps = generateFakePackageSetting("packageA"); in testAddSigningKSToPackageUpgradeDiff() local [all …]
|
D | PackageManagerSettingsTests.java | 130 PackageSetting ps = settings.getPackageLPr(PACKAGE_NAME_1); in testSettingsReadOld() local 131 assertThat(ps.getEnabled(0), is(COMPONENT_ENABLED_STATE_DEFAULT)); in testSettingsReadOld() 132 assertThat(ps.getNotLaunched(0), is(true)); in testSettingsReadOld() 134 ps = settings.getPackageLPr(PACKAGE_NAME_2); in testSettingsReadOld() 135 assertThat(ps.getStopped(0), is(false)); in testSettingsReadOld() 136 assertThat(ps.getEnabled(0), is(COMPONENT_ENABLED_STATE_DISABLED_USER)); in testSettingsReadOld() 137 assertThat(ps.getEnabled(1), is(COMPONENT_ENABLED_STATE_DEFAULT)); in testSettingsReadOld() 157 PackageSetting ps = settings.getPackageLPr(PACKAGE_NAME_2); in testNewPackageRestrictionsFile() local 158 assertThat(ps.getEnabled(0), is(COMPONENT_ENABLED_STATE_DISABLED_USER)); in testNewPackageRestrictionsFile() 159 assertThat(ps.getEnabled(1), is(COMPONENT_ENABLED_STATE_DEFAULT)); in testNewPackageRestrictionsFile() [all …]
|
/frameworks/rs/driver/ |
D | rsdProgramStore.cpp | 39 bool rsdProgramStoreInit(const Context *rsc, const ProgramStore *ps) { in rsdProgramStoreInit() argument 45 ps->mHal.drv = drv; in rsdProgramStoreInit() 48 switch (ps->mHal.state.depthFunc) { in rsdProgramStoreInit() 79 if ((ps->mHal.state.blendSrc == RS_BLEND_SRC_ONE) && in rsdProgramStoreInit() 80 (ps->mHal.state.blendDst == RS_BLEND_DST_ZERO)) { in rsdProgramStoreInit() 84 switch (ps->mHal.state.blendSrc) { in rsdProgramStoreInit() 117 switch (ps->mHal.state.blendDst) { in rsdProgramStoreInit() 151 ps->mHal.drv = nullptr; in rsdProgramStoreInit() 155 void rsdProgramStoreSetActive(const Context *rsc, const ProgramStore *ps) { in rsdProgramStoreSetActive() argument 156 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/compile/slang/lit-tests/bitcode_wrapper/ |
D | bitcode_wrapper_test.ll | 6 ; 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/ |
D | Settings.java | 575 PackageSetting ps = iter.next(); in pruneSharedUsersLPw() local 576 if (mPackages.get(ps.name) == null) { in pruneSharedUsersLPw() 1043 final PackageSetting ps = mPackages.valueAt(i); in removeInstallerPackageStatus() local 1044 final String installerPackageName = ps.getInstallerPackageName(); in removeInstallerPackageStatus() 1047 ps.setInstallerPackageName(null); in removeInstallerPackageStatus() 1048 ps.isOrphaned = true; in removeInstallerPackageStatus() 1154 PackageSetting ps = mPackages.get(packageName); in getIntentFilterVerificationLPr() local 1155 if (ps == null) { in getIntentFilterVerificationLPr() 1161 return ps.getIntentFilterVerificationInfo(); in getIntentFilterVerificationLPr() 1167 PackageSetting ps = mPackages.get(packageName); in createIntentFilterVerificationIfNeededLPw() local [all …]
|
D | SharedUserSetting.java | 82 for (PackageSetting ps : packages) { in removePackage() 83 aggregatedFlags |= ps.pkgFlags; in removePackage() 89 for (PackageSetting ps : packages) { in removePackage() 90 aggregatedPrivateFlags |= ps.pkgPrivateFlags; in removePackage() 114 for (PackageSetting ps : packages) { in getPackages() 115 if ((ps == null) || (ps.pkg == null)) { in getPackages() 118 pkgList.add(ps.pkg); in getPackages() 154 for (PackageSetting ps : packages) { in getNotInstalledUserIds() 155 final int[] userIds = ps.getNotInstalledUserIds(); in getNotInstalledUserIds()
|
D | InstructionSets.java | 53 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()
|
D | PackageManagerService.java | 1515 PackageSetting ps = mSettings.mPackages.get(ent.getKey()); in doHandleMessage() local 1516 uids[i] = (ps != null) in doHandleMessage() 1517 ? UserHandle.getUid(packageUserId, ps.appId) in doHandleMessage() 1936 final PackageSetting ps = (PackageSetting) res.pkg.mExtras; in handlePackagePostInstall() local 1938 final boolean isInstantApp = ps.getInstantApp(newUser); in handlePackagePostInstall() 2281 for (PackageSetting ps : packages) { 2282 Slog.d(TAG, "Destroying " + ps.name + " because volume was forgotten"); 2283 deletePackageVersioned(new VersionedPackage(ps.name, 2290 AttributeCache.instance().removePackage(ps.name); 2693 PackageSetting ps = mSettings.mPackages.valueAt(i); in PackageManagerService() local [all …]
|
/frameworks/base/core/java/android/app/ |
D | ActivityManagerNative.java | 86 static public void noteWakeupAlarm(PendingIntent ps, int sourceUid, String sourcePkg, in noteWakeupAlarm() argument 88 ActivityManager.noteWakeupAlarm(ps, null, sourceUid, sourcePkg, tag); in noteWakeupAlarm() 94 static public void noteAlarmStart(PendingIntent ps, int sourceUid, String tag) { in noteAlarmStart() argument 95 ActivityManager.noteAlarmStart(ps, null, sourceUid, tag); in noteAlarmStart() 101 static public void noteAlarmFinish(PendingIntent ps, int sourceUid, String tag) { in noteAlarmFinish() argument 102 ActivityManager.noteAlarmFinish(ps, null, sourceUid, tag); in noteAlarmFinish()
|
/frameworks/base/cmds/incidentd/src/ |
D | main.cpp | 40 sp<ProcessState> ps(ProcessState::self()); in main() local 41 ps->setThreadPoolMaxThreadCount(1); // everything is oneway, let it queue and save ram in main() 42 ps->startThreadPool(); in main() 43 ps->giveThreadPoolName(); in main()
|
/frameworks/rs/driver/runtime/arch/ |
D | x86_sse3.ll | 5 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/native/services/vr/virtual_touchpad/ |
D | main.cpp | 16 android::sp<android::ProcessState> ps(android::ProcessState::self()); in main() local 17 ps->setThreadPoolMaxThreadCount(4); in main() 18 ps->startThreadPool(); in main() 19 ps->giveThreadPoolName(); in main()
|
/frameworks/base/cmds/statsd/src/ |
D | main.cpp | 72 sp<ProcessState> ps(ProcessState::self()); in main() local 73 ps->setThreadPoolMaxThreadCount(9); in main() 74 ps->startThreadPool(); in main() 75 ps->giveThreadPoolName(); in main()
|
/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()
|
/frameworks/native/services/gpuservice/ |
D | main_gpuservice.cpp | 37 sp<ProcessState> ps(ProcessState::self()); in main() local 38 ps->startThreadPool(); in main() 39 ps->giveThreadPoolName(); in main()
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestAppWithCorruptedDex/src/com/android/framework/multidexlegacycorrupteddex/ |
D | CorruptedDexTest.java | 60 PrintStream ps = new PrintStream(baos); in testSupressedExceptions() 61 e.printStackTrace(ps); in testSupressedExceptions() 62 ps.close(); in testSupressedExceptions()
|
/frameworks/base/cmds/idmap2/idmap2d/ |
D | Main.cpp | 43 sp<ProcessState> ps(ProcessState::self()); in main() local 44 ps->startThreadPool(); in main() 45 ps->giveThreadPoolName(); in main()
|
/frameworks/native/include/binder/ |
D | BinderService.h | 57 sp<ProcessState> ps(ProcessState::self()); in joinThreadPool() 58 ps->startThreadPool(); in joinThreadPool() 59 ps->giveThreadPoolName(); in joinThreadPool()
|
/frameworks/native/libs/binder/include/binder/ |
D | BinderService.h | 57 sp<ProcessState> ps(ProcessState::self()); in joinThreadPool() 58 ps->startThreadPool(); in joinThreadPool() 59 ps->giveThreadPoolName(); in joinThreadPool()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | CpuPowerCalculator.java | 87 final BatteryStats.Uid.Proc ps = processStats.valueAt(i); in calculateApp() local 89 app.cpuFgTimeMs += ps.getForegroundTime(statsType); in calculateApp() 91 final long costValue = ps.getUserTime(statsType) + ps.getSystemTime(statsType) in calculateApp() 92 + ps.getForegroundTime(statsType); in calculateApp()
|