/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/ |
D | Stat.java | 44 double max, in StatResult() argument 50 mMax = max; in StatResult() 63 double max = data[0]; in getStat() local 66 if (data[i] > max) { in getStat() 67 max = data[i]; in getStat() 82 return new StatResult(average, min, max, stddev, median, data.length); in getStat() 149 double max = data[0]; in getMax() local 151 if (data[i] > max) { in getMax() 152 max = data[i]; in getMax() 155 return max; in getMax()
|
/platform_testing/libraries/flicker/utils/src/android/tools/ |
D | TimestampFactory.kt | 22 private val max by lazy { in <lambda>() constant 27 fun max(): Timestamp = max in min() method
|
D | Timestamp.kt | 19 import kotlin.math.max 98 val elapsedNanos = max(this.elapsedNanos - nanos, 0L) in minus() 99 val systemUptimeNanos = max(this.systemUptimeNanos - nanos, 0L) in minus() 100 val unixNanos = max(this.unixNanos - nanos, 0L) in minus()
|
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/intensive/util/perf/ |
D | LongStatsCollector.java | 64 mMax = Math.max(mMax, value); in accept() 74 private Stats(int samples, long min, long max, double median) { in Stats() argument 77 mMax = max; in Stats()
|
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/ |
D | ScheduledScenarioRunner.java | 19 import static java.lang.Math.max; 89 mTotalTimeoutMs = max(timeout, 0); in ScheduledScenarioRunner() 92 mEnforcedTimeoutMs = max(mTotalTimeoutMs - mTeardownLeewayMs, 0); in ScheduledScenarioRunner() 133 max( in withAfters() 157 return max(mTotalTimeoutMs - (System.currentTimeMillis() - mStartTimeMs), 0); in getTimeRemainingForScenario() 163 return max(mEnforcedTimeoutMs - (System.currentTimeMillis() - mStartTimeMs), 0); in getTimeRemainingForTimeoutRule()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/extractors/ |
D | TaggedScenarioExtractor.kt | 26 import kotlin.math.max in <lambda>() 138 max(cujEntry.endTimestamp.elapsedNanos, interpolatedEndTimestamp.elapsedNanos), in <lambda>() 140 max( in <lambda>() 144 unixNanos = max(cujEntry.endTimestamp.unixNanos, interpolatedEndTimestamp.unixNanos) in <lambda>()
|
D | EntireTraceExtractor.kt | 24 return listOf(TraceSlice(Timestamps.min(), Timestamps.max())) in extract()
|
/platform_testing/libraries/flicker/utils/src/android/tools/parsers/ |
D | AbstractTraceParser.kt | 40 to = Timestamps.max(), in getEntries() 50 to = Timestamps.max(), in parse() 60 to = Timestamps.max(), in doParse()
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/legacy/runner/ |
D | TestUtils.kt | 30 validateTimeGreaterThan(Timestamps.max(), "End time", endTime) in validateTransitionTime() 37 validateEqualTo(endTime, "End time", Timestamps.max()) in validateTransitionTimeIsEmpty()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/ |
D | NoTraceMonitor.kt | 33 writer.setTransitionEndTime(Timestamps.max()) in stop()
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/ |
D | ScenarioInstanceTest.kt | 46 return listOf(TraceSlice(Timestamps.min(), Timestamps.max())) in willReportFlickerAssertions() 86 endTimestamp = Timestamps.max(), in willReportFlickerAssertions() 130 return listOf(TraceSlice(Timestamps.min(), Timestamps.max())) in willReportMainBlockAssertions() 160 endTimestamp = Timestamps.max(), in willReportMainBlockAssertions()
|
D | FlickerServiceTest.kt | 51 TraceSlice(startTimestamp = Timestamps.min(), endTimestamp = Timestamps.max()) in generatesAssertionsFromExtractedScenarios() 75 TraceSlice(startTimestamp = Timestamps.min(), endTimestamp = Timestamps.max()) in executesAssertionsReturnedByAssertionFactories()
|
/platform_testing/libraries/motion/src/platform/test/motion/filmstrip/ |
D | Filmstrip.kt | 26 import kotlin.math.max 124 val labelWidth = ceil(labels.map { textPaint.measureText(it) }.max()).toInt() in <lambda>() 142 val tileWidth = max(screenshotWidth, labelWidth) in render() 194 val tileHeight = max(screenshotHeight, labelHeight + 2 * labelMargin) in render()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/wm/ |
D | LegacyTransitionTraceParser.kt | 31 to: Timestamp = Timestamps.max(), in parse()
|
/platform_testing/libraries/collectors-helper/lyric/src/com/android/helpers/ |
D | LyricMemProfilerHelper.java | 129 Math.max(mMaxCameraMemInfoList[i].mNativeHeap, memInfoList[i].mNativeHeap); in setMaxResult() 131 Math.max(mMaxCameraMemInfoList[i].mTotalPss, memInfoList[i].mTotalPss); in setMaxResult() 132 mMaxCameraDmabufList[i] = Math.max(mMaxCameraDmabufList[i], dmabufList[i]); in setMaxResult() 134 mMaxTotalCameraDmabuf = Math.max(mMaxTotalCameraDmabuf, totalDmabuf); in setMaxResult() 135 mMaxTotalCameraMemory = Math.max(mMaxTotalCameraMemory, totalMemory); in setMaxResult()
|
/platform_testing/libraries/health/rules/src/android/platform/test/rule/ |
D | TracePointRule.java | 75 return name.substring(Math.max(0, name.length() - getMaxSectionLength())); in getSectionName()
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/traces/surfaceflinger/ |
D | LayersTraceTest.kt | 124 trace.getFirstEntryWithOnDisplayAfter(Timestamps.max()) in getFirstEntryWithOnDisplay() 135 val matchingEntry = trace.getLastEntryWithOnDisplayBefore(Timestamps.max()) in getLastEntryWithOnDisplay()
|
/platform_testing/libraries/system-helpers/device-helper/src/android/system/helpers/ |
D | DeviceHelper.java | 68 int screenHeight = Math.max( in isTablet()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/events/ |
D | CujTrace.kt | 60 it?.timestamp ?: Timestamps.max() in from()
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/io/ |
D | ResultReaderTest.kt | 58 val slicedReader = reader.slice(Timestamps.min(), Timestamps.max()) in slicedResultKeepsStatusInSync()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/io/ |
D | ResultWriter.kt | 39 private var transitionEndTime = Timestamps.max()
|
/platform_testing/tests/health/scenarios/src/android/platform/test/scenario/generic/ |
D | MathWork.java | 75 Math.max(0, mDurationMs.get() - (SystemClock.uptimeMillis() - startTime))); in testDoMath()
|
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
D | MemHealthRecord.java | 457 Long max = null; in getMax() local 459 if (max == null || sample > max) { in getMax() 460 max = sample; in getMax() 463 return max; in getMax()
|
/platform_testing/libraries/device-collectors/src/main/platform-collectors/src/android/device/collectors/ |
D | UiInteractionFrameInfoListener.java | 98 result = Double.max(result, Double.parseDouble(token));
|
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/matchers/ |
D | HumanEyeMatcher.kt | 6 import kotlin.math.max in <lambda>() 140 return max(diffWithWhite, diffWithBlack) in <lambda>()
|