/frameworks/base/services/core/java/com/android/server/stats/pull/ |
D | SystemMemoryUtil.java | 19 import android.os.Debug; 29 int totalIonKb = (int) Debug.getDmabufHeapTotalExportedKb(); in getMetrics() 30 int gpuTotalUsageKb = (int) Debug.getGpuTotalUsageKb(); in getMetrics() 31 int gpuPrivateAllocationsKb = (int) Debug.getGpuPrivateMemoryKb(); in getMetrics() 32 int dmaBufTotalExportedKb = (int) Debug.getDmabufTotalExportedKb(); in getMetrics() 34 long[] mInfos = new long[Debug.MEMINFO_COUNT]; in getMetrics() 35 Debug.getMemInfo(mInfos); in getMetrics() 37 long kReclaimableKb = mInfos[Debug.MEMINFO_KRECLAIMABLE]; in getMetrics() 42 kReclaimableKb = mInfos[Debug.MEMINFO_SLAB_RECLAIMABLE]; in getMetrics() 45 long accountedKb = mInfos[Debug.MEMINFO_FREE] in getMetrics() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | MemInfoReader.java | 21 import android.os.Debug; 25 final long[] mInfos = new long[Debug.MEMINFO_COUNT]; 38 Debug.getMemInfo(mInfos); in readMemInfo() 49 return mInfos[Debug.MEMINFO_TOTAL] * 1024; in getTotalSize() 57 return mInfos[Debug.MEMINFO_FREE] * 1024; in getFreeSize() 80 return mInfos[Debug.MEMINFO_TOTAL]; in getTotalSizeKb() 87 return mInfos[Debug.MEMINFO_FREE]; in getFreeSizeKb() 95 long kReclaimable = mInfos[Debug.MEMINFO_KRECLAIMABLE]; in getCachedSizeKb() 101 kReclaimable = mInfos[Debug.MEMINFO_SLAB_RECLAIMABLE]; in getCachedSizeKb() 103 return mInfos[Debug.MEMINFO_BUFFERS] + kReclaimable in getCachedSizeKb() [all …]
|
/frameworks/base/tools/preload/loadclass/ |
D | LoadClass.java | 18 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/tests/coretests/src/com/android/internal/os/ |
D | DebugTest.java | 19 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/os/ |
D | PerformanceCollector.java | 495 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 …]
|
D | Debug.aidl | 19 parcelable Debug.MemoryInfo;
|
/frameworks/base/core/java/android/ddm/ |
D | DdmHandleProfiling.java | 20 import android.os.Debug; 116 Debug.startMethodTracing(fileName, bufferSize, flags); in handleMPRS() 130 Debug.stopMethodTracing(); in handleMPRE() 157 Debug.startMethodTracingDdms(bufferSize, flags, false, 0); in handleMPSS() 174 Debug.stopMethodTracing(); in handleMPSEOrSPSE() 189 int result = Debug.getMethodTracingMode(); in handleMPRQ() 211 Debug.startMethodTracingDdms(bufferSize, flags, true, interval); in handleSPSS()
|
D | DdmHandleHello.java | 19 import android.os.Debug; 171 if (Debug.waitingForDebugger()) in handleHELO() 183 final String[] vmFeatures = Debug.getVmFeatureList(); in handleFEAT()
|
/frameworks/base/apct-tests/perftests/core/src/android/util/ |
D | XmlPerfTest.java | 22 import android.os.Debug; 67 Debug.startAllocCounting(); in doWrite() 82 Debug.stopAllocCounting(); in doWrite() 84 results.putLong("threadAllocCount_mean", Debug.getThreadAllocCount() / iterations); in doWrite() 85 results.putLong("threadAllocSize_mean", Debug.getThreadAllocSize() / iterations); in doWrite() 111 Debug.startAllocCounting(); in doRead() 126 Debug.stopAllocCounting(); in doRead() 129 results.putLong("threadAllocCount_mean", Debug.getThreadAllocCount() / iterations); in doRead() 130 results.putLong("threadAllocSize_mean", Debug.getThreadAllocSize() / iterations); in doRead()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | DelegateManager.java | 20 import com.android.layoutlib.bridge.util.Debug; 146 if (Debug.DEBUG) { in getDelegate() 173 if (Debug.DEBUG) { in addNewDelegate() 191 if (Debug.DEBUG) { in removeJavaReferenceFor() 225 if (Debug.DEBUG) { in markAsNativeAllocation() 254 if (Debug.DEBUG && collected) { in markAsNativeAllocation()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowSurfacePlacer.java | 25 import android.os.Debug; 95 + " deferredRequests=" + mDeferredRequests + " " + Debug.getCallers(2, 3)); in continueLayout() 100 Slog.i(TAG, "Cancel continueLayout " + Debug.getCallers(2, 3)); in continueLayout() 139 + Debug.getCallers(3)); in performSurfacePlacementLoop() 223 if (DEBUG) Slog.i(TAG, "Defer requestTraversal " + Debug.getCallers(3)); in requestTraversal()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | TraceTest.java | 41 Debug.startNativeTracing(); in testNativeTracingFromJava() 47 Debug.stopNativeTracing(); in testNativeTracingFromJava() 75 Debug.startMethodTracing("traceTest"); in testMethodTracing() 77 Debug.stopMethodTracing(); in testMethodTracing()
|
/frameworks/base/core/tests/coretests/BinderProxyCountingTestService/src/com/android/frameworks/coretests/binderproxycountingtestservice/ |
D | BpcTestServiceCmdService.java | 21 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/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/ |
D | GlifPatternDrawableTest.java | 27 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/tools/aapt2/cmd/ |
D | Dump.cpp | 189 Debug::PrintTable(table, print_options, printer_); in Action() 281 Debug::DumpResStringPool(&pool, GetPrinter()); in Dump() 306 Debug::PrintStyleGraph(table, target_style); in Dump() 326 Debug::PrintTable(*table, print_options, GetPrinter()); in Dump() 381 Debug::DumpResStringPool(&tree.getStrings(), GetPrinter()); in Dump() 392 Debug::DumpXml(*xml, GetPrinter()); in Dump() 404 Debug::DumpOverlayable(*table, GetPrinter()); in Dump()
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | DiagReaders.inc | 6 DiagnosticEngine::Debug, 10 DiagnosticEngine::Debug,
|
D | DiagLayouts.inc | 28 DiagnosticEngine::Debug, 32 DiagnosticEngine::Debug,
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | SplashScreenSurface.java | 21 import android.os.Debug; 50 + this + " Callers=" + Debug.getCallers(4)); in remove()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppProfiler.java | 65 import android.os.Debug; 442 nativeTotalPss += Debug.getPss(stats.get(j).pid, null, null); in collectPssInBackground() 504 long pss = usingCamera ? 0 : Debug.getPss(pid, tmp, null); in collectPssInBackground() 1334 long pss = Debug.getPss(st.pid, swaptrackTmp, memtrackTmp); in reportMemUsage() 1355 mi.pss = Debug.getPss(mi.pid, swaptrackTmp, memtrackTmp); in reportMemUsage() 1476 Debug.getMemInfo(infos); in reportMemUsage() 1478 memInfoBuilder.append(stringifyKBSize(infos[Debug.MEMINFO_SLAB])).append(" slab, "); in reportMemUsage() 1479 memInfoBuilder.append(stringifyKBSize(infos[Debug.MEMINFO_SHMEM])).append(" shmem, "); in reportMemUsage() 1481 infos[Debug.MEMINFO_VM_ALLOC_USED])).append(" vm alloc, "); in reportMemUsage() 1483 infos[Debug.MEMINFO_PAGE_TABLES])).append(" page tables "); in reportMemUsage() [all …]
|
/frameworks/compile/mclinker/lib/LD/ |
D | ELFFileFormat.cpp | 102 ".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/apct-tests/perftests/utils/src/android/perftests/utils/ |
D | BenchmarkState.java | 22 import android.os.Debug; 141 Debug.startMethodTracingSampling(f.getAbsolutePath(), 16 * 1024 * 1024, 100); in beginBenchmark() 159 Debug.stopMethodTracing(); in startNextTestRun()
|
/frameworks/native/libs/binder/rust/src/ |
D | binder.rs | 307 impl<I: FromIBinder + fmt::Debug + ?Sized> fmt::Debug for Strong<I> { 309 fmt::Debug::fmt(&**self, f) in fmt() 334 #[derive(Debug)] 561 #[derive(Clone, Debug, Default, Eq, PartialEq)] 850 impl std::fmt::Debug for dyn $interface { 877 #[derive(Debug, Default, Copy, Clone, PartialOrd, Ord, PartialEq, Eq, Hash)]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PhonePipMenuController.java | 28 import android.os.Debug; 274 + " callers=\n" + Debug.getCallers(5, " ")); in showMenuInternal() 424 + " callers=\n" + Debug.getCallers(5, " ")); in hideMenu() 498 + " callers=\n" + Debug.getCallers(5, " ")); in onMenuStateChangeStart() 561 + " callers=\n" + Debug.getCallers(5, " ")); in updateMenuLayout()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
D | Debug.java | 19 public class Debug { class
|
/frameworks/base/core/java/android/app/ |
D | Instrumentation.java | 34 import android.os.Debug; 367 Debug.startMethodTracing(file.toString(), 8 * 1024 * 1024); in startProfiling() 376 Debug.stopMethodTracing(); in stopProfiling() 1568 Debug.resetAllCounts(); in startAllocCounting() 1571 Debug.startAllocCounting(); in startAllocCounting() 1584 Debug.stopAllocCounting(); in stopAllocCounting() 1610 results.putLong("global_alloc_count", Debug.getGlobalAllocCount()); in getAllocCounts() 1611 results.putLong("global_alloc_size", Debug.getGlobalAllocSize()); in getAllocCounts() 1612 results.putLong("global_freed_count", Debug.getGlobalFreedCount()); in getAllocCounts() 1613 results.putLong("global_freed_size", Debug.getGlobalFreedSize()); in getAllocCounts() [all …]
|