/frameworks/base/media/java/android/media/soundtrigger_middleware/ |
D | PhraseSoundModel.aidl | 18 import android.media.soundtrigger_middleware.SoundModel; 29 SoundModel common;
|
D | ISoundTriggerModule.aidl | 20 import android.media.soundtrigger_middleware.SoundModel; 49 int loadModel(in SoundModel model); in loadModel()
|
D | SoundModel.aidl | 25 parcelable SoundModel {
|
/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/ |
D | ValidationUtil.java | 27 import android.media.soundtrigger_middleware.SoundModel; 54 static void validateGenericModel(@Nullable SoundModel model) { in validateGenericModel() 58 static void validateModel(@Nullable SoundModel model, int expectedType) { in validateModel()
|
D | Hw2CompatUtil.java | 30 … static android.hardware.soundtrigger.V2_0.ISoundTriggerHw.SoundModel convertSoundModel_2_1_to_2_0( in convertSoundModel_2_1_to_2_0() 31 android.hardware.soundtrigger.V2_1.ISoundTriggerHw.SoundModel soundModel) { in convertSoundModel_2_1_to_2_0() 32 android.hardware.soundtrigger.V2_0.ISoundTriggerHw.SoundModel model_2_0 = soundModel.header; in convertSoundModel_2_1_to_2_0()
|
D | SoundTriggerMiddlewareService.java | 28 import android.media.soundtrigger_middleware.SoundModel; 110 public int loadModel(SoundModel model) throws RemoteException { in loadModel()
|
D | SoundTriggerModule.java | 32 import android.media.soundtrigger_middleware.SoundModel; 273 public int loadModel(@NonNull SoundModel model) { in loadModel() 464 private int load(@NonNull SoundModel model, in load() 468 ISoundTriggerHw.SoundModel hidlModel = ConversionUtil.aidl2hidlSoundModel(model); in load()
|
D | ConversionUtil.java | 39 import android.media.soundtrigger_middleware.SoundModel; 194 ISoundTriggerHw.SoundModel aidl2hidlSoundModel(@NonNull SoundModel aidlModel) { in aidl2hidlSoundModel() 195 ISoundTriggerHw.SoundModel hidlModel = new ISoundTriggerHw.SoundModel(); in aidl2hidlSoundModel()
|
D | ISoundTriggerHw2.java | 67 android.hardware.soundtrigger.V2_1.ISoundTriggerHw.SoundModel soundModel, in loadSoundModel()
|
D | SoundTriggerHw2Compat.java | 140 android.hardware.soundtrigger.V2_1.ISoundTriggerHw.SoundModel soundModel, in loadSoundModel() 335 android.hardware.soundtrigger.V2_1.ISoundTriggerHw.SoundModel soundModel, in loadSoundModel_2_0() 339 android.hardware.soundtrigger.V2_0.ISoundTriggerHw.SoundModel model_2_0 = in loadSoundModel_2_0()
|
D | SoundTriggerMiddlewareValidation.java | 33 import android.media.soundtrigger_middleware.SoundModel; 317 ModelState(SoundModel model) { in ModelState() 433 public int loadModel(@NonNull SoundModel model) { in loadModel()
|
D | SoundTriggerMiddlewareLogging.java | 29 import android.media.soundtrigger_middleware.SoundModel; 212 public int loadModel(SoundModel model) throws RemoteException { in loadModel()
|
D | SoundTriggerHw2Enforcer.java | 60 public int loadSoundModel(ISoundTriggerHw.SoundModel soundModel, Callback callback, in loadSoundModel()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
D | SoundTriggerService.java | 52 import android.hardware.soundtrigger.SoundTrigger.SoundModel; 108 private final TreeMap<UUID, SoundModel> mLoadedModels; 195 mLoadedModels = new TreeMap<UUID, SoundModel>(); in SoundTriggerService() 380 SoundModel oldModel = mLoadedModels.get(soundModel.getUuid()); in loadGenericSoundModel() 424 SoundModel oldModel = mLoadedModels.get(soundModel.getUuid()); in loadKeyphraseSoundModel() 464 SoundModel soundModel = mLoadedModels.get(soundModelId.getUuid()); in startRecognitionForService() 488 case SoundModel.TYPE_GENERIC_SOUND: in startRecognitionForService() 530 SoundModel soundModel = mLoadedModels.get(soundModelId.getUuid()); in stopRecognitionForService() 555 case SoundModel.TYPE_GENERIC_SOUND: in stopRecognitionForService() 597 SoundModel soundModel = mLoadedModels.get(soundModelId.getUuid()); in unloadSoundModel() [all …]
|
D | SoundTriggerHelper.java | 38 import android.hardware.soundtrigger.SoundTrigger.SoundModel; 309 int startRecognition(SoundModel soundModel, ModelData modelData, in startRecognition() 1431 private int mModelType = SoundModel.TYPE_UNKNOWN; 1441 private SoundModel mSoundModel = null; 1451 return new ModelData(modelId, SoundModel.TYPE_KEYPHRASE); in createKeyphraseModelData() 1455 return new ModelData(modelId, SoundModel.TYPE_GENERIC_SOUND); in createGenericModelData() 1461 return new ModelData(modelId, SoundModel.TYPE_UNKNOWN); in createModelDataOfUnknownType() 1536 synchronized void setSoundModel(SoundModel soundModel) { in setSoundModel() 1540 synchronized SoundModel getSoundModel() { in getSoundModel() 1549 return mModelType == SoundModel.TYPE_KEYPHRASE; in isKeyphraseModel() [all …]
|
/frameworks/base/media/java/android/media/soundtrigger/ |
D | SoundTriggerManager.java | 35 import android.hardware.soundtrigger.SoundTrigger.SoundModel; 304 public int loadSoundModel(SoundModel soundModel) { in loadSoundModel() 311 case SoundModel.TYPE_GENERIC_SOUND: in loadSoundModel() 314 case SoundModel.TYPE_KEYPHRASE: in loadSoundModel()
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | ConversionUtil.java | 32 import android.media.soundtrigger_middleware.SoundModel; 103 public static SoundModel api2aidlGenericSoundModel(SoundTrigger.GenericSoundModel apiModel) { in api2aidlGenericSoundModel() 107 public static SoundModel api2aidlSoundModel(SoundTrigger.SoundModel apiModel) { in api2aidlSoundModel() 108 SoundModel aidlModel = new SoundModel(); in api2aidlSoundModel()
|
D | SoundTriggerModule.java | 28 import android.media.soundtrigger_middleware.SoundModel; 101 public synchronized int loadSoundModel(@NonNull SoundTrigger.SoundModel model, in loadSoundModel() 105 SoundModel aidlModel = ConversionUtil.api2aidlGenericSoundModel( in loadSoundModel()
|
D | SoundTrigger.java | 429 public static class SoundModel { class in SoundTrigger 466 public SoundModel(@NonNull UUID uuid, @Nullable UUID vendorUuid, @SoundModelType int type, in SoundModel() method in SoundTrigger.SoundModel 524 if (!(obj instanceof SoundModel)) { in equals() 527 SoundModel other = (SoundModel) obj; in equals() 744 public static final class KeyphraseSoundModel extends SoundModel implements Parcelable { 860 public static class GenericSoundModel extends SoundModel implements Parcelable {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/soundtrigger_middleware/ |
D | SoundTriggerMiddlewareImplTest.java | 54 import android.media.soundtrigger_middleware.SoundModel; 108 private static SoundModel createGenericSoundModel() { in createGenericSoundModel() 123 private static SoundModel createSoundModel(int type) { in createSoundModel() 124 SoundModel model = new SoundModel(); in createSoundModel() 363 SoundModel model = createGenericSoundModel(); in loadGenericModel_2_0() 364 ArgumentCaptor<android.hardware.soundtrigger.V2_0.ISoundTriggerHw.SoundModel> modelCaptor = in loadGenericModel_2_0() 366 android.hardware.soundtrigger.V2_0.ISoundTriggerHw.SoundModel.class); in loadGenericModel_2_0() 400 android.hardware.soundtrigger.V2_0.ISoundTriggerHw.SoundModel hidlModel = in loadGenericModel_2_0() 416 SoundModel model = createGenericSoundModel(); in loadGenericModel_2_1() 417 ArgumentCaptor<android.hardware.soundtrigger.V2_1.ISoundTriggerHw.SoundModel> modelCaptor = in loadGenericModel_2_1() [all …]
|
/frameworks/base/media/ |
D | Android.bp | 44 "java/android/media/soundtrigger_middleware/SoundModel.aidl",
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | DatabaseHelper.java | 170 values.put(SoundModelContract.KEY_TYPE, SoundTrigger.SoundModel.TYPE_KEYPHRASE); in updateKeyphraseSoundModel() 271 if (type != SoundTrigger.SoundModel.TYPE_KEYPHRASE) { in getValidKeyphraseSoundModelForUser()
|
/frameworks/base/api/ |
D | test-current.txt | 1516 …KeyphraseSoundModel extends android.hardware.soundtrigger.SoundTrigger.SoundModel implements andro… 1566 public static class SoundTrigger.SoundModel {
|
/frameworks/base/config/ |
D | preloaded-classes | 2792 android.hardware.soundtrigger.SoundTrigger$SoundModel 4070 android.media.soundtrigger_middleware.SoundModel$1 4071 android.media.soundtrigger_middleware.SoundModel
|
/frameworks/base/services/ |
D | art-profile | 167 HPLandroid/hardware/soundtrigger/V2_0/ISoundTriggerHw$SoundModel;-><init>()V 168 HPLandroid/hardware/soundtrigger/V2_0/ISoundTriggerHw$SoundModel;->writeEmbeddedToBlob(Landroid/os/… 187 HPLandroid/hardware/soundtrigger/V2_1/ISoundTriggerHw$SoundModel;-><init>()V 188 PLandroid/hardware/soundtrigger/V2_1/ISoundTriggerHw$SoundModel;->writeEmbeddedToBlob(Landroid/os/H… 189 HPLandroid/hardware/soundtrigger/V2_1/ISoundTriggerHw$SoundModel;->writeToParcel(Landroid/os/HwParc… 206 …loadSoundModel_2_1(Landroid/hardware/soundtrigger/V2_1/ISoundTriggerHw$SoundModel;Landroid/hardwar… 216 …loadSoundModel_2_1(Landroid/hardware/soundtrigger/V2_1/ISoundTriggerHw$SoundModel;Landroid/hardwar… 30146 …undTriggerHelper$ModelData;->getSoundModel()Landroid/hardware/soundtrigger/SoundTrigger$SoundModel; 30160 …ndTriggerHelper$ModelData;->setSoundModel(Landroid/hardware/soundtrigger/SoundTrigger$SoundModel;)V 30206 …rHelper;->startRecognition(Landroid/hardware/soundtrigger/SoundTrigger$SoundModel;Lcom/android/ser… [all …]
|