Searched refs:aidlModes (Results 1 – 5 of 5) sorted by relevance
161 static int aidl2hidlRecognitionModes(int aidlModes) { in aidl2hidlRecognitionModes() argument164 if ((aidlModes & RecognitionMode.VOICE_TRIGGER) != 0) { in aidl2hidlRecognitionModes()167 if ((aidlModes & RecognitionMode.USER_IDENTIFICATION) != 0) { in aidl2hidlRecognitionModes()170 if ((aidlModes & RecognitionMode.USER_AUTHENTICATION) != 0) { in aidl2hidlRecognitionModes()173 if ((aidlModes & RecognitionMode.GENERIC_TRIGGER) != 0) { in aidl2hidlRecognitionModes()180 int aidlModes = 0; in hidl2aidlRecognitionModes() local182 aidlModes |= RecognitionMode.VOICE_TRIGGER; in hidl2aidlRecognitionModes()186 aidlModes |= RecognitionMode.USER_IDENTIFICATION; in hidl2aidlRecognitionModes()190 aidlModes |= RecognitionMode.USER_AUTHENTICATION; in hidl2aidlRecognitionModes()193 aidlModes |= RecognitionMode.GENERIC_TRIGGER; in hidl2aidlRecognitionModes()[all …]
72 public static int aidl2apiRecognitionModes(int aidlModes) { in aidl2apiRecognitionModes() argument74 if ((aidlModes & RecognitionMode.VOICE_TRIGGER) != 0) { in aidl2apiRecognitionModes()77 if ((aidlModes & RecognitionMode.USER_IDENTIFICATION) != 0) { in aidl2apiRecognitionModes()80 if ((aidlModes & RecognitionMode.USER_AUTHENTICATION) != 0) { in aidl2apiRecognitionModes()83 if ((aidlModes & RecognitionMode.GENERIC_TRIGGER) != 0) { in aidl2apiRecognitionModes()
531 private int toSupportedContaminantProtectionModes(byte[] aidlModes) { in toSupportedContaminantProtectionModes() argument534 for (byte aidlMode : aidlModes) { in toSupportedContaminantProtectionModes()
920 std::vector<::aidl::android::media::audio::common::AudioLatencyMode> aidlModes; in getRecommendedLatencyModes() local922 statusTFromBinderStatus(mStream->getRecommendedLatencyModes(&aidlModes))); in getRecommendedLatencyModes()925 aidlModes, in getRecommendedLatencyModes()
134 std::vector<AudioMode> aidlModes; in getSupportedModes() local136 statusTFromBinderStatus(mTelephony->getSupportedAudioModes(&aidlModes))); in getSupportedModes()139 aidlModes, ndk2cpp_AudioMode)); in getSupportedModes()