Searched refs:lookupTable (Results 1 – 3 of 3) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/ |
D | terminal_position_lookup_table_test.cpp | 30 TerminalPositionLookupTable lookupTable; in TEST() local 32 EXPECT_EQ(NOT_A_DICT_POS, lookupTable.getTerminalPtNodePosition(0)); in TEST() 33 EXPECT_EQ(NOT_A_DICT_POS, lookupTable.getTerminalPtNodePosition(-1)); in TEST() 34 EXPECT_EQ(NOT_A_DICT_POS, lookupTable.getTerminalPtNodePosition( in TEST() 39 TerminalPositionLookupTable lookupTable; in TEST() local 41 EXPECT_TRUE(lookupTable.setTerminalPtNodePosition(10, 100)); in TEST() 42 EXPECT_EQ(100, lookupTable.getTerminalPtNodePosition(10)); in TEST() 43 EXPECT_EQ(NOT_A_DICT_POS, lookupTable.getTerminalPtNodePosition(9)); in TEST() 44 EXPECT_TRUE(lookupTable.setTerminalPtNodePosition(9, 200)); in TEST() 45 EXPECT_EQ(200, lookupTable.getTerminalPtNodePosition(9)); in TEST() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | HalDeviceManager.java | 2802 Set<List<Integer>> lookupTable = new ArraySet<>(); 2803 if (combinations == null) return lookupTable; 2813 lookupTable.add(Collections.unmodifiableList(bands)); 2815 return lookupTable;
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | CallLogProvider.java | 594 Set<String> lookupTable = Set.of("UNION", "SELECT", "FROM", "WHERE", in enforceStrictPhoneNumber() local 596 if (!isAllowedKeyword || lookupTable.contains(token.toUpperCase(Locale.US))) { in enforceStrictPhoneNumber()
|