bcf23de07aed59ed34d0121a76d29b6ed9a14288 |
|
04-Aug-2017 |
Tyler Gunn <tgunn@google.com> |
Change getAgeMillis to use elapsed system time instead of wall-clock time. Changing getAgeMillis to rely on SystemClock#elapsedRealtime() to determine the duration of a call. This ensures that changes to the device time zone, clock updates by the network and user initiated time changes to not impact the duration of calls in the call log. Test: Manual, unit Bug: 64068300 Merged-In: I62924dc7889c86a7457d05f8fbb20ab8189ece1a Change-Id: I62924dc7889c86a7457d05f8fbb20ab8189ece1a (cherry picked from commit 6c3a2dd68c9ac5584f48cf5f62fa01896fccdc7d)
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
7bba1112556e122254013562650aac6a6af80ac6 |
|
08-Jun-2017 |
Brad Ebinger <breadley@google.com> |
Fixes some of the flakiness in Telecom - Fixes some flakiness in the tests - Mocks out the ToneGenerator Test: Run Telecom Unit Tests Change-Id: If3bd51fe4a82068cc0d712d2e499abde4fdb0481
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
daeffaf3dbcfadfcb58b07a56169982eacb697db |
|
11-Apr-2017 |
Tyler Gunn <tgunn@google.com> |
Remove auto-DND while in call. Removing the auto DND functionality while in a call. This functionality is being phased out due to b/28688969. Test: Unit/Manual Bug: 37154069 Change-Id: I5690116fc6a3938e7725a4b2963741885ddc8ac0
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
dce902a0cd4d7060e1825cc3cde8d7f76eb67086 |
|
04-Apr-2017 |
Tyler Gunn <tgunn@google.com> |
Add Telecom notification channels. Test: Manual Bug: 36866129 Change-Id: I49194128b4f526205055137d4ebaa8b282baa90f
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
2b17f23d3257dec66d965ac7b4a59aa2226b43a5 |
|
08-Mar-2017 |
Tyler Gunn <tgunn@google.com> |
Self-Managed Incoming Call Disambiguation UX. - Handle auto-disconnect of foreground call when answering a self-managed call. - Enforce restriction that the PhoneAccount associated with a self-managed CS must have a label which is the app's name. - Ensure self-managed phone accounts can't be registered with call provider, connection manager, or sim sub capabilities. - Add "incoming call" UX which is shown when a new incoming call from a self-managed CS comes in and there is an existing call for another CS. Test: Unit, manual Bug: 34159263 Change-Id: I371be9baa6f56c77aa83349977c0131f0e319047
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
4192dd7bd64222384a79494fb92068ebceaf2ffb |
|
11-Jan-2017 |
Tyler Gunn <tgunn@google.com> |
Fix issue where the dnd mode remains on after a call terminates. There is a potential race condition when handling the ACTION_INTERRUPTION_FILTER_CHANGED broadcast. Since we're setting the interruption mode ourselves, we also get this broadcast. Most of the time the broadcast is processed first and everything works. However, it looks like there are cases where the broadcast receiver processes AFTER we have updated mAreNotificationSuppressed to true. Thus, when we try to turn off DND later on we assume that the user had initiated the request to turn off DND and don't bother to do so. The fix is to check who initiated the manual DND rule. If its telecom, we can ignore the broadcast. Test: Manual Bug: 33340277 Merged-In: I42b78fd27fe9814c4f8e29afc8937c3b41f51e50 Change-Id: I42b78fd27fe9814c4f8e29afc8937c3b41f51e50
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
2b33df76a3b7b43ae9fde36f73da11cb22954656 |
|
07-Dec-2016 |
Hall Liu <hallliu@google.com> |
Use DefaultDialerCache in Telecom (part 2) Use the DefaultDialerCache throughout Telecom whereever the value of the default dialer for a particular user is accessed or modified. Also moves the DefaultDialerManagerAdapter to DefaultDialerCache since TelecomServiceImpl no longer directly uses it. Test: Unit tests and manual tests as specified in design Change-Id: I61ee37f382f4b29266ce254a0e1f7db183e7a0bb Merged-In: I5d8f46b4a236e570528425b4010976ac837644ac
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
8f98f10d53f4f7aa1605a37313a6186f90dc6c0e |
|
21-Oct-2016 |
Brad Ebinger <breadley@google.com> |
resolve merge conflicts of 953e1af to stage-aosp-master Test: Manual Testing Change-Id: I3c8cac2c8b3634db7a20cceda434e6db6cdb05ca
|
953e1af643b66df6f931d76c23bcc54147668cd4 |
|
06-Oct-2016 |
Brad Ebinger <breadley@google.com> |
Switch to using android.telecom.Log in Telecom Sorry. Test: All affected unit tests still pass. Bug: 26571395 Change-Id: I890d68d935cd554ba89042e99c155757697e1a37
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
14295772c3c055e4b9b25b8b8e9c39a2b78f9a18 |
|
11-Oct-2016 |
Hall Liu <hallliu@google.com> |
resolve merge conflicts of 253b129 to nyc-mr1-dev-plus-aosp Change-Id: I9d37a418982377eb1b94596998e22467d6c86402
|
eaaf074d6b8b0b16fb922d8d511d6e8b979bfe0d |
|
16-Sep-2016 |
Tyler Gunn <tgunn@google.com> |
Prevent notification vibration when the user is on the earpiece. When the earpiece route is activated, if the user has not already enabled a notification interruption filter, we will set it to alarms-only. This ensures that notifications don't cause the phone to vibrate while in earpiece mode. If the user changes the interruption filter during the call we will keep their new chosen filter when the earpiece route is disabled. This notification filtering only takes place for the earpiece route. Bug: 29962221 Change-Id: Ia332a988f10427a2a0f8315af9f31d854836db9f
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
6ab66c31dbd8373d777b0c680e47e5ef451d9d9c |
|
16-Jul-2016 |
Brad Ebinger <breadley@google.com> |
Fix NPE in Call.setHandle Fix a NPE in Call.setHandle that was occuring in MissedCallNotifierImpl, when switching to second user. Change-Id: I9d3fc394683f3000711fa05c09ea737e2f6c4553 Fix: 30170188
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
6e8f3d70ac7397afb4cb5ab276d1cd385c92dd21 |
|
20-Jun-2016 |
Brad Ebinger <breadley@google.com> |
Rename Telecom Call Ids to include attempt Telecom Call Ids will now append an attempt id (in the form of an integer) that will be used by the CreateConnetionProcessor to name the Telecom Call Ids that are used during the creation of a Connection to the ConnectionService. This allows us to better identify which Connection is calling back to Telecom to update status, disconnect, etc. Previously, all of the attempted Connections in CreateConnectionProcessor would be given the same name, which could lead to multiple Connections trying to manage the same Call object in Telecom. Also, a supporting tests were added and a few Unit Tests were fixed. Bug: 28799824 Change-Id: I7e23497ab671712bc8d3cc9542537ae1c4829afc
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
6d4b66df3d918e3f17263ff40ca3ba0ec5a46719 |
|
02-Apr-2016 |
Hall Liu <hallliu@google.com> |
Incorporate parallel call blocking checks Modify CallsManager to use the IncomingCallFilter class introduced in a previous CL. Modifies AsyncBlockCheckTask and CallScreening to implement CallFilter and removes the logic in those classes that used to execute the filters in series. Added tests for block-check and call screening. Added logging events to track how long each of the call filters take. Change-Id: Iecd60463fe9ac6dbbd85d57ef6ae2bfccb94d967 Fix: 26883888
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
7ade5e2c3f7a849e41de3b81051c12a8fcd6ea83 |
|
06-Apr-2016 |
Brad Ebinger <breadley@google.com> |
Mock out AsyncRingtonePlayer during Testing AsyncRingtonePlayer wasn't being correctly Mocked in the TelecomSystemTests. Since the Async threads to continue to run after the tests were completed, The AsyncRingtonePlayer log messages were interfering with LogTest's Log capturing. Fix: 28044674 Change-Id: Ic58a0091a969f8eb36b777b859ba08202810221a
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
7948f5b5aeae8e508ee4310595669c484c786dd7 |
|
16-Mar-2016 |
Hall Liu <hallliu@google.com> |
Fix tests breaking when bluetooth is on BluetoothPhoneServiceImpl now uses a BluetoothAdapterProxy so that it is now isolated from system bluetooth. Bug: 27686250 Change-Id: If27c9ba642b163ecde68ae8956bc76523a552d31
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
e091ab90e37845cf4771051a6d2ce0ebadee4fe7 |
|
19-Dec-2015 |
Hall Liu <hallliu@google.com> |
CallAudioManager refactoring Separates the handling of audio mode and audio focus into a state machine and brings ringing, tone generation, and ringbacks under the control of CallAudioManager. (cherry picked from commit fc2270137059e855756769752899d613e27d12a8) Change-Id: Idd765550c907150117b8b66f76e88868ae3785c2
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
a993094840386163e9c2aa65a05e14b49d122318 |
|
15-Jan-2016 |
Tony Mak <tonymak@google.com> |
Updated missed call notification behaviour Change-Id: Id32110413fbb5fa4ae4c3478e70f54d211b78389 Missed call notification 1. If the phone account has multi user capability, the notification is shown in current user. 2. If the phone account has no multi user capability, the notification is shown in the user that owns the phone account of the call 3. Whenever user is switched, reload missed call from database and post notifications if necessary. Change-Id: Id32110413fbb5fa4ae4c3478e70f54d211b78389
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.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/components/TelecomService.java
|
b3979ee8e636820cc5e68f26562bc02987e5d489 |
|
12-Nov-2015 |
Hall Liu <hallliu@google.com> |
Fix test breakage when phone bluetooth is on When the phone's bluetooth is enabled, TelecomSystemTest will fail with a permission error in BluetoothPhoneServiceImpl. This change introduces a new factory to facilitate mocking of BluetoothPhoneServiceImpl. Change-Id: I58e1d5532a7f55580d37158fee27209e3de24988
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
8fb1fb72b084a0497a3c3c3037ce5667bde14482 |
|
23-Oct-2015 |
Hall Liu <hallliu@google.com> |
Fix TelecomSystemTest#testAudioManagerOperations testAudioManagerOperations was setting the microphone to mute and attempting to verify that the setMicrophoneMute methond on the AudioManager was invoked. However, CallAudioManager bypasses AudioManager and calls AudioService directly. This change modifies CallAudioManager so that a mock AudioService can be injected. The test was modified so that it checks that the appropriate mute method was called on the mock AudioService instead of checking the mock AudioManager. Bug: 25158760 Change-Id: I0d5946ae6b4cd31c9067e818f20dcc37a2e15c86
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
3188b364c360f83631fe1c7623c0e4252088b3c6 |
|
22-May-2015 |
Santos Cordon <santoscordon@google.com> |
Protecting PII data. Bug: 21204385 Change-Id: I95a82e6ae79b728ed75da25be3beedd0e66d5b41
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
731369c3983628e700f161138fe2ea3230033a1a |
|
19-May-2015 |
Ihab Awad <ihab@google.com> |
Sync for HeadsetMediaButton Add synchronization and deferred execution to our interactions with MediaSession, since MediaSession sometimes calls back via an RPC into Telecom and can cause us to deadlock. Bug: 21028885 Change-Id: I8fc0574269a81e817e1c139aa0fe56258c96bd64
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
abcbce4441720c52a443d292d5adc2d95f446494 |
|
07-Apr-2015 |
Ihab Awad <ihab@google.com> |
Fix deadlock around locking in AudioManager Includes proof of concept tests, but the tests are not yet highlighting the problem, due to its nondeterminism. Bug: 20103143 Bug: 20108354 Change-Id: I8323a660c6cc4093888f4e608070709a828624e6
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
8d5d9ddc66b55b6906364ab3c0e244dab4d58f13 |
|
12-Mar-2015 |
Ihab Awad <ihab@google.com> |
Make Telecom synchronous Remove main-thread handlers and add a systemwide lock object. Change-Id: I6334fdfa6c244836f6375bea302404f61c81301b
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.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/components/TelecomService.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/components/TelecomService.java
|