Home
last modified time | relevance | path

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

12

/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DDevSdkIgnoreRule.kt38 return (minExclusive == null || !isAtMost(minExclusive)) && in <lambda>()
39 (maxInclusive == null || isAtMost(maxInclusive)) in <lambda>()
42 private fun isAtMost(sdkVersionOrCodename: String): Boolean { in isAtMost() method
53 return UnboundedSdkLevel.isAtMost(sdkVersionOrCodename) in isAtMost()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarHvacManagerTest.java137 assertThat(min).isAtMost(max); in checkIntMinMax()
142 assertThat(min).isAtMost(max); in checkIntMinMax()
164 assertThat(min).isAtMost(max); in checkFloatMinMax()
169 assertThat(min).isAtMost(max); in checkFloatMinMax()
DCarCabinManagerTest.java141 assertThat(min).isAtMost(max); in checkIntMinMax()
146 assertThat(min).isAtMost(max); in checkIntMinMax()
DCarTest.java155 assertThat(carVersion.getMajorVersion()).isAtMost(Build.VERSION_CODES.CUR_DEVELOPMENT); in testApiVersion_car()
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DRecentChannelEvaluatorTest.java109 assertThat(previousScore).isAtMost(score); in testMultiChannelsWithSimpleWatchLogs()
133 assertThat(previousScore).isAtMost(mEvaluator.evaluateChannel(channelId)); in testScoreIncreasesWithNewWatchLog()
159 assertThat(mEvaluator.evaluateChannel(channelId)).isAtMost(scores.get(channelId)); in testScoreDecreasesWithIncrementOfWatchedLogUpdatedTime()
DFavoriteChannelEvaluatorTest.java109 assertThat(previousScore).isAtMost(score); in testMultiChannelsWithSimpleWatchLogs()
175 assertThat(previousScore).isAtMost(mEvaluator.evaluateChannel(channelId)); in testScoreIncreasesWithNewWatchLog()
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DHeadsUpEntryTest.java83 assertThat(currentTme).isAtMost(mHeadsUpEntry.getPostTime()); in headsUpEntry_shouldInitializePostTime()
91 assertThat(currentPostTime).isAtMost(mHeadsUpEntry.getPostTime()); in updatePostTime_shouldUpdatePostTime()
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DCountryCodeUtilsTest.java45 assertThat(dialingCode.length()).isAtMost( in testCountryToRegionalCode_dialingCode_hasMaximum_threeDigits()
DContactsIndexerImplTest.java551 assertThat(mAppSearchHelper.mIndexedContacts.size()).isAtMost( in testContactsIndexerImpl_batchUpdateContactsNullCursor_shouldNotContinueOnError()
639 assertThat(mAppSearchHelper.mIndexedContacts.size()).isAtMost( in testContactsIndexerImpl_batchUpdateContactsThrows_shouldNotContinueOnError()
/packages/modules/StatsD/tests/src/android/cts/statsd/metadata/
DMetadataTests.java98 ).that(Math.abs(stats.getDeletionTimeSec() - expectedTime)).isAtMost(2); in testConfigTtl()
112 ).that(Math.abs(stats.getCreationTimeSec() - expectedTime)).isAtMost(2); in testConfigTtl()
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DStopWatchTest.java62 assertThat(stopWatch.getElapsedMillis()).isAtMost(maxMillis); in testDuration()
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/provider/
DDvrDbSyncTest.java323 assertThat(startTimeDelta).isAtMost(range); in assertUpdateScheduleCalledWithinRange()
324 assertThat(startOffsetDelta).isAtMost(range); in assertUpdateScheduleCalledWithinRange()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DAccessibilityQuickSettingsTooltipWindowTest.java74 assertThat(mTooltipView.getWidth()).isAtMost(getMaxWidth); in initTooltipView_atMostAvailableTextWidth()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/
DBluetoothMapServiceTest.java112 assertThat(masId).isAtMost(0xff); in getNextMasId_isInRange()
/packages/modules/AdServices/sdksandbox/tests/cts/inprocess/src/com/android/sdksandbox/tests/cts/inprocess/
DSdkSandboxConfigurationTest.java263 assertThat(currentVolume).isAtMost(maxVolume); in testCanAccessVolume()
/packages/modules/SdkExtensions/javatests/com/android/os/ext/
DSdkExtensionsTest.java87 assertThat(version).isAtMost(CURRENT_TRAIN_VERSION); in assertAtLeastBaseVersion()
/packages/apps/TV/tests/robotests/src/com/android/tv/data/
DProgramDataManagerTest.java123 assertThat(startTimeMs).isAtMost(mClock.currentTimeMillis()); in testProgramUtils()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/
DUtilsTest.java276 assertThat(result.getBytes(StandardCharsets.UTF_8).length).isAtMost(n); in truncateUtf8_longCase_isExpectedResult()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/media/
DCarAudioManagerTest.java131 assertThat(volume).isAtMost(maxVolume); in test_getGroupVolume()
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/
DBorderRoutingTest.java268 assertThat(address.getDeprecationTime()).isAtMost(SystemClock.elapsedRealtime()); in unicastRouting_meshLocalAddressesAreNotPreferred()
/packages/modules/StatsD/tests/src/android/cts/statsd/metric/
DCountMetricsTests.java362 assertThat(data2.getBucketInfoCount()).isAtMost(2); in testPartialBucketCountMetric()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DFileUtilsTest.java1194 assertThat(result.length()).isAtMost(MAX_FILENAME_BYTES); in testComputeDataFromValues_withAction_trimFileName()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DMediaProviderTest.java503 assertThat(result.length()).isAtMost(FileUtilsTest.MAX_FILENAME_BYTES); in testActionLongFileNameItemHasTrimmedFileName()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_scan/
DScanManagerTest.java1522 assertThat(capturedDuration).isAtMost(weightedScanDuration + DELAY_ASYNC_MS * 2); in testMetricsScanRadioWeightedDuration()
/packages/apps/TV/libs/
Dtruth-0.45.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...

12