Home
last modified time | relevance | path

Searched refs:aidlModes (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DConversionUtil.java161 static int aidl2hidlRecognitionModes(int aidlModes) { in aidl2hidlRecognitionModes() argument
164 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() local
182 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 …]
/frameworks/base/core/java/android/hardware/soundtrigger/
DConversionUtil.java72 public static int aidl2apiRecognitionModes(int aidlModes) { in aidl2apiRecognitionModes() argument
74 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()
/frameworks/base/services/usb/java/com/android/server/usb/hal/port/
DUsbPortAidl.java531 private int toSupportedContaminantProtectionModes(byte[] aidlModes) { in toSupportedContaminantProtectionModes() argument
534 for (byte aidlMode : aidlModes) { in toSupportedContaminantProtectionModes()
/frameworks/av/media/libaudiohal/impl/
DStreamHalAidl.cpp920 std::vector<::aidl::android::media::audio::common::AudioLatencyMode> aidlModes; in getRecommendedLatencyModes() local
922 statusTFromBinderStatus(mStream->getRecommendedLatencyModes(&aidlModes))); in getRecommendedLatencyModes()
925 aidlModes, in getRecommendedLatencyModes()
DDeviceHalAidl.cpp134 std::vector<AudioMode> aidlModes; in getSupportedModes() local
136 statusTFromBinderStatus(mTelephony->getSupportedAudioModes(&aidlModes))); in getSupportedModes()
139 aidlModes, ndk2cpp_AudioMode)); in getSupportedModes()