Searched refs:cujName (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/com/android/internal/jank/ |
D | InteractionMonitorDebugOverlay.java | 120 String cujName = Cuj.getNameOfCuj(mRunningCujs.keyAt(i)); in getWidthOfLongestCujName() local 121 float textLength = mDebugPaint.measureText(cujName); in getWidthOfLongestCujName() 160 String cujName = Cuj.getNameOfCuj(removedCuj); in onTrackerRemoved() local 161 Log.d(TAG, cujName + (reason == REASON_END_NORMAL ? " ended" : " cancelled")); in onTrackerRemoved() 198 String cujName = Cuj.getNameOfCuj(addedCuj); in onTrackerAdded() local 199 Log.d(TAG, cujName + " started"); in onTrackerAdded() 279 String cujName = Cuj.getNameOfCuj(mRunningCujs.keyAt(i)); in onPostDraw() local 281 canvas.drawText(cujName, 0, 0, mDebugPaint); in onPostDraw()
|
D | InteractionJankMonitor.java | 780 @NonNull String cujName, @NonNull String cujPostfix) { in generateSessionName() 783 final int remaining = MAX_LENGTH_SESSION_NAME - cujName.length(); in generateSessionName() 791 ? TextUtils.formatSimple("J<%s::%s>", cujName, cujPostfix) in generateSessionName() 792 : TextUtils.formatSimple("J<%s>", cujName); in generateSessionName()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/jank/ |
D | CujTest.java | 119 final String cujName = f.getName(); in testCujsMapToEnumsCorrectly() 121 ENUM_NAME_EXCEPTION_MAP.getOrDefault(cuj, getEnumName(cujName.substring(4))); in testCujsMapToEnumsCorrectly() 127 formatSimple("%s (%d) not matches %s (%d)", cujName, cuj, enumName, enumKey)) in testCujsMapToEnumsCorrectly() 132 cuj, cujName, expectedNameOfCuj)) in testCujsMapToEnumsCorrectly() 133 .that(cujName.equals(expectedNameOfCuj)) in testCujsMapToEnumsCorrectly()
|
D | InteractionJankMonitorTest.java | 152 final String cujName = Cuj.getNameOfCuj(cujType); in testSessionNameLengthLimit() local 157 assertThat(generateSessionName(cujName, "")).isEqualTo(formatSimple("J<%s>", cujName)); in testSessionNameLengthLimit() 160 assertThat(generateSessionName(cujName, cujTag)) in testSessionNameLengthLimit() 161 .isEqualTo(formatSimple("J<%s::%s>", cujName, cujTag)); in testSessionNameLengthLimit() 165 final String expectedTrimmedName = formatSimple("J<%s::%s>", cujName, in testSessionNameLengthLimit() 167 assertThat(generateSessionName(cujName, tooLongTag)).isEqualTo(expectedTrimmedName); in testSessionNameLengthLimit()
|