History log of /packages/services/Telecomm/src/com/android/server/telecom/CallAudioRouteStateMachine.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
209175a2ab0d6d8c27aed4fe4458c5f611004e3f 10-May-2016 Hall Liu <hallliu@google.com> Merge "Turn off mWasOnSpeaker if user explicitly leaves speakerphone" into nyc-dev
04209a31d133a1c0eda0fd550fdeb7c798a168f5 02-May-2016 Hall Liu <hallliu@google.com> Turn off mWasOnSpeaker if user explicitly leaves speakerphone

Bug: 28300938
Change-Id: Iab8663b97d236946183270c4d33e63d6de1c224a
/packages/services/Telecomm/src/com/android/server/telecom/CallAudioRouteStateMachine.java
147cc5fecde5e54916f915f35d8a3161cf753301 25-Apr-2016 Hall Liu <hallliu@google.com> Ignore BT_AUDIO_DISCONNECTED when in the quiescent BT route

Change-Id: I631244b8defe007df8e11b484c1e43264ef6d69d
Fix: 28264011
/packages/services/Telecomm/src/com/android/server/telecom/CallAudioRouteStateMachine.java
8c7e2569e4d5f9a3392d3cbf0ac7020be6c96d66 14-Apr-2016 Hall Liu <hallliu@google.com> Send audio state when foreground call is updated

Whenever the foreground call changes, send the audio state to both the
in-call service and the call's connection service.

Change-Id: I7048aec0f50590da0f94f8bc5cb19043a5f70f76
Fix: 28114043
/packages/services/Telecomm/src/com/android/server/telecom/CallAudioRouteStateMachine.java
d8ca5458f6ee1d47098a5934ddcef7e24cb074a9 10-Mar-2016 Hall Liu <hallliu@google.com> Improved audio focus handling for CARSM

Eliminates the REINITIALIZE message, which was originally written for
compatiblity with the old CallAudioManager. Resetting the audio route
back to the default state now occurs automatically whenever we lose
audio focus.

Also adds logging session support to InCallTonePlayer

Bug: 27555048
Change-Id: I4b7bb6c81aa2a38670fd3768dd65d4b3e24841eb
/packages/services/Telecomm/src/com/android/server/telecom/CallAudioRouteStateMachine.java
12cb125b1a08aa61ccb63c78c22b5c118fddddf2 09-Mar-2016 Hall Liu <hallliu@google.com> Set system mute state to false when all calls have terminated.

Bug: 27486437
Change-Id: Ieddbe4595180d9e547478755025b0489ca22ed44
/packages/services/Telecomm/src/com/android/server/telecom/CallAudioRouteStateMachine.java
e74af084ac087f6af0f16ecbed5e74ce7183d254 11-Feb-2016 Hall Liu <hallliu@google.com> Add way for external bluetooth audio changes to notify CARSM

update onBluetoothStateChange and BluetoothManager to be more aware of
bluetooth changes coming from external sources. Also add tests for
BluetoothManager.

Bug: 27133607
Change-Id: I10790a9cfad329574c8e9dd4144127020eea65e4
/packages/services/Telecomm/src/com/android/server/telecom/CallAudioRouteStateMachine.java
4f296ba3f42713fd138dbe86b97500f43f5d2d27 18-Feb-2016 Hall Liu <hallliu@google.com> Prevent BT reconnection from switching route

After a user has switched away from bluetooth explicitly, don't go back
to bluetooth if a device is disconnected then reconnected.

Bug: 22507913
Change-Id: I26f407255f8106bb216a397091a08d7c4f08ff26
/packages/services/Telecomm/src/com/android/server/telecom/CallAudioRouteStateMachine.java
e62e9e83a17824b8e2057be35c2adcca20af9e35 02-Feb-2016 Brad Ebinger <breadley@google.com> Introduce LoggingRunnable for Session logging

