Home
last modified time | relevance | path

Searched refs:isAtMost (Results 1 – 22 of 22) sorted by relevance

/cts/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/
DApiLevelUtilTest.java51 assertFalse(ApiLevelUtil.isAtMost(version - 1)); in testComparisonByInt()
52 assertTrue(ApiLevelUtil.isAtMost(version)); in testComparisonByInt()
53 assertTrue(ApiLevelUtil.isAtMost(version + 1)); in testComparisonByInt()
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DDialogLauncherActivity.java70 assertThat(location[0]).isAtMost(rect.left); in assertInDialogBounds()
71 assertThat(rect.right).isAtMost(location[0] + view.getWidth()); in assertInDialogBounds()
72 assertThat(location[1]).isAtMost(rect.top); in assertInDialogBounds()
73 assertThat(rect.bottom).isAtMost(location[1] + view.getHeight()); in assertInDialogBounds()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DApiLevelUtil.java52 public static boolean isAtMost(int version) { in isAtMost() method in ApiLevelUtil
56 public static boolean isAtMost(String version) { in isAtMost() method in ApiLevelUtil
/cts/tests/tests/os/UffdGc/src/android/os/cts/uffdgc/
DUserfaultfdTest.java42 && ApiLevelUtil.isAtMost(VERSION_CODES.S)); in setUp()
/cts/tests/tests/graphics/src/android/graphics/fonts/
DFontManagerTest.java104 assertThat(family.getVariant()).isAtMost(2); in fontManager_getFontConfig_checkFamilies()
135 assertThat(alias.getWeight()).isAtMost(1000); in fontManager_getFontConfig_checkAlias()
/cts/hostsidetests/mediaparser/src/android/media/mediaparser/cts/
DMediaParserHostSideTest.java181 assertThat(reportedByteCount).isAtMost(maximumExpectedResourceByteCount); in testResourceByteCount()
193 assertThat(reportedDurationMillis).isAtMost(maximumExpectedResourceByteCount); in testDurationMillis()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DScanResultTest.java221 assertThat(id).isAtMost(255); in testInformationElementFields()
226 assertThat(idExt).isAtMost(255); in testInformationElementFields()
DConnectedNetworkScorerTest.java357 assertThat(statsEntry.getCellularSignalStrengthDbm()).isAtMost(0); in testWifiUsabilityStatsEntry()
358 assertThat(statsEntry.getCellularSignalStrengthDb()).isAtMost(0); in testWifiUsabilityStatsEntry()
DWifiManagerTest.java728 assertWithMessage("For RSSI=%s", rssi).that(signalLevel).isAtMost(maxSignalLevel); in testCalculateSignalLevel()
/cts/hostsidetests/incident/src/com/android/server/cts/
DGraphicsStatsValidationTest.java118 assertThat(veryJankyDelta).isAtMost(2); in testJankyDrawFrame()
120 assertThat(GPUJank).isAtMost(2); in testJankyDrawFrame()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/telephony/
DTelephonyStatsTests.java123 assertThat(atom.getSimCount()).isAtMost(getActiveSimCountUpperBound()); in testSimSlotState()
124 assertThat(atom.getEsimCount()).isAtMost(getActiveEsimCountUpperBound()); in testSimSlotState()
/cts/tests/tests/media/src/android/media/cts/
DNativeMediaDrmClearkeyTest.java116 if (ApiLevelUtil.isAtMost(android.os.Build.VERSION_CODES.KITKAT)) { in deviceHasMediaDrm()
DMediaDrmClearkeyTest.java138 if (ApiLevelUtil.isAtMost(android.os.Build.VERSION_CODES.KITKAT)) { in deviceHasMediaDrm()
DAudioManagerTest.java1636 if (ApiLevelUtil.isAtMost(Build.VERSION_CODES.R)) { in testGetAudioHwSyncForSession()
/cts/hostsidetests/car/src/android/car/cts/
DCarWatchdogHostTest.java252 .isAtMost(foregroundWrittenBytes + FIFTY_MEGABYTES); in verifyAtomIoOveruseStats()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/
DSidecarTest.java150 assertThat(featureType).isAtMost(SidecarDisplayFeature.TYPE_HINGE); in testSidecarInterface_getWindowLayoutInfo()
/cts/tests/tests/car/src/android/car/cts/
DCarPropertyManagerTest.java300 .isAtMost(VehicleAreaWheel.WHEEL_LEFT_FRONT in testWheelTickIfSupported()
729 (Float) carPropertyValue.getValue()).isAtMost( in testFuelLevelIfSupported()
761 (Float) carPropertyValue.getValue()).isAtMost( in testEvBatteryLevelIfSupported()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowManagerState.java494 .that(result.size()).isAtMost(1); in getTaskDisplayArea()
509 .that(result.size()).isAtMost(1); in getDisplayArea()
1224 .that(result.size()).isAtMost(1); in getTaskDisplayArea()
1249 .that(result.size()).isAtMost(1); in getDisplayArea()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowUntrustedTouchTest.java684 assertThat(duration).isAtMost(MAX_ANIMATION_DURATION_MS + ANIMATION_DURATION_TOLERANCE_MS); in testLongEnterAnimations_areLimited()
700 assertThat(duration).isAtMost(MAX_ANIMATION_DURATION_MS + ANIMATION_DURATION_TOLERANCE_MS); in testLongExitAnimations_areLimited()
/cts/tests/tests/display/src/android/display/cts/
DDisplayTest.java732 .isAtMost((isResolutionSwitch && isRefreshRateSwitch) ? 2 : 1);
741 .isAtMost(isResolutionSwitch ? 2 : 0);
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DNetworkScanApiTest.java475 .isAtMost(1); in testNetworkScanPermission()
/cts/hostsidetests/media/src/android/media/metrics/cts/
DMediaMetricsAtomTests.java546 assertThat(atom.getBufferSize()).isAtMost(atom.getBufferCapacity()); in validateAAudioStreamAtom()