Home
last modified time | relevance | path

Searched refs:percentage (Results 1 – 3 of 3) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/TestPhase/
DRobustnessTest.java138 float percentage = (failedRotations / totalRotations) * 100; in rotationTest() local
143 if (percentage > MAXIMUM_PERCENT_ROTATION_FAILURE) { in rotationTest()
145 recordRotationTestResults(percentage, failedRotations, totalRotations); in rotationTest()
151 Log.d("rotationResult", "" + percentage); in rotationTest()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DNetworkUsageStatsTest.java660 private void assertWithinPercentage(String msg, long expected, long actual, int percentage) { in assertWithinPercentage() argument
661 long lowerBound = expected * (100 - percentage) / 100; in assertWithinPercentage()
662 long upperBound = expected * (100 + percentage) / 100; in assertWithinPercentage()
663 msg = String.format("%s: %d not within %d%% of %d", msg, actual, percentage, expected); in assertWithinPercentage()
/cts/hostsidetests/sustainedperf/dhrystone/
DRationale281 reason is that the percentage of procedure and function calls is part