/cts/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/ |
D | ApiLevelUtilTest.java | 51 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/ |
D | DialogLauncherActivity.java | 70 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/ |
D | ApiLevelUtil.java | 67 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/ |
D | FontScaleConverterTest.kt | 51 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/ |
D | UserfaultfdTest.java | 45 && ApiLevelUtil.isAtMost(VERSION_CODES.S_V2)); in setUp()
|
/cts/tests/tests/appop/src/android/app/appops/cts/ |
D | AppOpsDeviceAwareTest.kt | 174 assertThat(lastAccessTime).isAtMost(endTimeMillis) in getPackagesForOps_isDeviceAware() 211 assertThat(permGroupUsage.lastAccessTimeMillis).isAtMost(endTimeMillis) in getPermissionGroupUsageForPrivacyIndicator_isDeviceAware()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | SupportMessageTest.java | 235 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/ |
D | SystemClockTest.java | 104 assertThat(SystemClock.uptimeMillis()).isAtMost(SystemClock.elapsedRealtime()); in testElapsedVsUptime()
|
/cts/tests/tests/graphics/src/android/graphics/fonts/ |
D | FontManagerTest.java | 112 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/ |
D | MediaParserHostSideTest.java | 178 assertThat(reportedByteCount).isAtMost(maximumExpectedResourceByteCount); in testResourceByteCount() 190 assertThat(reportedDurationMillis).isAtMost(maximumExpectedResourceByteCount); in testDurationMillis()
|
/cts/tests/tests/virtualdevice/applaunch/src/android/virtualdevice/cts/applaunch/ |
D | VirtualDeviceDrmTest.java | 105 assertThat(mDrmActivity.getSecurityLevel(scheme, level)).isAtMost( in activityOnVirtualDevice_openSession_verifyDowngradedSecurityLevel()
|
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/ |
D | UiAutomationShellTest.java | 77 assertThat(fds.length).isAtMost(3); in validateShellResults()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarOccupantZoneManagerTest.java | 202 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/ |
D | NeuralNetworksStatsTests.java | 115 assertThat(atom.getCompilationTimeMinMillis()).isAtMost(atom.getCompilationTimeMaxMillis()); in testAppNeuralNetworksCompilationCompletedNative() 218 assertThat(atom.getDurationRuntimeMinMicros()).isAtMost(atom.getDurationRuntimeMaxMicros()); in testAppNeuralNetworksExecutionCompletedNative()
|
/cts/tests/vibrator/src/android/os/cts/ |
D | VibratorTest.java | 359 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/ |
D | NetworkLoggingTest.java | 245 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/ |
D | ScanResultTest.java | 258 assertThat(id).isAtMost(255); in testInformationElementFields() 263 assertThat(idExt).isAtMost(255); in testInformationElementFields()
|
D | ConnectedNetworkScorerTest.java | 489 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/ |
D | SidecarTest.java | 145 assertThat(featureType).isAtMost(SidecarDisplayFeature.TYPE_HINGE); in testSidecarInterface_getWindowLayoutInfo()
|
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/ |
D | NativeMediaDrmClearkeyTest.java | 115 if (ApiLevelUtil.isAtMost(android.os.Build.VERSION_CODES.KITKAT)) { in deviceHasMediaDrm()
|
/cts/tests/tests/batteryhealth/src/android/os/cts/batteryhealth/ |
D | BatteryHealthTest.java | 171 assertThat(partStatus).isAtMost(BatteryManager.PART_STATUS_REPLACED); in testBatteryPartStatus_dataInRange()
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | AudioRecordTest.java | 1396 .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/ |
D | ActivityManagerShortFgsTest.java | 335 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/ |
D | VirtualCameraUtils.java | 269 + "Images have been saved to disk.").that(actual).isAtMost(maxDiff); in assertImagesSimilar()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/ |
D | WindowUntrustedTouchTest.java | 597 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()
|