/external/libtextclassifier/native/utils/calendar/ |
D | calendar_test.cc | 200 EXPECT_EQ(granularity, GRANULARITY_DAY); in TEST_F() 216 EXPECT_EQ(granularity, GRANULARITY_DAY); in TEST_F() 232 EXPECT_EQ(granularity, GRANULARITY_DAY); in TEST_F() 248 EXPECT_EQ(granularity, GRANULARITY_DAY); in TEST_F() 264 EXPECT_EQ(granularity, GRANULARITY_DAY); in TEST_F()
|
D | calendar-common.h | 259 case GRANULARITY_DAY: in RoundToGranularity()
|
/external/libtextclassifier/native/annotator/datetime/ |
D | grammar-parser_test.cc | 73 "{01/02/2020}", 1580511600000, GRANULARITY_DAY, in TEST_F() 84 "{01/02/2020}", 1577919600000, GRANULARITY_DAY, in TEST_F() 92 "{January 1, 1988}", 567990000000, GRANULARITY_DAY, in TEST_F() 102 "{January 1, 1988}", 567990000000, GRANULARITY_DAY, in TEST_F() 109 "{january 31 2018}", 1517353200000, GRANULARITY_DAY, in TEST_F() 116 "foo {1 january 2018} bar", 1514761200000, GRANULARITY_DAY, in TEST_F() 491 "{01/02/2020}", 1577919600000, GRANULARITY_DAY, in TEST_F() 498 "{21/02/2020}", 1582239600000, GRANULARITY_DAY, in TEST_F() 531 -432000000 /* Fri 1969-12-26 16:00:00 PST */, GRANULARITY_DAY, in TEST_F() 543 "{march 1, 2017}", 1488355200000, GRANULARITY_DAY, in TEST_F()
|
D | regex-parser_test.cc | 88 "{January 1, 1988}", 567990000000, GRANULARITY_DAY, in TEST_F() 98 "{January 1, 1988}", 567990000000, GRANULARITY_DAY, in TEST_F() 105 "{january 31 2018}", 1517353200000, GRANULARITY_DAY, in TEST_F() 112 "lorem {1 january 2018} ipsum", 1514761200000, GRANULARITY_DAY, in TEST_F() 539 "{January 1, 1988}", 567990000000, GRANULARITY_DAY, in TEST_F() 547 "{January 1, 1988}", 567990000000, GRANULARITY_DAY, in TEST_F() 555 "lorem {1 january 2018} ipsum", 1514761200000, GRANULARITY_DAY, in TEST_F() 569 "{tomorrow}", 82800000, GRANULARITY_DAY, in TEST_F() 598 "what's the time {now}", -3600000, GRANULARITY_DAY, in TEST_F() 608 "call me on {Saturday}", 169200000, GRANULARITY_DAY, in TEST_F() [all …]
|
D | utils.cc | 42 if (granularity > DatetimeGranularity::GRANULARITY_DAY && in FillInterpretations()
|
D | datetime-grounder_test.cc | 187 EXPECT_EQ(data[0].granularity, DatetimeGranularity::GRANULARITY_DAY); in TEST_F()
|
/external/libtextclassifier/native/annotator/ |
D | types.cc | 366 if (granularity < DatetimeGranularity::GRANULARITY_DAY) { in GetFinestGranularityFromComponentTypes() 367 granularity = DatetimeGranularity::GRANULARITY_DAY; in GetFinestGranularityFromComponentTypes()
|
D | entity-data.fbs | 23 GRANULARITY_DAY = 3,
|
D | types.h | 257 GRANULARITY_DAY = 3, enumerator
|
D | annotator_test-include.cc | 1643 DatetimeGranularity::GRANULARITY_DAY))); in VerifyClassifyTextDateInZurichTimezone() 1671 DatetimeGranularity::GRANULARITY_DAY))); in VerifyClassifyTextDateInLATimezone() 1701 DatetimeGranularity::GRANULARITY_DAY))); in VerifyClassifyTextDateOnAotherLine()
|
/external/libtextclassifier/jni/com/google/android/textclassifier/ |
D | AnnotatorModel.java | 311 public static final int GRANULARITY_DAY = 3; field in AnnotatorModel.DatetimeResult
|