Searched refs:hidlModes (Results 1 – 2 of 2) sorted by relevance
162 int hidlModes = 0; in aidl2hidlRecognitionModes() local165 hidlModes |= android.hardware.soundtrigger.V2_0.RecognitionMode.VOICE_TRIGGER; in aidl2hidlRecognitionModes()168 hidlModes |= android.hardware.soundtrigger.V2_0.RecognitionMode.USER_IDENTIFICATION; in aidl2hidlRecognitionModes()171 hidlModes |= android.hardware.soundtrigger.V2_0.RecognitionMode.USER_AUTHENTICATION; in aidl2hidlRecognitionModes()174 hidlModes |= android.hardware.soundtrigger.V2_0.RecognitionMode.GENERIC_TRIGGER; in aidl2hidlRecognitionModes()176 return hidlModes; in aidl2hidlRecognitionModes()179 static int hidl2aidlRecognitionModes(int hidlModes) { in hidl2aidlRecognitionModes() argument181 if ((hidlModes & android.hardware.soundtrigger.V2_0.RecognitionMode.VOICE_TRIGGER) != 0) { in hidl2aidlRecognitionModes()184 if ((hidlModes & android.hardware.soundtrigger.V2_0.RecognitionMode.USER_IDENTIFICATION) in hidl2aidlRecognitionModes()188 if ((hidlModes & android.hardware.soundtrigger.V2_0.RecognitionMode.USER_AUTHENTICATION) in hidl2aidlRecognitionModes()[all …]
916 [&](Result r, hidl_vec<LatencyMode> hidlModes) { in getRecommendedLatencyModes() argument918 for (size_t i = 0; i < hidlModes.size(); i++) { in getRecommendedLatencyModes()919 modes->push_back(static_cast<audio_latency_mode_t>(hidlModes[i])); in getRecommendedLatencyModes()934 Return<void> onRecommendedLatencyModeChanged(const hidl_vec<LatencyMode>& hidlModes) override { in onRecommendedLatencyModeChanged()938 for (size_t i = 0; i < hidlModes.size(); i++) { in onRecommendedLatencyModeChanged()939 modes.push_back(static_cast<audio_latency_mode_t>(hidlModes[i])); in onRecommendedLatencyModeChanged()