History log of /packages/services/Telecomm/src/com/android/server/telecom/ProximitySensorManager.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a3eccfee788c3ac3c831a443b085b141b39bb63d 06-Oct-2016 Brad Ebinger <breadley@google.com> Switch to using android.telecom.Log in Telecom

Sorry.
CP from: https://android-review.googlesource.com/#/c/287332/

Test: Added unit tests for Log Sessions and Events. All other affected
unit tests still pass.
Bug: 26571395
Change-Id: I890d68d935cd554ba89042e99c155757697e1a37
/packages/services/Telecomm/src/com/android/server/telecom/ProximitySensorManager.java
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/ProximitySensorManager.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/ProximitySensorManager.java
8de76915ea2772faeb41705aaaeb65f5b3478ac4 17-Feb-2015 Ihab Awad <ihab@google.com> Further refactor Telecom and add tests

Complete refactoring Telecom to remove singletons from the core code.

Introduce a unit test that simulates a full outgoing phone call from
start to hangup.

Change-Id: I8b09cac6eb9b6aeeb0aeba5d8ae032b4c303c08d
/packages/services/Telecomm/src/com/android/server/telecom/ProximitySensorManager.java
78a5e6b9c1595c81f72d7a822617cb78db224e48 06-Feb-2015 Ihab Awad <ihab@google.com> Refactoring for testability

Refactor to a single app singleton, TelecomSystem, which owns the
intialization of the rest of the app.

Change-Id: I3036f200b56f710e7f830b469260a67145c327e7
/packages/services/Telecomm/src/com/android/server/telecom/ProximitySensorManager.java
cce72fcf2db1e502a6ef52cdc15f47da62126a72 20-Oct-2014 Yorke Lee <yorkelee@google.com> Add more logging to proximity sensor

Change-Id: Ic9329699daffff19fc25bcdcbc3378cd1313e658
/packages/services/Telecomm/src/com/android/server/telecom/ProximitySensorManager.java
7cc70b4f0ad1064a4a0dce6056ad82b205887160 13-Sep-2014 Tyler Gunn <tgunn@google.com> Renaming Telecomm to Telecom.

- Changing package from android.telecomm to android.telecom
- Changing package from com.android.telecomm to
com.android.server.telecomm.
- Renaming TelecommManager to TelecomManager.

Bug: 17364651
Change-Id: Ib7b20ba6348948afb391450b4eef8919261f3272
/packages/services/Telecomm/src/com/android/server/telecom/ProximitySensorManager.java