/packages/inputmethods/LatinIME/native/jni/tests/utils/ |
D | int_array_view_test.cpp | 150 EXPECT_EQ(intVector, intArrayView.toVector()); in TEST() 151 EXPECT_EQ(std::vector<int>(), CodePointArrayView().toVector()); in TEST() 172 EXPECT_EQ(std::vector<int>({1}), intArrayViews[0].toVector()); in TEST() 173 EXPECT_EQ(std::vector<int>({3, 3}), intArrayViews[1].toVector()); in TEST() 174 EXPECT_EQ(std::vector<int>({3}), intArrayViews[2].toVector()); in TEST() 179 EXPECT_EQ(std::vector<int>({1}), intArrayViews[0].toVector()); in TEST() 180 EXPECT_EQ(std::vector<int>({3, 3, 2, 3}), intArrayViews[1].toVector()); in TEST() 185 EXPECT_EQ(intVector, intArrayViews[0].toVector()); in TEST() 194 EXPECT_EQ(std::vector<int>({1, 2}), intArrayViews[0].toVector()); in TEST() 195 EXPECT_EQ(std::vector<int>(), intArrayViews[1].toVector()); in TEST() [all …]
|
/packages/inputmethods/LatinIME/native/dicttoolkit/src/offdevice_intermediate_dict/ |
D | offdevice_intermediate_dict_pt_node.h | 34 : mPtNodeCodePoints(ptNodeCodePoints.toVector()), mChildrenPtNodeArray(), in OffdeviceIntermediateDictPtNode() 40 : mPtNodeCodePoints(ptNodeCodePoints.toVector()), mChildrenPtNodeArray(), in OffdeviceIntermediateDictPtNode() 46 : mPtNodeCodePoints(ptNodeCodePoints.toVector()), in OffdeviceIntermediateDictPtNode()
|
/packages/services/Car/cpp/security/vehicle_binding_util/tests/ |
D | VehicleBindingUtilTest.cpp | 157 static std::vector<uint8_t> toVector(const char seed[SEED_BYTE_SIZE]) { in toVector() function in android::automotive::security::__anon228954f00111::VehicleBindingUtilTests 243 const auto SEED = toVector("16 bytes of seed"); in TEST_F() 251 const auto SEED = toVector("abcdefghijklmnop"); in TEST_F() 259 const auto SEED = toVector("1123581321345589"); in TEST_F()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_policy.cpp | 466 const NgramProperty ngramProperty(*ngramContext, wordCodePoints.toVector(), probabilityForNgram, in updateEntriesForWordWithNgramContext() 595 CodePointArrayView(bigramWord1CodePoints, codePointCount).toVector(), in getWordProperty() 613 CodePointArrayView(shortcutTarget, shortcutTargetLength).toVector(), in getWordProperty() 620 return WordProperty(wordCodePoints.toVector(), unigramProperty, ngrams); in getWordProperty()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/ |
D | patricia_trie_policy.cpp | 454 CodePointArrayView(bigramWord1CodePoints, word1CodePointCount).toVector(), in getWordProperty() 474 CodePointArrayView(shortcutTargetCodePoints, shortcutTargetLength).toVector(), in getWordProperty() 481 return WordProperty(wordCodePoints.toVector(), unigramProperty, ngrams); in getWordProperty()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
D | ver4_patricia_trie_policy.cpp | 540 CodePointArrayView(ngramTargetCodePoints, codePointCount).toVector(), in getWordProperty() 557 CodePointArrayView(shortcutTarget, shortcutTargetLength).toVector(), in getWordProperty() 569 return WordProperty(wordCodePoints.toVector(), unigramProperty, ngrams); in getWordProperty()
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | int_array_view.h | 132 AK_FORCE_INLINE std::vector<int> toVector() const { in toVector() function
|
/packages/modules/Bluetooth/android/app/jni/ |
D | com_android_bluetooth_gatt.cpp | 93 static std::vector<uint8_t> toVector(JNIEnv* env, jbyteArray ba) { in toVector() function 2371 advertiser_id, false, toVector(env, data), in setAdvertisingDataNative() 2380 advertiser_id, true, toVector(env, data), in setScanResponseDataNative() 2425 advertiser_id, toVector(env, data), in setPeriodicAdvertisingDataNative()
|
/packages/inputmethods/LatinIME/native/jni/ |
D | com_android_inputmethod_latin_BinaryDictionary.cpp | 413 CodePointArrayView(wordCodePoints, wordLength).toVector(), in latinime_BinaryDictionary_addNgramEntry()
|