Lines Matching refs:in_device
2054 audio_devices_t in_device)
2060 switch(AUDIO_DEVICE_BIT_IN | in_device) {
2083 ALOGE("%s: Unsupported in_device %#x", __func__, in_device);
2095 audio_devices_t in_device)
2103 if (in_device & AUDIO_DEVICE_IN_BACK_MIC) {
2116 } else if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) {
2122 } else if (in_device & AUDIO_DEVICE_IN_WIRED_HEADSET) {
2128 if (in_device & AUDIO_DEVICE_IN_BACK_MIC) {
2141 } else if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) {
2147 } else if (in_device & AUDIO_DEVICE_IN_WIRED_HEADSET) {
2153 if (in_device & AUDIO_DEVICE_IN_BACK_MIC) {
2166 } else if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) {
2172 } else if (in_device & AUDIO_DEVICE_IN_WIRED_HEADSET) {
2197 audio_devices_t in_device = local
2203 __func__, out_device, in_device);
2282 if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC ||
2283 in_device & AUDIO_DEVICE_IN_BACK_MIC) {
2291 if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) {
2308 in_device = AUDIO_DEVICE_IN_BACK_MIC;
2312 out_device, in_device);
2325 if (in_device != AUDIO_DEVICE_NONE &&
2326 !(in_device & AUDIO_DEVICE_IN_VOICE_CALL) &&
2327 !(in_device & AUDIO_DEVICE_IN_COMMUNICATION)) {
2328 if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) {
2334 } else if (in_device & AUDIO_DEVICE_IN_BACK_MIC) {
2336 } else if (in_device & AUDIO_DEVICE_IN_WIRED_HEADSET) {
2338 } else if (in_device & AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET) {
2350 } else if (in_device & AUDIO_DEVICE_IN_AUX_DIGITAL) {
2352 } else if (in_device & AUDIO_DEVICE_IN_ANLG_DOCK_HEADSET ||
2353 in_device & AUDIO_DEVICE_IN_DGTL_DOCK_HEADSET) {
2355 } else if (in_device & AUDIO_DEVICE_IN_FM_TUNER) {
2358 ALOGE("%s: Unknown input device(s) %#x", __func__, in_device);