Home
last modified time | relevance | path

Searched refs:maxSoundModels (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DFakeSoundTriggerHal.java211 if (getNumLoadedModelsLocked() == (mProperties.maxSoundModels - 1) in triggerUnloadModel()
408 if (mIsResourceContended || getNumLoadedModelsLocked() == mProperties.maxSoundModels) { in loadSoundModel()
427 if (mIsResourceContended || getNumLoadedModelsLocked() == mProperties.maxSoundModels) { in loadPhraseSoundModel()
462 if (getNumLoadedModelsLocked() == (mProperties.maxSoundModels - 1) in unloadSoundModel()
623 properties.maxSoundModels = 8; in createDefaultProperties()
DConversionUtil.java66 aidlProperties.maxSoundModels = hidlProperties.maxSoundModels; in hidl2aidlProperties()
DSoundTriggerHw2Compat.java99 result = new SoundTriggerHalMaxModelLimiter(result, compat.mProperties.maxSoundModels); in create()
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/
DTestUtil.java178 properties.maxSoundModels = 456; in createDefaultProperties_2_0()
211 properties.maxSoundModels = 456; in createDefaultProperties()
240 assertEquals(456, properties.maxSoundModels); in validateDefaultProperties()
DSoundHw2CompatTest.java277 final int maxModels = TestUtil.createDefaultProperties_2_0().maxSoundModels; in testMaxModels()
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java166 int maxSoundModels, int maxKeyphrases, int maxUsers, in ModuleProperties() argument
176 this.mMaxSoundModels = maxSoundModels; in ModuleProperties()
300 int maxSoundModels = in.readInt(); in fromParcel() local
311 supportedModelArch, maxSoundModels, maxKeyphrases, maxUsers, recognitionModes, in fromParcel()
DConversionUtil.java59 properties.maxSoundModels, in aidl2apiModuleDescriptor()