/frameworks/base/media/aidl/android/media/soundtrigger_middleware/ |
D | ISoundTriggerInjection.aidl | 21 import android.media.soundtrigger.Phrase; 107 void onSoundModelLoaded(in SoundModel model, in @nullable Phrase[] phrases, in onSoundModelLoaded()
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | ConversionUtil.java | 26 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/ |
D | LineBreakStyle.h | 37 Phrase = 1, enumerator
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/ |
D | ValidationUtil.java | 22 import android.media.soundtrigger.Phrase; 71 for (Phrase phrase : model.phrases) { in validatePhraseModel()
|
D | ConversionUtil.java | 32 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()
|
D | SoundTriggerInjection.java | 20 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/ |
D | SoundTriggerDuplicateModelHandlerTest.java | 33 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()
|
D | TestUtil.java | 35 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/ |
D | LineBreakerUtil.h | 178 return std::make_pair(LineBreakWordStyle::Phrase, false); in resolveWordStyleAuto() 180 return std::make_pair(LineBreakWordStyle::Phrase, false); in resolveWordStyleAuto()
|
D | Locale.cpp | 373 case LineBreakWordStyle::Phrase: in getStringWithLineBreakOption()
|
/frameworks/minikin/tests/unittest/ |
D | MeasuredTextTest.cpp | 596 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()
|
D | FontFamilyTest.cpp | 144 LineBreakStyle::None, LineBreakWordStyle::Phrase)); in TEST() 147 LineBreakWordStyle::Phrase)); in TEST() 150 LineBreakWordStyle::Phrase)); in TEST() 153 LineBreakWordStyle::Phrase)); in TEST()
|
D | GreedyLineBreakerTest.cpp | 2056 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()
|
D | WordBreakerTests.cpp | 640 pool.acquire(frFR, LineBreakStyle::None, LineBreakWordStyle::Phrase); in TEST() 696 pool.acquire(frFR, LineBreakStyle::Normal, LineBreakWordStyle::Phrase); in TEST()
|
D | OptimalLineBreakerTest.cpp | 2291 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/ |
D | SoundTriggerInstrumentation.java | 261 private ModelSession(SoundModel model, Phrase[] phrases, in ModelSession() 460 public void onSoundModelLoaded(SoundModel model, @Nullable Phrase[] phrases, in onSoundModelLoaded()
|