/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 | 35 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/base/packages/SystemUI/src/com/android/systemui/util/ |
D | TraceUtils.kt | 19 import android.os.Trace 26 if (Trace.isTagEnabled(Trace.TRACE_TAG_APP)) { in traceSection() 27 Trace.traceBegin(Trace.TRACE_TAG_APP, tag) in traceSection() 31 Trace.traceEnd(Trace.TRACE_TAG_APP) in traceSection()
|
/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/src/com/android/systemui/ |
D | SystemUIApplication.java | 34 import android.os.Trace; 102 Trace.TRACE_TAG_APP); in onCreate() 111 Looper.getMainLooper().setTraceTag(Trace.TRACE_TAG_APP); in onCreate() 250 Trace.TRACE_TAG_APP); in startServicesIfNeeded() 288 if (Trace.isEnabled()) { in notifyBootCompleted() 289 Trace.traceBegin( in notifyBootCompleted() 290 Trace.TRACE_TAG_APP, in notifyBootCompleted() 294 Trace.endSection(); in notifyBootCompleted() 314 if (Trace.isEnabled()) { in startAdditionalStartable() 315 Trace.traceBegin( in startAdditionalStartable() [all …]
|
/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/services/core/java/com/android/server/health/ |
D | HealthRegCallbackAidl.java | 25 import android.os.Trace; 65 Trace.traceBegin(Trace.TRACE_TAG_SYSTEM_SERVER, "HealthUnregisterCallbackAidl"); in onRegistration() 69 Trace.traceEnd(Trace.TRACE_TAG_SYSTEM_SERVER); in onRegistration() 72 Trace.traceBegin(Trace.TRACE_TAG_SYSTEM_SERVER, "HealthRegisterCallbackAidl"); in onRegistration() 76 Trace.traceEnd(Trace.TRACE_TAG_SYSTEM_SERVER); in onRegistration()
|
/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/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/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/traceinjection/test/com/android/traceinjection/ |
D | InjectionTests.java | 107 @Trace(tag = TRACE_TAG) 112 @Trace(tag = TRACE_TAG) 117 @Trace(tag = TRACE_TAG) 127 @Trace(tag = TRACE_TAG) 136 @Trace(tag = TRACE_TAG) 145 @Trace(tag = TRACE_TAG, label = CUSTOM_TRACE_NAME) 149 @Trace(tag = TRACE_TAG) 155 @Trace(tag = TRACE_TAG) 160 @Trace(tag = TRACE_TAG) 166 @Trace(tag = TRACE_TAG) [all …]
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerGroup.java | 39 import android.os.Trace; 214 Trace.traceBegin(Trace.TRACE_TAG_POWER, "wakePowerGroup" + mGroupId); in wakeUpLocked() 223 Trace.asyncTraceBegin(Trace.TRACE_TAG_POWER, TRACE_SCREEN_ON, mGroupId); in wakeUpLocked() 230 Trace.traceEnd(Trace.TRACE_TAG_POWER); in wakeUpLocked() 239 Trace.traceBegin(Trace.TRACE_TAG_POWER, "dreamPowerGroup" + getGroupId()); in dreamLocked() 246 Trace.traceEnd(Trace.TRACE_TAG_POWER); in dreamLocked() 256 Trace.traceBegin(Trace.TRACE_TAG_POWER, "powerOffDisplay"); in dozeLocked() 273 Trace.traceEnd(Trace.TRACE_TAG_POWER); in dozeLocked() 283 Trace.traceBegin(Trace.TRACE_TAG_POWER, "sleepPowerGroup"); in sleepLocked() 292 Trace.traceEnd(Trace.TRACE_TAG_POWER); in sleepLocked()
|
/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/am/ |
D | TraceErrorLogger.java | 19 import android.os.Trace; 52 Trace.traceCounter(Trace.TRACE_TAG_ACTIVITY_MANAGER, in addErrorIdToTrace() 65 Trace.traceCounter(Trace.TRACE_TAG_ACTIVITY_MANAGER, in addSubjectToTrace()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ZygoteInit.java | 38 import android.os.Trace; 148 Trace.traceBegin(Trace.TRACE_TAG_DALVIK, "PreloadAppProcessHALs"); in preload() 150 Trace.traceEnd(Trace.TRACE_TAG_DALVIK); in preload() 151 Trace.traceBegin(Trace.TRACE_TAG_DALVIK, "PreloadGraphicsDriver"); in preload() 153 Trace.traceEnd(Trace.TRACE_TAG_DALVIK); in preload() 170 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() 228 Trace.traceEnd(Trace.TRACE_TAG_DALVIK); in warmUpJcaProviders() 231 Trace.traceBegin( in warmUpJcaProviders() [all …]
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | TurnOffVibratorStep.java | 20 import android.os.Trace; 58 Trace.traceBegin(Trace.TRACE_TAG_VIBRATOR, "TurnOffVibratorStep"); in play() 63 Trace.traceEnd(Trace.TRACE_TAG_VIBRATOR); in play()
|
D | FinishSequentialEffectStep.java | 19 import android.os.Trace; 48 Trace.traceBegin(Trace.TRACE_TAG_VIBRATOR, "FinishSequentialEffectStep"); in play() 59 Trace.traceEnd(Trace.TRACE_TAG_VIBRATOR); in play()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyguardStateControllerImpl.java | 27 import android.os.Trace; 185 Trace.instantForTrack(Trace.TRACE_TAG_APP, "UI Events", in notifyKeyguardState() 196 Trace.beginSection("KeyguardStateController#notifyKeyguardChanged"); in notifyKeyguardChanged() 199 Trace.endSection(); in notifyKeyguardChanged() 203 Trace.beginSection("KeyguardStateController#notifyUnlockedChanged"); in notifyUnlockedChanged() 206 Trace.endSection(); in notifyUnlockedChanged() 218 Trace.traceCounter(Trace.TRACE_TAG_APP, "keyguardFadingAway", in setKeyguardFadingAway() 236 Trace.beginSection("KeyguardStateController#update"); in update() 257 Trace.endSection(); in update() 334 Trace.traceCounter(Trace.TRACE_TAG_APP, "keyguardGoingAway", in notifyKeyguardGoingAway() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/listbuilder/pluggable/ |
D | Pluggable.java | 20 import android.os.Trace; 54 if (Trace.isEnabled()) { in invalidateList() 55 Trace.traceBegin(Trace.TRACE_TAG_APP, "Pluggable<" + mName + ">.invalidateList"); in invalidateList() 58 Trace.endSection(); in invalidateList()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationLoaders.java | 23 import android.os.Trace; 124 Trace.traceBegin(Trace.TRACE_TAG_ACTIVITY_MANAGER, zip); in getClassLoader() 131 Trace.traceEnd(Trace.TRACE_TAG_ACTIVITY_MANAGER); in getClassLoader() 133 Trace.traceBegin(Trace.TRACE_TAG_ACTIVITY_MANAGER, "setLayerPaths"); in getClassLoader() 136 Trace.traceEnd(Trace.TRACE_TAG_ACTIVITY_MANAGER); in getClassLoader() 144 Trace.traceBegin(Trace.TRACE_TAG_ACTIVITY_MANAGER, zip); in getClassLoader() 148 Trace.traceEnd(Trace.TRACE_TAG_ACTIVITY_MANAGER); in getClassLoader()
|