Home
last modified time | relevance | path

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

12

/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.java67 public static boolean isAtMost(int version) { in isAtMost() method in ApiLevelUtil
72 public static boolean isAtMost(String version) { in isAtMost() method in ApiLevelUtil
73 return isAtMost(resolveVersionString(version)); in isAtMost()
/cts/tests/tests/content/src/android/content/res/cts/
DFontScaleConverterTest.kt51 assertThat(table.convertSpToDp(24F)).isAtMost(36F) in scale200IsNonlinearAtLargeSizes()
52 assertThat(table.convertSpToDp(30F)).isAtMost(38F) in scale200IsNonlinearAtLargeSizes()
53 assertThat(table.convertSpToDp(45F)).isAtMost(50F) in scale200IsNonlinearAtLargeSizes()
54 assertThat(table.convertSpToDp(50F)).isAtMost(60F) in scale200IsNonlinearAtLargeSizes()
/cts/tests/tests/os/UffdGc/src/android/os/cts/uffdgc/
DUserfaultfdTest.java45 && ApiLevelUtil.isAtMost(VERSION_CODES.S_V2)); in setUp()
/cts/tests/tests/appop/src/android/app/appops/cts/
DAppOpsDeviceAwareTest.kt174 assertThat(lastAccessTime).isAtMost(endTimeMillis) in getPackagesForOps_isDeviceAware()
211 assertThat(permGroupUsage.lastAccessTimeMillis).isAtMost(endTimeMillis) in getPermissionGroupUsageForPrivacyIndicator_isDeviceAware()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DSupportMessageTest.java235 assertThat(effectiveMessage.length()).isAtMost(MAX_MSG_LEN); in setShortSupportMessage_tooLongText_isTruncated()
246 assertThat(effectiveMessage.length()).isAtMost(MAX_MSG_LEN); in setLongSupportMessage_tooLongText_isTruncated()
/cts/tests/tests/os/src/android/os/cts/
DSystemClockTest.java104 assertThat(SystemClock.uptimeMillis()).isAtMost(SystemClock.elapsedRealtime()); in testElapsedVsUptime()
/cts/tests/tests/graphics/src/android/graphics/fonts/
DFontManagerTest.java112 assertThat(family.getVariant()).isAtMost(2); in fontManager_getFontConfig_checkFamilies()
143 assertThat(alias.getWeight()).isAtMost(1000); in fontManager_getFontConfig_checkAlias()
/cts/hostsidetests/mediaparser/src/android/media/mediaparser/cts/
DMediaParserHostSideTest.java178 assertThat(reportedByteCount).isAtMost(maximumExpectedResourceByteCount); in testResourceByteCount()
190 assertThat(reportedDurationMillis).isAtMost(maximumExpectedResourceByteCount); in testDurationMillis()
/cts/tests/tests/virtualdevice/applaunch/src/android/virtualdevice/cts/applaunch/
DVirtualDeviceDrmTest.java105 assertThat(mDrmActivity.getSecurityLevel(scheme, level)).isAtMost( in activityOnVirtualDevice_openSession_verifyDowngradedSecurityLevel()
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/
DUiAutomationShellTest.java77 assertThat(fds.length).isAtMost(3); in validateShellResults()
/cts/tests/tests/car/src/android/car/cts/
DCarOccupantZoneManagerTest.java202 assertWithMessage("Max one driver zone can exist").that(driverZones.size()).isAtMost(1); in testZoneConfigs()
204 frontPassengerZones.size()).isAtMost(1); in testZoneConfigs()
207 rearPassengerZones.get(seat).size()).isAtMost(1); in testZoneConfigs()
/cts/hostsidetests/neuralnetworks/src/com/android/nn/host/cts/
DNeuralNetworksStatsTests.java115 assertThat(atom.getCompilationTimeMinMillis()).isAtMost(atom.getCompilationTimeMaxMillis()); in testAppNeuralNetworksCompilationCompletedNative()
218 assertThat(atom.getDurationRuntimeMinMicros()).isAtMost(atom.getDurationRuntimeMaxMicros()); in testAppNeuralNetworksExecutionCompletedNative()
/cts/tests/vibrator/src/android/os/cts/
DVibratorTest.java359 assertThat(maxFrequency).isAtMost(MAXIMUM_ACCEPTED_FREQUENCY); in testVibrateWaveformWithFrequencyStartsAndFinishesVibration()
545 assertThat(maxFrequencyHz).isAtMost(MAXIMUM_ACCEPTED_FREQUENCY); in testVibratorFrequencyProfileSupportedFrequencyRange()
551 assertThat(resonantFrequency).isAtMost(maxFrequencyHz); in testVibratorFrequencyProfileSupportedFrequencyRange()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DNetworkLoggingTest.java245 assertThat(ips.size()).isAtMost(MAX_IP_ADDRESSES_LOGGED); in verifyDnsEvent()
286 assertThat(connectEvent.getPort()).isAtMost(65535); in verifyConnectEvent()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DScanResultTest.java258 assertThat(id).isAtMost(255); in testInformationElementFields()
263 assertThat(idExt).isAtMost(255); in testInformationElementFields()
DConnectedNetworkScorerTest.java489 assertThat(statsEntry.getCellularSignalStrengthDbm()).isAtMost(0); in testWifiUsabilityStatsEntry()
490 assertThat(statsEntry.getCellularSignalStrengthDb()).isAtMost(0); in testWifiUsabilityStatsEntry()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/
DSidecarTest.java145 assertThat(featureType).isAtMost(SidecarDisplayFeature.TYPE_HINGE); in testSidecarInterface_getWindowLayoutInfo()
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/
DNativeMediaDrmClearkeyTest.java115 if (ApiLevelUtil.isAtMost(android.os.Build.VERSION_CODES.KITKAT)) { in deviceHasMediaDrm()
/cts/tests/tests/batteryhealth/src/android/os/cts/batteryhealth/
DBatteryHealthTest.java171 assertThat(partStatus).isAtMost(BatteryManager.PART_STATUS_REPLACED); in testBatteryPartStatus_dataInRange()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioRecordTest.java1396 .isAtMost(markerList.size()); in doTest()
1400 .isAtMost(markerPeriodsMax); in doTest()
1405 .isAtMost(periodicList.size()); in doTest()
1409 .isAtMost(updatePeriodsMax); in doTest()
/cts/tests/app/ShortFgsTest/src/android/app/cts/shortfgstest/
DActivityManagerShortFgsTest.java335 assertThat(actual.mProcState).isAtMost(PROCESS_STATE_LAST_ACTIVITY); in assertHelperPackageIsCached()
1006 assertThat(sfi.startTime).isAtMost(postServiceStartTime); in checkServiceTimeoutValues()
/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/
DVirtualCameraUtils.java269 + "Images have been saved to disk.").that(actual).isAtMost(maxDiff); in assertImagesSimilar()
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/
DWindowUntrustedTouchTest.java597 assertThat(duration).isAtMost(MAX_ANIMATION_DURATION_MS + ANIMATION_DURATION_TOLERANCE_MS); in testLongEnterAnimations_areLimited()
620 assertThat(duration).isAtMost(MAX_ANIMATION_DURATION_MS + ANIMATION_DURATION_TOLERANCE_MS); in testLongExitAnimations_areLimited()

12