[Xoom Android Development] xlanhackerx:
Hey I use Build #108 and test some stuff with having Phone on my Xoom.

I will provide Logcat with scenario:

Remote Call to Xoom -> Call accept -> Remote Call End (HangUp)

Local Call from Xoom -> Call accept -> Local Call End (HangUp)

Both of them showing these Informations:

Call Presented:

AudioService( 311): AudioFocus requestAudioFocus() from AudioFocus_For_Phone_Ring_And_Calls
AudioHardwareInterface( 138): setMode(RINGTONE)

Call Accept:

AudioService( 311): AudioFocus requestAudioFocus() from AudioFocus_For_Phone_Ring_And_Calls
AudioHardwareInterface( 138): setMode(IN_CALL)

Call End:

AudioHardwareInterface( 138): setMode(NORMAL)
AudioService( 311): AudioFocus abandonAudioFocus() from AudioFocus_For_Phone_Ring_And_Calls

##################### Testing some more Stuff #####################

Connect Bluetooth Headset to my Xoom and made some Calls:

Logcat attached -> Remote Call to Xoom, Ringing State in Headset ->Call Accept but no Sound -> Remote Hangup

I see some nice Stuff into Logcat:

AudioHardwareTegra( 138): output device set 20 not supported, defaulting to speaker

seems to be that Audio (Calling) would be autorouted to Speaker which doesn´t work at the Moment --> SAD :(

Because Bluetooth work (A2DP) you could see here:

phone ( 3441): acceptCall: incoming...
Bluetooth HSHFP( 3441): AudioStateIntent: 00:1A:7D:11:BC:2A State: 11 PrevState: 10
AudioService( 311): AudioFocus requestAudioFocus() from AudioFocus_For_Phone_Ring_And_Calls
AudioHardwareInterface( 138): setMode(IN_CALL)
Bluetooth HSHFP( 3441): AudioStateIntent: 00:1A:7D:11:BC:2A State: 11 PrevState: 10
AudioService( 311): AudioFocus requestAudioFocus() from AudioFocus_For_Phone_Ring_And_Calls
AudioHardwareInterface( 138): setMode(IN_CALL)
Bluetooth HSHFP( 3441): AudioStateIntent: 00:1A:7D:11:BC:2A State: 12 PrevState: 11
AudioHardwareTegra( 138): output device set 20 not supported, defaulting to speaker
AudioHardwareTegra( 138): Bluetooth SCO active, rate forced to 8K
AudioHardwareTegra( 138): output device set 20 not supported, defaulting to speaker
AudioHardwareTegra( 138): Bluetooth SCO active, rate forced to 8K
AudioHardwareTegra( 138): output device set 20 not supported, defaulting to speaker
AudioHardwareTegra( 138): Bluetooth SCO active, rate forced to 8K
AudioHardwareTegra( 138): output device set 20 not supported, defaulting to speaker
AudioHardwareTegra( 138): Bluetooth SCO active, rate forced to 8K
CallNotifier( 3441): onDisconnect: cause = NORMAL, incoming = true, date = 1346008022213
CallNotifier( 3441): SignalInfoTonePlayer.run(toneId = 98)...
AudioTrack( 3441): dead IAudioTrack, creating a new one from start() TID 3902
PowerManagerService( 311): clearUserActivity for 10000ms from now
AudioHardwareTegra( 138): output device set 20 not supported, defaulting to speaker
AudioHardwareTegra( 138): Bluetooth SCO active, rate forced to 8K
CallNotifier( 3441): InCallTonePlayer.run(toneId = 4)...
Bluetooth HSHFP( 3441): AudioStateIntent: 00:1A:7D:11:BC:2A State: 10 PrevState: 12
AudioHardwareTegra( 138): output device set 20 not supported, defaulting to speaker
AudioHardwareTegra( 138): Bluetooth SCO active, rate forced to 8K
AudioHardwareInterface( 138): setMode(NORMAL)

#################################################################

Now we have to show inside Sources about AudioHardwareInterface and AudioService for getting more Debug Informations !

I found some Informations about AudioHardwareInterface and AudioService inside Original Sources and also these seems to be linked to Kernel Related Stuff !

-> Okay I found some needing Stuff inside "libaudio/AudioHardware.cpp" so we should checkout these Part !!!

---> References about it found at : libaudio/AudioHardware.cpp and also libaudio/AudioHardware.cpp

EDIT: Forgot to include used Telephone.apk from Huawei Media Pad (works great but without Sound in Call)