Home
last modified time | relevance | path

Searched refs:ps (Results 1 – 25 of 92) 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.java117 PackageSetting ps = generateFakePackageSetting("packageA"); in testAddSigningKSToPackageEmpty() local
118 mPackagesMap.put(ps.name, ps); in testAddSigningKSToPackageEmpty()
124 mKsms.addSigningKeySetToPackageLPw(ps, signingKeys); in testAddSigningKSToPackageEmpty()
134 assertEquals(1, ps.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageEmpty()
144 PackageSetting ps = generateFakePackageSetting("packageA"); in testAddSigningKSToPackageUpgradeSame() local
145 mPackagesMap.put(ps.name, ps); in testAddSigningKSToPackageUpgradeSame()
151 mKsms.addSigningKeySetToPackageLPw(ps, signingKeys); in testAddSigningKSToPackageUpgradeSame()
154 mKsms.addSigningKeySetToPackageLPw(ps, signingKeys); in testAddSigningKSToPackageUpgradeSame()
164 assertEquals(1, ps.keySetData.getProperSigningKeySet()); in testAddSigningKSToPackageUpgradeSame()
174 PackageSetting ps = generateFakePackageSetting("packageA"); in testAddSigningKSToPackageUpgradeDiff() local
[all …]
DPackageManagerSettingsTests.java150 PackageSetting ps = settings.getPackageLPr(PACKAGE_NAME_1); in testSettingsReadOld() local
151 assertThat(ps.getEnabled(0), is(COMPONENT_ENABLED_STATE_DEFAULT)); in testSettingsReadOld()
152 assertThat(ps.getNotLaunched(0), is(true)); in testSettingsReadOld()
154 ps = settings.getPackageLPr(PACKAGE_NAME_2); in testSettingsReadOld()
155 assertThat(ps.getStopped(0), is(false)); in testSettingsReadOld()
156 assertThat(ps.getEnabled(0), is(COMPONENT_ENABLED_STATE_DISABLED_USER)); in testSettingsReadOld()
157 assertThat(ps.getEnabled(1), is(COMPONENT_ENABLED_STATE_DEFAULT)); in testSettingsReadOld()
172 PackageSetting ps = settings.getPackageLPr(PACKAGE_NAME_2); in testNewPackageRestrictionsFile() local
173 assertThat(ps.getEnabled(0), is(COMPONENT_ENABLED_STATE_DISABLED_USER)); in testNewPackageRestrictionsFile()
174 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.java143 for (PackageSetting ps : packages) {
144 aggregatedFlags |= ps.pkgFlags;
150 for (PackageSetting ps : packages) {
151 aggregatedPrivateFlags |= ps.pkgPrivateFlags;
182 for (PackageSetting ps : packages) {
183 if ((ps == null) || (ps.pkg == null)) {
186 pkgList.add(ps.pkg);
205 for (PackageSetting ps : packages) {
206 if ((ps == null) || (ps.pkg == null)) {
209 if (ps.pkg.getTargetSdkVersion() < seInfoTargetSdkVersion) {
[all …]
DPackageManagerService.java2040 PackageInfo generatePackageInfo(PackageSetting ps, int flags, int userId); in generatePackageInfo() argument
2072 boolean filterSharedLibPackageLPr(@Nullable PackageSetting ps, int uid, int userId, in filterSharedLibPackageLPr() argument
2091 boolean shouldFilterApplicationLocked(@Nullable PackageSetting ps, int callingUid, in shouldFilterApplicationLocked() argument
2094 boolean shouldFilterApplicationLocked(@Nullable PackageSetting ps, int callingUid, in shouldFilterApplicationLocked() argument
2616 PackageSetting ps = mSettings.getPackageLPr(component.getPackageName()); in getActivityInfoInternalBody() local
2617 if (ps == null) return null; in getActivityInfoInternalBody()
2619 ps, filterCallingUid, component, TYPE_ACTIVITY, userId)) { in getActivityInfoInternalBody()
2623 a, flags, ps.readUserState(userId), userId, ps); in getActivityInfoInternalBody()
2651 PackageSetting ps = mSettings.getPackageLPr(packageName); in generateApplicationInfoFromSettingsLPw()
2652 if (ps != null) { in generateApplicationInfoFromSettingsLPw()
[all …]
DSettings.java884 PackageSetting ps = iter.next();
885 if (mPackages.get(ps.name) == null) {
1640 PackageSetting ps = null;
1652 ps = mPackages.get(name);
1653 if (ps == null) {
1776 ps.setUserState(userId, ceDataInode, enabled, installed, stopped, notLaunched,
2246 PackageSetting ps = mPackages.get(name);
2247 if (ps != null) {
2248 ps.setStopped(true, 0);
2250 ps.setNotLaunched(true, 0);
[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.kt44 private fun printTime(time: Long, offset: Long, ps: PrintStream) { in <lambda>()
45 ps.print(dateFormat.format(Date(time / 1000000 + offset)) + " ") in <lambda>()
51 ps: PrintStream in <lambda>()
78 ps.print("${configEntry.level} ${configEntry.tag}: $formatted\n") in <lambda>()
81 private fun printUnformatted(protoLogMessage: ProtoLogMessage, ps: PrintStream, tag: String) { in <lambda>()
82 ps.println("$tag: ${protoLogMessage.messageHash} - ${protoLogMessage.strParamsList}" + in <lambda>()
87 fun parse(protoLogInput: InputStream, jsonConfigInput: InputStream, ps: PrintStream) { in <lambda>()
101 printTime(log.elapsedRealtimeNanos, protoLog.realTimeToElapsedTimeOffsetMillis, ps) in <lambda>()
103 printUnformatted(log, ps, "UNKNOWN") in <lambda>()
107 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/native/services/powermanager/include/android/
DPowerSaveState.h51 bool operator == (const PowerSaveState &ps) const {
52 return mBatterySaverEnabled == ps.mBatterySaverEnabled &&
53 mGlobalBatterySaverEnabled == ps.mGlobalBatterySaverEnabled &&
54 mLocationMode == ps.mLocationMode &&
55 fabs(mBrightnessFactor - ps.mBrightnessFactor) == 0.0f;
/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/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/libs/binder/include/binder/
DBinderService.h56 sp<ProcessState> ps(ProcessState::self()); in joinThreadPool()
57 ps->startThreadPool(); in joinThreadPool()
58 ps->giveThreadPoolName(); in joinThreadPool()
/frameworks/native/include/binder/
DBinderService.h56 sp<ProcessState> ps(ProcessState::self()); in joinThreadPool()
57 ps->startThreadPool(); in joinThreadPool()
58 ps->giveThreadPoolName(); in joinThreadPool()

1234