Home
last modified time | relevance | path

Searched refs:Debug (Results 1 – 25 of 127) sorted by relevance

123456

/frameworks/base/core/java/com/android/internal/util/
DMemInfoReader.java20 import android.os.Debug;
24 final long[] mInfos = new long[Debug.MEMINFO_COUNT];
37 Debug.getMemInfo(mInfos); in readMemInfo()
48 return mInfos[Debug.MEMINFO_TOTAL] * 1024; in getTotalSize()
56 return mInfos[Debug.MEMINFO_FREE] * 1024; in getFreeSize()
79 return mInfos[Debug.MEMINFO_TOTAL]; in getTotalSizeKb()
86 return mInfos[Debug.MEMINFO_FREE]; in getFreeSizeKb()
94 long kReclaimable = mInfos[Debug.MEMINFO_KRECLAIMABLE]; in getCachedSizeKb()
100 kReclaimable = mInfos[Debug.MEMINFO_SLAB_RECLAIMABLE]; in getCachedSizeKb()
102 return mInfos[Debug.MEMINFO_BUFFERS] + kReclaimable in getCachedSizeKb()
[all …]
/frameworks/base/tools/preload/loadclass/
DLoadClass.java18 import android.os.Debug;
34 Debug.startAllocCounting(); in main()
51 int allocCount = Debug.getGlobalAllocCount(); in main()
52 int allocSize = Debug.getGlobalAllocSize(); in main()
53 int freedCount = Debug.getGlobalFreedCount(); in main()
54 int freedSize = Debug.getGlobalFreedSize(); in main()
55 long nativeHeapSize = Debug.getNativeHeapSize(); in main()
57 Debug.stopAllocCounting(); in main()
62 Debug.MemoryInfo memoryInfo = new Debug.MemoryInfo(); in main()
63 Debug.getMemoryInfo(memoryInfo); in main()
/frameworks/base/core/java/android/os/
DPerformanceCollector.java495 long nativeMax = Debug.getNativeHeapSize() / 1024; in endPerformanceSnapshot()
496 long nativeAllocated = Debug.getNativeHeapAllocatedSize() / 1024; in endPerformanceSnapshot()
497 long nativeFree = Debug.getNativeHeapFreeSize() / 1024; in endPerformanceSnapshot()
499 Debug.MemoryInfo memInfo = new Debug.MemoryInfo(); in endPerformanceSnapshot()
500 Debug.getMemoryInfo(memInfo); in endPerformanceSnapshot()
554 Debug.resetAllCounts(); in startAllocCounting()
557 Debug.startAllocCounting(); in startAllocCounting()
567 Debug.stopAllocCounting(); in stopAllocCounting()
575 results.putLong(METRIC_KEY_GLOBAL_ALLOC_COUNT, Debug.getGlobalAllocCount()); in getAllocCounts()
576 results.putLong(METRIC_KEY_GLOBAL_ALLOC_SIZE, Debug.getGlobalAllocSize()); in getAllocCounts()
[all …]
DDebug.aidl19 parcelable Debug.MemoryInfo;
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DDebugTest.java19 import android.os.Debug;
39 return Debug.getCaller(); in callDepth0()
50 return Debug.getCallers(3); in callDepth4()
73 Debug.MemoryInfo info = new Debug.MemoryInfo(); in testGetMemoryInfo()
74 Debug.getMemoryInfo(-1, info); in testGetMemoryInfo()
/frameworks/base/core/java/android/ddm/
DDdmHandleProfiling.java22 import android.os.Debug;
114 Debug.startMethodTracing(fileName, bufferSize, flags); in handleMPRS()
128 Debug.stopMethodTracing(); in handleMPRE()
155 Debug.startMethodTracingDdms(bufferSize, flags, false, 0); in handleMPSS()
172 Debug.stopMethodTracing(); in handleMPSEOrSPSE()
187 int result = Debug.getMethodTracingMode(); in handleMPRQ()
209 Debug.startMethodTracingDdms(bufferSize, flags, true, interval); in handleSPSS()
DDdmHandleHello.java19 import android.os.Debug;
171 if (Debug.waitingForDebugger()) in handleHELO()
183 final String[] vmFeatures = Debug.getVmFeatureList(); in handleFEAT()
DDdmHandleHeap.java23 import android.os.Debug;
166 Debug.dumpHprofData(fileName); in handleHPDU()
199 Debug.dumpHprofDataDdms(); in handleHPDS()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DDelegateManager.java20 import com.android.layoutlib.bridge.util.Debug;
147 if (Debug.DEBUG) { in getDelegate()
174 if (Debug.DEBUG) { in addNewDelegate()
192 if (Debug.DEBUG) { in removeJavaReferenceFor()
226 if (Debug.DEBUG) { in markAsNativeAllocation()
255 if (Debug.DEBUG && collected) { in markAsNativeAllocation()
/frameworks/base/core/tests/coretests/src/android/os/
DTraceTest.java41 Debug.startNativeTracing(); in testNativeTracingFromJava()
47 Debug.stopNativeTracing(); in testNativeTracingFromJava()
75 Debug.startMethodTracing("traceTest"); in testMethodTracing()
77 Debug.stopMethodTracing(); in testMethodTracing()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DGlifPatternDrawableTest.java27 import android.os.Debug;
154 Debug.MemoryInfo memoryInfo = new Debug.MemoryInfo(); in testMemoryAllocation()
155 Debug.getMemoryInfo(memoryInfo); in testMemoryAllocation()
162 Debug.getMemoryInfo(memoryInfo); in testMemoryAllocation()
/frameworks/base/core/tests/coretests/BinderProxyCountingTestService/src/com/android/frameworks/coretests/binderproxycountingtestservice/
DBpcTestServiceCmdService.java21 import android.os.Debug;
43 int gcCount = Integer.parseInt(Debug.getRuntimeStat("art.gc.gc-count"));
45 while (gcCount == Integer.parseInt(Debug.getRuntimeStat("art.gc.gc-count")) && i > 0) {
/frameworks/base/tools/aapt2/cmd/
DDump.cpp183 Debug::PrintTable(table, print_options, printer_); in Action()
275 Debug::DumpResStringPool(&pool, GetPrinter()); in Dump()
300 Debug::PrintStyleGraph(table, target_style); in Dump()
320 Debug::PrintTable(*table, print_options, GetPrinter()); in Dump()
375 Debug::DumpResStringPool(&tree.getStrings(), GetPrinter()); in Dump()
386 Debug::DumpXml(*xml, GetPrinter()); in Dump()
/frameworks/compile/mclinker/include/mcld/LD/
DDiagReaders.inc6 DiagnosticEngine::Debug,
10 DiagnosticEngine::Debug,
DDiagLayouts.inc28 DiagnosticEngine::Debug,
32 DiagnosticEngine::Debug,
/frameworks/base/services/core/java/com/android/server/policy/
DSplashScreenSurface.java21 import android.os.Debug;
50 + this + " Callers=" + Debug.getCallers(4)); in remove()
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DBenchmarkState.java22 import android.os.Debug;
123 Debug.startMethodTracingSampling(f.getAbsolutePath(), 16 * 1024 * 1024, 100); in beginBenchmark()
141 Debug.stopMethodTracing(); in startNextTestRun()
/frameworks/compile/mclinker/lib/LD/
DELFFileFormat.cpp102 ".debug", LDFileFormat::Debug, llvm::ELF::SHT_PROGBITS, 0x0, 0x1); in initStdSections()
128 ".line", LDFileFormat::Debug, llvm::ELF::SHT_PROGBITS, 0x0, 0x1); in initStdSections()
216 ".stab", LDFileFormat::Debug, llvm::ELF::SHT_PROGBITS, 0x0, 0x1); in initStdSections()
218 ".stabstr", LDFileFormat::Debug, llvm::ELF::SHT_STRTAB, 0x0, 0x1); in initStdSections()
/frameworks/base/core/java/android/app/
DInstrumentation.java34 import android.os.Debug;
349 Debug.startMethodTracing(file.toString(), 8 * 1024 * 1024); in startProfiling()
358 Debug.stopMethodTracing(); in stopProfiling()
1535 Debug.resetAllCounts(); in startAllocCounting()
1538 Debug.startAllocCounting(); in startAllocCounting()
1551 Debug.stopAllocCounting(); in stopAllocCounting()
1577 results.putLong("global_alloc_count", Debug.getGlobalAllocCount()); in getAllocCounts()
1578 results.putLong("global_alloc_size", Debug.getGlobalAllocSize()); in getAllocCounts()
1579 results.putLong("global_freed_count", Debug.getGlobalFreedCount()); in getAllocCounts()
1580 results.putLong("global_freed_size", Debug.getGlobalFreedSize()); in getAllocCounts()
[all …]
DIApplicationThread.aidl38 import android.os.Debug;
115 void dumpMemInfo(in ParcelFileDescriptor fd, in Debug.MemoryInfo mem, boolean checkin, in dumpMemInfo()
118 void dumpMemInfoProto(in ParcelFileDescriptor fd, in Debug.MemoryInfo mem, in dumpMemInfoProto()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DDebug.java19 public class Debug { class
/frameworks/base/services/core/java/com/android/server/wm/
DWindowSurfacePlacer.java25 import android.os.Debug;
118 + Debug.getCallers(3)); in performSurfacePlacementLoop()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaTestUtil.java27 import android.os.Debug;
62 Debug.dumpNativeHeap(o.getFD()); in getNativeHeapDump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipMotionHelper.java40 import android.os.Debug;
160 + " callers=\n" + Debug.getCallers(5, " ")); in expandPip()
179 Log.d(TAG, "dismissPip: callers=\n" + Debug.getCallers(5, " ")); in dismissPip()
447 + " callers=\n" + Debug.getCallers(5, " ")); in resizePipUnchecked()
462 + " duration=" + duration + " callers=\n" + Debug.getCallers(5, " ")); in resizeAndAnimatePipUnchecked()
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
DPerfDataRecorder.java22 import android.os.Debug;
68 if (!Debug.dumpService(cmd, fo.getFD(), args)) { in runDumpsysStats()

123456