/frameworks/base/services/tests/servicestests/src/com/android/server/autofill/ |
D | RequestIdTest.java | 115 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/ |
D | CujTest.java | 80 .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/ |
D | WorkCountTrackerTest.java | 133 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/ |
D | IntervalRandomNoiseGeneratorTest.java | 77 assertThat(sample).isAtMost(highBound); in buildHistogram()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/progress/ |
D | TestUnfoldProgressListener.kt | 93 assertThat(progress).isAtMost(1.0f) in addProgress()
|
/frameworks/libs/modules-utils/java/com/android/modules/utils/build/ |
D | UnboundedSdkLevel.java | 47 public static boolean isAtMost(@NonNull String version) { in isAtMost() method in UnboundedSdkLevel
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | RateEstimatorTest.java | 122 assertThat(rate).isAtMost(1000f); in testEstimateShouldNotOvershoot()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wallpapers/ |
D | WallpaperLocalColorExtractorTest.java | 207 .isAtMost(WallpaperLocalColorExtractor.MINI_BITMAP_MAX_AREA); in testMiniBitmapCreation() 228 .isAtMost(WallpaperLocalColorExtractor.MINI_BITMAP_MAX_AREA); in testSmallMiniBitmapCreation()
|
D | ImageWallpaperTest.java | 175 assertThat(n).isAtMost(10); in testLoadDrawAndUnloadBitmap()
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | PowerStatsStoreTest.java | 84 .isAtMost(MAX_BATTERY_STATS_SNAPSHOT_STORAGE_BYTES); in garbageCollectOldSpans()
|
D | BatteryUsageStatsProviderTest.java | 337 assertThat(parcel.dataSize()).isAtMost(128_000); in testWriteAndReadHistoryTags()
|
D | MobileRadioPowerCalculatorTest.java | 547 assertThat(uid.getMobileRadioEnergyConsumptionUC()).isAtMost(0); in testTimerBasedModel_byProcessState()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | SystemAudioInitiationActionFromAvrTest.java | 271 .isAtMost(SystemAudioInitiationActionFromAvr.MAX_RETRY_COUNT); in testRetry()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/ |
D | DisplayModeDirectorTest.java | 792 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/ |
D | ProgramInfoCacheTest.java | 506 .that(chunkModified.size()).isAtMost(maxModifiedPerChunk); in verifyChunkListModified() 526 .that(chunkRemoved.size()).isAtMost(maxRemovedPerChunk); in verifyChunkListRemoved()
|
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
D | IconTest.java | 506 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/ |
D | FrameworkParsingPackageUtils.java | 372 if (allowUnknownCodenames && UnboundedSdkLevel.isAtMost(targetCode)) { in computeTargetSdkVersion()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | ContrastColorUtilTest.java | 205 assertThat(calculateContrast(foreground, background)).isAtMost(maxContrast); in assertContrastIsAtMost()
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | FontScaleConverterFactoryTest.kt | 221 assertThat(it).isAtMost(1000f) in <lambda>()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | BroadcastQueueModernImplTest.java | 442 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/ |
D | UpdatableSystemFontTest.java | 337 .isAtMost(originalOpenFontCount); in fdLeakTest()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ApexManager.java | 494 if (maxSdkVersion != null && !UnboundedSdkLevel.isAtMost(maxSdkVersion)) { in notifyScanResultLocked()
|
/frameworks/base/tests/Internal/src/com/android/internal/protolog/ |
D | PerfettoProtoLogImplTest.java | 442 .isAtMost(after); in log_protoEnabled()
|
/frameworks/base/services/core/java/com/android/server/ |
D | SystemConfig.java | 135 return UnboundedSdkLevel.isAtMost(version); in isAtMostSdkLevel()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | NotificationTest.java | 1821 assertThat(c.getRippleAlpha()).isAtMost(0xff); in assertValid()
|