/aosp12/frameworks/base/core/java/com/android/internal/view/ |
H A D | IInputConnectionWrapper.java | 381 Trace.traceEnd(Trace.TRACE_TAG_INPUT); in executeMessage() 411 Trace.traceEnd(Trace.TRACE_TAG_INPUT); in executeMessage() 440 Trace.traceEnd(Trace.TRACE_TAG_INPUT); in executeMessage() 474 Trace.traceEnd(Trace.TRACE_TAG_INPUT); in executeMessage() 504 Trace.traceEnd(Trace.TRACE_TAG_INPUT); in executeMessage() 536 Trace.traceEnd(Trace.TRACE_TAG_INPUT); in executeMessage() 551 Trace.traceEnd(Trace.TRACE_TAG_INPUT); in executeMessage() 565 Trace.traceEnd(Trace.TRACE_TAG_INPUT); in executeMessage() 579 Trace.traceEnd(Trace.TRACE_TAG_INPUT); in executeMessage() 722 Trace.traceBegin(Trace.TRACE_TAG_INPUT, in executeMessage() [all …]
|
/aosp12/frameworks/base/startop/apps/ColorChanging/app/src/main/java/com/android/startop/colorchanging/ |
H A D | MainActivity.java | 22 import android.os.Trace; 38 Trace.endSection(); in goRed() 40 Trace.beginSection("red"); in goRed() 44 Trace.endSection(); in goOrange() 50 Trace.endSection(); in goYellow() 56 Trace.endSection(); in goGreen() 62 Trace.endSection(); in goBlue() 68 Trace.endSection(); in goIndigo() 74 Trace.endSection(); in goViolet() 80 Trace.endSection(); in goCyan() [all …]
|
/aosp12/frameworks/base/core/java/android/webkit/ |
H A D | WebViewFactory.java | 365 Trace.traceEnd(Trace.TRACE_TAG_WEBVIEW); in getProvider() 418 Trace.traceBegin(Trace.TRACE_TAG_WEBVIEW, in getWebViewContextAndSetProvider() 423 Trace.traceEnd(Trace.TRACE_TAG_WEBVIEW); in getWebViewContextAndSetProvider() 437 Trace.traceEnd(Trace.TRACE_TAG_WEBVIEW); in getWebViewContextAndSetProvider() 456 Trace.traceEnd(Trace.TRACE_TAG_WEBVIEW); in getWebViewContextAndSetProvider() 465 Trace.traceBegin(Trace.TRACE_TAG_WEBVIEW, in getWebViewContextAndSetProvider() 477 Trace.traceEnd(Trace.TRACE_TAG_WEBVIEW); in getWebViewContextAndSetProvider() 490 Trace.traceBegin(Trace.TRACE_TAG_WEBVIEW, in getProviderClass() 495 Trace.traceEnd(Trace.TRACE_TAG_WEBVIEW); in getProviderClass() 514 Trace.traceEnd(Trace.TRACE_TAG_WEBVIEW); in getProviderClass() [all …]
|
/aosp12/packages/apps/Dialer/java/com/android/incallui/ |
H A D | InCallServiceImpl.java | 22 import android.os.Trace; 55 Trace.endSection(); in onCallAudioStateChanged() 62 Trace.endSection(); in onBringToForeground() 69 Trace.endSection(); in onCallAdded() 78 Trace.endSection(); in onCallRemoved() 85 Trace.endSection(); in onCanAddCallChanged() 96 Trace.beginSection("InCallServiceImpl.onBind"); in onBind() 121 Trace.endSection(); in onBind() 127 Trace.beginSection("InCallServiceImpl.onUnbind"); in onUnbind() 133 Trace.endSection(); in onUnbind() [all …]
|
/aosp12/art/runtime/ |
H A D | trace.cc | 74 Trace* volatile Trace::the_trace_ = nullptr; 221 Trace* the_trace = reinterpret_cast<Trace*>(arg); in GetSample() 284 Trace* the_trace; in RunSamplingThread() 516 void Trace::Abort() { in Abort() 521 void Trace::Stop() { in Stop() 526 void Trace::Shutdown() { in Shutdown() 550 Trace::Trace(File* trace_file, in Trace() function in art::Trace 589 Trace::~Trace() { in ~Trace() 871 void Trace::FlushBuf() { in FlushBuf() 1036 Trace::TraceOutputMode Trace::GetOutputMode() { in GetOutputMode() [all …]
|
/aosp12/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
H A D | InputStreamBuffer.java | 133 Trace.endSection(); in get() 136 Trace.endSection(); in get() 162 Trace.endSection(); in has() 171 Trace.endSection(); in has() 175 Trace.endSection(); in has() 192 Trace.endSection(); in advanceTo() 238 Trace.endSection(); in advanceTo() 264 Trace.endSection(); in fill() 272 Trace.endSection(); in fill() 310 Trace.endSection(); in fill() [all …]
|
/aosp12/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
H A D | InputStreamBuffer.java | 133 Trace.endSection(); in get() 136 Trace.endSection(); in get() 162 Trace.endSection(); in has() 171 Trace.endSection(); in has() 175 Trace.endSection(); in has() 192 Trace.endSection(); in advanceTo() 238 Trace.endSection(); in advanceTo() 264 Trace.endSection(); in fill() 272 Trace.endSection(); in fill() 310 Trace.endSection(); in fill() [all …]
|
/aosp12/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | CompareActivity.java | 30 import android.os.Trace; 78 Trace.traceBegin(Trace.TRACE_TAG_ALWAYS, "loadBitmaps"); in loadBitmaps() 87 Trace.traceBegin(Trace.TRACE_TAG_ALWAYS, "softwareDraw"); in loadBitmaps() 89 Trace.traceEnd(Trace.TRACE_TAG_ALWAYS); in loadBitmaps() 105 Trace.traceBegin(Trace.TRACE_TAG_ALWAYS, "copyInto"); in loadBitmaps() 107 Trace.traceEnd(Trace.TRACE_TAG_ALWAYS); in loadBitmaps() 120 Trace.traceEnd(Trace.TRACE_TAG_ALWAYS); in loadBitmaps()
|
/aosp12/frameworks/base/core/tests/mockingcoretests/src/android/util/ |
H A D | TimingsTraceLogTest.java | 18 import static android.os.Trace.TRACE_TAG_APP; 32 import android.os.Trace; 65 .spyStatic(Trace.class) in startMockSession() 106 TimingsTraceLog log = new TimingsTraceLog("TEST", Trace.TRACE_TAG_APP); in testGetUnfinishedTracesForDebug() 136 verify((MockedVoidMethod) () -> Trace.traceEnd(TRACE_TAG_APP)); in testOneLevel() 148 verify((MockedVoidMethod) () -> Trace.traceBegin(TRACE_TAG_APP, "L1")); in testMultipleLevels() 149 verify((MockedVoidMethod) () -> Trace.traceBegin(TRACE_TAG_APP, "L2")); in testMultipleLevels() 158 TimingsTraceLog log = new TimingsTraceLog(TAG, Trace.TRACE_TAG_APP, 2); in testTooManyLevels() 168 verify((MockedVoidMethod) () -> Trace.traceBegin(TRACE_TAG_APP, "L1")); in testTooManyLevels() 169 verify((MockedVoidMethod) () -> Trace.traceBegin(TRACE_TAG_APP, "L2")); in testTooManyLevels() [all …]
|
/aosp12/packages/apps/Dialer/java/com/android/incallui/answerproximitysensor/ |
H A D | AnswerProximitySensor.java | 22 import android.os.Trace; 47 Trace.beginSection("AnswerProximitySensor.shouldUse"); in shouldUse() 52 Trace.endSection(); in shouldUse() 60 Trace.endSection(); in shouldUse() 68 Trace.endSection(); in shouldUse() 74 Trace.endSection(); in shouldUse() 78 Trace.endSection(); in shouldUse() 84 Trace.beginSection("AnswerProximitySensor Constructor"); in AnswerProximitySensor() 103 Trace.endSection(); in AnswerProximitySensor() 107 Trace.beginSection("AnswerProximitySensor.Cleanup"); in cleanup() [all …]
|
/aosp12/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/ |
H A D | TouchLatencyActivity.java | 33 import android.os.Trace; 80 Trace.endSection(); in TouchLatencyView() 85 Trace.beginSection("TouchLatencyView onTouch"); in onTouch() 97 Trace.endSection(); in onTouch() 124 Trace.endSection(); in drawTouch() 191 Trace.endSection(); in drawBall() 203 Trace.endSection(); in onDraw() 213 Trace.endSection(); in changeMode() 253 Trace.endSection(); in onCreate() 267 Trace.endSection(); in onCreateOptionsMenu() [all …]
|
/aosp12/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/ |
H A D | AppTrace.java | 18 import static android.os.Trace.TRACE_TAG_APP; 29 android.os.Trace.asyncTraceBegin(TRACE_TAG_APP, key, cookie); in start() 36 android.os.Trace.asyncTraceBegin(TRACE_TAG_APP, key, 0); in start() 43 android.os.Trace.asyncTraceEnd(TRACE_TAG_APP, key, 0); in end() 50 android.os.Trace.asyncTraceEnd(TRACE_TAG_APP, key, cookie); in end() 57 android.os.Trace.beginSection(key); in beginSection() 64 android.os.Trace.endSection(); in endSection() 71 android.os.Trace.traceCounter(TRACE_TAG_APP, name, count); in count()
|
/aosp12/frameworks/opt/bitmap/src/com/android/bitmap/ |
H A D | UnrefedPooledCache.java | 22 import com.android.bitmap.util.Trace; 73 Trace.beginSection("cache get"); in get() 82 Trace.endSection(); in get() 89 Trace.beginSection("cache put"); in put() 92 Trace.endSection(); in put() 104 Trace.endSection(); in put() 113 Trace.endSection(); in offer() 117 Trace.endSection(); in offer() 125 Trace.endSection(); in poll() 152 Trace.endSection(); in poll() [all …]
|
H A D | DecodeTask.java | 32 import com.android.bitmap.util.Trace; 128 Trace.endSection(); in decode() 145 Trace.endSection(); in decode() 159 Trace.endSection(); in decode() 170 Trace.endSection(); in decode() 184 Trace.endSection(); in decode() 217 Trace.endSection(); in decode() 267 Trace.endSection(); in decode() 363 Trace.endSection(); in decode() 392 Trace.endSection(); in decode() [all …]
|
H A D | ContiguousFIFOAggregator.java | 22 import com.android.bitmap.util.Trace; 99 Trace.beginSection("pool expect"); in expect() 115 Trace.endSection(); in expect() 135 Trace.beginSection("pool forget"); in forget() 150 Trace.endSection(); in forget() 166 Trace.beginSection("pool execute"); in execute() 173 Trace.endSection(); in execute() 181 Trace.endSection(); in execute() 194 Trace.beginSection("pool maybeExecuteNow loop"); in maybeExecuteNow() 204 Trace.endSection(); in maybeExecuteNow() [all …]
|
/aosp12/packages/services/Car/tests/CarCtsFakeLauncher/src/com/android/car/fakelauncher/ |
H A D | LauncherActivity.java | 22 import android.os.Trace; 56 Trace.traceBegin(Trace.TRACE_TAG_APP, "onResume-" + mUserId); in onResume() 60 Trace.traceEnd(Trace.TRACE_TAG_APP); in onResume() 65 Trace.traceBegin(Trace.TRACE_TAG_APP, "onPostResume-" + mUserId); in onPostResume() 69 Trace.traceEnd(Trace.TRACE_TAG_APP); in onPostResume()
|
/aosp12/frameworks/base/core/java/android/view/ |
H A D | Choreographer.java | 33 import android.os.Trace; 697 Trace.traceBegin(Trace.TRACE_TAG_VIEW, msg); in traceMessage() 698 Trace.traceEnd(Trace.TRACE_TAG_VIEW); in traceMessage() 706 if (Trace.isTagEnabled(Trace.TRACE_TAG_VIEW)) { in doFrame() 707 Trace.traceBegin(Trace.TRACE_TAG_VIEW, in doFrame() 785 Trace.traceEnd(Trace.TRACE_TAG_VIEW); in doFrame() 856 Trace.traceEnd(Trace.TRACE_TAG_VIEW); in doCallbacks() 885 Trace.traceEnd(Trace.TRACE_TAG_VIEW); in scheduleVsyncLocked() 984 if (Trace.isTagEnabled(Trace.TRACE_TAG_VIEW)) { in onVsync() 985 Trace.traceBegin(Trace.TRACE_TAG_VIEW, in onVsync() [all …]
|
/aosp12/frameworks/base/core/java/com/android/internal/os/ |
H A D | ZygoteInit.java | 39 import android.os.Trace; 150 Trace.traceBegin(Trace.TRACE_TAG_DALVIK, "PreloadAppProcessHALs"); in preload() 152 Trace.traceEnd(Trace.TRACE_TAG_DALVIK); in preload() 153 Trace.traceBegin(Trace.TRACE_TAG_DALVIK, "PreloadGraphicsDriver"); in preload() 155 Trace.traceEnd(Trace.TRACE_TAG_DALVIK); in preload() 230 Trace.traceEnd(Trace.TRACE_TAG_DALVIK); in warmUpJcaProviders() 240 Trace.traceEnd(Trace.TRACE_TAG_DALVIK); in warmUpJcaProviders() 296 Trace.traceBegin(Trace.TRACE_TAG_DALVIK, line); in preloadClasses() 325 Trace.traceEnd(Trace.TRACE_TAG_DALVIK); in preloadClasses() 341 Trace.traceEnd(Trace.TRACE_TAG_DALVIK); in preloadClasses() [all …]
|
/aosp12/frameworks/base/tools/aapt2/trace/ |
H A D | TraceBuffer.h | 32 class Trace { 34 Trace(const std::string& tag); 35 Trace(const std::string& tag, const std::vector<android::StringPiece>& args); 36 ~Trace(); 57 #define TRACE_CALL() Trace __t(__func__) 58 #define TRACE_NAME(tag) Trace __t(tag) 59 #define TRACE_NAME_ARGS(tag, args) Trace __t(tag, args)
|
/aosp12/frameworks/base/apct-tests/perftests/core/src/android/os/ |
H A D | TracePerfTest.java | 51 Assert.assertTrue(Trace.isEnabled()); in verifyTracingEnabled() 58 Trace.isEnabled(); in testEnabled() 66 Trace.beginSection("testBeginEndSection"); in testBeginEndSection() 67 Trace.endSection(); in testBeginEndSection() 75 Trace.beginAsyncSection("testAsyncBeginEnd", 42); in testAsyncBeginEnd() 76 Trace.endAsyncSection("testAsyncBeginEnd", 42); in testAsyncBeginEnd() 84 Trace.setCounter("testCounter", 123); in testCounter()
|
/aosp12/frameworks/base/tests/GamePerformance/src/android/gameperformance/ |
H A D | CustomSurfaceView.java | 27 import android.os.Trace; 105 Trace.traceBegin(Trace.TRACE_TAG_GRAPHICS, LOCAL_REQUEST_BUFFER); in invalidateSurface() 109 Trace.traceEnd(Trace.TRACE_TAG_GRAPHICS); in invalidateSurface() 122 Trace.traceBegin(Trace.TRACE_TAG_GRAPHICS, LOCAL_POST_BUFFER); in invalidateSurface() 126 Trace.traceEnd(Trace.TRACE_TAG_GRAPHICS); in invalidateSurface()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
H A D | KeyguardViewMediator.java | 63 import android.os.Trace; 1246 Trace.endSection(); in onStartedWakingUp() 1252 Trace.endSection(); in onScreenTurningOn() 1259 Trace.endSection(); in onScreenTurnedOn() 1426 Trace.endSection(); in verifyUnlock() 1445 Trace.endSection(); in setOccluded() 1477 Trace.endSection(); in handleSetOccluded() 1687 Trace.endSection(); in showLocked() 1699 Trace.endSection(); in hideLocked() 1814 Trace.endSection(); in keyguardDone() [all …]
|
/aosp12/frameworks/base/core/java/android/app/ |
H A D | ApplicationLoaders.java | 23 import android.os.Trace; 121 Trace.traceBegin(Trace.TRACE_TAG_ACTIVITY_MANAGER, zip); in getClassLoader() 128 Trace.traceEnd(Trace.TRACE_TAG_ACTIVITY_MANAGER); in getClassLoader() 130 Trace.traceBegin(Trace.TRACE_TAG_ACTIVITY_MANAGER, "setLayerPaths"); in getClassLoader() 133 Trace.traceEnd(Trace.TRACE_TAG_ACTIVITY_MANAGER); in getClassLoader() 141 Trace.traceBegin(Trace.TRACE_TAG_ACTIVITY_MANAGER, zip); in getClassLoader() 144 Trace.traceEnd(Trace.TRACE_TAG_ACTIVITY_MANAGER); in getClassLoader()
|
/aosp12/frameworks/base/services/core/java/com/android/server/vibrator/ |
H A D | VibrationThread.java | 271 Trace.traceBegin(Trace.TRACE_TAG_VIBRATOR, "playVibration"); in playVibration() 310 Trace.traceEnd(Trace.TRACE_TAG_VIBRATOR); in playVibration() 723 Trace.traceEnd(Trace.TRACE_TAG_VIBRATOR); in play() 883 Trace.traceEnd(Trace.TRACE_TAG_VIBRATOR); in play() 1065 Trace.traceEnd(Trace.TRACE_TAG_VIBRATOR); in play() 1138 Trace.traceEnd(Trace.TRACE_TAG_VIBRATOR); in play() 1194 Trace.traceEnd(Trace.TRACE_TAG_VIBRATOR); in play() 1274 Trace.traceEnd(Trace.TRACE_TAG_VIBRATOR); in play() 1328 Trace.traceEnd(Trace.TRACE_TAG_VIBRATOR); in play() 1367 Trace.traceEnd(Trace.TRACE_TAG_VIBRATOR); in play() [all …]
|
/aosp12/packages/apps/Browser2/src/org/chromium/webview_shell/ |
H A D | TelemetryActivity.java | 9 import android.os.Trace; 36 Trace.beginSection(startUpTraceTag == null ? DEFAULT_START_UP_AND_LOAD_URL_TRACE_TAG in onCreate() 38 Trace.beginSection(startUpTraceTag == null ? DEFAULT_START_UP_TRACE_TAG : startUpTraceTag); in onCreate() 41 Trace.endSection(); in onCreate() 65 Trace.endSection(); in onCreate() 66 Trace.endSection(); in onCreate() 70 Trace.beginSection(loadUrlTraceTag == null ? DEFAULT_LOAD_URL_TRACE_TAG : loadUrlTraceTag); in onCreate()
|