Home
last modified time | relevance | path

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

12345678910>>...15

/aosp12/frameworks/base/services/core/java/com/android/server/stats/pull/
H A DSystemMemoryUtil.java19 import android.os.Debug;
34 long[] mInfos = new long[Debug.MEMINFO_COUNT]; in getMetrics()
35 Debug.getMemInfo(mInfos); in getMetrics()
45 long accountedKb = mInfos[Debug.MEMINFO_FREE] in getMetrics()
46 + mInfos[Debug.MEMINFO_ZRAM_TOTAL] in getMetrics()
47 + mInfos[Debug.MEMINFO_BUFFERS] in getMetrics()
48 + mInfos[Debug.MEMINFO_ACTIVE] in getMetrics()
49 + mInfos[Debug.MEMINFO_INACTIVE] in getMetrics()
50 + mInfos[Debug.MEMINFO_UNEVICTABLE] in getMetrics()
54 + mInfos[Debug.MEMINFO_PAGE_TABLES]; in getMetrics()
[all …]
/aosp12/frameworks/base/core/java/com/android/internal/util/
H A DMemInfoReader.java21 import android.os.Debug;
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()
104 + mInfos[Debug.MEMINFO_CACHED] - mInfos[Debug.MEMINFO_MAPPED]; in getCachedSizeKb()
111 long size = mInfos[Debug.MEMINFO_SHMEM] + mInfos[Debug.MEMINFO_SLAB_UNRECLAIMABLE] in getKernelUsedSizeKb()
112 + mInfos[Debug.MEMINFO_VM_ALLOC_USED] + mInfos[Debug.MEMINFO_PAGE_TABLES]; in getKernelUsedSizeKb()
113 if (!Debug.isVmapStack()) { in getKernelUsedSizeKb()
[all …]
/aosp12/hardware/qcom/display/msm8998/sdm/libs/utils/
H A Ddebug.cpp38 Debug Debug::debug_;
40 Debug::Debug() : debug_handler_(&default_debug_handler_) { in Debug() function in sdm::Debug
43 int Debug::GetSimulationFlag() { in GetSimulationFlag()
50 int Debug::GetHDMIResolution() { in GetHDMIResolution()
68 int Debug::GetBootAnimLayerCount() { in GetBootAnimLayerCount()
108 int Debug::GetMaxUpscale() { in GetMaxUpscale()
115 bool Debug::IsVideoModeEnabled() { in IsVideoModeEnabled()
136 bool Debug::IsScalarDisabled() { in IsScalarDisabled()
156 bool Debug::IsAVRDisabled() { in IsAVRDisabled()
163 bool Debug::IsExtAnimDisabled() { in IsExtAnimDisabled()
[all …]
/aosp12/hardware/qcom/display/msm8909w_3100/sdm/libs/utils/
H A Ddebug.cpp38 Debug Debug::debug_;
40 Debug::Debug() : debug_handler_(&default_debug_handler_) { in Debug() function in sdm::Debug
43 int Debug::GetSimulationFlag() { in GetSimulationFlag()
50 int Debug::GetHDMIResolution() { in GetHDMIResolution()
68 int Debug::GetBootAnimLayerCount() { in GetBootAnimLayerCount()
108 int Debug::GetMaxUpscale() { in GetMaxUpscale()
115 bool Debug::IsVideoModeEnabled() { in IsVideoModeEnabled()
136 bool Debug::IsScalarDisabled() { in IsScalarDisabled()
156 bool Debug::IsAVRDisabled() { in IsAVRDisabled()
163 bool Debug::IsExtAnimDisabled() { in IsExtAnimDisabled()
[all …]
/aosp12/hardware/qcom/display/msm8909/sdm/libs/utils/
H A Ddebug.cpp38 Debug Debug::debug_;
40 Debug::Debug() : debug_handler_(&default_debug_handler_) { in Debug() function in sdm::Debug
43 int Debug::GetSimulationFlag() { in GetSimulationFlag()
50 int Debug::GetHDMIResolution() { in GetHDMIResolution()
67 int Debug::GetBootAnimLayerCount() { in GetBootAnimLayerCount()
107 int Debug::GetMaxUpscale() { in GetMaxUpscale()
114 bool Debug::IsVideoModeEnabled() { in IsVideoModeEnabled()
135 bool Debug::IsScalarDisabled() { in IsScalarDisabled()
155 bool Debug::IsAVRDisabled() { in IsAVRDisabled()
162 bool Debug::IsExtAnimDisabled() { in IsExtAnimDisabled()
[all …]
/aosp12/hardware/qcom/display/msm8996/sdm/libs/utils/
H A Ddebug.cpp36 Debug Debug::debug_;
38 Debug::Debug() : debug_handler_(&default_debug_handler_) { in Debug() function in sdm::Debug
41 int Debug::GetSimulationFlag() { in GetSimulationFlag()
48 int Debug::GetHDMIResolution() { in GetHDMIResolution()
55 uint32_t Debug::GetIdleTimeoutMs() { in GetIdleTimeoutMs()
62 int Debug::GetBootAnimLayerCount() { in GetBootAnimLayerCount()
76 bool Debug::IsDecimationDisabled() { in IsDecimationDisabled()
102 bool Debug::IsVideoModeEnabled() { in IsVideoModeEnabled()
109 bool Debug::IsRotatorUbwcDisabled() { in IsRotatorUbwcDisabled()
116 bool Debug::IsRotatorSplitDisabled() { in IsRotatorSplitDisabled()
[all …]
/aosp12/hardware/qcom/sdm845/display/sdm/libs/utils/
H A Ddebug.cpp38 int Debug::GetSimulationFlag() { in GetSimulationFlag()
66 int Debug::GetBootAnimLayerCount() { in GetBootAnimLayerCount()
80 bool Debug::IsDecimationDisabled() { in IsDecimationDisabled()
106 int Debug::GetMaxUpscale() { in GetMaxUpscale()
113 bool Debug::IsVideoModeEnabled() { in IsVideoModeEnabled()
120 bool Debug::IsRotatorUbwcDisabled() { in IsRotatorUbwcDisabled()
134 bool Debug::IsScalarDisabled() { in IsScalarDisabled()
154 bool Debug::IsAVRDisabled() { in IsAVRDisabled()
161 bool Debug::IsExtAnimDisabled() { in IsExtAnimDisabled()
175 bool Debug::IsSrcSplitPreferred() { in IsSrcSplitPreferred()
[all …]
/aosp12/hardware/qcom/sm8150/display/sdm/libs/utils/
H A Ddebug.cpp38 int Debug::GetSimulationFlag() { in GetSimulationFlag()
66 int Debug::GetBootAnimLayerCount() { in GetBootAnimLayerCount()
80 bool Debug::IsDecimationDisabled() { in IsDecimationDisabled()
106 int Debug::GetMaxUpscale() { in GetMaxUpscale()
113 bool Debug::IsVideoModeEnabled() { in IsVideoModeEnabled()
120 bool Debug::IsRotatorUbwcDisabled() { in IsRotatorUbwcDisabled()
134 bool Debug::IsScalarDisabled() { in IsScalarDisabled()
154 bool Debug::IsAVRDisabled() { in IsAVRDisabled()
161 bool Debug::IsExtAnimDisabled() { in IsExtAnimDisabled()
175 bool Debug::IsSrcSplitPreferred() { in IsSrcSplitPreferred()
[all …]
/aosp12/hardware/qcom/sm7250/display/sdm/libs/utils/
H A Ddebug.cpp38 int Debug::GetSimulationFlag() { in GetSimulationFlag()
73 bool Debug::IsDecimationDisabled() { in IsDecimationDisabled()
99 int Debug::GetMaxUpscale() { in GetMaxUpscale()
106 bool Debug::IsVideoModeEnabled() { in IsVideoModeEnabled()
113 bool Debug::IsRotatorUbwcDisabled() { in IsRotatorUbwcDisabled()
120 bool Debug::IsRotatorSplitDisabled() { in IsRotatorSplitDisabled()
127 bool Debug::IsScalarDisabled() { in IsScalarDisabled()
142 bool Debug::IsAVRDisabled() { in IsAVRDisabled()
149 bool Debug::IsExtAnimDisabled() { in IsExtAnimDisabled()
163 bool Debug::IsSrcSplitPreferred() { in IsSrcSplitPreferred()
[all …]
/aosp12/frameworks/base/tools/preload/loadclass/
H A 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()
/aosp12/frameworks/base/core/java/android/os/
H A 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 …]
/aosp12/hardware/qcom/display/msm8996/sdm/include/utils/
H A Ddebug.h38 #define DLOG(tag, method, format, ...) Debug::Get()->method(tag, __CLASS__ "::%s: " format, \
44 #define DLOGD_IF(tag, format, ...) DLOG(tag, Debug, format, ##__VA_ARGS__)
53 #define DTRACE_BEGIN(custom_string) Debug::Get()->BeginTrace(__CLASS__, __FUNCTION__, custom_string)
54 #define DTRACE_END() Debug::Get()->EndTrace()
55 #define DTRACE_SCOPED() ScopeTracer <Debug> scope_tracer(__CLASS__, __FUNCTION__)
59 class Debug {
81 Debug();
90 virtual void Debug(DebugTag /*tag*/, const char */*format*/, ...) { } in Debug() function
108 static Debug debug_;
/aosp12/hardware/qcom/display/msm8909/sdm/include/utils/
H A Ddebug.h39 #define DLOG(tag, method, format, ...) Debug::Get()->method(tag, __CLASS__ "::%s: " format, \
45 #define DLOGD_IF(tag, format, ...) DLOG(tag, Debug, format, ##__VA_ARGS__)
54 #define DTRACE_BEGIN(custom_string) Debug::Get()->BeginTrace(__CLASS__, __FUNCTION__, custom_string)
55 #define DTRACE_END() Debug::Get()->EndTrace()
56 #define DTRACE_SCOPED() ScopeTracer <Debug> scope_tracer(__CLASS__, __FUNCTION__)
60 class Debug {
88 Debug();
97 virtual void Debug(DebugTag /*tag*/, const char */*format*/, ...) { } in Debug() function
115 static Debug debug_;
/aosp12/hardware/qcom/display/msm8909w_3100/sdm/include/utils/
H A Ddebug.h38 #define DLOG(tag, method, format, ...) Debug::Get()->method(tag, __CLASS__ "::%s: " format, \
44 #define DLOGD_IF(tag, format, ...) DLOG(tag, Debug, format, ##__VA_ARGS__)
53 #define DTRACE_BEGIN(custom_string) Debug::Get()->BeginTrace(__CLASS__, __FUNCTION__, custom_string)
54 #define DTRACE_END() Debug::Get()->EndTrace()
55 #define DTRACE_SCOPED() ScopeTracer <Debug> scope_tracer(__CLASS__, __FUNCTION__)
59 class Debug {
87 Debug();
96 virtual void Debug(DebugTag /*tag*/, const char */*format*/, ...) { } in Debug() function
114 static Debug debug_;
/aosp12/hardware/qcom/display/msm8998/sdm/include/utils/
H A Ddebug.h38 #define DLOG(tag, method, format, ...) Debug::Get()->method(tag, __CLASS__ "::%s: " format, \
44 #define DLOGD_IF(tag, format, ...) DLOG(tag, Debug, format, ##__VA_ARGS__)
53 #define DTRACE_BEGIN(custom_string) Debug::Get()->BeginTrace(__CLASS__, __FUNCTION__, custom_string)
54 #define DTRACE_END() Debug::Get()->EndTrace()
55 #define DTRACE_SCOPED() ScopeTracer <Debug> scope_tracer(__CLASS__, __FUNCTION__)
59 class Debug {
88 Debug();
97 virtual void Debug(DebugTag /*tag*/, const char */*format*/, ...) { } in Debug() function
115 static Debug debug_;
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A 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()
/aosp12/frameworks/base/core/java/android/ddm/
H A DDdmHandleProfiling.java20 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()
/aosp12/frameworks/base/apct-tests/perftests/core/src/android/util/
H A DXmlPerfTest.java22 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()
/aosp12/packages/apps/TV/common/src/com/android/tv/common/
H A DBaseApplication.java30 import com.android.tv.common.util.Debug;
66 Debug.getTimer(Debug.TAG_START_UP_TIMER).start(); in onCreate()
67 Debug.getTimer(Debug.TAG_START_UP_TIMER) in onCreate()
/aosp12/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DDelegateManager.java20 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()
/aosp12/system/bt/gd/rust/linux/stack/src/
H A Dbluetooth_gatt.rs23 #[derive(Debug, FromPrimitive, ToPrimitive)]
39 #[derive(Debug, Default)]
46 #[derive(Debug, Default)]
55 #[derive(Debug, Default)]
/aosp12/system/bt/gd/rust/hci/custom_types/
H A Dlib.rs13 #[derive(Clone, Copy, Eq, PartialEq, Hash, Ord, PartialOrd, Debug)]
42 #[derive(Debug, Clone)]
67 #[derive(Clone, Eq, Copy, PartialEq, Hash, Ord, PartialOrd, Debug)]
86 #[derive(Debug, Clone)]
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowSurfacePlacer.java25 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()
/aosp12/system/bt/gd/rust/common/src/
H A Dlib.rs25 android_logger::Config::default().with_tag("bt").with_min_level(log::Level::Debug), in init_logging()
33 .filter(None, log::LevelFilter::Debug) in init_logging()
46 #[derive(Debug, Clone, Copy)]
/aosp12/system/bt/gd/rust/hci/src/
H A Derror.rs4 use std::fmt::Debug;
13 #[derive(Error, Debug)]
14 pub enum HciError<T: Debug + 'static> {

12345678910>>...15