Home
last modified time | relevance | path

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

1234

/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/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/base/core/java/com/android/internal/widget/
DPointerLocationView.java209 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/
DKeySetManagerServiceTest.java115 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 …]
DPackageManagerSettingsTests.java142 PackageSetting ps = settings.getPackageLPr(PACKAGE_NAME_1); in testSettingsReadOld() local
143 assertThat(ps.getEnabled(0), is(COMPONENT_ENABLED_STATE_DEFAULT)); in testSettingsReadOld()
144 assertThat(ps.getNotLaunched(0), is(true)); in testSettingsReadOld()
146 ps = settings.getPackageLPr(PACKAGE_NAME_2); in testSettingsReadOld()
147 assertThat(ps.getStopped(0), is(false)); in testSettingsReadOld()
148 assertThat(ps.getEnabled(0), is(COMPONENT_ENABLED_STATE_DISABLED_USER)); in testSettingsReadOld()
149 assertThat(ps.getEnabled(1), is(COMPONENT_ENABLED_STATE_DEFAULT)); in testSettingsReadOld()
166 PackageSetting ps = settings.getPackageLPr(PACKAGE_NAME_2); in testNewPackageRestrictionsFile() local
167 assertThat(ps.getEnabled(0), is(COMPONENT_ENABLED_STATE_DISABLED_USER)); in testNewPackageRestrictionsFile()
168 assertThat(ps.getEnabled(1), is(COMPONENT_ENABLED_STATE_DEFAULT)); in testNewPackageRestrictionsFile()
[all …]
/frameworks/rs/driver/
DrsdProgramStore.cpp39 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 …]
DrsdProgramStore.h24 const android::renderscript::ProgramStore *ps);
26 const android::renderscript::ProgramStore *ps);
28 const android::renderscript::ProgramStore *ps);
/frameworks/base/services/core/java/com/android/server/pm/
DSharedUserSetting.java106 for (PackageSetting ps : packages) { in removePackage()
107 aggregatedFlags |= ps.pkgFlags; in removePackage()
113 for (PackageSetting ps : packages) { in removePackage()
114 aggregatedPrivateFlags |= ps.pkgPrivateFlags; in removePackage()
143 for (PackageSetting ps : packages) { in getPackages()
144 if ((ps == null) || (ps.pkg == null)) { in getPackages()
147 pkgList.add(ps.pkg); in getPackages()
166 for (PackageSetting ps : packages) { in fixSeInfoLocked()
167 if ((ps == null) || (ps.pkg == null)) { in fixSeInfoLocked()
170 if (ps.pkg.getTargetSdkVersion() < seInfoTargetSdkVersion) { in fixSeInfoLocked()
[all …]
DSettings.java616 PackageSetting ps = iter.next(); in pruneSharedUsersLPw() local
617 if (mPackages.get(ps.name) == null) { in pruneSharedUsersLPw()
1193 PackageSetting ps = mPackages.get(packageName); in getIntentFilterVerificationLPr() local
1194 if (ps == null) { in getIntentFilterVerificationLPr()
1200 return ps.getIntentFilterVerificationInfo(); in getIntentFilterVerificationLPr()
1206 PackageSetting ps = mPackages.get(packageName); in createIntentFilterVerificationIfNeededLPw() local
1207 if (ps == null) { in createIntentFilterVerificationIfNeededLPw()
1213 IntentFilterVerificationInfo ivi = ps.getIntentFilterVerificationInfo(); in createIntentFilterVerificationIfNeededLPw()
1216 ps.setIntentFilterVerificationInfo(ivi); in createIntentFilterVerificationIfNeededLPw()
1233 PackageSetting ps = mPackages.get(packageName); in getIntentFilterVerificationStatusLPr() local
[all …]
/frameworks/compile/slang/lit-tests/bitcode_wrapper/
Dbitcode_wrapper_test.ll6 ; 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/tools/protologtool/src/com/android/protolog/tool/
DLogParser.kt45 private fun printTime(time: Long, offset: Long, ps: PrintStream) { in <lambda>()
46 ps.print(dateFormat.format(Date(time / 1000000 + offset)) + " ") in <lambda>()
52 ps: PrintStream in <lambda>()
79 ps.print("${configEntry.level} ${configEntry.tag}: $formatted\n") in <lambda>()
82 private fun printUnformatted(protoLogMessage: ProtoLogMessage, ps: PrintStream, tag: String) { in <lambda>()
83 ps.println("$tag: ${protoLogMessage.messageHash} - ${protoLogMessage.strParamsList}" + in <lambda>()
88 fun parse(protoLogInput: InputStream, jsonConfigInput: InputStream, ps: PrintStream) { in <lambda>()
102 printTime(log.elapsedRealtimeNanos, protoLog.realTimeToElapsedTimeOffsetMillis, ps) in <lambda>()
104 printUnformatted(log, ps, "UNKNOWN") in <lambda>()
108 printFormatted(log, conf, ps) in <lambda>()
[all …]
/frameworks/base/core/java/android/app/
DActivityManagerNative.java86 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/
Dmain.cpp40 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/native/services/vr/virtual_touchpad/
Dmain.cpp16 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/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 …]
/frameworks/base/services/core/java/com/android/server/backup/
DPeopleBackupHelper.java49 PeopleServiceInternal ps = LocalServices.getService(PeopleServiceInternal.class); in getBackupPayload() local
53 return ps.getBackupPayload(mUserId); in getBackupPayload()
62 PeopleServiceInternal ps = LocalServices.getService(PeopleServiceInternal.class); in applyRestoredPayload() local
66 ps.restore(mUserId, payload); in applyRestoredPayload()
/frameworks/native/services/gpuservice/
Dmain_gpuservice.cpp37 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/
DCorruptedDexTest.java60 PrintStream ps = new PrintStream(baos); in testSupressedExceptions()
61 e.printStackTrace(ps); in testSupressedExceptions()
62 ps.close(); in testSupressedExceptions()
/frameworks/base/cmds/idmap2/idmap2d/
DMain.cpp43 sp<ProcessState> ps(ProcessState::self()); in main() local
44 ps->startThreadPool(); in main()
45 ps->giveThreadPoolName(); in main()
/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()
/frameworks/native/include/binder/
DBinderService.h57 sp<ProcessState> ps(ProcessState::self()); in joinThreadPool()
58 ps->startThreadPool(); in joinThreadPool()
59 ps->giveThreadPoolName(); in joinThreadPool()
/frameworks/native/libs/binder/include/binder/
DBinderService.h57 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/
DCpuPowerCalculator.java87 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()
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DEngine.cpp209 DeviceVector Engine::getDevicesForProductStrategy(product_strategy_t ps) const in getDevicesForProductStrategy()
212 if (productStrategies.find(ps) == productStrategies.end()) { in getDevicesForProductStrategy()
213 ALOGE("%s: Trying to get device on invalid strategy %d", __FUNCTION__, ps); in getDevicesForProductStrategy()
231 if (ps == getProductStrategyForStream(AUDIO_STREAM_NOTIFICATION) && in getDevicesForProductStrategy()
240 } else if (ps == getProductStrategyForStream(AUDIO_STREAM_ACCESSIBILITY) && in getDevicesForProductStrategy()
249 deviceTypes = productStrategies.getDeviceTypesForProductStrategy(ps); in getDevicesForProductStrategy()
262 const String8 address(productStrategies.getDeviceAddressForProductStrategy(ps).c_str()); in getDevicesForProductStrategy()
264 __FUNCTION__, dumpDeviceTypes(deviceTypes).c_str(), address.c_str(), ps); in getDevicesForProductStrategy()
276 ALOGV("%s:device %s %d", __FUNCTION__, dumpDeviceTypes(deviceTypes).c_str(), ps); in getDevicesForProductStrategy()

1234