Introduces a Session.LoggingRunnable class to reduce code duplication
when implementing Runnables in Telecom.

Bug: 26807413
Change-Id: I40c709fd09260c6a40b63fd2c401e5a582035a5c
/packages/services/Telecomm/src/com/android/server/telecom/CallAudioRouteStateMachine.java
d109afbb672ef3a1994cd3c32f10332f40f6af7f 26-Jan-2016 Hall Liu <hallliu@google.com> Fix audio routing issue and flaky test

There was a potential issue in CallAudioRouteManager where the
transition from a quiescent state to its corresponding active state
would not be communicated to the in-call service. This has been fixed.

This change also changes InCallController to not broadcast current state
to all bound in-call services when a new service is bound.
VideoCallTests was adjusted to take this into account.

Bug: 26827840
Change-Id: Ibda3e2c783b77d82a7337fa39f4675dac22ae071
/packages/services/Telecomm/src/com/android/server/telecom/CallAudioRouteStateMachine.java
a3e9ddacab074828d8b1867db77e7c96b712ac0c 16-Dec-2015 Hall Liu <hallliu@google.com> Add support for earpiece-less devices in audio routing

Allow devices without earpieces (Wear devices) to route call audio
correctly by falling back to speakerphone. Added tests to verify correct
behavior in this instance.

Bug: 26195788
Change-Id: If73db0cc4c3fcb00b3068276a10d44417d2ddd5c
/packages/services/Telecomm/src/com/android/server/telecom/CallAudioRouteStateMachine.java
ef15aea6ef54e3a8b04d534b14266b7a9009f085 06-Jan-2016 Hall Liu <hallliu@google.com> Add logging of message code to CallAudioRouteStateMachine

Log human-readable version of msg.what in addition to the numerical
code.

Change-Id: I8524c9c3b903b835cea6d0399889416fa9a525e3
/packages/services/Telecomm/src/com/android/server/telecom/CallAudioRouteStateMachine.java
29855705f44029e8578b8c4df9b571748724a03a 12-Dec-2015 Hall Liu <hallliu@google.com> Improve test stability for CallAudioRouteStateMachine

Explicitly run verifications only after all state machine commands have
been completed, by attaching a Runnable to a message to be processed
after all other messages by the call audio route state machine.

Change-Id: I7678eea5148fd08d72aac26183273c8d0d66d295
/packages/services/Telecomm/src/com/android/server/telecom/CallAudioRouteStateMachine.java
11623a354be47205bf3bc686ed8fdfc278958983 25-Nov-2015 Brad Ebinger <breadley@google.com> Adds Telecom Logging to TelecomServiceImpl.

Adds Telecom logging sessions to the major entry points in TelecomServiceImpl
and other modules in order to track the code paths of other processess.

Refactor CallAudioRouteStateMachine to use callbacks in StateMachine to
handle logging.

Change-Id: I48a70afaf2028ace73608be4f825c49af16c1622
/packages/services/Telecomm/src/com/android/server/telecom/CallAudioRouteStateMachine.java
72930a80679d461ad694b6555b0749d5fc4e31a8 23-Nov-2015 Brad Ebinger <breadley@google.com> Introduce Session logging to CallAudioManager

Introduces session logging into Telecom's CallAudioManager and
incoming call entry points.

Change-Id: I7419fd5372a363ac21dbec8d4aeb29b05591300d
/packages/services/Telecomm/src/com/android/server/telecom/CallAudioRouteStateMachine.java
f62630a57de0d52be2bdbc92a9bf8f305cc0892d 27-Oct-2015 Hall Liu <hallliu@google.com> Refactor CallAudioManager's audio routing

This change separates the audio routing functionality of
CallAudioManager into a separate component, implemented as a formal
state machine.

Change-Id: I4ca66abe72609d67dc8bde8ed8ff1538b7d0cf57
/packages/services/Telecomm/src/com/android/server/telecom/CallAudioRouteStateMachine.java