Home
last modified time | relevance | path

Searched refs:Trace (Results 1 – 25 of 251) sorted by relevance

1234567891011

/frameworks/base/core/java/com/android/internal/view/
DIInputConnectionWrapper.java28 import android.os.Trace;
356 Trace.traceBegin(Trace.TRACE_TAG_INPUT, "InputConnection#getTextAfterCursor"); in executeMessage()
381 Trace.traceEnd(Trace.TRACE_TAG_INPUT); in executeMessage()
386 Trace.traceBegin(Trace.TRACE_TAG_INPUT, "InputConnection#getTextBeforeCursor"); in executeMessage()
411 Trace.traceEnd(Trace.TRACE_TAG_INPUT); in executeMessage()
416 Trace.traceBegin(Trace.TRACE_TAG_INPUT, "InputConnection#getSelectedText"); in executeMessage()
440 Trace.traceEnd(Trace.TRACE_TAG_INPUT); in executeMessage()
446 Trace.traceBegin(Trace.TRACE_TAG_INPUT, "InputConnection#getSurroundingText"); in executeMessage()
474 Trace.traceEnd(Trace.TRACE_TAG_INPUT); in executeMessage()
480 Trace.traceBegin(Trace.TRACE_TAG_INPUT, "InputConnection#getCursorCapsMode"); in executeMessage()
[all …]
/frameworks/base/startop/apps/ColorChanging/app/src/main/java/com/android/startop/colorchanging/
DMainActivity.java22 import android.os.Trace;
34 Trace.beginSection("gray"); in onCreate()
38 Trace.endSection(); in goRed()
40 Trace.beginSection("red"); in goRed()
44 Trace.endSection(); in goOrange()
46 Trace.beginSection("orange"); in goOrange()
50 Trace.endSection(); in goYellow()
52 Trace.beginSection("yellow"); in goYellow()
56 Trace.endSection(); in goGreen()
58 Trace.beginSection("green"); in goGreen()
[all …]
/frameworks/base/core/java/android/webkit/
DWebViewFactory.java35 import android.os.Trace;
346 Trace.traceBegin(Trace.TRACE_TAG_WEBVIEW, "WebViewFactory.getProvider()"); in getProvider()
352 Trace.traceBegin(Trace.TRACE_TAG_WEBVIEW, "WebViewFactoryProvider invocation"); in getProvider()
359 Trace.traceEnd(Trace.TRACE_TAG_WEBVIEW); in getProvider()
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()
432 Trace.traceBegin(Trace.TRACE_TAG_WEBVIEW, "ActivityManager.addPackageDependency()"); in getWebViewContextAndSetProvider()
437 Trace.traceEnd(Trace.TRACE_TAG_WEBVIEW); in getWebViewContextAndSetProvider()
442 Trace.traceBegin(Trace.TRACE_TAG_WEBVIEW, "PackageManager.getPackageInfo()"); in getWebViewContextAndSetProvider()
[all …]
/frameworks/opt/bitmap/src/com/android/bitmap/util/
DInputStreamBuffer.java130 Trace.beginSection("get"); in get()
133 Trace.endSection(); in get()
136 Trace.endSection(); in get()
160 Trace.beginSection("has"); in has()
162 Trace.endSection(); in has()
171 Trace.endSection(); in has()
175 Trace.endSection(); in has()
188 Trace.beginSection("advance to"); in advanceTo()
192 Trace.endSection(); in advanceTo()
238 Trace.endSection(); in advanceTo()
[all …]
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DInputStreamBuffer.java130 Trace.beginSection("get"); in get()
133 Trace.endSection(); in get()
136 Trace.endSection(); in get()
160 Trace.beginSection("has"); in has()
162 Trace.endSection(); in has()
171 Trace.endSection(); in has()
175 Trace.endSection(); in has()
188 Trace.beginSection("advance to"); in advanceTo()
192 Trace.endSection(); in advanceTo()
238 Trace.endSection(); in advanceTo()
[all …]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/
DAppTrace.java18 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()
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DCompareActivity.java30 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()
/frameworks/base/core/tests/mockingcoretests/src/android/util/
DTimingsTraceLogTest.java18 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()
135 verify((MockedVoidMethod) () -> Trace.traceBegin(TRACE_TAG_APP, "test")); in testOneLevel()
136 verify((MockedVoidMethod) () -> Trace.traceEnd(TRACE_TAG_APP)); in testOneLevel()
142 TimingsTraceLog log = new TimingsTraceLog(TAG, Trace.TRACE_TAG_APP, 10); in testMultipleLevels()
148 verify((MockedVoidMethod) () -> Trace.traceBegin(TRACE_TAG_APP, "L1")); in testMultipleLevels()
149 verify((MockedVoidMethod) () -> Trace.traceBegin(TRACE_TAG_APP, "L2")); in testMultipleLevels()
150 verify((MockedVoidMethod) () -> Trace.traceEnd(TRACE_TAG_APP), times(2)); // L1 and L2 in testMultipleLevels()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardService.java37 import android.os.Trace;
148 Trace.beginSection("KeyguardService.mBinder#startKeyguardExitAnimation");
152 Trace.endSection();
198 Trace.beginSection("KeyguardService.mBinder#verifyUnlock");
201 Trace.endSection();
206 Trace.beginSection("KeyguardService.mBinder#setOccluded");
209 Trace.endSection();
253 Trace.beginSection("KeyguardService.mBinder#onStartedWakingUp");
258 Trace.endSection();
263 Trace.beginSection("KeyguardService.mBinder#onFinishedWakingUp");
[all …]
DKeyguardViewMediator.java63 import android.os.Trace;
701 Trace.beginSection("KeyguardViewMediator.mViewMediatorCallback#keyguardDoneDrawing");
703 Trace.endSection();
713 Trace.beginSection("KeyguardViewMediator.mViewMediatorCallback#keyguardDonePending");
716 Trace.endSection();
727 Trace.endSection();
732 Trace.beginSection("KeyguardViewMediator.mViewMediatorCallback#keyguardGone");
736 Trace.endSection();
741 Trace.beginSection("KeyguardViewMediator.mViewMediatorCallback#readyForKeyguardDone");
746 Trace.endSection();
[all …]
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/
DTouchLatencyActivity.java33 import android.os.Trace;
50 Trace.beginSection("TouchLatencyView constructor"); in TouchLatencyView()
80 Trace.endSection(); in TouchLatencyView()
85 Trace.beginSection("TouchLatencyView onTouch"); in onTouch()
97 Trace.endSection(); in onTouch()
102 Trace.beginSection("TouchLatencyView drawTouch"); in drawTouch()
124 Trace.endSection(); in drawTouch()
138 Trace.beginSection("TouchLatencyView drawBall"); in drawBall()
191 Trace.endSection(); in drawBall()
197 Trace.beginSection("TouchLatencyView onDraw"); in onDraw()
[all …]
/frameworks/base/tools/aapt2/trace/
DTraceBuffer.h32 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)
/frameworks/base/apct-tests/perftests/core/src/android/os/
DTracePerfTest.java51 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()
/frameworks/opt/bitmap/src/com/android/bitmap/
DUnrefedPooledCache.java22 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()
111 Trace.beginSection("pool offer"); in offer()
113 Trace.endSection(); in offer()
117 Trace.endSection(); in offer()
122 Trace.beginSection("pool poll"); in poll()
[all …]
DDecodeTask.java32 import com.android.bitmap.util.Trace;
126 Trace.beginSection("create fd"); in decode()
128 Trace.endSection(); in decode()
143 Trace.beginSection("poll for reusable bitmap"); in decode()
145 Trace.endSection(); in decode()
152 Trace.beginSection("get bytesize"); in decode()
159 Trace.endSection(); in decode()
161 Trace.beginSection("get orientation"); in decode()
167 Trace.beginSection("create orientation fd and stream"); in decode()
170 Trace.endSection(); in decode()
[all …]
DContiguousFIFOAggregator.java22 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 …]
/frameworks/base/tests/GamePerformance/src/android/gameperformance/
DCustomSurfaceView.java27 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()
/frameworks/base/core/java/android/view/
DChoreographer.java33 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()
820 Trace.traceCounter(Trace.TRACE_TAG_VIEW, "jitterNanos", (int) jitterNanos); in doCallbacks()
838 Trace.traceBegin(Trace.TRACE_TAG_VIEW, CALLBACK_TRACE_TITLES[callbackType]); in doCallbacks()
856 Trace.traceEnd(Trace.TRACE_TAG_VIEW); in doCallbacks()
882 Trace.traceBegin(Trace.TRACE_TAG_VIEW, "Choreographer#scheduleVsyncLocked"); in scheduleVsyncLocked()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DZygoteInit.java39 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()
172 preload(new TimingsTraceLog("ZygoteInitTiming_lazy", Trace.TRACE_TAG_DALVIK)); in lazyPreload()
224 Trace.traceBegin( in warmUpJcaProviders()
225 Trace.TRACE_TAG_DALVIK, "Starting installation of AndroidKeyStoreProvider"); in warmUpJcaProviders()
230 Trace.traceEnd(Trace.TRACE_TAG_DALVIK); in warmUpJcaProviders()
233 Trace.traceBegin( in warmUpJcaProviders()
[all …]
/frameworks/base/core/java/android/app/
DApplicationLoaders.java23 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()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowTracing.java32 import android.os.Trace;
310 Trace.traceBegin(Trace.TRACE_TAG_WINDOW_MANAGER, "traceStateLocked"); in log()
319 Trace.traceBegin(Trace.TRACE_TAG_WINDOW_MANAGER, "dumpDebugLocked"); in log()
323 Trace.traceEnd(Trace.TRACE_TAG_WINDOW_MANAGER); in log()
333 Trace.traceEnd(Trace.TRACE_TAG_WINDOW_MANAGER); in log()
351 Trace.traceBegin(Trace.TRACE_TAG_WINDOW_MANAGER, "writeTraceToFileLocked"); in writeTraceToFileLocked()
358 Trace.traceEnd(Trace.TRACE_TAG_WINDOW_MANAGER); in writeTraceToFileLocked()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DBasicBitmapDrawable.java39 import com.android.bitmap.util.Trace;
175 Trace.beginSection("bind"); in bind()
177 Trace.endSection(); in bind()
181 Trace.endSection(); in bind()
205 Trace.beginSection("unbind"); in unbind()
210 Trace.endSection(); in unbind()
217 Trace.beginSection("set image"); in setImage()
218 Trace.beginSection("release reference"); in setImage()
223 Trace.endSection(); in setImage()
239 Trace.endSection(); in setImage()
[all …]
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibrationThread.java28 import android.os.Trace;
223 Trace.traceBegin(Trace.TRACE_TAG_VIBRATOR, "playVibration"); in playVibration()
273 Trace.traceEnd(Trace.TRACE_TAG_VIBRATOR); in playVibration()
659 Trace.traceBegin(Trace.TRACE_TAG_VIBRATOR, "StartVibrateStep"); in play()
686 Trace.traceEnd(Trace.TRACE_TAG_VIBRATOR); in play()
837 Trace.traceBegin(Trace.TRACE_TAG_VIBRATOR, "FinishVibrateStep"); in play()
846 Trace.traceEnd(Trace.TRACE_TAG_VIBRATOR); in play()
992 Trace.traceBegin(Trace.TRACE_TAG_VIBRATOR, "PerformStep"); in play()
1028 Trace.traceEnd(Trace.TRACE_TAG_VIBRATOR); in play()
1067 Trace.traceBegin(Trace.TRACE_TAG_VIBRATOR, "ComposePrimitivesStep"); in play()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DBiometricUnlockController.java27 import android.os.Trace;
317 Trace.beginSection("BiometricUnlockController#onBiometricAcquired"); in onBiometricAcquired()
329 Trace.beginSection("acquiring wake-and-unlock"); in onBiometricAcquired()
331 Trace.endSection(); in onBiometricAcquired()
338 Trace.endSection(); in onBiometricAcquired()
350 Trace.beginSection("BiometricUnlockController#onBiometricAuthenticated"); in onBiometricAuthenticated()
354 Trace.endSection(); in onBiometricAuthenticated()
407 Trace.beginSection("release wake-and-unlock"); in startWakeAndUnlock()
409 Trace.endSection(); in startWakeAndUnlock()
418 Trace.beginSection("MODE_DISMISS_BOUNCER or MODE_UNLOCK_FADING"); in startWakeAndUnlock()
[all …]
/frameworks/base/graphics/java/android/graphics/
DBitmapFactory.java27 import android.os.Trace;
664 Trace.traceBegin(Trace.TRACE_TAG_GRAPHICS, "decodeBitmap"); in decodeByteArray()
675 Trace.traceEnd(Trace.TRACE_TAG_GRAPHICS); in decodeByteArray()
759 Trace.traceBegin(Trace.TRACE_TAG_GRAPHICS, "decodeBitmap"); in decodeStream()
775 Trace.traceEnd(Trace.TRACE_TAG_GRAPHICS); in decodeStream()
833 Trace.traceBegin(Trace.TRACE_TAG_GRAPHICS, "decodeFileDescriptor"); in decodeFileDescriptor()
856 Trace.traceEnd(Trace.TRACE_TAG_GRAPHICS); in decodeFileDescriptor()

1234567891011