Searched refs:max (Results 1 – 12 of 12) sorted by relevance
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/ |
D | Stat.java | 39 public StatResult(double average, double min, double max, double stddev, int dataCount) { in StatResult() argument 42 mMax = max; in StatResult() 54 double max = data[0]; in getStat() local 57 if (data[i] > max) { in getStat() 58 max = data[i]; in getStat() 72 return new StatResult(average, min, max, stddev, data.length); in getStat() 133 double max = data[0]; in getMax() local 135 if (data[i] > max) { in getMax() 136 max = data[i]; in getMax() 139 return max; in getMax()
|
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/ |
D | ScheduledScenarioRunner.java | 19 import static java.lang.Math.max; 88 mTotalTimeoutMs = max(timeout, 0); in ScheduledScenarioRunner() 91 mEnforcedTimeoutMs = max(mTotalTimeoutMs - mTeardownLeewayMs, 0); in ScheduledScenarioRunner() 132 max( in withAfters() 156 return max(mTotalTimeoutMs - (System.currentTimeMillis() - mStartTimeMs), 0); in getTimeRemainingForScenario() 162 return max(mEnforcedTimeoutMs - (System.currentTimeMillis() - mStartTimeMs), 0); in getTimeRemainingForTimeoutRule()
|
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/monitor/ |
D | WindowAnimationFrameStatsMonitor.kt | 23 import kotlin.math.max 62 longestFrameNano = max(longestFrameNano, frameDurationNano) in analyze()
|
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/service/processors/ |
D | FSMState.kt | 24 import kotlin.math.max 62 timestamp: Long = max(state.wmState.timestamp, state.layerState.timestamp) in addEndTransitionTag()
|
/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/collectors-helper/lyric/src/com/android/helpers/ |
D | LyricMemProfilerHelper.java | 149 mMaxNativeHeap = Math.max(mMaxNativeHeap, memInfo.mNativeHeap); in startCollecting() 150 mMaxTotalPss = Math.max(mMaxTotalPss, memInfo.mTotalPss); in startCollecting() 151 mMaxDmabuf = Math.max(mMaxDmabuf, dmabuf); in startCollecting()
|
/platform_testing/libraries/system-helpers/device-helper/src/android/system/helpers/ |
D | DeviceHelper.java | 68 int screenHeight = Math.max( in isTablet()
|
/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 | 150 result = Double.max(result, Double.parseDouble(token)); in reduceMetrics()
|
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/ |
D | ScheduledRunCollectionListenerTest.java | 150 int expectedMax = Arrays.stream(TEST_METRIC_VALUES).max(Integer::compare).get(); in testInstrumentationResult()
|
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/parser/windowmanager/ |
D | WindowManagerTraceParser.kt | 63 import kotlin.math.max in <lambda>()
|