f15dc33f87f88e21ef745952a68af65c86e1bf1e |
|
08-Jun-2016 |
Tyler Gunn <tgunn@google.com> |
Filter external calls when InCallService doesn't support them. Use TelecomManager#METADATA_INCLUDE_EXTERNAL_CALLS metadata to check whether an InCallService supports external calls. Will only send external calls to an InCallService which has correct Metadata to indicate that it wants to be informed of external calls. This required some changes to how InCallController keeps track of the incallservices. I have added an InCallServiceInfo class which tracks the component name of an ICS as well as whether it supports external calls. The change to CallsManager#getFirstCallWithState and getNumCallsWithSate ensures that when TelecomServiceImpl checks to see if there are ongoing calls it doesn't consider external calls when checking if there is an ongoing call, and also when determining if room needs to be made for a call. Bug: 27458894 Change-Id: I69652877332be8527fb16a38c692b6f51a92e469
/packages/services/Telecomm/src/com/android/server/telecom/InCallWakeLockController.java
|
63a89f28d6e86844eea242a0175db21df1624db1 |
|
09-Dec-2015 |
Brad Ebinger <breadley@google.com> |
Mock WakeLocks in Telecom for Unit Testing Currently, the proximity and in-call wakelock controllers use PowerManager and PowerManager.WakeLock, which are final and can not be mocked. A container named TelecomWakeLock has been introduced, which encapsulates WakeLock logic for Unit Testing. Unit tests are added for the ProximitySensorManager and InCallWakeLockControllerTest. Change-Id: I4a894d4cd8d9d8952144a41a4d0a4bf4dac4de46
/packages/services/Telecomm/src/com/android/server/telecom/InCallWakeLockController.java
|
ae694b10e9156cfe0c8c57d73989fed13c887f69 |
|
12-Nov-2015 |
Tyler Gunn <tgunn@google.com> |
Make TelecomSystemTest compatible with code coverage Creates a few implementations of interfaces to spy on to avoid mysterious exceptions resulting from interactions between Mockito and Emma. Change-Id: Ie32b1bb101811471722f6e48aa4c5a75f364575c
/packages/services/Telecomm/src/com/android/server/telecom/InCallWakeLockController.java
|
42e0781fd5f8864e4e96c93952e66897d93095c4 |
|
18-Sep-2015 |
Yorke Lee <yorkelee@google.com> |
Make InCall wakelock non-reference counted Certain orders of call state changes can lead to a non-symmetric number of acquire and release calls. Make the wakelock non-reference counted to ensure that wakelock is held deterministically based on whether or not there is a ringing call present. Bug: 24073449 Change-Id: Ie6807fa983016e3c70e2e047e2756000835ad5ec
/packages/services/Telecomm/src/com/android/server/telecom/InCallWakeLockController.java
|
a365390b0d157fbe1655cdc41ea5d13fa13fdbdf |
|
23-Jan-2015 |
Ihab Awad <ihab@google.com> |
Minor visibility changes to make tests work again. Change-Id: I023974f9f145ec9b39b6d8a1c3b1679638dd59f7
/packages/services/Telecomm/src/com/android/server/telecom/InCallWakeLockController.java
|
61e6f352c9c1fe8dc346ccf8d3560f7060ec663a |
|
03-Dec-2014 |
Santos Cordon <santoscordon@google.com> |
Maintain Full Wake Lock while an incoming call is ringing. Bug: 18474158 Change-Id: Ia9190a4ee34e138ccd91515db080a98754a0dd27
/packages/services/Telecomm/src/com/android/server/telecom/InCallWakeLockController.java
|