/frameworks/base/startop/apps/ColorChanging/app/src/main/java/com/android/startop/colorchanging/ |
D | MainActivity.java | 22 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/ |
D | WebViewFactory.java | 31 import android.os.Trace; 250 Trace.traceBegin(Trace.TRACE_TAG_WEBVIEW, "WebViewFactory.getProvider()"); in getProvider() 263 Trace.traceBegin(Trace.TRACE_TAG_WEBVIEW, "WebViewFactoryProvider invocation"); in getProvider() 273 Trace.traceEnd(Trace.TRACE_TAG_WEBVIEW); in getProvider() 276 Trace.traceEnd(Trace.TRACE_TAG_WEBVIEW); in getProvider() 329 Trace.traceBegin(Trace.TRACE_TAG_WEBVIEW, in getWebViewContextAndSetProvider() 334 Trace.traceEnd(Trace.TRACE_TAG_WEBVIEW); in getWebViewContextAndSetProvider() 343 Trace.traceBegin(Trace.TRACE_TAG_WEBVIEW, "ActivityManager.addPackageDependency()"); in getWebViewContextAndSetProvider() 348 Trace.traceEnd(Trace.TRACE_TAG_WEBVIEW); in getWebViewContextAndSetProvider() 353 Trace.traceBegin(Trace.TRACE_TAG_WEBVIEW, "PackageManager.getPackageInfo()"); in getWebViewContextAndSetProvider() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardService.java | 28 import android.os.Trace; 87 Trace.beginSection("KeyguardService.mBinder#verifyUnlock"); 90 Trace.endSection(); 95 Trace.beginSection("KeyguardService.mBinder#setOccluded"); 98 Trace.endSection(); 137 Trace.beginSection("KeyguardService.mBinder#onStartedWakingUp"); 141 Trace.endSection(); 146 Trace.beginSection("KeyguardService.mBinder#onFinishedWakingUp"); 149 Trace.endSection(); 154 Trace.beginSection("KeyguardService.mBinder#onScreenTurningOn"); [all …]
|
D | KeyguardViewMediator.java | 55 import android.os.Trace; 598 Trace.beginSection("KeyguardViewMediator.mViewMediatorCallback#keyguardDoneDrawing"); 600 Trace.endSection(); 610 Trace.beginSection("KeyguardViewMediator.mViewMediatorCallback#keyguardDonePending"); 613 Trace.endSection(); 624 Trace.endSection(); 629 Trace.beginSection("KeyguardViewMediator.mViewMediatorCallback#keyguardGone"); 633 Trace.endSection(); 638 Trace.beginSection("KeyguardViewMediator.mViewMediatorCallback#readyForKeyguardDone"); 643 Trace.endSection(); [all …]
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
D | InputStreamBuffer.java | 130 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/bitmap/src/com/android/bitmap/util/ |
D | InputStreamBuffer.java | 130 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/ |
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()
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
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()
|
/frameworks/base/core/tests/mockingcoretests/src/android/util/ |
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() 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/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/ |
D | TouchLatencyActivity.java | 33 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/ |
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)
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
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() 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 …]
|
D | DecodeTask.java | 32 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 …]
|
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 …]
|
/frameworks/base/apct-tests/perftests/core/src/android/os/ |
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()
|
/frameworks/base/tests/GamePerformance/src/android/gameperformance/ |
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()
|
/frameworks/base/services/core/java/com/android/server/ |
D | VibratorService.java | 58 import android.os.Trace; 452 Trace.traceBegin(Trace.TRACE_TAG_VIBRATOR, "VibratorService#systemReady"); in systemReady() 509 Trace.traceEnd(Trace.TRACE_TAG_VIBRATOR); in systemReady() 742 Trace.traceBegin(Trace.TRACE_TAG_VIBRATOR, "vibrate, reason = " + reason); in vibrate() 820 Trace.traceEnd(Trace.TRACE_TAG_VIBRATOR); in vibrate() 881 Trace.asyncTraceEnd(Trace.TRACE_TAG_VIBRATOR, "vibration", 0); in doCancelVibrateLocked() 882 Trace.traceBegin(Trace.TRACE_TAG_VIBRATOR, "doCancelVibrateLocked"); in doCancelVibrateLocked() 897 Trace.traceEnd(Trace.TRACE_TAG_VIBRATOR); in doCancelVibrateLocked() 915 Trace.traceBegin(Trace.TRACE_TAG_VIBRATOR, "startVibrationLocked"); in startVibrationLocked() 924 Trace.traceEnd(Trace.TRACE_TAG_VIBRATOR); in startVibrationLocked() [all …]
|
/frameworks/base/core/java/android/app/ |
D | ApplicationLoaders.java | 23 import android.os.Trace; 112 Trace.traceBegin(Trace.TRACE_TAG_ACTIVITY_MANAGER, zip); in getClassLoader() 118 Trace.traceEnd(Trace.TRACE_TAG_ACTIVITY_MANAGER); in getClassLoader() 120 Trace.traceBegin(Trace.TRACE_TAG_ACTIVITY_MANAGER, "setLayerPaths"); in getClassLoader() 123 Trace.traceEnd(Trace.TRACE_TAG_ACTIVITY_MANAGER); in getClassLoader() 131 Trace.traceBegin(Trace.TRACE_TAG_ACTIVITY_MANAGER, zip); in getClassLoader() 134 Trace.traceEnd(Trace.TRACE_TAG_ACTIVITY_MANAGER); in getClassLoader()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ZygoteInit.java | 39 import android.os.Trace; 142 Trace.traceBegin(Trace.TRACE_TAG_DALVIK, "PreloadAppProcessHALs"); in preload() 144 Trace.traceEnd(Trace.TRACE_TAG_DALVIK); in preload() 145 Trace.traceBegin(Trace.TRACE_TAG_DALVIK, "PreloadGraphicsDriver"); in preload() 147 Trace.traceEnd(Trace.TRACE_TAG_DALVIK); in preload() 164 preload(new TimingsTraceLog("ZygoteInitTiming_lazy", Trace.TRACE_TAG_DALVIK)); in lazyPreload() 222 Trace.traceBegin( in warmUpJcaProviders() 223 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/services/core/java/com/android/server/wm/ |
D | WindowTracing.java | 32 import android.os.Trace; 292 Trace.traceBegin(Trace.TRACE_TAG_WINDOW_MANAGER, "traceStateLocked"); in log() 301 Trace.traceBegin(Trace.TRACE_TAG_WINDOW_MANAGER, "dumpDebugLocked"); in log() 305 Trace.traceEnd(Trace.TRACE_TAG_WINDOW_MANAGER); in log() 315 Trace.traceEnd(Trace.TRACE_TAG_WINDOW_MANAGER); in log() 346 Trace.traceBegin(Trace.TRACE_TAG_WINDOW_MANAGER, "writeTraceToFileLocked"); in writeTraceToFileLocked() 353 Trace.traceEnd(Trace.TRACE_TAG_WINDOW_MANAGER); in writeTraceToFileLocked()
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | BasicBitmapDrawable.java | 39 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/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | BiometricUnlockController.java | 27 import android.os.Trace; 303 Trace.beginSection("BiometricUnlockController#onBiometricAcquired"); in onBiometricAcquired() 315 Trace.beginSection("acquiring wake-and-unlock"); in onBiometricAcquired() 317 Trace.endSection(); in onBiometricAcquired() 324 Trace.endSection(); in onBiometricAcquired() 336 Trace.beginSection("BiometricUnlockController#onBiometricAuthenticated"); in onBiometricAuthenticated() 340 Trace.endSection(); in onBiometricAuthenticated() 390 Trace.beginSection("release wake-and-unlock"); in startWakeAndUnlock() 392 Trace.endSection(); in startWakeAndUnlock() 401 Trace.beginSection("MODE_DISMISS_BOUNCER or MODE_UNLOCK_FADING"); in startWakeAndUnlock() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | BitmapFactory.java | 26 import android.os.Trace; 663 Trace.traceBegin(Trace.TRACE_TAG_GRAPHICS, "decodeBitmap"); in decodeByteArray() 674 Trace.traceEnd(Trace.TRACE_TAG_GRAPHICS); in decodeByteArray() 758 Trace.traceBegin(Trace.TRACE_TAG_GRAPHICS, "decodeBitmap"); in decodeStream() 774 Trace.traceEnd(Trace.TRACE_TAG_GRAPHICS); in decodeStream() 832 Trace.traceBegin(Trace.TRACE_TAG_GRAPHICS, "decodeFileDescriptor"); in decodeFileDescriptor() 855 Trace.traceEnd(Trace.TRACE_TAG_GRAPHICS); in decodeFileDescriptor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ImageWallpaper.java | 23 import android.os.Trace; 166 Trace.beginSection("ImageWallpaper#preRender"); in preRender() 168 Trace.endSection(); in preRender() 202 Trace.beginSection("ImageWallpaper#requestRender"); in requestRender() 204 Trace.endSection(); in requestRender() 226 Trace.beginSection("ImageWallpaper#postRender"); in postRender() 228 Trace.endSection(); in postRender() 243 Trace.beginSection("ImageWallpaper#finishRendering"); in finishRendering() 248 Trace.endSection(); in finishRendering()
|
/frameworks/base/rs/java/android/renderscript/ |
D | Allocation.java | 26 import android.os.Trace; 533 Trace.traceBegin(RenderScript.TRACE_TAG, "syncAll"); in syncAll() 555 Trace.traceEnd(RenderScript.TRACE_TAG); in syncAll() 568 Trace.traceBegin(RenderScript.TRACE_TAG, "ioSend"); in ioSend() 576 Trace.traceEnd(RenderScript.TRACE_TAG); in ioSend() 587 Trace.traceBegin(RenderScript.TRACE_TAG, "ioReceive"); in ioReceive() 595 Trace.traceEnd(RenderScript.TRACE_TAG); in ioReceive() 606 Trace.traceBegin(RenderScript.TRACE_TAG, "copyFrom"); in copyFrom() 628 Trace.traceEnd(RenderScript.TRACE_TAG); in copyFrom() 689 Trace.traceBegin(RenderScript.TRACE_TAG, "copyFromUnchecked"); in copyFromUnchecked() [all …]
|