Searched refs:aidlModes (Results 1 – 2 of 2) sorted by relevance
156 static int aidl2hidlRecognitionModes(int aidlModes) { in aidl2hidlRecognitionModes() argument159 if ((aidlModes & RecognitionMode.VOICE_TRIGGER) != 0) { in aidl2hidlRecognitionModes()162 if ((aidlModes & RecognitionMode.USER_IDENTIFICATION) != 0) { in aidl2hidlRecognitionModes()165 if ((aidlModes & RecognitionMode.USER_AUTHENTICATION) != 0) { in aidl2hidlRecognitionModes()168 if ((aidlModes & RecognitionMode.GENERIC_TRIGGER) != 0) { in aidl2hidlRecognitionModes()175 int aidlModes = 0; in hidl2aidlRecognitionModes() local177 aidlModes |= RecognitionMode.VOICE_TRIGGER; in hidl2aidlRecognitionModes()181 aidlModes |= RecognitionMode.USER_IDENTIFICATION; in hidl2aidlRecognitionModes()185 aidlModes |= RecognitionMode.USER_AUTHENTICATION; in hidl2aidlRecognitionModes()188 aidlModes |= RecognitionMode.GENERIC_TRIGGER; in hidl2aidlRecognitionModes()[all …]
68 public static int aidl2apiRecognitionModes(int aidlModes) { in aidl2apiRecognitionModes() argument70 if ((aidlModes & RecognitionMode.VOICE_TRIGGER) != 0) { in aidl2apiRecognitionModes()73 if ((aidlModes & RecognitionMode.USER_IDENTIFICATION) != 0) { in aidl2apiRecognitionModes()76 if ((aidlModes & RecognitionMode.USER_AUTHENTICATION) != 0) { in aidl2apiRecognitionModes()79 if ((aidlModes & RecognitionMode.GENERIC_TRIGGER) != 0) { in aidl2apiRecognitionModes()