Home
last modified time | relevance | path

Searched refs:isLessThan (Results 1 – 25 of 55) sorted by relevance

123

/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/aggregation/
DPriorityAggregationDataComparisonTest.java30 .isLessThan(0); in testCompareTwoIntervals_orderByPriority()
39 .isLessThan(0); in testCompareTwoIntervals_samePriority_orderByLastModified()
50 assertThat(data1.getStartTimestamp().compareTo(data2.getStartTimestamp())).isLessThan(0); in testCompareTimestamps_orderByTime()
51 assertThat(data1.getStartTimestamp().compareTo(data2.getStartTimestamp())).isLessThan(0); in testCompareTimestamps_orderByTime()
52 assertThat(data2.getStartTimestamp().compareTo(data1.getEndTimestamp())).isLessThan(0); in testCompareTimestamps_orderByTime()
61 assertThat(data2.getStartTimestamp().compareTo(border)).isLessThan(0); in testCompareTimestamps_orderByTime()
63 assertThat(border.compareTo(border2)).isLessThan(0); in testCompareTimestamps_orderByTime()
72 assertThat(data1.getEndTimestamp().compareTo(data2.getEndTimestamp())).isLessThan(0); in testCompareTimestamps_timestampsWithDifferentParentDataAreNotEqual()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/
DResolverListAdapterTest.kt109 assertThat(testSubject.filteredPosition).isLessThan(0) in test_oneTargetNoLastChosen_oneTargetInAdapter()
208 assertThat(testSubject.filteredPosition).isLessThan(0) in test_oneTargetLastChosenNotInTheList_oneTargetInAdapter()
260 assertThat(testSubject.filteredPosition).isLessThan(0) in test_oneTargetThatWasLastChosenFilteringDisabled_oneTargetInAdapter()
337 assertThat(testSubject.filteredPosition).isLessThan(0) in testTwoTargets()
355 assertThat(testSubject.filteredPosition).isLessThan(0) in testTwoTargets()
411 assertThat(testSubject.filteredPosition).isLessThan(0) in test_twoTargetsLastChosenNotInTheList_twoTargetsInAdapter()
423 assertThat(testSubject.filteredPosition).isLessThan(0) in test_twoTargetsLastChosenNotInTheList_twoTargetsInAdapter()
479 assertThat(testSubject.filteredPosition).isLessThan(0) in test_twoTargetsWithOtherProfileAndLastChosen_oneTargetInAdapter()
763 assertThat(testSubject.filteredPosition).isLessThan(0) in test_twoTargetsWithNonOverlappingInitialIntent_threeTargetsInAdapter()
778 assertThat(testSubject.filteredPosition).isLessThan(0) in test_twoTargetsWithNonOverlappingInitialIntent_threeTargetsInAdapter()
[all …]
/packages/apps/TV/tests/robotests/src/com/android/tv/data/
DChannelNumberTest.java114 assertThat(ChannelNumber.compare(null, "1")).isLessThan(0); in compare_null_1()
119 assertThat(ChannelNumber.compare("abcd", "1")).isLessThan(0); in compare_abcd_1()
124 assertThat(ChannelNumber.compare(".4", "1")).isLessThan(0); in compare_dash1_1()
DProgramDataManagerTest.java124 assertThat(mClock.currentTimeMillis()).isLessThan(startTimeMs + programAt.durationMs); in testProgramUtils()
151 .isLessThan(mClock.currentTimeMillis()); in testGetPrograms()
243 .isLessThan(programList.get(programList.size() - 1).getEndTimeUtcMillis()); in testContentProviderUpdate()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/
DTimeRangeFilterTest.java88 .isLessThan(100); in testEndTimeInstantRangeFilter_endTimeNull()
97 .isLessThan(Instant.EPOCH); in testStartTimeLocalRangeFilter_startTimeNull()
108 .isLessThan(100); in testEndTimeLocalRangeFilter_endTimeNull()
/packages/modules/Scheduling/tests/hostsidetests/src/com/android/tests/scheduling/host/
DRebootReadinessHostTest.java83 assertThat(event.mTimeToFirstUnlockMs).isLessThan(TimeUnit.MINUTES.toMillis(1)); in testUnattendedRebootMetrics_Basic()
85 assertThat(event.mTimeToRebootReadyMs).isLessThan(TimeUnit.MINUTES.toMillis(1)); in testUnattendedRebootMetrics_Basic()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/widget/util/
DWidgetDragScaleUtilsTest.kt83 .isLessThan(0) in getWidgetDragScalePx_largeDraggedView_downScaled()
111 .isLessThan(0) in getWidgetDragScalePx_draggedViewSameAsWidgetSize_downScaled()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/systeminterface/
DSystemStateInterfaceTest.java183 .isLessThan(Duration.ofSeconds(1)); in testGetRandomizedDelay()
190 .isLessThan(Duration.ofSeconds(3)); in testGetRandomizedDelay()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/hibernation/
DHibernationPolicyTest.kt126 assertThat(systemTimeSnapshot).isLessThan(currentTimeMillis) in onReceive_shouldInitializeAndAdjustStartTimeOfUnusedAppTracking()
127 assertThat(realtimeSnapshot).isLessThan(currentRealTime) in onReceive_shouldInitializeAndAdjustStartTimeOfUnusedAppTracking()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/http/
DHttpClientUtilTest.java49 assertThat(dataAfterCompress.length).isLessThan(dataBeforeCompress.length); in compress_uncompress_success()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/overlay/
DOverlayableTest.java105 R.dimen.grid_item_radius)).isLessThan(maxRadius); in testDimen_gridItemRadius_isReasonable()
/packages/apps/Settings/tests/unit/src/com/android/settings/fuelgauge/batterytip/
DAppInfoTest.java87 assertThat(appInfos.get(0).screenOnTimeMs).isLessThan(appInfos.get(1).screenOnTimeMs); in testCompareTo_hasCorrectOrder()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DDownloadsFilePreferenceTest.java103 assertThat(preference.compareTo(otherPreference)).isLessThan(0); in compareTo_fallbackToFileName()
/packages/services/Telephony/tests/src/com/android/phone/ecc/
DEccDataTest.java76 assertThat(mnc.length()).isLessThan(4); in testEccDataContent()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarPropertyManagerTest.java364 .isLessThan(Build.VERSION_CODES.S); in testGetIntArrayPropertyWithErrorStatusBeforeS()
388 .isLessThan(Build.VERSION_CODES.S); in testGetIntArrayPropertyWithUnknownStatusBeforeS()
412 .isLessThan(Build.VERSION_CODES.S); in testGetIntPropertyWithUnavailableStatusBeforeS()
436 .isLessThan(Build.VERSION_CODES.S); in testGetBooleanPropertyWithErrorStatusBeforeS()
460 .isLessThan(Build.VERSION_CODES.S); in testGetFloatPropertyWithUnavailableStatusBeforeS()
799 .isLessThan(Build.VERSION_CODES.R); in testSetterExceptionsBeforeR()
846 .isLessThan(Build.VERSION_CODES.R); in testGetterExceptionsBeforeR()
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DFavoriteChannelEvaluatorTest.java148 .isLessThan(mEvaluator.evaluateChannel(channelTwo)); in testTwoChannelsWithDifferentWatchDuration()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/permission/
DFirstGrantTimeUnitTest.java256 assertThat(firstGrantTime.get()).isLessThan(Instant.now().plusSeconds((long) 1e3)); in testCurrentPackage_intentSupported_grantTimeIsNotNull()
260 assertThat(grantTime).isLessThan(Instant.now().plusSeconds((long) 1e3)); in testCurrentPackage_intentSupported_grantTimeIsNotNull()
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/
Dtruth.py47 def isLessThan(self, other): member in ObjectSubject
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DApfIntegrationTest.kt491 assertThat(program.size).isLessThan(counterRegion) in clearApfMemory()
512 expect.withMessage("FILTER_AGE_SECONDS").that(buffer.getInt()).isLessThan(5) in clearApfMemory()
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DContactsIndexerUserInstanceTest.java509 assertThat(mUpdateStats.mLastDeltaUpdateStartTimeMillis).isLessThan(settingsBundle.getLong( in testDeltaUpdate_insertedContacts()
594 assertThat(mUpdateStats.mLastDeltaUpdateStartTimeMillis).isLessThan(settingsBundle.getLong( in testDeltaUpdate_deletedContacts()
662 assertThat(mUpdateStats.mLastDeltaUpdateStartTimeMillis).isLessThan(settingsBundle.getLong( in testDeltaUpdate_insertedAndDeletedContacts()
736 assertThat(mUpdateStats.mLastDeltaUpdateStartTimeMillis).isLessThan(settingsBundle.getLong( in testDeltaUpdate_insertedAndDeletedContacts_withDeletionSucceed()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DAdapterPropertiesTest.java165 assertThat(name.length).isLessThan(initial.getBytes().length); in setName_tooLongName_isTruncated()
/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/observations/
DPrivacyGeneratorStatisticalTest.java261 .isLessThan(0.99); in distributionIndicesAdded()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarUxRestrictionsConfigurationTest.java297 assertThat(s1.compareTo(s2)).isLessThan(0); in testSpeedRangeComparison_DifferentMin()
316 assertThat(s1.compareTo(s2)).isLessThan(0); in testSpeedRangeComparison_SameMinDifferentMax()
326 assertThat(s1.compareTo(s2)).isLessThan(0); in testSpeedRangeComparison_MaxSpeed()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/datausage/
DDataLimitPreferenceControllerTest.java197 assertThat(setValue).isLessThan( in onDialogConfirm_hasWarningThreshold_setsLimitToWithMultiplier()
/packages/modules/AdServices/adservices/tests/cts/endtoends/topics/appupdate/src/com/android/adservices/tests/cts/topics/appupdate/
DAppUpdateTest.java257 .isLessThan(EXPECTED_TOPIC_RESPONSE_BROADCASTS.length); in registerTopicResponseReceiver()

123