Home
last modified time | relevance | path

Searched refs:GRANULARITY_MINUTE (Results 1 – 10 of 10) sorted by relevance

/external/libtextclassifier/native/annotator/datetime/
Dregex-parser_test.cc388 GRANULARITY_MINUTE, in TEST_F()
406 "{january 1 2018 at 4:30 am}", 1514777400000, GRANULARITY_MINUTE, in TEST_F()
426 "{today at 0:00}", {-3600000, 39600000}, GRANULARITY_MINUTE, in TEST_F()
442 "{today at 0:00}", {-57600000, -14400000}, GRANULARITY_MINUTE, in TEST_F()
459 "{tomorrow at 4:00}", {97200000, 140400000}, GRANULARITY_MINUTE, in TEST_F()
491 "last seen {today at 9:01 PM}", 72060000, GRANULARITY_MINUTE, in TEST_F()
515 "lets meet by {noon}", 39600000, GRANULARITY_MINUTE, in TEST_F()
526 "at {midnight}", 82800000, GRANULARITY_MINUTE, in TEST_F()
678 GRANULARITY_MINUTE, in TEST_F()
702 GRANULARITY_MINUTE, in TEST_F()
[all …]
Dgrammar-parser_test.cc323 GRANULARITY_MINUTE, in TEST_F()
341 "{january 1 2018 at 4:30 am}", 1514777400000, GRANULARITY_MINUTE, in TEST_F()
361 "{today at 0:00}", {-3600000, 39600000}, GRANULARITY_MINUTE, in TEST_F()
377 "{today at 0:00}", {-57600000, -14400000}, GRANULARITY_MINUTE, in TEST_F()
394 "{tomorrow at 4:00}", {97200000, 140400000}, GRANULARITY_MINUTE, in TEST_F()
418 "last seen {today at 9:01 PM}", 72060000, GRANULARITY_MINUTE, in TEST_F()
/external/libtextclassifier/native/annotator/
Dtypes.cc378 if (granularity < DatetimeGranularity::GRANULARITY_MINUTE) { in GetFinestGranularityFromComponentTypes()
379 granularity = DatetimeGranularity::GRANULARITY_MINUTE; in GetFinestGranularityFromComponentTypes()
Dannotator_test-include.cc1731 5439600000, DatetimeGranularity::GRANULARITY_MINUTE))); in VerifyClassifyTextWhenLocaleUSParsesDateAsMonthDay()
1765 10537200000, DatetimeGranularity::GRANULARITY_MINUTE))); in TEST_F()
1781 IsDatetimeResult(34200000, DatetimeGranularity::GRANULARITY_MINUTE), in TEST_F()
1782 IsDatetimeResult(77400000, DatetimeGranularity::GRANULARITY_MINUTE))); in TEST_F()
1800 IsDatetimeResult(34200000, DatetimeGranularity::GRANULARITY_MINUTE), in TEST_F()
1801 IsDatetimeResult(77400000, DatetimeGranularity::GRANULARITY_MINUTE))); in TEST_F()
2895 DatetimeGranularity::GRANULARITY_MINUTE)})); in VerifyInputFragmentTimestampOverridesAnnotationOptions()
2899 DatetimeGranularity::GRANULARITY_MINUTE)})); in VerifyInputFragmentTimestampOverridesAnnotationOptions()
2936 DatetimeGranularity::GRANULARITY_MINUTE)})); in VerifyInputFragmentTimezoneOverridesAnnotationOptions()
2940 DatetimeGranularity::GRANULARITY_MINUTE)})); in VerifyInputFragmentTimezoneOverridesAnnotationOptions()
Dentity-data.fbs25 GRANULARITY_MINUTE = 5,
Dtypes.h259 GRANULARITY_MINUTE = 5, enumerator
Dannotator.cc1663 case GRANULARITY_MINUTE: in PickCollectionForDatetime()
/external/libtextclassifier/native/utils/calendar/
Dcalendar-common.h265 case GRANULARITY_MINUTE: in RoundToGranularity()
Dcalendar_test.cc293 EXPECT_EQ(granularity, GRANULARITY_MINUTE); in TEST_F()
/external/libtextclassifier/jni/com/google/android/textclassifier/
DAnnotatorModel.java313 public static final int GRANULARITY_MINUTE = 5; field in AnnotatorModel.DatetimeResult