/frameworks/av/media/codec2/sfplugin/utils/ |
D | Codec2CommonUtils.cpp | 35 static bool isAtLeast(int version, const std::string codeName) { in isAtLeast() function 47 return isAtLeast(__ANDROID_API_T__, "Tiramisu"); in isAtLeastT() 51 return isAtLeast(__ANDROID_API_U__, "UpsideDownCake"); in isAtLeastU() 55 return isAtLeast(__ANDROID_API_V__, "VanillaIceCream"); in isAtLeastV()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/autofill/ |
D | RequestIdTest.java | 114 assertThat(id).isAtLeast(RequestId.MIN_PRIMARY_REQUEST_ID); in testRequestIdLists() 120 assertThat(id).isAtLeast(RequestId.MIN_PRIMARY_REQUEST_ID); in testRequestIdLists() 126 assertThat(id).isAtLeast(RequestId.MIN_SECONDARY_REQUEST_ID); in testRequestIdLists() 132 assertThat(id).isAtLeast(RequestId.MIN_SECONDARY_REQUEST_ID); in testRequestIdLists() 142 assertThat(requestId.getRequestId()).isAtLeast(RequestId.MIN_REQUEST_ID); in testCreateNewRequestId() 155 assertThat(y).isAtLeast(RequestId.MIN_PRIMARY_REQUEST_ID); in testGetNextRequestId() 164 assertThat(y).isAtLeast(RequestId.MIN_SECONDARY_REQUEST_ID); in testGetNextRequestId() 172 assertThat(y).isAtLeast(RequestId.MIN_REQUEST_ID); in testGetNextRequestId()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | PolicyVersionUpgraderTest.java | 170 assertThat(readVersionFromXml()).isAtLeast(1); in testUpgrade0To1RemovesPasswordMetrics() 190 assertThat(readVersionFromXml()).isAtLeast(2); in testUpgrade1To2MarksDoForPermissionControl() 247 assertThat(readVersionFromXml()).isAtLeast(3); in testUserControlDisabledPackagesFromR() 273 assertThat(readVersionFromXml()).isAtLeast(3); in testUserControlDisabledPackagesFromS() 294 assertThat(readVersionFromXml()).isAtLeast(4); in testAdminPackageSuspensionSaved() 325 assertThat(readVersionFromXml()).isAtLeast(5); in testEffectiveKeepProfilesRunningSetToFalse4To5() 344 assertThat(readVersionFromXml()).isAtLeast(6); in testEffectiveKeepProfilesRunningIsToFalse4To6() 367 assertThat(readVersionFromXml()).isAtLeast(6); in testEffectiveKeepProfilesRunningIsToFalse3To6() 387 assertThat(readVersionFromXml()).isAtLeast(6); in testEffectiveKeepProfilesRunningMissingInV5() 405 assertThat(readVersionFromXml()).isAtLeast(6); in testEffectiveKeepProfilesRunningTrueInV5() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | WorkCountTrackerTest.java | 134 assertThat(numTypesCdf.length).isAtLeast(1); in maybeEnqueueJobs() 274 assertThat(totalRunning).isAtLeast(Math.min(minExpected, numPending)); in checkRandom() 945 assertThat(jobs.running.get(WORK_TYPE_BG)).isAtLeast(3); in testJobLifecycleLoop_Multitype() 949 assertThat(jobs.pending.get(WORK_TYPE_BG)).isAtLeast(5); in testJobLifecycleLoop_Multitype() 964 assertThat(jobs.running.get(WORK_TYPE_BG)).isAtLeast(3); in testJobLifecycleLoop_Multitype() 968 assertThat(jobs.pending.get(WORK_TYPE_BG)).isAtLeast(4); in testJobLifecycleLoop_Multitype() 1012 assertThat(jobs.pending.get(WORK_TYPE_TOP)).isAtLeast(4); in testJobLifecycleLoop_Multitype_RandomOrder() 1016 assertThat(jobs.pending.get(WORK_TYPE_EJ)).isAtLeast(2); in testJobLifecycleLoop_Multitype_RandomOrder() 1017 assertThat(jobs.pending.get(WORK_TYPE_BG)).isAtLeast(8); in testJobLifecycleLoop_Multitype_RandomOrder() 1030 assertThat(jobs.running.get(WORK_TYPE_TOP)).isAtLeast(1); in testJobLifecycleLoop_Multitype_RandomOrder() [all …]
|
/frameworks/base/core/tests/privacytests/src/android/privacy/ |
D | LongitudinalReportingEncoderTest.java | 152 assertThat((double) trueSum).isAtLeast(expectedTrueSum - valueRange); in testLongitudinalReportingInsecureEncoder_setSeedCorrectly() 319 assertThat((double) trueSum1).isAtLeast(expectedTrueSum1 - valueRange1); in testLongitudinalReportingEncoder_basicPRRTest() 343 assertThat((double) trueSum2).isAtLeast(expectedTrueSum2 - valueRange2); in testLongitudinalReportingEncoder_basicPRRTest()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | CachedDeviceStateServiceTest.java | 162 assertThat(stopwatch.getMillis()).isAtLeast(100L); in correctlyTracksTimeOnBattery() 169 assertThat(stopwatch.getMillis()).isAtLeast(timeOnBatteryBeforePluggedIn); in correctlyTracksTimeOnBattery()
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | CpuPowerStatsCollectorValidationTest.java | 120 assertThat(duration).isAtLeast(WORK_DURATION_MS); in totalTimeInPowerBrackets() 123 assertThat(total).isAtLeast((long) (WORK_DURATION_MS * 0.8)); in totalTimeInPowerBrackets()
|
D | PowerStatsStoreTest.java | 90 assertThat(metadata.getId()).isAtLeast(minPreservedSpanId); in garbageCollectOldSpans()
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/wakeups/ |
D | WakingActivityHistoryTest.java | 81 assertThat(recordedHistory.indexOfKey(timestamp)).isAtLeast(0); in recordActivityAppendsUids() 98 assertThat(recordedUids.indexOfKey(1)).isAtLeast(0); in recordActivityAppendsUids() 127 assertThat(recordedHistory.indexOfKey(timestamp)).isAtLeast(0); in recordActivityDoesNotDeleteExistingUids()
|
/frameworks/base/core/tests/coretests/src/android/view/contentcapture/ |
D | ContentCaptureEventTest.java | 177 assertThat(event.getEventTime()).isAtLeast(MY_EPOCH); in assertSessionStartedEvent() 209 assertThat(event.getEventTime()).isAtLeast(MY_EPOCH); in assertSessionFinishedEvent() 303 assertThat(event.getEventTime()).isAtLeast(MY_EPOCH); in assertContextUpdatedEvent()
|
/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/settingsprovider/ |
D | SettingsGlobalChangeFlowTest.kt | 61 assertThat(listDeferred.await().size).isAtLeast(2) in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/pm/parsing/library/ |
D | ApexSharedLibraryUpdater.java | 60 && UnboundedSdkLevel.isAtLeast(entry.onBootclasspathBefore)) { in updateSharedLibraryForPackage()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | ActivityManagerUtilsTest.java | 32 assertThat(ActivityManagerUtils.getAndroidIdHash()).isAtLeast(0); in getAndroidIdHash()
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/powerstats/ |
D | IntervalRandomNoiseGeneratorTest.java | 76 assertThat(sample).isAtLeast(lowBound); in buildHistogram()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | ClockTest.kt | 65 assertThat(width2).isAtLeast(width1) in testWidthDoesNotDecrease_sameCharLength()
|
/frameworks/base/packages/CredentialManager/horologist/src/com/google/android/horologist/compose/navscaffold/ |
D | WearNavScaffold.kt | 306 remember { mutableStateOf(lifecycle.currentState.isAtLeast(Lifecycle.State.RESUMED)) } in <lambda>() 310 focused.value = lifecycle.currentState.isAtLeast(Lifecycle.State.RESUMED) in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/progress/ |
D | TestUnfoldProgressListener.kt | 94 assertThat(progress).isAtLeast(0.0f) in addProgress()
|
/frameworks/libs/modules-utils/java/com/android/modules/utils/build/ |
D | UnboundedSdkLevel.java | 40 public static boolean isAtLeast(@NonNull String version) { in isAtLeast() method in UnboundedSdkLevel
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | FontScaleConverterFactoryTest.kt | 220 assertThat(it).isAtLeast(-1000f) in <lambda>() 249 assertThat(it).isAtLeast(-1000f) in <lambda>()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/ |
D | DisplayModeDirectorTest.java | 793 assertThat(desiredSpecs.appRequest.physical.max).isAtLeast(90f); in testAppRequestRefreshRateRange() 801 assertThat(desiredSpecs.primary.physical.max).isAtLeast(90f); in testAppRequestRefreshRateRange() 803 assertThat(desiredSpecs.appRequest.physical.max).isAtLeast(90f); in testAppRequestRefreshRateRange() 816 assertThat(desiredSpecs.appRequest.physical.max).isAtLeast(90f); in testAppRequestRefreshRateRange() 841 assertThat(desiredSpecs.primary.physical.max).isAtLeast(expectedPhysicalRefreshRate); 843 assertThat(desiredSpecs.appRequest.physical.max).isAtLeast(expectedAppRequestedRefreshRate); 927 assertThat(desiredSpecs.primary.physical.max).isAtLeast(90); 929 assertThat(desiredSpecs.primary.render.max).isAtLeast(90); 2185 assertThat(desiredSpecs.appRequest.physical.max).isAtLeast(90f); 2192 assertThat(desiredSpecs.primary.physical.max).isAtLeast(90f); [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/ |
D | QSTileImplTest.java | 382 assertTrue(mTile.getLifecycle().getCurrentState().isAtLeast(RESUMED)); in testListeningTrue_stateAtLeastResumed() 387 assertFalse(mTile.getLifecycle().getCurrentState().isAtLeast(RESUMED)); in testTileDoesntStartResumed() 398 assertFalse(mTile.getLifecycle().getCurrentState().isAtLeast(RESUMED)); in testListeningFalse_stateAtMostCreated()
|
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger/ |
D | DeviceStateHandlerTest.java | 167 assertThat(afterTime - beforeTime).isAtLeast(DeviceStateHandler.CALL_INACTIVE_MSG_DELAY_MS); in onPhoneCall_receiveStateChangeIsDelayed()
|
/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/ |
D | SystemStubMultiUserDisableUninstallTest.kt | 586 .also { assertThat(it.size).isAtLeast(USER_COUNT) } in <lambda>() 596 .also { assertThat(it.size).isAtLeast(USER_COUNT) } in <lambda>()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/ |
D | AppOpsServiceTest.java | 485 .that(opEntry.getLastAccessTime(OP_FLAGS_ALL)).isAtLeast(minMillis); in assertContainsOp() 489 opEntry.getLastRejectTime(OP_FLAGS_ALL)).isAtLeast(minRejectMillis); in assertContainsOp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wallpapers/ |
D | ImageWallpaperTest.java | 170 assertThat(mFakeExecutor.numPending()).isAtLeast(1); in testLoadDrawAndUnloadBitmap()
|