Home
last modified time | relevance | path

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

/external/libtextclassifier/native/annotator/datetime/
Dgrammar-parser_test.cc351 "{january 1 2018 at 4pm}", 1514818800000, GRANULARITY_HOUR, in TEST_F()
410 "{tomorrow at 4am}", 97200000, GRANULARITY_HOUR, in TEST_F()
427 ParsesCorrectly("set an alarm for {7 a.m}", 21600000, GRANULARITY_HOUR, in TEST_F()
508 ParsesCorrectly("{in 3 hours}", 10800000, GRANULARITY_HOUR, in TEST_F()
514 "{wednesday at 4am}", 529200000, GRANULARITY_HOUR, in TEST_F()
522 "set an alarm for {7am tomorrow}", 108000000, GRANULARITY_HOUR, in TEST_F()
Dregex-parser_test.cc416 "{january 1 2018 at 4pm}", 1514818800000, GRANULARITY_HOUR, in TEST_F()
475 "{tomorrow at 4am}", 97200000, GRANULARITY_HOUR, in TEST_F()
483 "{wednesday at 4am}", 529200000, GRANULARITY_HOUR, in TEST_F()
500 "set an alarm for {7am tomorrow}", 108000000, GRANULARITY_HOUR, in TEST_F()
508 ParsesCorrectly("set an alarm for {7 a.m}", 21600000, GRANULARITY_HOUR, in TEST_F()
579 "call me {in two hours}", 7200000, GRANULARITY_HOUR, in TEST_F()
1094 "{januar 1 2018 um 4 nachm}", 1514818800000, GRANULARITY_HOUR, in TEST_F()
1143 "{morgen um 4 vorm}", 97200000, GRANULARITY_HOUR, in TEST_F()
1154 "{明天 7 上午}", 108000000, GRANULARITY_HOUR, in TEST_F()
1240 "{monday 3pm}", 396000000, GRANULARITY_HOUR, in TEST_F()
/external/libtextclassifier/native/annotator/
Dtypes.cc372 if (granularity < DatetimeGranularity::GRANULARITY_HOUR) { in GetFinestGranularityFromComponentTypes()
373 granularity = DatetimeGranularity::GRANULARITY_HOUR; in GetFinestGranularityFromComponentTypes()
Dentity-data.fbs24 GRANULARITY_HOUR = 4,
Dtypes.h258 GRANULARITY_HOUR = 4, enumerator
Dannotator.cc1662 case GRANULARITY_HOUR: in PickCollectionForDatetime()
Dannotator_test-include.cc1350 DatetimeGranularity::GRANULARITY_HOUR))); in VerifyDurationAndRelativeTimeCanOverlapInRawMode()
/external/libtextclassifier/native/utils/calendar/
Dcalendar-common.h262 case GRANULARITY_HOUR: in RoundToGranularity()
Dcalendar_test.cc278 EXPECT_EQ(granularity, GRANULARITY_HOUR); in TEST_F()
/external/libtextclassifier/jni/com/google/android/textclassifier/
DAnnotatorModel.java312 public static final int GRANULARITY_HOUR = 4; field in AnnotatorModel.DatetimeResult