Home
last modified time | relevance | path

Searched refs:Phrase (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/media/aidl/android/media/soundtrigger_middleware/
DISoundTriggerInjection.aidl21 import android.media.soundtrigger.Phrase;
107 void onSoundModelLoaded(in SoundModel model, in @nullable Phrase[] phrases, in onSoundModelLoaded()
/frameworks/base/core/java/android/hardware/soundtrigger/
DConversionUtil.java26 import android.media.soundtrigger.Phrase;
130 aidlModel.phrases = new Phrase[apiModel.getKeyphrases().length]; in api2aidlPhraseSoundModel()
137 public static Phrase api2aidlPhrase(SoundTrigger.Keyphrase apiPhrase) { in api2aidlPhrase()
138 Phrase aidlPhrase = new Phrase(); in api2aidlPhrase()
147 public static SoundTrigger.Keyphrase aidl2apiPhrase(Phrase aidlPhrase) { in aidl2apiPhrase()
/frameworks/minikin/include/minikin/
DLineBreakStyle.h37 Phrase = 1, enumerator
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DValidationUtil.java22 import android.media.soundtrigger.Phrase;
71 for (Phrase phrase : model.phrases) { in validatePhraseModel()
DConversionUtil.java32 import android.media.soundtrigger.Phrase;
149 ISoundTriggerHw.Phrase aidl2hidlPhrase(@NonNull Phrase aidlPhrase) { in aidl2hidlPhrase()
150 ISoundTriggerHw.Phrase hidlPhrase = new ISoundTriggerHw.Phrase(); in aidl2hidlPhrase()
213 for (Phrase aidlPhrase : aidlModel.phrases) { in aidl2hidlPhraseSoundModel()
DSoundTriggerInjection.java20 import android.media.soundtrigger.Phrase;
160 public void onSoundModelLoaded(SoundModel model, @Nullable Phrase[] phrases, in onSoundModelLoaded()
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/
DSoundTriggerDuplicateModelHandlerTest.java33 import android.media.soundtrigger.Phrase;
311 model.phrases = new Phrase[1]; in createPhraseSoundModelOne()
312 model.phrases[0] = new Phrase(); in createPhraseSoundModelOne()
326 model.phrases = new Phrase[1]; in createPhraseSoundModelTwo()
327 model.phrases[0] = new Phrase(); in createPhraseSoundModelTwo()
DTestUtil.java35 import android.media.soundtrigger.Phrase;
121 model.phrases = new Phrase[1]; in createPhraseSoundModel()
122 model.phrases[0] = new Phrase(); in createPhraseSoundModel()
155 List<android.hardware.soundtrigger.V2_0.ISoundTriggerHw.Phrase> phrases) { in validatePhrases_2_0()
/frameworks/minikin/libs/minikin/
DLineBreakerUtil.h178 return std::make_pair(LineBreakWordStyle::Phrase, false); in resolveWordStyleAuto()
180 return std::make_pair(LineBreakWordStyle::Phrase, false); in resolveWordStyleAuto()
DLocale.cpp373 case LineBreakWordStyle::Phrase: in getStringWithLineBreakOption()
/frameworks/minikin/tests/unittest/
DMeasuredTextTest.cpp596 int lbWordStyle = (int)LineBreakWordStyle::Phrase; // phrase in TEST()
608 EXPECT_EQ(LineBreakWordStyle::Phrase, mt->runs[0]->lineBreakWordStyle()); in TEST()
621 EXPECT_EQ(LineBreakWordStyle::Phrase, mt->runs[0]->lineBreakWordStyle()); in TEST()
642 int lbWordStyle = (int)LineBreakWordStyle::Phrase; in TEST()
649 EXPECT_EQ(LineBreakWordStyle::Phrase, styleRun.lineBreakWordStyle()); in TEST()
DFontFamilyTest.cpp144 LineBreakStyle::None, LineBreakWordStyle::Phrase)); in TEST()
147 LineBreakWordStyle::Phrase)); in TEST()
150 LineBreakWordStyle::Phrase)); in TEST()
153 LineBreakWordStyle::Phrase)); in TEST()
DGreedyLineBreakerTest.cpp2056 doLineBreakForJapanese(textBuf, LineBreakWordStyle::Phrase, "ja-JP", LINE_WIDTH); in TEST_F_WITH_FLAGS()
2072 doLineBreakForJapanese(textBuf, LineBreakWordStyle::Phrase, "ja-JP", LINE_WIDTH); in TEST_F_WITH_FLAGS()
2089 doLineBreakForJapanese(textBuf, LineBreakWordStyle::Phrase, "ja-JP", LINE_WIDTH); in TEST_F_WITH_FLAGS()
2107 doLineBreakForJapanese(textBuf, LineBreakWordStyle::Phrase, "ja-JP", LINE_WIDTH); in TEST_F_WITH_FLAGS()
2126 doLineBreakForJapanese(textBuf, LineBreakWordStyle::Phrase, "ja-JP", LINE_WIDTH); in TEST_F_WITH_FLAGS()
2146 doLineBreakForJapanese(textBuf, LineBreakWordStyle::Phrase, "ja-JP", LINE_WIDTH); in TEST_F_WITH_FLAGS()
2306 doLineBreakForKorean(textBuf, LineBreakWordStyle::Phrase, "ko-KR", LINE_WIDTH); in TEST_F_WITH_FLAGS()
DWordBreakerTests.cpp640 pool.acquire(frFR, LineBreakStyle::None, LineBreakWordStyle::Phrase); in TEST()
696 pool.acquire(frFR, LineBreakStyle::Normal, LineBreakWordStyle::Phrase); in TEST()
DOptimalLineBreakerTest.cpp2291 doLineBreakForJapanese(textBuf, LineBreakWordStyle::Phrase, "ja-JP", LINE_WIDTH); in TEST_F_WITH_FLAGS()
2307 doLineBreakForJapanese(textBuf, LineBreakWordStyle::Phrase, "ja-JP", LINE_WIDTH); in TEST_F_WITH_FLAGS()
2324 doLineBreakForJapanese(textBuf, LineBreakWordStyle::Phrase, "ja-JP", LINE_WIDTH); in TEST_F_WITH_FLAGS()
2342 doLineBreakForJapanese(textBuf, LineBreakWordStyle::Phrase, "ja-JP", LINE_WIDTH); in TEST_F_WITH_FLAGS()
2361 doLineBreakForJapanese(textBuf, LineBreakWordStyle::Phrase, "ja-JP", LINE_WIDTH); in TEST_F_WITH_FLAGS()
2381 doLineBreakForJapanese(textBuf, LineBreakWordStyle::Phrase, "ja-JP", LINE_WIDTH); in TEST_F_WITH_FLAGS()
/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerInstrumentation.java261 private ModelSession(SoundModel model, Phrase[] phrases, in ModelSession()
460 public void onSoundModelLoaded(SoundModel model, @Nullable Phrase[] phrases, in onSoundModelLoaded()