Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/servicestests/src/com/android/server/autofill/
DRequestIdTest.java115 assertThat(id).isAtMost(RequestId.MAX_PRIMARY_REQUEST_ID); in testRequestIdLists()
121 assertThat(id).isAtMost(RequestId.MAX_PRIMARY_REQUEST_ID); in testRequestIdLists()
127 assertThat(id).isAtMost(RequestId.MAX_SECONDARY_REQUEST_ID); in testRequestIdLists()
133 assertThat(id).isAtMost(RequestId.MAX_SECONDARY_REQUEST_ID); in testRequestIdLists()
143 assertThat(requestId.getRequestId()).isAtMost(RequestId.MAX_START_ID); in testCreateNewRequestId()
156 assertThat(y).isAtMost(RequestId.MAX_PRIMARY_REQUEST_ID); in testGetNextRequestId()
165 assertThat(y).isAtMost(RequestId.MAX_SECONDARY_REQUEST_ID); in testGetNextRequestId()
173 assertThat(y).isAtMost(RequestId.MAX_REQUEST_ID); in testGetNextRequestId()
/frameworks/base/core/tests/coretests/src/com/android/internal/jank/
DCujTest.java80 .isAtMost(Cuj.MAX_LENGTH_OF_CUJ_NAME); in testCujNameLimit()
97 .isAtMost(Cuj.LAST_CUJ); in testCujTypeEnumCorrectlyDefined()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DWorkCountTrackerTest.java133 assertThat(numTypesCdf.length).isAtMost(NUM_WORK_TYPES); in maybeEnqueueJobs()
270 .that(numRunning).isAtMost(totalMax); in checkRandom()
273 assertThat(totalRunning).isAtMost(totalMax); in checkRandom()
279 .that(jobs.running.get(workType)).isAtMost(maxLimit); in checkRandom()
946 assertThat(jobs.running.get(WORK_TYPE_BG)).isAtMost(4); in testJobLifecycleLoop_Multitype()
950 assertThat(jobs.pending.get(WORK_TYPE_BG)).isAtMost(6); in testJobLifecycleLoop_Multitype()
965 assertThat(jobs.running.get(WORK_TYPE_BG)).isAtMost(4); in testJobLifecycleLoop_Multitype()
969 assertThat(jobs.pending.get(WORK_TYPE_BG)).isAtMost(5); in testJobLifecycleLoop_Multitype()
1014 assertThat(jobs.pending.get(WORK_TYPE_TOP)).isAtMost(5); in testJobLifecycleLoop_Multitype_RandomOrder()
1018 assertThat(jobs.pending.get(WORK_TYPE_BG)).isAtMost(9); in testJobLifecycleLoop_Multitype_RandomOrder()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/powerstats/
DIntervalRandomNoiseGeneratorTest.java77 assertThat(sample).isAtMost(highBound); in buildHistogram()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/progress/
DTestUnfoldProgressListener.kt93 assertThat(progress).isAtMost(1.0f) in addProgress()
/frameworks/libs/modules-utils/java/com/android/modules/utils/build/
DUnboundedSdkLevel.java47 public static boolean isAtMost(@NonNull String version) { in isAtMost() method in UnboundedSdkLevel
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DRateEstimatorTest.java122 assertThat(rate).isAtMost(1000f); in testEstimateShouldNotOvershoot()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wallpapers/
DWallpaperLocalColorExtractorTest.java207 .isAtMost(WallpaperLocalColorExtractor.MINI_BITMAP_MAX_AREA); in testMiniBitmapCreation()
228 .isAtMost(WallpaperLocalColorExtractor.MINI_BITMAP_MAX_AREA); in testSmallMiniBitmapCreation()
DImageWallpaperTest.java175 assertThat(n).isAtMost(10); in testLoadDrawAndUnloadBitmap()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DPowerStatsStoreTest.java84 .isAtMost(MAX_BATTERY_STATS_SNAPSHOT_STORAGE_BYTES); in garbageCollectOldSpans()
DBatteryUsageStatsProviderTest.java337 assertThat(parcel.dataSize()).isAtMost(128_000); in testWriteAndReadHistoryTags()
DMobileRadioPowerCalculatorTest.java547 assertThat(uid.getMobileRadioEnergyConsumptionUC()).isAtMost(0); in testTimerBasedModel_byProcessState()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DSystemAudioInitiationActionFromAvrTest.java271 .isAtMost(SystemAudioInitiationActionFromAvr.MAX_RETRY_COUNT); in testRetry()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/
DDisplayModeDirectorTest.java792 assertThat(desiredSpecs.appRequest.physical.min).isAtMost(60f); in testAppRequestRefreshRateRange()
802 assertThat(desiredSpecs.appRequest.physical.min).isAtMost(60f); in testAppRequestRefreshRateRange()
815 assertThat(desiredSpecs.appRequest.physical.min).isAtMost(60f); in testAppRequestRefreshRateRange()
842 assertThat(desiredSpecs.appRequest.physical.min).isAtMost(0);
926 assertThat(desiredSpecs.primary.physical.min).isAtMost(50);
928 assertThat(desiredSpecs.primary.render.min).isAtMost(50);
2184 assertThat(desiredSpecs.appRequest.physical.min).isAtMost(60f);
2193 assertThat(desiredSpecs.appRequest.physical.min).isAtMost(60f);
2232 assertThat(desiredSpecs.primary.render.max).isAtMost(60); in testAppRequestMaxRefreshRate()
2233 assertThat(desiredSpecs.appRequest.physical.min).isAtMost(60f); in testAppRequestMaxRefreshRate()
[all …]
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/
DProgramInfoCacheTest.java506 .that(chunkModified.size()).isAtMost(maxModifiedPerChunk); in verifyChunkListModified()
526 .that(chunkRemoved.size()).isAtMost(maxRemovedPerChunk); in verifyChunkListRemoved()
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
DIconTest.java506 assertThat(drawable.getBitmap().getByteCount()).isAtMost(RecordingCanvas.MAX_BITMAP_SIZE); in testScaleDownMaxSizeWithResource()
521 assertThat(drawable.getBitmap().getByteCount()).isAtMost(RecordingCanvas.MAX_BITMAP_SIZE); in testScaleDownMaxSizeWithFile()
536 assertThat(drawable.getBitmap().getByteCount()).isAtMost(RecordingCanvas.MAX_BITMAP_SIZE); in testScaleDownMaxSizeWithData()
/frameworks/base/core/java/android/content/pm/parsing/
DFrameworkParsingPackageUtils.java372 if (allowUnknownCodenames && UnboundedSdkLevel.isAtMost(targetCode)) { in computeTargetSdkVersion()
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DContrastColorUtilTest.java205 assertThat(calculateContrast(foreground, background)).isAtMost(maxContrast); in assertContrastIsAtMost()
/frameworks/base/core/tests/coretests/src/android/content/res/
DFontScaleConverterFactoryTest.kt221 assertThat(it).isAtMost(1000f) in <lambda>()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DBroadcastQueueModernImplTest.java442 assertThat(queue.getRunnableAt()).isAtMost(airplaneRecord.enqueueClockTime); in testRunnableAt_Foreground()
448 assertThat(queue.getRunnableAt()).isAtMost(airplaneRecord.enqueueClockTime); in testRunnableAt_Foreground()
500 assertThat(queue.getRunnableAt()).isAtMost(airplaneRecord.enqueueTime); in testRunnableAt_Huge()
642 assertThat(queue.getRunnableAt()).isAtMost(testRecord.enqueueTime); in doRunnableAt_Cached()
/frameworks/base/tests/UpdatableSystemFontTest/src/com/android/updatablesystemfont/
DUpdatableSystemFontTest.java337 .isAtMost(originalOpenFontCount); in fdLeakTest()
/frameworks/base/services/core/java/com/android/server/pm/
DApexManager.java494 if (maxSdkVersion != null && !UnboundedSdkLevel.isAtMost(maxSdkVersion)) { in notifyScanResultLocked()
/frameworks/base/tests/Internal/src/com/android/internal/protolog/
DPerfettoProtoLogImplTest.java442 .isAtMost(after); in log_protoEnabled()
/frameworks/base/services/core/java/com/android/server/
DSystemConfig.java135 return UnboundedSdkLevel.isAtMost(version); in isAtMostSdkLevel()
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationTest.java1821 assertThat(c.getRippleAlpha()).isAtMost(0xff); in assertValid()

12