Home
last modified time | relevance | path

Searched refs:isAtLeast (Results 1 – 25 of 99) sorted by relevance

1234

/packages/modules/AdServices/shared/tests/side-less/java/com/android/adservices/shared/testing/
DAndroidSdkLevelTest.java80 expect.withMessage("ANY.isAtLeast(DEV)").that(ANY.isAtLeast(DEV)).isFalse(); in testAtLeast()
81 expect.withMessage("ANY.isAtLeast(ANY)").that(ANY.isAtLeast(ANY)).isTrue(); in testAtLeast()
82 expect.withMessage("ANY.isAtLeast(R)").that(ANY.isAtLeast(R)).isFalse(); in testAtLeast()
83 expect.withMessage("ANY.isAtLeast(S)").that(ANY.isAtLeast(S)).isFalse(); in testAtLeast()
84 expect.withMessage("ANY.isAtLeast(S2)").that(ANY.isAtLeast(S2)).isFalse(); in testAtLeast()
85 expect.withMessage("ANY.isAtLeast(T)").that(ANY.isAtLeast(T)).isFalse(); in testAtLeast()
86 expect.withMessage("ANY.isAtLeast(U)").that(ANY.isAtLeast(U)).isFalse(); in testAtLeast()
87 expect.withMessage("ANY.isAtLeast(V)").that(ANY.isAtLeast(V)).isFalse(); in testAtLeast()
89 expect.withMessage("DEV.isAtLeast(DEV)").that(DEV.isAtLeast(DEV)).isTrue(); in testAtLeast()
90 expect.withMessage("DEV.isAtLeast(ANY)").that(DEV.isAtLeast(ANY)).isTrue(); in testAtLeast()
[all …]
/packages/modules/RemoteKeyProvisioning/app/tests/hosttest/src/com/android/rkpdapp/hosttest/
DRkpdStatsTests.java85 assertThat(timing.getBinderWaitMillis()).isAtLeast(0); in testDataBudgetEmptyGenerateKey()
86 assertThat(timing.getLockWaitMillis()).isAtLeast(0); in testDataBudgetEmptyGenerateKey()
87 assertThat(timing.getTotalProcessingTime()).isAtLeast( in testDataBudgetEmptyGenerateKey()
118 assertThat(timing.getServerWaitMillis()).isAtLeast(0); in testRetryableRkpError()
119 assertThat(timing.getBinderWaitMillis()).isAtLeast(0); in testRetryableRkpError()
120 assertThat(timing.getLockWaitMillis()).isAtLeast(0); in testRetryableRkpError()
121 assertThat(timing.getTotalProcessingTime()).isAtLeast( in testRetryableRkpError()
153 assertThat(timing.getServerWaitMillis()).isAtLeast(0); in testRetryNeverWhenDeviceNotRegistered()
154 assertThat(timing.getBinderWaitMillis()).isAtLeast(0); in testRetryNeverWhenDeviceNotRegistered()
155 assertThat(timing.getLockWaitMillis()).isAtLeast(0); in testRetryNeverWhenDeviceNotRegistered()
[all …]
DRkpdPoolStatsAtomTests.java46 assertThat(totalKeyCount).isAtLeast(1); in testKeyConsumed()
66 assertThat(totalKeyCount).isAtLeast(1); in testExpiryTracking()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/host/src/android/healthconnect/cts/logging/
DHealthConnectServiceStatsTests.java81 assertThat(data.size()).isAtLeast(2); in testInsertRecords()
88 assertThat(atom.getDurationMillis()).isAtLeast(0); in testInsertRecords()
99 assertThat(data.size()).isAtLeast(2); in testInsertRecordsError()
106 assertThat(atom.getDurationMillis()).isAtLeast(0); in testInsertRecordsError()
118 assertThat(data.size()).isAtLeast(3); in testUpdateRecords()
125 assertThat(atom.getDurationMillis()).isAtLeast(0); in testUpdateRecords()
137 assertThat(data.size()).isAtLeast(3); in testUpdateRecordsError()
144 assertThat(atom.getDurationMillis()).isAtLeast(0); in testUpdateRecordsError()
155 assertThat(data.size()).isAtLeast(3); in testDeleteRecords()
166 assertThat(atom.getDurationMillis()).isAtLeast(0); in testDeleteRecords()
[all …]
DHealthConnectUiLogsTests.kt98 assertThat(data.size).isAtLeast(2) in testImpressionsAndInteractionsSent()
108 assertThat(homePageImpression.size).isAtLeast(1) in testImpressionsAndInteractionsSent()
116 assertThat(categoriesPageImpression.size).isAtLeast(1) in testImpressionsAndInteractionsSent()
125 assertThat(dataAndAccessInteraction.size).isAtLeast(1) in testImpressionsAndInteractionsSent()
129 assertThat(appPermissionsImpression.size).isAtLeast(1) in testImpressionsAndInteractionsSent()
133 assertThat(dataAndAccessImpression.size).isAtLeast(1) in testImpressionsAndInteractionsSent()
137 assertThat(recentAccessDataImpression.size).isAtLeast(1) in testImpressionsAndInteractionsSent()
141 assertThat(seeAllRecentAccessImpression.size).isAtLeast(1) in testImpressionsAndInteractionsSent()
145 assertThat(toolbarImpression.size).isAtLeast(1) in testImpressionsAndInteractionsSent()
149 assertThat(categoryImpression.size).isAtLeast(2) in testImpressionsAndInteractionsSent()
[all …]
DHealthConnectDailyLogsStatsTests.java108 assertThat(data.size()).isAtLeast(1); in testConnectedApps()
129 assertThat(data.size()).isAtLeast(1); in testDatabaseStats()
157 assertThat(data.size()).isAtLeast(1); in testIsUserActive_insertRecord_userMonthlyActiveNextDay()
181 assertThat(data.size()).isAtLeast(1); in testIsUserActive_insertRecord_userMonthlyActiveBetween7To30days()
205 assertThat(data.size()).isAtLeast(1); in testIsUserActive_insertRecord_userNotMonthlyActiveAfter30Days()
229 assertThat(data.size()).isAtLeast(1); in testIsUserActive_readRecord_userMonthlyActiveNextDay()
253 assertThat(data.size()).isAtLeast(1); in testIsUserActive_readRecord_userMonthlyActiveBetween7To30days()
277 assertThat(data.size()).isAtLeast(1); in testIsUserActive_readRecord_userNotMonthlyActiveAfter30Days()
/packages/modules/Wifi/service/tests/mts/src/android/net/wifi/mts/
DWifiDumpsysMetricsTest.java68 .that(protoStart).isAtLeast(0); in testWifiDumpMetrics()
71 .that(protoEnd).isAtLeast(protoStart); in testWifiDumpMetrics()
78 assertThat(wifiLog.numSavedNetworks).isAtLeast(1); in testWifiDumpMetrics()
79 assertThat(wifiLog.numOpenNetworks).isAtLeast(0); in testWifiDumpMetrics()
80 assertThat(wifiLog.numHiddenNetworks).isAtLeast(0); in testWifiDumpMetrics()
81 assertThat(wifiLog.numWificondCrashes).isAtLeast(0); in testWifiDumpMetrics()
82 assertThat(wifiLog.numSupplicantCrashes).isAtLeast(0); in testWifiDumpMetrics()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/testutils/
DDeviceInfoUtilsTest.java101 assertTrue(v2.isAtLeast(v1)); in testVersion()
102 assertTrue(v3.isAtLeast(v1)); in testVersion()
103 assertTrue(v4.isAtLeast(v1)); in testVersion()
104 assertTrue(v5.isAtLeast(v1)); in testVersion()
105 assertFalse(v1.isAtLeast(v3)); in testVersion()
106 assertFalse(v1.isAtLeast(v4)); in testVersion()
107 assertFalse(v1.isAtLeast(v5)); in testVersion()
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DDeviceInfoUtils.java71 public boolean isAtLeast(final KVersion from) { in isAtLeast() method in DeviceInfoUtils.KVersion
84 return isAtLeast(from) && !isAtLeast(to); in isInRange()
174 return current.isAtLeast(from); in isKernelVersionAtLeast()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DApfIntegrationTest.kt311 assume().that(getVsrApiLevel()).isAtLeast(34) in testApfCapabilities()
322 assertThat(caps.apfVersionSupported).isAtLeast(4) in testApfCapabilities()
323 assertThat(caps.maximumApfProgramSize).isAtLeast(1024) in testApfCapabilities()
326 assertThat(caps.maximumApfProgramSize).isAtLeast(2048) in testApfCapabilities()
335 assertThat(caps.maximumApfProgramSize).isAtLeast(2048) in testApfCapabilities()
341 assume().that(caps.apfVersionSupported).isAtLeast(version) in assumeApfVersionSupportAtLeast()
419 assume().that(getVsrApiLevel()).isAtLeast(34) in testDropPingReply()
467 assume().that(getVsrApiLevel()).isAtLeast(34) in clearApfMemory()
523 assume().that(getVsrApiLevel()).isAtLeast(34) in testFilterAgeIncreasesBetweenPackets()
/packages/modules/AdServices/shared/libraries/side-less/java/com/android/adservices/shared/testing/
DAbstractSdkLevelSupportedRule.java297 return getDeviceApiLevel().isAtLeast(Level.R);
302 return getDeviceApiLevel().isAtLeast(Level.S);
307 return getDeviceApiLevel().isAtLeast(Level.S2);
312 return getDeviceApiLevel().isAtLeast(Level.T);
317 return getDeviceApiLevel().isAtLeast(Level.U);
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/notifications/
DNotificationAccessConfirmationActivityTest.java104 assertThat(mActivityScenario.getState()).isAtLeast(Lifecycle.State.CREATED); in componentNameNonEmpty_showsConfirmationDialog()
110 assertThat(mActivityScenario.getState()).isAtLeast(Lifecycle.State.CREATED); in onAllow_permissionMissing_finishes()
127 assertThat(mActivityScenario.getState()).isAtLeast(Lifecycle.State.CREATED); in onAllow_permissionAvailable_callsNotificationManager()
144 assertThat(mActivityScenario.getState()).isAtLeast(Lifecycle.State.CREATED); in onDeny_finishes()
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DContactsIndexerUserInstanceTest.java447 assertThat(mUpdateStats.mLastContactUpdatedTimeMillis).isAtLeast( in testFullUpdate_setsPreviousLastContactUpdatedTimestamp()
460 assertThat(updateStats.mLastContactUpdatedTimeMillis).isAtLeast( in testFullUpdate_setsPreviousLastContactUpdatedTimestamp()
487 .isAtLeast(timeBeforeDeltaChangeNotification); in testDeltaUpdate_insertedContacts()
490 .isAtLeast(timeBeforeDeltaChangeNotification); in testDeltaUpdate_insertedContacts()
572 .isAtLeast(timeBeforeDeltaChangeNotification); in testDeltaUpdate_deletedContacts()
575 .isAtLeast(timeBeforeDeltaChangeNotification); in testDeltaUpdate_deletedContacts()
635 .isAtLeast(timeBeforeDeltaChangeNotification); in testDeltaUpdate_insertedAndDeletedContacts()
638 .isAtLeast(timeBeforeDeltaChangeNotification); in testDeltaUpdate_insertedAndDeletedContacts()
641 .isAtLeast(timeBeforeDeltaChangeNotification); in testDeltaUpdate_insertedAndDeletedContacts()
710 .isAtLeast(timeBeforeDeltaChangeNotification); in testDeltaUpdate_insertedAndDeletedContacts_withDeletionSucceed()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DTimeHalServiceTest.java118 assertThat(propValue.getTimestamp()).isAtLeast(sysTimeMillis); in testInitSendsAndroidTimeUpdate()
120 assertThat(propValue.getInt64Value(0)).isAtLeast(sysTimeMillis); in testInitSendsAndroidTimeUpdate()
206 assertThat(propValue.getTimestamp()).isAtLeast(sysTimeMillis); in testSendsAndroidTimeUpdateWhenBroadcast()
208 assertThat(propValue.getInt64Value(0)).isAtLeast(sysTimeMillis); in testSendsAndroidTimeUpdateWhenBroadcast()
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/topics/
DTopicsEpochComputationOnDeviceClassifier.java163 assertThat(topic.getTopicId()).isAtLeast(10000); in testEpochComputation()
165 assertThat(topic.getModelVersion()).isAtLeast(1L); in testEpochComputation()
166 assertThat(topic.getTaxonomyVersion()).isAtLeast(1L); in testEpochComputation()
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/src/com/android/tests/sdksandbox/host/
DSdkSandboxLifecycleHostTest.java354 assertThat(sandboxOomScoreAdj1).isAtLeast(appOomScoreAdj1); in testBackgroundingAppReducesSandboxPriority()
374 assertThat(sandboxOomScoreAdj2).isAtLeast(appOomScoreAdj2); in testBackgroundingAppReducesSandboxPriority()
387 assertThat(appOomScoreAdj3).isAtLeast(appOomScoreAdj2); in testBackgroundingAppReducesSandboxPriority()
388 assertThat(sandboxOomScoreAdj3).isAtLeast(sandboxOomScoreAdj2); in testBackgroundingAppReducesSandboxPriority()
389 assertThat(sandboxOomScoreAdj3).isAtLeast(appOomScoreAdj3); in testBackgroundingAppReducesSandboxPriority()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarTest.java154 assertThat(carVersion.getMajorVersion()).isAtLeast(Build.VERSION.SDK_INT); in testApiVersion_car()
156 assertThat(carVersion.getMinorVersion()).isAtLeast(0); in testApiVersion_car()
167 assertThat(platformVersion.getMinorVersion()).isAtLeast(0); in testApiVersion_platform()
/packages/modules/Scheduling/tests/hostsidetests/src/com/android/tests/scheduling/host/
DRebootReadinessHostTest.java82 assertThat(event.mTimeToFirstUnlockMs).isAtLeast(0); in testUnattendedRebootMetrics_Basic()
84 assertThat(event.mTimeToRebootReadyMs).isAtLeast(0); in testUnattendedRebootMetrics_Basic()
/packages/modules/AdServices/adservices/tests/jetpack/src/com/android/adservices/topics/
DTopicsManagerJetpackTest.java130 assertThat(topic.getModelVersion()).isAtLeast(1L); in testTopicsManager_runClassifier()
131 assertThat(topic.getTaxonomyVersion()).isAtLeast(1L); in testTopicsManager_runClassifier()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/responsive/
DResponsiveCellSpecsProviderTest.kt72 assertThat(portraitSpecs.aspectRatio).isAtLeast(aspectRatioPortrait) in parseValidFile()
91 assertThat(landscapeSpecs.aspectRatio).isAtLeast(aspectRatioLandscape) in parseValidFile()
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DLoaderTaskTest.kt136 Truth.assertThat(workspaceItems.size).isAtLeast(25) in loadsDataProperly()
137 Truth.assertThat(appWidgets.size).isAtLeast(7) in loadsDataProperly()
138 Truth.assertThat(collections.size()).isAtLeast(8) in loadsDataProperly()
139 Truth.assertThat(itemsIdMap.size()).isAtLeast(40) in loadsDataProperly()
/packages/modules/AdServices/adservices/tests/cts/endtoends/topics/connection/src/com/android/adservices/tests/cts/topics/connection/
DTopicsConnectionTest.java140 assertThat(topic.getModelVersion()).isAtLeast(1L); in testEnableGlobalKillSwitch()
141 assertThat(topic.getTaxonomyVersion()).isAtLeast(1L); in testEnableGlobalKillSwitch()
/packages/modules/AdServices/adservices/tests/cts/endtoends/topics/src/com/android/adservices/tests/cts/topics/
DPreviewApiTest.java125 assertThat(topic.getModelVersion()).isAtLeast(1L); in testRecordObservation()
126 assertThat(topic.getTaxonomyVersion()).isAtLeast(1L); in testRecordObservation()
/packages/apps/Nfc/tests/instrumentation/src/com/android/nfc/cardemulation/
DAppChooserActivityTest.java94 assertThat(scenario.getState()).isAtLeast(Lifecycle.State.CREATED); in testExistingFailedComponentAndNoAlternatives()
129 assertThat(scenario.getState()).isAtLeast(Lifecycle.State.CREATED); in testExistingFailedComponentAndExistingAlternatives()
156 assertThat(scenario.getState()).isAtLeast(Lifecycle.State.CREATED); in testNoFailedComponentAndExistingAlternatives()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/widget/util/
DWidgetDragScaleUtilsTest.kt143 assertThat(effectiveWidthPx).isAtLeast(minSizePx) in getWidgetDragScalePx_draggedViewSmallerThanMinSize_scaledSizeIsAtLeastMinSize()
144 assertThat(effectiveHeightPx).isAtLeast(minSizePx) in getWidgetDragScalePx_draggedViewSmallerThanMinSize_scaledSizeIsAtLeastMinSize()

1234