Home
last modified time | relevance | path

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

123456

/frameworks/base/core/java/com/android/internal/util/
DMemInfoReader.java19 import android.os.Debug;
23 final long[] mInfos = new long[Debug.MEMINFO_COUNT];
31 Debug.getMemInfo(mInfos); in readMemInfo()
41 return mInfos[Debug.MEMINFO_TOTAL] * 1024; in getTotalSize()
48 return mInfos[Debug.MEMINFO_FREE] * 1024; in getFreeSize()
70 return mInfos[Debug.MEMINFO_TOTAL]; in getTotalSizeKb()
77 return mInfos[Debug.MEMINFO_FREE]; in getFreeSizeKb()
85 return mInfos[Debug.MEMINFO_BUFFERS] in getCachedSizeKb()
86 + mInfos[Debug.MEMINFO_CACHED] - mInfos[Debug.MEMINFO_MAPPED]; in getCachedSizeKb()
93 return mInfos[Debug.MEMINFO_SHMEM] + mInfos[Debug.MEMINFO_SLAB] in getKernelUsedSizeKb()
[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.java488 long nativeMax = Debug.getNativeHeapSize() / 1024; in endPerformanceSnapshot()
489 long nativeAllocated = Debug.getNativeHeapAllocatedSize() / 1024; in endPerformanceSnapshot()
490 long nativeFree = Debug.getNativeHeapFreeSize() / 1024; in endPerformanceSnapshot()
492 Debug.MemoryInfo memInfo = new Debug.MemoryInfo(); in endPerformanceSnapshot()
493 Debug.getMemoryInfo(memInfo); in endPerformanceSnapshot()
547 Debug.resetAllCounts(); in startAllocCounting()
550 Debug.startAllocCounting(); in startAllocCounting()
560 Debug.stopAllocCounting(); in stopAllocCounting()
568 results.putLong(METRIC_KEY_GLOBAL_ALLOC_COUNT, Debug.getGlobalAllocCount()); in getAllocCounts()
569 results.putLong(METRIC_KEY_GLOBAL_ALLOC_SIZE, Debug.getGlobalAllocSize()); in getAllocCounts()
[all …]
/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.java23 import android.os.Debug;
167 if (Debug.waitingForDebugger()) in handleHELO()
179 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/base/core/tests/coretests/src/android/os/
DTraceTest.java19 import android.os.Debug;
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/src/com/android/internal/os/
DDebugTest.java19 import android.os.Debug;
38 return Debug.getCaller(); in callDepth0()
49 return Debug.getCallers(3); in callDepth4()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DDelegateManager.java19 import com.android.layoutlib.bridge.util.Debug;
109 if (Debug.DEBUG) { in getDelegate()
136 if (Debug.DEBUG) { in addNewDelegate()
154 if (Debug.DEBUG) { in removeJavaReferenceFor()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowSurfaceController.java35 import android.os.Debug;
157 Slog.i(TAG, "Destroying surface " + this + " called by " + Debug.getCallers(8)); in destroyInTransaction()
540 + Debug.getCallers(3)); in SurfaceTrace()
550 ". Called by " + Debug.getCallers(3)); in setAlpha()
560 + ". Called by " + Debug.getCallers(3)); in setLayer()
582 + this + ". Called by " + Debug.getCallers(3)); in setPosition()
591 + this + ". Called by" + Debug.getCallers(3)); in setGeometryAppliesWithResize()
599 + this + ". Called by " + Debug.getCallers(3)); in setSize()
611 + Debug.getCallers(3)); in setWindowCrop()
624 + Debug.getCallers(3)); in setFinalCrop()
[all …]
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
DGlifPatternDrawableTest.java24 import android.os.Debug;
151 Debug.MemoryInfo memoryInfo = new Debug.MemoryInfo(); in testMemoryAllocation()
152 Debug.getMemoryInfo(memoryInfo); in testMemoryAllocation()
159 Debug.getMemoryInfo(memoryInfo); in testMemoryAllocation()
/frameworks/compile/mclinker/include/mcld/LD/
DDiagReaders.inc6 DiagnosticEngine::Debug,
10 DiagnosticEngine::Debug,
DDiagLayouts.inc28 DiagnosticEngine::Debug,
32 DiagnosticEngine::Debug,
/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.java30 import android.os.Debug;
298 Debug.startMethodTracing(file.toString(), 8 * 1024 * 1024); in startProfiling()
307 Debug.stopMethodTracing(); in stopProfiling()
1350 Debug.resetAllCounts(); in startAllocCounting()
1353 Debug.startAllocCounting(); in startAllocCounting()
1366 Debug.stopAllocCounting(); in stopAllocCounting()
1392 results.putLong("global_alloc_count", Debug.getGlobalAllocCount()); in getAllocCounts()
1393 results.putLong("global_alloc_size", Debug.getGlobalAllocSize()); in getAllocCounts()
1394 results.putLong("global_freed_count", Debug.getGlobalFreedCount()); in getAllocCounts()
1395 results.putLong("global_freed_size", Debug.getGlobalFreedSize()); in getAllocCounts()
[all …]
/frameworks/base/docs/html-intl/intl/ja/training/basics/network-ops/
Ddata-saver.jd29 <a href="#testing">Android Debug Bridge コマンドを使用したテスト</a>
179 Android Debug Bridge コマンドを使用したテスト
182 <a href="{@docRoot}tools/help/adb.html">Android Debug Bridge(ADB)</a>には、ネットワーク パーミッションの確認と設定に使用できるコ…
/frameworks/base/tests/utils/SleepUtils/SleepHelper/src/com/android/testing/sleephelper/
DSetAlarm.java26 import android.os.Debug;
94 Debug.waitForDebugger(); in onCreate()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DDebug.java19 public class Debug { class
/frameworks/base/services/core/java/com/android/server/
DWatchdog.java29 import android.os.Debug;
375 if (Debug.isDebuggerConnected()) { in run()
383 if (Debug.isDebuggerConnected()) { in run()
477 if (Debug.isDebuggerConnected()) { in run()
/frameworks/base/tools/aapt2/dump/
DDump.cpp55 Debug::printTable(table.get()); in dumpCompiledTable()
83 Debug::printTable(table.get(), debugPrintTableOptions); in tryDumpFile()
/frameworks/base/docs/html/training/wearables/apps/
Dbt-debugging.jd15 <li><a href="#DebugApp">Debug Your App</a></li>
45 <li>Enable <b>Debug over Bluetooth</b>.</li>
77 <h2 id="#debug">Debug Your App</h2>
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaTestUtil.java27 import android.os.Debug;
62 Debug.dumpNativeHeap(o.getFD()); in getNativeHeapDump()
/frameworks/base/tools/aapt2/
DDebug.h32 struct Debug { struct
DDebug.cpp119 void Debug::printTable(ResourceTable* table, const DebugPrintTableOptions& options) { in printTable()
185 void Debug::printStyleGraph(ResourceTable* table, const ResourceName& targetStyle) { in printStyleGraph()
236 void Debug::dumpHex(const void* data, size_t len) { in dumpHex()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardService.java23 import android.os.Debug;
61 Log.w(TAG, "Caller needs permission '" + PERMISSION + "' to call " + Debug.getCaller()); in checkPermission()

123456