/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 | 173 PointerState ps = new PointerState(); in PointerLocationView() local 174 mPointers.add(ps); in PointerLocationView() 232 final PointerState ps = mPointers.get(mActivePointerId); in onDraw() local 240 final int N = ps.mTraceCount; in onDraw() 241 if ((mCurDown && ps.mCurDown) || N == 0) { in onDraw() 244 .append("X: ").append(ps.mCoords.x, 1) in onDraw() 248 .append("Y: ").append(ps.mCoords.y, 1) in onDraw() 251 float dx = ps.mTraceX[N - 1] - ps.mTraceX[0]; in onDraw() 252 float dy = ps.mTraceY[N - 1] - ps.mTraceY[0]; in onDraw() 269 .append("Xv: ").append(ps.mXVelocity, 3) in onDraw() [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/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 | 114 PackageSetting ps = settings.getPackageLPr(PACKAGE_NAME_1); in testSettingsReadOld() local 115 assertThat(ps.getEnabled(0), is(COMPONENT_ENABLED_STATE_DEFAULT)); in testSettingsReadOld() 116 assertThat(ps.getNotLaunched(0), is(true)); in testSettingsReadOld() 118 ps = settings.getPackageLPr(PACKAGE_NAME_2); in testSettingsReadOld() 119 assertThat(ps.getStopped(0), is(false)); in testSettingsReadOld() 120 assertThat(ps.getEnabled(0), is(COMPONENT_ENABLED_STATE_DISABLED_USER)); in testSettingsReadOld() 121 assertThat(ps.getEnabled(1), is(COMPONENT_ENABLED_STATE_DEFAULT)); in testSettingsReadOld() 137 PackageSetting ps = settings.getPackageLPr(PACKAGE_NAME_2); in testNewPackageRestrictionsFile() local 138 assertThat(ps.getEnabled(0), is(COMPONENT_ENABLED_STATE_DISABLED_USER)); in testNewPackageRestrictionsFile() 139 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/core/java/android/app/ |
D | ActivityManagerNative.java | 76 static public void noteWakeupAlarm(PendingIntent ps, int sourceUid, String sourcePkg, in noteWakeupAlarm() argument 78 ActivityManager.noteWakeupAlarm(ps, sourceUid, sourcePkg, tag); in noteWakeupAlarm() 84 static public void noteAlarmStart(PendingIntent ps, int sourceUid, String tag) { in noteAlarmStart() argument 85 ActivityManager.noteAlarmStart(ps, sourceUid, tag); in noteAlarmStart() 91 static public void noteAlarmFinish(PendingIntent ps, int sourceUid, String tag) { in noteAlarmFinish() argument 92 ActivityManager.noteAlarmFinish(ps, sourceUid, tag); in noteAlarmFinish()
|
/frameworks/base/cmds/incidentd/src/ |
D | main.cpp | 43 sp<ProcessState> ps(ProcessState::self()); in main() local 44 ps->setThreadPoolMaxThreadCount(1); // everything is oneway, let it queue and save ram in main() 45 ps->startThreadPool(); in main() 46 ps->giveThreadPoolName(); in main()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Settings.java | 484 final PackageSetting ps = mPackages.get(packageName); in applyPendingPermissionGrantsLPw() local 485 if (ps == null) { in applyPendingPermissionGrantsLPw() 489 final PermissionsState perms = ps.getPermissionsState(); in applyPendingPermissionGrantsLPw() 652 PackageSetting ps = iter.next(); in pruneSharedUsersLPw() local 653 if (mPackages.get(ps.name) == null) { in pruneSharedUsersLPw() 1159 final PackageSetting ps = mPackages.valueAt(i); in removeInstallerPackageStatus() local 1160 final String installerPackageName = ps.getInstallerPackageName(); in removeInstallerPackageStatus() 1163 ps.setInstallerPackageName(null); in removeInstallerPackageStatus() 1164 ps.isOrphaned = true; in removeInstallerPackageStatus() 1279 PackageSetting ps = mPackages.get(packageName); in getIntentFilterVerificationLPr() local [all …]
|
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 | SharedUserSetting.java | 55 for (PackageSetting ps : packages) { in removePackage() 56 aggregatedFlags |= ps.pkgFlags; in removePackage() 62 for (PackageSetting ps : packages) { in removePackage() 63 aggregatedPrivateFlags |= ps.pkgPrivateFlags; in removePackage()
|
D | InstantAppRegistry.java | 262 PackageSetting ps = (PackageSetting) pkg.mExtras; in onPackageInstalledLPw() local 263 if (ps == null) { in onPackageInstalledLPw() 269 if (mService.mPackages.get(pkg.packageName) == null || !ps.getInstalled(userId)) { in onPackageInstalledLPw() 277 if (ps.getInstantApp(userId)) { in onPackageInstalledLPw() 278 addInstantAppLPw(userId, ps.appId); in onPackageInstalledLPw() 309 PackageSetting ps = (PackageSetting) pkg.mExtras; in onPackageUninstalledLPw() local 310 if (ps == null) { in onPackageUninstalledLPw() 315 if (mService.mPackages.get(pkg.packageName) != null && ps.getInstalled(userId)) { in onPackageUninstalledLPw() 319 if (ps.getInstantApp(userId)) { in onPackageUninstalledLPw() 322 removeInstantAppLPw(userId, ps.appId); in onPackageUninstalledLPw() [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/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/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/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/native/libs/binder/include/binder/ |
D | BinderService.h | 55 sp<ProcessState> ps(ProcessState::self()); in joinThreadPool() 56 ps->startThreadPool(); in joinThreadPool() 57 ps->giveThreadPoolName(); in joinThreadPool()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | CpuPowerCalculator.java | 78 final BatteryStats.Uid.Proc ps = processStats.valueAt(i); in calculateApp() local 80 app.cpuFgTimeMs += ps.getForegroundTime(statsType); in calculateApp() 82 final long costValue = ps.getUserTime(statsType) + ps.getSystemTime(statsType) in calculateApp() 83 + ps.getForegroundTime(statsType); in calculateApp()
|
/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 …]
|
/frameworks/base/tools/layoutlib/bridge/src/android/preference/ |
D | Preference_Delegate.java | 60 PreferenceScreen ps = (PreferenceScreen) inflater.inflate(parser, null, true); in inflatePreference() local 61 pm.setPreferences(ps); in inflatePreference() 63 ps.bind(preferenceView); in inflatePreference()
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/ |
D | DetailsTestSupportFragment.java | 88 ClassPresenterSelector ps = new ClassPresenterSelector(); in onCreate() local 100 ps.addClassPresenter(DetailsOverviewRow.class, dorPresenter); in onCreate() 101 ps.addClassPresenter(ListRow.class, new ListRowPresenter()); in onCreate() 102 mRowsAdapter = new ArrayObjectAdapter(ps); in onCreate()
|