Home
last modified time | relevance | path

Searched refs:pr (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/rs/
DrsProgramRaster.cpp93 ProgramRaster *pr = new ProgramRaster(rsc, pointSprite, cull); in getProgramRaster() local
94 returnRef.set(pr); in getProgramRaster()
97 rsc->mStateRaster.mRasterPrograms.push_back(pr); in getProgramRaster()
104 ObjectBaseRef<ProgramRaster> pr = ProgramRaster::getProgramRaster(rsc, pointSprite, cull); in rsi_ProgramRasterCreate() local
105 pr->incUserRef(); in rsi_ProgramRasterCreate()
106 return pr.get(); in rsi_ProgramRasterCreate()
DrsThreadIO.cpp127 int pr = poll(p, pollCount, waitTime); in playCoreCommands() local
128 if (pr <= 0) { in playCoreCommands()
DrsScriptC_LibGL.cpp84 void rsrBindProgramRaster(Context *rsc, ProgramRaster *pr) { in rsrBindProgramRaster() argument
85 CHECK_OBJ_OR_NULL(pr); in rsrBindProgramRaster()
86 rsc->setProgramRaster(pr); in rsrBindProgramRaster()
DrsContext.cpp645 void Context::setProgramRaster(ProgramRaster *pr) { in setProgramRaster() argument
647 if (pr == nullptr) { in setProgramRaster()
650 mRaster.set(pr); in setProgramRaster()
784 ProgramRaster *pr = static_cast<ProgramRaster *>(vpr); in rsi_ContextBindProgramRaster() local
785 rsc->setProgramRaster(pr); in rsi_ContextBindProgramRaster()
/frameworks/base/services/core/java/com/android/server/pm/
DParallelPackageParser.java103 ParseResult pr = new ParseResult(); in submit() local
106 pr.scanFile = scanFile; in submit()
107 pr.parsedPackage = parsePackage(scanFile, parseFlags); in submit()
109 pr.throwable = e; in submit()
114 mQueue.put(pr); in submit()
DPackageManagerShellCommand.java1351 private void printResolveInfo(PrintWriterPrinter pr, String prefix, ResolveInfo ri, in printResolveInfo() argument
1366 pr.println(prefix + "priority=" + ri.priority in printResolveInfo()
1372 pr.println(prefix + comp.flattenToShortString()); in printResolveInfo()
1376 ri.dump(pr, prefix); in printResolveInfo()
1393 PrintWriterPrinter pr = new PrintWriterPrinter(pw); in runResolveActivity() local
1394 printResolveInfo(pr, "", ri, mBrief, mComponents); in runResolveActivity()
1418 PrintWriterPrinter pr = new PrintWriterPrinter(pw); in runQueryIntentActivities() local
1421 printResolveInfo(pr, " ", result.get(i), mBrief, mComponents); in runQueryIntentActivities()
1424 PrintWriterPrinter pr = new PrintWriterPrinter(pw); in runQueryIntentActivities() local
1426 printResolveInfo(pr, "", result.get(i), mBrief, mComponents); in runQueryIntentActivities()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DNativeCrashListener.java241 final ProcessRecord pr; in consumeNativeCrashData() local
243 pr = mAm.mPidsSelfLocked.get(pid); in consumeNativeCrashData()
245 if (pr == null) { in consumeNativeCrashData()
251 if (pr.isPersistent()) { in consumeNativeCrashData()
253 Slog.v(TAG, "Skipping report for persistent app " + pr); in consumeNativeCrashData()
289 pr.mErrorState.setCrashing(true); in consumeNativeCrashData()
290 pr.mErrorState.setForceCrashReport(true); in consumeNativeCrashData()
299 (new NativeCrashReporter(pr, signal, gwpAsanRecoverableCrash, reportString)).start(); in consumeNativeCrashData()
DBroadcastFilter.java93 public void dumpInReceiverList(PrintWriter pw, Printer pr, String prefix) { in dumpInReceiverList() argument
94 super.dump(pr, prefix); in dumpInReceiverList()
DReceiverList.java119 Printer pr = new PrintWriterPrinter(pw); in dump() local
129 bf.dumpInReceiverList(pw, pr, p2); in dump()
DContentProviderHelper.java513 final ProcessProviderRecord pr = proc.mProviders; in getContentProviderImpl() local
514 if (!pr.hasProvider(cpi.name)) { in getContentProviderImpl()
516 pr.installProvider(cpi.name, cpr); in getContentProviderImpl()
1231 final ProcessProviderRecord pr = app.mProviders; in generateApplicationProvidersLocked() local
1232 pr.ensureProviderCapacity(numProviders + pr.numberOfProviders()); in generateApplicationProvidersLocked()
1269 pr.installProvider(cpi.name, cpr); in generateApplicationProvidersLocked()
1422 final ProcessProviderRecord pr = r.mProviders; in incProviderCountLocked() local
1423 for (int i = 0, size = pr.numberOfProviderConnections(); i < size; i++) { in incProviderCountLocked()
1424 ContentProviderConnection conn = pr.getProviderConnectionAt(i); in incProviderCountLocked()
1440 pr.addProviderConnection(conn); in incProviderCountLocked()
DOomAdjuster.java738 for (ProcessRecord pr = queue.poll(); pr != null; pr = queue.poll()) { in collectReachableProcessesLocked()
739 processes.add(pr); in collectReachableProcessesLocked()
740 final UidRecord uidRec = pr.getUidRecord(); in collectReachableProcessesLocked()
744 final ProcessServiceRecord psr = pr.mServices; in collectReachableProcessesLocked()
749 if (service == null || service == pr in collectReachableProcessesLocked()
766 final ProcessProviderRecord ppr = pr.mProviders; in collectReachableProcessesLocked()
770 if (provider == null || provider == pr in collectReachableProcessesLocked()
785 mProcessList.getSdkSandboxProcessesForAppLocked(pr.uid); in collectReachableProcessesLocked()
797 if (pr.isSdkSandbox) { in collectReachableProcessesLocked()
807 if (attributedApp == null || attributedApp == pr in collectReachableProcessesLocked()
DActivityManagerService.java5647 ProcessRecord pr = null; in importanceTokenDied() local
5655 pr = mPidsSelfLocked.get(token.pid); in importanceTokenDied()
5656 if (pr == null) { in importanceTokenDied()
5659 pr.mState.setForcingToImportant(null); in importanceTokenDied()
5660 clearProcessForegroundLocked(pr); in importanceTokenDied()
5662 updateOomAdjLocked(pr, OOM_ADJ_REASON_UI_VISIBILITY); in importanceTokenDied()
5673 ProcessRecord pr = null; in setProcessImportant() local
5675 pr = mPidsSelfLocked.get(pid); in setProcessImportant()
5676 if (pr == null && isForeground) { in setProcessImportant()
5684 if (pr != null) { in setProcessImportant()
[all …]
/frameworks/rs/driver/runtime/
Drs_program.c95 rsgProgramRasterIsPointSpriteEnabled(rs_program_raster pr) { in rsgProgramRasterIsPointSpriteEnabled() argument
96 ProgramRaster_t *prog = (ProgramRaster_t *)pr.p; in rsgProgramRasterIsPointSpriteEnabled()
104 rsgProgramRasterGetCullMode(rs_program_raster pr) { in rsgProgramRasterGetCullMode() argument
105 ProgramRaster_t *prog = (ProgramRaster_t *)pr.p; in rsgProgramRasterGetCullMode()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DAppChildProcessTest.java178 PhantomProcessRecord pr = mPhantomProcessList in testManageAppChildProcesses() local
181 assertTrue(pr != null); in testManageAppChildProcesses()
183 assertEquals(pr, mPhantomProcessList.mPhantomProcesses.valueAt(0)); in testManageAppChildProcesses()
184 verifyPhantomProcessRecord(pr, child1ProcessName, app1Uid, child1Pid); in testManageAppChildProcesses()
194 assertEquals(pr, mPhantomProcessList.mPhantomProcesses.valueAt(0)); in testManageAppChildProcesses()
209 set.add(pr); in testManageAppChildProcesses()
217 private void verifyPhantomProcessRecord(PhantomProcessRecord pr, in verifyPhantomProcessRecord() argument
219 assertEquals(processName, pr.mProcessName); in verifyPhantomProcessRecord()
220 assertEquals(uid, pr.mUid); in verifyPhantomProcessRecord()
221 assertEquals(pid, pr.mPid); in verifyPhantomProcessRecord()
/frameworks/rs/driver/
DrsdProgramRaster.cpp35 void rsdProgramRasterSetActive(const Context *rsc, const ProgramRaster *pr) { in rsdProgramRasterSetActive() argument
36 switch (pr->mHal.state.cull) { in rsdProgramRasterSetActive()
/frameworks/native/libs/math/tests/
Dmat_test.cpp650 V3T pr = r * p; in TYPED_TEST() local
653 ASSERT_NEAR(pr.x, pq.x, value_eps); in TYPED_TEST()
654 ASSERT_NEAR(pr.y, pq.y, value_eps); in TYPED_TEST()
655 ASSERT_NEAR(pr.z, pq.z, value_eps); in TYPED_TEST()
679 V4T pr = r * V4T(p.x, p.y, p.z, 1); in TYPED_TEST() local
680 pr.x /= pr.w; in TYPED_TEST()
681 pr.y /= pr.w; in TYPED_TEST()
682 pr.z /= pr.w; in TYPED_TEST()
685 ASSERT_NEAR(pr.x, pq.x, value_eps); in TYPED_TEST()
686 ASSERT_NEAR(pr.y, pq.y, value_eps); in TYPED_TEST()
[all …]
/frameworks/base/keystore/java/android/security/
DCredentials.java190 PemReader pr = new PemReader(reader); in convertFromPem() local
197 while ((o = pr.readPemObject()) != null) { in convertFromPem()
208 pr.close(); in convertFromPem()
/frameworks/base/core/java/com/android/internal/util/
DFastPrintWriter.java216 public FastPrintWriter(Printer pr) { in FastPrintWriter() argument
217 this(pr, 512); in FastPrintWriter()
233 public FastPrintWriter(Printer pr, int bufferLen) { in FastPrintWriter() argument
235 if (pr == null) { in FastPrintWriter()
243 mPrinter = pr; in FastPrintWriter()
/frameworks/base/core/proto/android/os/
Dcpuinfo.proto26 * 'top -b -n 1 -H -s 6 -o pid,tid,user,pr,ni,%cpu,s,virt,res,pcy,cmd,name'
78 …optional string pr = 4; // priority of each task, using string type is because special value R… field
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DBatteryMeterDrawableBase.java401 final float pr = mFrame.right - (mFrame.width() - pw) / 2; in draw() local
404 || mPlusFrame.right != pr || mPlusFrame.bottom != pb) { in draw()
405 mPlusFrame.set(pl, pt, pr, pb); in draw()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DIPControls.java241 float pr = (1920.f / mResolution.width) * (1080.f / mResolution.height); in rebase() local
242 return v / pr; in rebase()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DIPControlsJB.java242 float pr = (1920.f / mRes.width) * (1080.f / mRes.height); in rebase() local
243 return v / pr; in rebase()
/frameworks/base/tests/LegacyRestoreTest/
Dkk-fixed-encrypted-settings-abcd.ab11 Ȫ ��߼ۏh:$5K3c�����d�a멂�Y����7�����$#A�%>R �J��+k>���f��S��p��[��c�~`��pr�&۹l
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java16860 Printer pr = new PrintWriterPrinter(pw);
16861 pr.println("*** Screen on timer:");
16862 mScreenOnTimer.logState(pr, " ");
16863 pr.println("*** Screen doze timer:");
16864 mScreenDozeTimer.logState(pr, " ");
16866 pr.println("*** Screen brightness #" + i + ":");
16867 mScreenBrightnessTimer[i].logState(pr, " ");
16869 pr.println("*** Interactive timer:");
16870 mInteractiveTimer.logState(pr, " ");
16871 pr.println("*** Power save mode timer:");
[all …]
/frameworks/base/tools/aapt/
DXMLNode.cpp523 String8 pr; in printXMLBlock() local
525 pr = String8(prefix16); in printXMLBlock()
527 pr = "<DEF>"; in printXMLBlock()
529 if (ns.prefix != pr) { in printXMLBlock()
532 prefix.string(), pr.string(), ns.prefix.string()); in printXMLBlock()

12