Home
last modified time | relevance | path

Searched refs:pr (Results 1 – 25 of 39) 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.java104 ParseResult pr = new ParseResult(); in submit() local
107 pr.scanFile = scanFile; in submit()
108 pr.parsedPackage = parsePackage(scanFile, parseFlags); in submit()
110 pr.throwable = e; in submit()
115 mQueue.put(pr); in submit()
DPackageManagerShellCommand.java1131 private void printResolveInfo(PrintWriterPrinter pr, String prefix, ResolveInfo ri, in printResolveInfo() argument
1146 pr.println(prefix + "priority=" + ri.priority in printResolveInfo()
1152 pr.println(prefix + comp.flattenToShortString()); in printResolveInfo()
1156 ri.dump(pr, prefix); in printResolveInfo()
1173 PrintWriterPrinter pr = new PrintWriterPrinter(pw); in runResolveActivity() local
1174 printResolveInfo(pr, "", ri, mBrief, mComponents); in runResolveActivity()
1198 PrintWriterPrinter pr = new PrintWriterPrinter(pw); in runQueryIntentActivities() local
1201 printResolveInfo(pr, " ", result.get(i), mBrief, mComponents); in runQueryIntentActivities()
1204 PrintWriterPrinter pr = new PrintWriterPrinter(pw); in runQueryIntentActivities() local
1206 printResolveInfo(pr, "", result.get(i), mBrief, mComponents); in runQueryIntentActivities()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DNativeCrashListener.java226 final ProcessRecord pr; in consumeNativeCrashData() local
228 pr = mAm.mPidsSelfLocked.get(pid); in consumeNativeCrashData()
230 if (pr != null) { in consumeNativeCrashData()
232 if (pr.isPersistent()) { in consumeNativeCrashData()
234 Slog.v(TAG, "Skipping report for persistent app " + pr); in consumeNativeCrashData()
267 pr.mErrorState.setCrashing(true); in consumeNativeCrashData()
268 pr.mErrorState.setForceCrashReport(true); in consumeNativeCrashData()
276 (new NativeCrashReporter(pr, signal, reportString)).start(); in consumeNativeCrashData()
DBroadcastFilter.java73 public void dumpInReceiverList(PrintWriter pw, Printer pr, String prefix) { in dumpInReceiverList() argument
74 super.dump(pr, prefix); in dumpInReceiverList()
DReceiverList.java113 Printer pr = new PrintWriterPrinter(pw); in dump() local
123 bf.dumpInReceiverList(pw, pr, p2); in dump()
DContentProviderHelper.java453 final ProcessProviderRecord pr = proc.mProviders; in getContentProviderImpl() local
454 if (!pr.hasProvider(cpi.name)) { in getContentProviderImpl()
456 pr.installProvider(cpi.name, cpr); in getContentProviderImpl()
1142 final ProcessProviderRecord pr = app.mProviders; in generateApplicationProvidersLocked() local
1143 pr.ensureProviderCapacity(numProviders + pr.numberOfProviders()); in generateApplicationProvidersLocked()
1180 pr.installProvider(cpi.name, cpr); in generateApplicationProvidersLocked()
1333 final ProcessProviderRecord pr = r.mProviders; in incProviderCountLocked() local
1334 for (int i = 0, size = pr.numberOfProviderConnections(); i < size; i++) { in incProviderCountLocked()
1335 ContentProviderConnection conn = pr.getProviderConnectionAt(i); in incProviderCountLocked()
1348 pr.addProviderConnection(conn); in incProviderCountLocked()
DActivityManagerService.java5155 ProcessRecord pr = null; in importanceTokenDied() local
5163 pr = mPidsSelfLocked.get(token.pid); in importanceTokenDied()
5164 if (pr == null) { in importanceTokenDied()
5167 pr.mState.setForcingToImportant(null); in importanceTokenDied()
5168 updateProcessForegroundLocked(pr, false, 0, false); in importanceTokenDied()
5170 updateOomAdjLocked(pr, OomAdjuster.OOM_ADJ_REASON_UI_VISIBILITY); in importanceTokenDied()
5181 ProcessRecord pr = null; in setProcessImportant() local
5183 pr = mPidsSelfLocked.get(pid); in setProcessImportant()
5184 if (pr == null && isForeground) { in setProcessImportant()
5192 if (pr != null) { in setProcessImportant()
[all …]
DOomAdjuster.java700 for (ProcessRecord pr = queue.poll(); pr != null; pr = queue.poll()) { in collectReachableProcessesLocked()
701 processes.add(pr); in collectReachableProcessesLocked()
702 final UidRecord uidRec = pr.getUidRecord(); in collectReachableProcessesLocked()
706 final ProcessServiceRecord psr = pr.mServices; in collectReachableProcessesLocked()
711 if (service == null || service == pr) { in collectReachableProcessesLocked()
727 final ProcessProviderRecord ppr = pr.mProviders; in collectReachableProcessesLocked()
731 if (provider == null || provider == pr) { in collectReachableProcessesLocked()
/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/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/rs/driver/
DrsdProgramRaster.cpp35 void rsdProgramRasterSetActive(const Context *rsc, const ProgramRaster *pr) { in rsdProgramRasterSetActive() argument
36 switch (pr->mHal.state.cull) { in rsdProgramRasterSetActive()
/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/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/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/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/pm/parsing/
DPackageInfoUtils.java181 final ParsedProvider pr = pkg.getProviders() in generateWithComponents() local
183 if (ComponentParseUtils.isMatch(state, pkg.isSystem(), pkg.isEnabled(), pr, in generateWithComponents()
185 res[num++] = generateProviderInfo(pkg, pr, flags, state, applicationInfo, in generateWithComponents()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java16685 Printer pr = new PrintWriterPrinter(pw); in dumpLocked() local
16686 pr.println("*** Screen on timer:"); in dumpLocked()
16687 mScreenOnTimer.logState(pr, " "); in dumpLocked()
16688 pr.println("*** Screen doze timer:"); in dumpLocked()
16689 mScreenDozeTimer.logState(pr, " "); in dumpLocked()
16691 pr.println("*** Screen brightness #" + i + ":"); in dumpLocked()
16692 mScreenBrightnessTimer[i].logState(pr, " "); in dumpLocked()
16694 pr.println("*** Interactive timer:"); in dumpLocked()
16695 mInteractiveTimer.logState(pr, " "); in dumpLocked()
16696 pr.println("*** Power save mode timer:"); in dumpLocked()
[all …]

12