Home
last modified time | relevance | path

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

12

/frameworks/support/lifecycle/integration-tests/testapp/src/main/java/android/arch/lifecycle/testapp/
DTestObserver.java43 public void create(LifecycleOwner pr) { in create() argument
48 public void start(LifecycleOwner pr) { in start() argument
53 public void resume(LifecycleOwner pr) { in resume() argument
57 public void pause(LifecycleOwner pr) { in pause() argument
62 public void stop(LifecycleOwner pr) { in stop() argument
67 public void destroy(LifecycleOwner pr) { in destroy() argument
/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.cpp646 void Context::setProgramRaster(ProgramRaster *pr) { in setProgramRaster() argument
648 if (pr == nullptr) { in setProgramRaster()
651 mRaster.set(pr); in setProgramRaster()
785 ProgramRaster *pr = static_cast<ProgramRaster *>(vpr); in rsi_ContextBindProgramRaster() local
786 rsc->setProgramRaster(pr); in rsi_ContextBindProgramRaster()
/frameworks/base/services/core/java/com/android/server/am/
DNativeCrashListener.java223 final ProcessRecord pr; in consumeNativeCrashData() local
225 pr = mAm.mPidsSelfLocked.get(pid); in consumeNativeCrashData()
227 if (pr != null) { in consumeNativeCrashData()
229 if (pr.persistent) { in consumeNativeCrashData()
231 Slog.v(TAG, "Skipping report for persistent app " + pr); in consumeNativeCrashData()
263 pr.crashing = true; in consumeNativeCrashData()
264 pr.forceCrashReport = true; in consumeNativeCrashData()
271 (new NativeCrashReporter(pr, signal, reportString)).start(); in consumeNativeCrashData()
DBroadcastFilter.java57 public void dumpInReceiverList(PrintWriter pw, Printer pr, String prefix) { in dumpInReceiverList() argument
58 super.dump(pr, prefix); in dumpInReceiverList()
DReceiverList.java79 Printer pr = new PrintWriterPrinter(pw); in dump() local
89 bf.dumpInReceiverList(pw, pr, p2); in dump()
/frameworks/base/services/core/java/com/android/server/pm/
DParallelPackageParser.java107 ParseResult pr = new ParseResult(); in submit() local
116 pr.scanFile = scanFile; in submit()
117 pr.pkg = parsePackage(pp, scanFile, parseFlags); in submit()
119 pr.throwable = e; in submit()
124 mQueue.put(pr); in submit()
DPackageManagerShellCommand.java1001 private void printResolveInfo(PrintWriterPrinter pr, String prefix, ResolveInfo ri, in printResolveInfo() argument
1016 pr.println(prefix + "priority=" + ri.priority in printResolveInfo()
1022 pr.println(prefix + comp.flattenToShortString()); in printResolveInfo()
1026 ri.dump(pr, prefix); in printResolveInfo()
1042 PrintWriterPrinter pr = new PrintWriterPrinter(pw); in runResolveActivity() local
1043 printResolveInfo(pr, "", ri, mBrief, mComponents); in runResolveActivity()
1067 PrintWriterPrinter pr = new PrintWriterPrinter(pw); in runQueryIntentActivities() local
1070 printResolveInfo(pr, " ", result.get(i), mBrief, mComponents); in runQueryIntentActivities()
1073 PrintWriterPrinter pr = new PrintWriterPrinter(pw); in runQueryIntentActivities() local
1075 printResolveInfo(pr, "", result.get(i), mBrief, mComponents); in runQueryIntentActivities()
[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/native/libs/math/tests/
Dmat_test.cpp649 V3T pr = r * p; in TYPED_TEST() local
652 ASSERT_NEAR(pr.x, pq.x, value_eps); in TYPED_TEST()
653 ASSERT_NEAR(pr.y, pq.y, value_eps); in TYPED_TEST()
654 ASSERT_NEAR(pr.z, pq.z, value_eps); in TYPED_TEST()
678 V4T pr = r * V4T(p.x, p.y, p.z, 1); in TYPED_TEST() local
679 pr.x /= pr.w; in TYPED_TEST()
680 pr.y /= pr.w; in TYPED_TEST()
681 pr.z /= pr.w; in TYPED_TEST()
684 ASSERT_NEAR(pr.x, pq.x, value_eps); in TYPED_TEST()
685 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/core/java/com/android/internal/util/
DFastPrintWriter.java214 public FastPrintWriter(Printer pr) { in FastPrintWriter() argument
215 this(pr, 512); in FastPrintWriter()
231 public FastPrintWriter(Printer pr, int bufferLen) { in FastPrintWriter() argument
233 if (pr == null) { in FastPrintWriter()
241 mPrinter = pr; in FastPrintWriter()
/frameworks/base/keystore/java/android/security/
DCredentials.java150 PemReader pr = new PemReader(reader); in convertFromPem() local
157 while ((o = pr.readPemObject()) != null) { in convertFromPem()
167 pr.close(); in convertFromPem()
/frameworks/base/cmds/ime/src/com/android/commands/ime/
DIme.java125 Printer pr = new PrintStreamPrinter(System.out); in runList() local
132 imi.dump(pr, " "); in runList()
/frameworks/native/cmds/dumpstate/
Dutils.cpp241 const char* pr = prefix.c_str(); in Dump() local
242 dprintf(fd, "%sprogress: %d\n", pr, progress_); in Dump()
243 dprintf(fd, "%smax: %d\n", pr, max_); in Dump()
244 dprintf(fd, "%sinitial_max: %d\n", pr, initial_max_); in Dump()
245 dprintf(fd, "%sgrowth_factor: %0.2f\n", pr, growth_factor_); in Dump()
246 dprintf(fd, "%spath: %s\n", pr, path_.c_str()); in Dump()
247 dprintf(fd, "%sn_runs: %d\n", pr, n_runs_); in Dump()
248 dprintf(fd, "%saverage_max: %d\n", pr, average_max_); in Dump()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DBatteryMeterDrawableBase.java378 final float pr = mFrame.right - (mFrame.width() - pw) / 2; in draw() local
381 || mPlusFrame.right != pr || mPlusFrame.bottom != pb) { in draw()
382 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/core/java/com/android/internal/os/
DBatteryStatsImpl.java13058 Printer pr = new PrintWriterPrinter(pw); in dumpLocked() local
13059 pr.println("*** Screen on timer:"); in dumpLocked()
13060 mScreenOnTimer.logState(pr, " "); in dumpLocked()
13061 pr.println("*** Screen doze timer:"); in dumpLocked()
13062 mScreenDozeTimer.logState(pr, " "); in dumpLocked()
13064 pr.println("*** Screen brightness #" + i + ":"); in dumpLocked()
13065 mScreenBrightnessTimer[i].logState(pr, " "); in dumpLocked()
13067 pr.println("*** Interactive timer:"); in dumpLocked()
13068 mInteractiveTimer.logState(pr, " "); in dumpLocked()
13069 pr.println("*** Power save mode timer:"); in dumpLocked()
[all …]
/frameworks/base/tools/aapt/
DXMLNode.cpp526 String8 pr; in printXMLBlock() local
528 pr = String8(prefix16); in printXMLBlock()
530 pr = "<DEF>"; in printXMLBlock()
532 if (ns.prefix != pr) { in printXMLBlock()
535 prefix.string(), pr.string(), ns.prefix.string()); in printXMLBlock()
/frameworks/rs/script_api/
Drs_graphics.spec316 arg: rs_program_raster pr
854 arg: rs_program_raster pr, "program raster to query"
866 arg: rs_program_raster pr, "program raster to query"
/frameworks/base/core/java/android/app/
DActivityThread.java5925 final ProviderClientRecord pr = mProviderMap.get(key); in acquireExistingProvider() local
5926 if (pr == null) { in acquireExistingProvider()
5930 IContentProvider provider = pr.mProvider; in acquireExistingProvider()
6063 ProviderClientRecord pr = mProviderMap.valueAt(i); in completeRemoveProvider() local
6064 IBinder myBinder = pr.mProvider.asBinder(); in completeRemoveProvider()
6096 ProviderClientRecord pr = mProviderMap.valueAt(i); in handleUnstableProviderDiedLocked() local
6097 if (pr != null && pr.mProvider.asBinder() == provider) { in handleUnstableProviderDiedLocked()
6098 Slog.i(TAG, "Removing dead content provider:" + pr.mProvider.toString()); in handleUnstableProviderDiedLocked()
6262 ProviderClientRecord pr = mLocalProvidersByName.get(cname); in installProvider() local
6263 if (pr != null) { in installProvider()
[all …]

12