/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; 84 Trace.beginSection("KeyguardService.mBinder#verifyUnlock"); 87 Trace.endSection(); 92 Trace.beginSection("KeyguardService.mBinder#setOccluded"); 95 Trace.endSection(); 134 Trace.beginSection("KeyguardService.mBinder#onStartedWakingUp"); 138 Trace.endSection(); 143 Trace.beginSection("KeyguardService.mBinder#onFinishedWakingUp"); 146 Trace.endSection(); 151 Trace.beginSection("KeyguardService.mBinder#onScreenTurningOn"); [all …]
|
D | KeyguardViewMediator.java | 54 import android.os.Trace; 574 Trace.beginSection("KeyguardViewMediator.mViewMediatorCallback#keyguardDoneDrawing"); 576 Trace.endSection(); 586 Trace.beginSection("KeyguardViewMediator.mViewMediatorCallback#keyguardDonePending"); 588 Trace.endSection(); 598 Trace.endSection(); 603 Trace.beginSection("KeyguardViewMediator.mViewMediatorCallback#keyguardGone"); 605 Trace.endSection(); 610 Trace.beginSection("KeyguardViewMediator.mViewMediatorCallback#readyForKeyguardDone"); 615 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/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/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/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/ |
D | TouchLatencyActivity.java | 33 import android.os.Trace; 50 Trace.beginSection("TouchLatencyView constructor"); in TouchLatencyView() 76 Trace.endSection(); in TouchLatencyView() 81 Trace.beginSection("TouchLatencyView onTouch"); in onTouch() 93 Trace.endSection(); in onTouch() 98 Trace.beginSection("TouchLatencyView drawTouch"); in drawTouch() 120 Trace.endSection(); in drawTouch() 134 Trace.beginSection("TouchLatencyView drawBall"); in drawBall() 189 Trace.endSection(); in drawBall() 195 Trace.beginSection("TouchLatencyView onDraw"); in onDraw() [all …]
|
/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/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/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/services/core/java/com/android/server/ |
D | SystemServiceManager.java | 23 import android.os.Trace; 92 Trace.traceBegin(Trace.TRACE_TAG_SYSTEM_SERVER, "StartService " + name); in startService() 120 Trace.traceEnd(Trace.TRACE_TAG_SYSTEM_SERVER); in startService() 152 Trace.traceBegin(Trace.TRACE_TAG_SYSTEM_SERVER, "OnBootPhase " + phase); in startBootPhase() 157 Trace.traceBegin(Trace.TRACE_TAG_SYSTEM_SERVER, service.getClass().getName()); in startBootPhase() 167 Trace.traceEnd(Trace.TRACE_TAG_SYSTEM_SERVER); in startBootPhase() 170 Trace.traceEnd(Trace.TRACE_TAG_SYSTEM_SERVER); in startBootPhase() 182 final TimingsTraceLog t = new TimingsTraceLog(TAG, Trace.TRACE_TAG_SYSTEM_SERVER); in startUser() 203 final TimingsTraceLog t = new TimingsTraceLog(TAG, Trace.TRACE_TAG_SYSTEM_SERVER); in unlockUser() 224 final TimingsTraceLog t = new TimingsTraceLog(TAG, Trace.TRACE_TAG_SYSTEM_SERVER); in switchUser() [all …]
|
D | VibratorService.java | 54 import android.os.Trace; 442 Trace.traceBegin(Trace.TRACE_TAG_VIBRATOR, "VibratorService#systemReady"); in systemReady() 499 Trace.traceEnd(Trace.TRACE_TAG_VIBRATOR); in systemReady() 629 Trace.traceBegin(Trace.TRACE_TAG_VIBRATOR, "vibrate, reason = " + reason); in vibrate() 707 Trace.traceEnd(Trace.TRACE_TAG_VIBRATOR); in vibrate() 768 Trace.asyncTraceEnd(Trace.TRACE_TAG_VIBRATOR, "vibration", 0); in doCancelVibrateLocked() 769 Trace.traceBegin(Trace.TRACE_TAG_VIBRATOR, "doCancelVibrateLocked"); in doCancelVibrateLocked() 784 Trace.traceEnd(Trace.TRACE_TAG_VIBRATOR); in doCancelVibrateLocked() 802 Trace.traceBegin(Trace.TRACE_TAG_VIBRATOR, "startVibrationLocked"); in startVibrationLocked() 811 Trace.traceEnd(Trace.TRACE_TAG_VIBRATOR); in startVibrationLocked() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ZygoteInit.java | 36 import android.os.Trace; 139 Trace.traceBegin(Trace.TRACE_TAG_DALVIK, "PreloadAppProcessHALs"); in preload() 141 Trace.traceEnd(Trace.TRACE_TAG_DALVIK); in preload() 142 Trace.traceBegin(Trace.TRACE_TAG_DALVIK, "PreloadGraphicsDriver"); in preload() 144 Trace.traceEnd(Trace.TRACE_TAG_DALVIK); in preload() 161 preload(new TimingsTraceLog("ZygoteInitTiming_lazy", Trace.TRACE_TAG_DALVIK)); in lazyPreload() 213 Trace.traceBegin( in warmUpJcaProviders() 214 Trace.TRACE_TAG_DALVIK, "Starting installation of AndroidKeyStoreProvider"); in warmUpJcaProviders() 221 Trace.traceEnd(Trace.TRACE_TAG_DALVIK); in warmUpJcaProviders() 224 Trace.traceBegin( in warmUpJcaProviders() [all …]
|
/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/wm/ |
D | WindowTracing.java | 29 import android.os.Trace; 283 Trace.traceBegin(Trace.TRACE_TAG_WINDOW_MANAGER, "traceStateLocked"); in log() 292 Trace.traceBegin(Trace.TRACE_TAG_WINDOW_MANAGER, "writeToProtoLocked"); in log() 296 Trace.traceEnd(Trace.TRACE_TAG_WINDOW_MANAGER); in log() 306 Trace.traceEnd(Trace.TRACE_TAG_WINDOW_MANAGER); in log() 336 Trace.traceBegin(Trace.TRACE_TAG_WINDOW_MANAGER, "writeTraceToFileLocked"); in writeTraceToFileLocked() 341 Trace.traceEnd(Trace.TRACE_TAG_WINDOW_MANAGER); in writeTraceToFileLocked()
|
D | ActivityMetricsLogger.java | 80 import android.os.Trace; 808 Trace.traceBegin(Trace.TRACE_TAG_ACTIVITY_MANAGER, in logAppTransitionReportedDrawn() 835 Trace.traceEnd(Trace.TRACE_TAG_ACTIVITY_MANAGER); in logAppTransitionReportedDrawn() 984 if (!Trace.isTagEnabled(Trace.TRACE_TAG_ACTIVITY_MANAGER) || info == null in startTraces() 988 Trace.asyncTraceBegin(Trace.TRACE_TAG_ACTIVITY_MANAGER, "launching: " in startTraces() 998 Trace.asyncTraceEnd(Trace.TRACE_TAG_ACTIVITY_MANAGER, "launching: " in stopLaunchTrace() 1010 Trace.traceBegin(Trace.TRACE_TAG_ACTIVITY_MANAGER, in launchObserverNotifyIntentStarted() 1016 Trace.traceEnd(Trace.TRACE_TAG_ACTIVITY_MANAGER); in launchObserverNotifyIntentStarted() 1025 Trace.traceBegin(Trace.TRACE_TAG_ACTIVITY_MANAGER, in launchObserverNotifyIntentFailed() 1030 Trace.traceEnd(Trace.TRACE_TAG_ACTIVITY_MANAGER); in launchObserverNotifyIntentFailed() [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/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | BiometricUnlockController.java | 26 import android.os.Trace; 220 Trace.beginSection("BiometricUnlockController#onBiometricAcquired"); in onBiometricAcquired() 232 Trace.beginSection("acquiring wake-and-unlock"); in onBiometricAcquired() 234 Trace.endSection(); in onBiometricAcquired() 241 Trace.endSection(); in onBiometricAcquired() 252 Trace.beginSection("BiometricUnlockController#onBiometricAuthenticated"); in onBiometricAuthenticated() 256 Trace.endSection(); in onBiometricAuthenticated() 302 Trace.beginSection("release wake-and-unlock"); in startWakeAndUnlock() 304 Trace.endSection(); in startWakeAndUnlock() 313 Trace.beginSection("MODE_DISMISS_BOUNCER or MODE_UNLOCK_FADING"); in startWakeAndUnlock() [all …]
|
/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/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/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 …]
|