b652dad4c19fd1f80b0244a0a42d642a4b99d21a |
|
27-Mar-2018 |
Tyler Gunn <tgunn@google.com> |
Send CALL intent directly to Telecom CallIntentProcessor. TelecomManager#placeCall results in a CALL intent being sent from Telecom to itself. If there are delays in the system broadcast queue, the CALL intent could be held up in the queue causing delays in the outgoing call flow. Changing the code so we instead just send the intent directly to the call intent processor. Test: Manually reproduced broadcast queue spamming issue and verified that placeCall API does not block in this case any more. Bug: 76005593 Merged-In: I4d1292d6fab2a2b7025e3bb9dd2592c7a18a5019 Change-Id: I4d1292d6fab2a2b7025e3bb9dd2592c7a18a5019 (cherry picked from commit 7878497846b9c5f66d3ffbcf45825bff356ef029)
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
606ff7f93c1b95fda48a89876000cb4f63b6e47b |
|
21-Dec-2017 |
Pengquan Meng <mpq@google.com> |
Integrate connectionServiceFocusManager into call flow This changed allows multiple calls existed at the same time by mataining the ConnectionService focus. design doc: go/android-telecom-3p-enhancements Bug: 69651192 Test: unit test Change-Id: I57777daec2011df958d0483ad0876cff55ee0133
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
0e913fde338e0a073ea17c80e55b090d0e47e08b |
|
17-Jan-2018 |
Pengquan Meng <mpq@google.com> |
Revert "Integrate connectionServiceFocusManager into call flow" This reverts commit d2a1ecd367b7d2435b6b1458ba8d3779fe52576b. This CL caused Duo unusable, need investigate the reason, so just reverted the CL at this time. Change-Id: I710259befefdb8ec55767afce5a988d3a6cb0d5d
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
d2a1ecd367b7d2435b6b1458ba8d3779fe52576b |
|
21-Dec-2017 |
Pengquan Meng <mpq@google.com> |
Integrate connectionServiceFocusManager into call flow This changed allows multiple calls existed at the same time by mataining the ConnectionService focus. design doc: go/android-telecom-3p-enhancements Bug: 69651192 Test: unit test Change-Id: Ifcf64664f61d1b792daa1cab504d9045f2dbc975
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
c8a396be8aae0609e4953add63952acc2ca8f871 |
|
28-Dec-2017 |
Hall Liu <hallliu@google.com> |
Migrate Telecom tests to JUnit4 Change all tests to use AndroidJUnitRunner instead of InstrumentationRunner. TelecomTestCase no longer inherits from AndroidTestCase. Update the lite_test_telecom script to use JUnit4. This allows Telecom tests to use modern JUnit4 features. Refactorings along those lines will be in subsequent CLs. Bug: 69482930 Test: lite_test_telecom -a Change-Id: I64a41fa049f2a23f28b7652d7b835d7705e2179a
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
130209c5667523409ec1d907b7e09a42875c0738 |
|
18-Nov-2017 |
Hall Liu <hallliu@google.com> |
Undo a fix and de-flake a test * Undo an incorrect fix from previous CL (don't manually select a phone acct) * De-flake testOutgoingThenIncomingCalls -- the test apparatus wasn't properly waiting for the second call to be added to the InCallServiceFixture. * Speculative attempt to de-flake CARSM tests Test: unit Bug: 69482930 Change-Id: I0ee89f25146e406fe73ceba4005564eeccd50177
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
153aafa86c6411acc1697038a930a1d7d3f4abaa |
|
06-Oct-2017 |
Tyler Gunn <tgunn@google.com> |
Fix NPE in TelecomManager#isOutgoingCallAllowed There is a potential for a NPE if "excludeCall" is null. Adding null check and unit tests to verify operation of the isOutgoingCallAllowed API, as well as basic outgoing self-managed calls (which rely on this API). Test: Added unit tests. Change-Id: Ia5e92a7cb418af0d131daa2ca88b7cd4d36ab057 Fixes: 67495237
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
25c842532ec5f8ae6b5cd7b72bc1763f4ed8bfc7 |
|
15-Nov-2017 |
Hall Liu <hallliu@google.com> |
Fix broken tests Test: test Change-Id: I754d84b6826efc2f2357557d0b39f56b6702b711
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
02e00dd713b33923262ae767d40fb6f080fa14b9 |
|
25-Aug-2017 |
Tyler Gunn <tgunn@google.com> |
resolve merge conflicts of e4653aa85 to stage-aosp-master Change-Id: I9e7b395d1c12fe65f52f58df44fc670aee2ec80c
|
8bb2b019123e50a21709eae20edc9db043326053 |
|
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 Change-Id: I62924dc7889c86a7457d05f8fbb20ab8189ece1a
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.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/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
9b02bddd63b6737180b8334962b2036dfe86e7c5 |
|
24-May-2017 |
Tyler Gunn <tgunn@google.com> |
Merge "Call "createConnectionComplete" callback in Telecom." into oc-dev am: 1fc35b9de1 am: ee174c58f8 Change-Id: Ief4bcab9056f635ff72f19835c8cf63b4bc27143
|
ee174c58f851657cc4209574a06d7d72576b97e9 |
|
24-May-2017 |
Tyler Gunn <tgunn@google.com> |
Merge "Call "createConnectionComplete" callback in Telecom." into oc-dev am: 1fc35b9de1 Change-Id: I5c943ab3595914bef1861edce25c5692c71f2250
|
ddb03e1387a09f9c7da624b064bf4f5b90ed478c |
|
12-May-2017 |
Tyler Gunn <tgunn@google.com> |
Call "createConnectionComplete" callback in Telecom. When done creating a connection in Telecom, call createConnectionComplete. Note: Checks the serviceinterface for null since in the case of a "null connection" from the ConnectionService we'll be unbound by the time we get here. Test: Manual Bug: 33272455 Change-Id: Ic23f6ad65d49d2a8c70ac4d35d53feb0dd5e34bb
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
cca957f37bf851c10767db541eb87f3150370702 |
|
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 Merged-In: I5690116fc6a3938e7725a4b2963741885ddc8ac0 Change-Id: I5690116fc6a3938e7725a4b2963741885ddc8ac0 (cherry picked from commit daeffaf3dbcfadfcb58b07a56169982eacb697db)
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
369fd7887da98a4eb55944c92adc9abf481b845f |
|
19-Apr-2017 |
Tyler Gunn <tgunn@google.com> |
Fix Telecom unit tests. Cherry-pick from internal master. This was originally caused by a change in b/37106957. Bug: 37106957 Merged-In: Ia60d85410ec9824cb45c3678977499dcb8962ea0 Change-Id: Ia60d85410ec9824cb45c3678977499dcb8962ea0 (cherry picked from commit ff5fb18ae3400c560644158f179ab991b104419f)
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
31a052187feaa9bddbc48813989efe731d7becc5 |
|
19-Apr-2017 |
Tyler Gunn <tgunn@google.com> |
Merge "Remove auto-DND while in call."
|
ae54b2d111bfdcdce25177e193f0b6cc3a023326 |
|
19-Apr-2017 |
Tyler Gunn <tgunn@google.com> |
Merge "Fix Telecom unit tests." am: 4ce2b184a7 am: a17d44305c am: 20ef5ef13a Change-Id: I18294d80c0fc11ac2728f6e302489aea03d51264
|
93dc55f22d5bab2b552f9e28c14fb0cd49814d52 |
|
18-Apr-2017 |
Tyler Gunn <tgunn@google.com> |
Fix Telecom unit tests. Ensure mock context can handle sending broadcast for the phone account intents. Fix register/unregister TelecomServiceImpl tests that no longer send intents directly. Test: Unit Bug: 37106957 Change-Id: I414f888f1897108fd991e7b0a7e24fc9cc892c59
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.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/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
d7a57f03a21e507a6577c2229354e589658e8efe |
|
20-Mar-2017 |
Brad Ebinger <breadley@google.com> |
Fix Telecom Unit Tests 1) Add/Fix VideoProviderTests 2) Update tests to accommodate ContentProvider changes Test: Telecom Unit Tests Change-Id: I8ac65a4686937bfb3954f1d87ca8d1e4ee492644
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
e0d7233f24a808e61e16f49881292269b2669583 |
|
31-Mar-2017 |
Tyler Gunn <tgunn@google.com> |
Merge "Self-Managed Incoming Call Disambiguation UX." am: b77f30fa1f am: be4ff39882 am: c6e9cba5a9 Change-Id: I6f186038a14efe86d31bcc4616f194dd40b1981f
|
ca766d28471cc41d9ef33682a41edd1f99448d42 |
|
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 Merged-In: I371be9baa6f56c77aa83349977c0131f0e319047 Change-Id: I371be9baa6f56c77aa83349977c0131f0e319047
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.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/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
d0fe76e8e74ac515cacc492fa2c783cf2247ac05 |
|
20-Mar-2017 |
Brad Ebinger <breadley@google.com> |
Fix Telecom Unit Tests 1) Add/Fix VideoProviderTests 2) Update tests to accommodate ContentProvider changes Test: Telecom Unit Tests Change-Id: I8ac65a4686937bfb3954f1d87ca8d1e4ee492644
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.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/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
ae51d3c8411b7c2e59113992ec65093a80f17495 |
|
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 Change-Id: I42b78fd27fe9814c4f8e29afc8937c3b41f51e50
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
14e947bd6aacd8b7abd438a66a76841a33cb5cf7 |
|
05-Jan-2017 |
Hall Liu <hallliu@google.com> |
Replace BluetoothManager (multi-hfp part 3) am: 486cb197d4 am: d1b47792e1 am: ac935c47e1 am: b794cfc1f6 Change-Id: Ic9f9110f752a9ca240a94757220647b6762003ee
|
486cb197d4426a0f740b1c73ba3acdc76b3d67d3 |
|
22-Oct-2016 |
Hall Liu <hallliu@google.com> |
Replace BluetoothManager (multi-hfp part 3) Replace BluetoothManager in the rest of Telecom with the functionality of BluetoothRouteManager. Currently, the Bluetooth stack still supports only one connected HFP device, so the new multi-device handling has not yet been tested/verified except through unit tests. Test: Manual testing Change-Id: I19f3ab36386a67f797790394a5b5297786af8e77
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.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/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
2eebf1d7808a0bf31473d39bbc9a5e3ae2ec3549 |
|
18-Oct-2016 |
Brad Ebinger <breadley@google.com> |
Adds EventManager and SessionManager callbacks for Analytics Implements the callbacks in EventManager and SessionManager to pipe the completion time of call operations into Analytics. Test: Manual Testing and running existing Telecom Unit Tests Bug: 26571395 Change-Id: I14712b45ca4cf0c51e44da7eb5b4758b4eb68aaa
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
7c9283261ad4fdbc5ebbb74257671388f9c758c7 |
|
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: I5d8f46b4a236e570528425b4010976ac837644ac
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
81ecd6980b5a688f86171c99f57439ef29927e65 |
|
28-Oct-2016 |
Brad Ebinger <breadley@google.com> |
Modify AIDLs to include Session.Info am: b78b0234c6 am: ad4de70ceb am: 9e23ee108a Change-Id: I3d820d2d2adb6d6c8c43cb56d00925bee5655723
|
b78b0234c6e9a937fc00fec6d16e534535b6fab9 |
|
25-Oct-2016 |
Brad Ebinger <breadley@google.com> |
Modify AIDLs to include Session.Info Modifies the IConnectionService.aidl file to include Session.Info information to pass from Telecom to Telephony, which is used to start external Sessions in Telephony from Telecom. Test: Manual testing and Unit Tests pass Bug: 26571395 Change-Id: I587c5218da86585d23650d056f32197d7afaecce
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
a04db92d34ca1e8136fecd37dcdfde3e5d299f65 |
|
27-Oct-2016 |
Brad Ebinger <breadley@google.com> |
resolve merge conflicts of d1b3669 to stage-aosp-master am: 5b2880ad91 am: a4faeeef90 am: d0ad1052e9 Change-Id: Ib1c96d12a5d5139f9bad804f48bb9742e28da234
|
5b2880ad91162feb778f3b7c96b5e1c76f382086 |
|
27-Oct-2016 |
Brad Ebinger <breadley@google.com> |
resolve merge conflicts of d1b3669 to stage-aosp-master Change-Id: I5c771d7edf789ef8c70c9c0eb86243d8bc4a7549
|
d1b36695f77189f008e2de82b4391e5e49048c18 |
|
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. Test: Telecom Unit Tests Run Bug: 28799824 Change-Id: I7e23497ab671712bc8d3cc9542537ae1c4829afc
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
80de421b0ebc10e93dce7f3975ab5b0451c93ea8 |
|
25-Oct-2016 |
Hall Liu <hallliu@google.com> |
resolve merge conflicts of 0d5cae0 to stage-aosp-master am: 822fe2a1af am: d47ee81711 am: 9ce32cd3c9 Change-Id: I4c2bedff6ebf0452a3613dbec9ba20abe1b319a4
|
822fe2a1afd0ee83ff48a21ae093bafcc77b1d2f |
|
25-Oct-2016 |
Hall Liu <hallliu@google.com> |
resolve merge conflicts of 0d5cae0 to stage-aosp-master Change-Id: I4787475841dac6a1c9ea841b48b664378d65a146
|
0d5cae00ebfff7cf043a19ce8f833dde1d7e1282 |
|
01-Sep-2016 |
Hall Liu <hallliu@google.com> |
Fix broken and flaky unit tests Fix unit tests to make them pass consistently in order to enable presubmit testing. Test: unit test fixes Bug: 31041734 Change-Id: I1eba7302ae740cb2a0284003d999fd3274941e38
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.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
|
c37ddf1546a8270c8293bbd520b3fc225cd72181 |
|
18-Oct-2016 |
Brad Ebinger <breadley@google.com> |
Adds EventManager and SessionManager callbacks for Analytics Implements the callbacks in EventManager and SessionManager to pipe the completion time of call operations into Analytics. Test: Manual Testing and running existing Telecom Unit Tests Bug: 26571395 Change-Id: I14712b45ca4cf0c51e44da7eb5b4758b4eb68aaa
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
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/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
14295772c3c055e4b9b25b8b8e9c39a2b78f9a18 |
|
11-Oct-2016 |
Hall Liu <hallliu@google.com> |
resolve merge conflicts of 253b129 to nyc-mr1-dev-plus-aosp Change-Id: I9d37a418982377eb1b94596998e22467d6c86402
|
8755e29fd54403b404b4940d3dccebf83a8acbcf |
|
22-Sep-2016 |
Hall Liu <hallliu@google.com> |
Refactor and fix MissedCallNotifier This change affects the behavior of the MissedCallNotifier on system startup. Previously, MissedCallNotifierImpl created a new Call object and used it to pull in contacts-related data. This created excessive dependencies for MissedCallNotifierImpl, so it has been changed to use CallerInfoLookupHelper. Additionally, the at-boot notification has been broken for some time, and this was due to the calls/contacts db not being ready when TelecomSystem was initialized. This change also deferrs the missed call lookup to when we receive ACTION_BOOT_COMPLETE. Test: Added unit tests, tested manually on device Change-Id: I10fe1c78e24484ece6b87fa986e725b00c753d39 Merged-In: Ibf8ec41d8d18b5ed7943a9520242f15bf546bda7 Fix: 30796667
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
cbd125d9aef42f6c76b595018dc0158b03ed05ca |
|
07-Oct-2016 |
Hall Liu <hallliu@google.com> |
Merge "Refactor and fix MissedCallNotifier"
|
3037ac6f171b6a3627494bb10042ab7adb34366a |
|
22-Sep-2016 |
Hall Liu <hallliu@google.com> |
Refactor and fix MissedCallNotifier This change affects the behavior of the MissedCallNotifier on system startup. Previously, MissedCallNotifierImpl created a new Call object and used it to pull in contacts-related data. This created excessive dependencies for MissedCallNotifierImpl, so it has been changed to use CallerInfoLookupHelper. Additionally, the at-boot notification has been broken for some time, and this was due to the calls/contacts db not being ready when TelecomSystem was initialized. This change also deferrs the missed call lookup to when we receive ACTION_BOOT_COMPLETE. Test: Added unit tests, tested manually on device Change-Id: Ibf8ec41d8d18b5ed7943a9520242f15bf546bda7 Fix: 30796667
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
ddec5892dbb532e79fd839f34db43243739f92e8 |
|
28-Sep-2016 |
Tyler Gunn <tgunn@google.com> |
Assume video calls supported until user chooses phone account. When an outgoing Call has no target phone account, initially assume video calling is supported by the call. Once a target phone account is set, ensure the video state of the outgoing call is updated based on whether video calling is supported by the target phone account. Bug: 31094340 Change-Id: Iee1bc542b63d9be6d2f76206fdc9b87674db271c
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
d610bb315dbb2cebde2a7bcc63b05732c9df1c26 |
|
19-Sep-2016 |
Tyler Gunn <tgunn@google.com> |
Prevent notification vibration when the user is on the earpiece. am: eaaf074d6b Change-Id: I5c2e60268ecdf717782fac271163207dc0c670ce
|
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/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
609992b6d222e54a74cc7e6af06173090103a28a |
|
01-Sep-2016 |
Hall Liu <hallliu@google.com> |
Fix broken and flaky unit tests Fix unit tests to make them pass consistently in order to enable presubmit testing. Bug: 31041734 Change-Id: I1eba7302ae740cb2a0284003d999fd3274941e38
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
5b7e64dfb819b640fbe3bd38509a823e8345fdc0 |
|
18-Jul-2016 |
Hall Liu <hallliu@google.com> |
Merge "Fix flaky tests that use startAndMakeActiveOutgoingCall" into nyc-mr1-dev
|
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/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
b3ce510a9392230d003e2b740affab476c78f74f |
|
14-Jul-2016 |
Hall Liu <hallliu@google.com> |
Fix flaky tests that use startAndMakeActiveOutgoingCall When startActiveOutgoingCall runs, it calls into Telecom to begin the call setup process, which posts two messages to the handler in android.telecom.ConnectionService on the main thread: MSG_ADD_CONNECTION_SERVICE_ADAPTER and MSG_CREATE_CONNECTION, in that order. On the first run through, mAreAccountsInitialized in ConnectionService will be set to false, so instead of calling straight into handleCreateConnectionComplete in Telecom, the execution of MSG_CREATE_CONNECTION will instead put it in a list of pending tasks. This list of pending tasks eventually gets run by a runnable that is posted to the handler during the execution of MSG_ADD_CONNECTION_SERVICE_ADAPTER. Meanwhile, the test continues to run, and executes waitForHandlerAction in outgoingCallCreateConnectionComplete. If waitForHandlerAction posts its latch to the looper before MSG_ADD_CONNECITON_SERVICE_ADAPTER executes, the test will continue before the runnable that the execution of MSG_ADD_CONNECTION_SERVICE_ADAPTER posts to the handler runs. This is an undesirable outcome, as we may observe the call being set to active from startAndMakeActiveOutgoingCall first, then being set back to dialing from CSW.hCCC. This was causing the flakiness observed. To fix this, another waitForHandlerAction was added immediately after the first one. We know that MSG_ADD_CONNECTION_SERVICE_ADAPTER has already executed after the first waitForHandlerAction returns, which means that the runnable that it posted is already in the queue, so if we post another latch, we can be sure that the runnable which calls CSW.hCCC has run by the time the second waitForHandlerAction completes. Change-Id: Iedd3c60b39a8bb185f1f2b0d0e064059f888312d
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.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/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
84771f8f87f5f582bf848b621eed8c6cd99d41b0 |
|
19-May-2016 |
Brad Ebinger <breadley@google.com> |
Propogates the CDMA Voice Privacy Property to a Call Allows the CDMA enhanced voice privacy connection property to be propogated up as a Call Property. Bug: 26931679 Change-Id: I2206d1e8091c39c8ceddb820f1c70671ed46a008
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.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/tests/src/com/android/server/telecom/tests/TelecomSystemTest.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/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
961694a9750626c067be960170bc95f10b5efcc2 |
|
22-Mar-2016 |
Tyler Gunn <tgunn@google.com> |
Support for enhanced call/connection extras. Plumbing in support for InCall UIs to update the extras of a connection. Adding in unit tests for connection and call extra set/get methods. Bug: 27458894 Change-Id: I9ce526bf293c9f5dd03642391d459fcfa03c31ef
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
c301b5128cf40a1fa5a9c0839d405afaa5747112 |
|
17-Mar-2016 |
Brad Ebinger <breadley@google.com> |
Add SELECT_PHONE_ACCOUNT test for outgoing calls Verifies the outgoing call flow works when a PhoneAccount needs to be selected. Bug: 26928627 Change-Id: Idd751b00b64ce36d63f3d665676afcfb794d2820
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
c6e42ef0465fe01b35bb3aa94fbcbc081e3b45ed |
|
20-Feb-2016 |
Abhijith Shastry <ashastry@google.com> |
Add unit tests for send to voicemail, and number blocking. BUG: 26682702 Change-Id: Id5cd03d48ac5022e15039e420ea5daeb91f0c623
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
b7853c0b716f9cc9ae174d1ca4efaa118ef1740e |
|
03-Feb-2016 |
Abhijith Shastry <ashastry@google.com> |
Fix Telecom unit tests for incoming calls. 1. Respond to CallerInfo lookups instead of always waiting for it to timeout (which adds 500ms to every test) After this change, telecom unit tests take ~10s less to complete from around ~84s. 2. Do not explictly set handleCreateConnectionSuccess: ConnectionService already does this. Explicitly setting results in multiple caller info lookups and unexpected behavior. Change-Id: Ic0abaff6cd8751911733bbc764ac89530b3eb55b
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.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/tests/src/com/android/server/telecom/tests/TelecomSystemTest.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/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
b492f4c845e61fac17c0e523363607d2dd6ba987 |
|
15-Dec-2015 |
Tyler Gunn <tgunn@google.com> |
Add Video API unit tests, fix auto speakerphone logic. - Move some of the single call Telecom system tests to a new BasicCallTests class. - Change visibility of some methods in TelecomSystemTest to faciliate the creation of other system test classes. - Added VideoProviderTest which exercises the Video APIs. - Created Mock Video Provider. Change-Id: Id314c18b77e8c635fbde0232a1ccfae851a3071c
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
ecda55454f4993003e71e09a63d20f94a216cc47 |
|
04-Dec-2015 |
Hall Liu <hallliu@google.com> |
Add unit tests for TelecomServiceImpl Added unit tests for TelecomServiceImpl and added some refactoring to avoid static dependencies in TelecomServiceImpl. Change-Id: I22a54e1e36c3a44dc07f65f534c0b9b6d534abd9
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
f4745b6a7d110d6a9d23fe6c385dc1e3d7c6c2f4 |
|
09-Dec-2015 |
Brad Ebinger <breadley@google.com> |
Fixes Permission Error in TelecomSystemTest Recent changes in TelecomSystemTest aim to test a new KEY_INITIATING_USER Extra set in new UserCallIntentProcessor(Context context,...).processIntent(...). Previously, context was not getting set to the correct MockContext, which was then improperly sending out an intent to the system. This change uses the correct MockContext and verifies the mocked sendBroadcastAsUser intent was called before continuing tests. Change-Id: If09a5fe6cf09fe7bfb0ce8b7e4e0890465bc8aea
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
b2cadb6851ef78ab62c328bf23e327c14aeda536 |
|
08-Dec-2015 |
Hall Liu <hallliu@google.com> |
Merge "Add analytics recording to Telecom"
|
3258720f5526f766aa26c19cf01b32ac20d19d1d |
|
18-Nov-2015 |
Hall Liu <hallliu@google.com> |
Add analytics recording to Telecom Adds a way to record interesting information about calls that can then be uploaded for later analysis. Change-Id: I029688cbb28ba75c00df64b7c1aa9eda382fde99
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
4a3e2fd2b783c9f667a719237ef527ebe686fe32 |
|
04-Dec-2015 |
Tony Mak <tonymak@google.com> |
Allow setting default phone account handle per user The problem we cannot have every users has their own user handle is becoz we did not store user handle. Store default phone account handle with user handle, so that every user can has it owns default phone account handle. Bug: 25941865 Change-Id: Iad8a920e9ceeb9caa8a7d8bc6a1d2f2dfc8dcd58
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
abbb3af2c05c1e523308d67f556cd7dee13a8f6c |
|
02-Dec-2015 |
Hall Liu <hallliu@google.com> |
Merge "End-to-end testing for conference calls"
|
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/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
b0998818637b87adf9c7528a15030e4b65fcf0d7 |
|
25-Nov-2015 |
Tony Mak <tonymak@google.com> |
Merge "Add field to store who is initiating the call"
|
f7783fb45c262a36d813cb450062d0076490a530 |
|
24-Nov-2015 |
Hall Liu <hallliu@google.com> |
End-to-end testing for conference calls Adds machinery in ConnectionServiceFixture to enable end-to-end testing for conference calls. Also adds tests to TelecomSystemTests to test the functionality of conference calls. Change-Id: I8b8784728bd6077402056e5f88de4bbc2b813bdc
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
42ef808c284791f21be8675174acc7297418fa45 |
|
25-Nov-2015 |
Tyler Gunn <tgunn@google.com> |
Add "acceptRingingCall()" API which accepts a videoState. - Added acceptRingingCall API which accepts a videostate to complement the existing API. - Added unit test for acceptRingingCall APIs. Bug: 20159300 Change-Id: I4166a8b7c470632d0ffc0e75504b081ffeea733d
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
578a4e6661fc1be20d164458acb335356d742f72 |
|
23-Nov-2015 |
Tony Mak <tonymak@google.com> |
Add field to store who is initiating the call Insert userhandle of user that initiate the call before forwarding the intent to primary user. Previous ACTION_CALL flow: Fire ACTION_SEND (managed user) -> UserCallActivity in Telecom (parent user) -> PrimaryCallReceiver (parent user) Current ACTION_CALL flow: Fire ACTION_SEND (managed user) -> UserCallActivity in Telecom (managed user) -> PrimaryCallReceiver (parent user) The field can be used for: 1. Filter phone accounts for outgoing call 2. Insert call log based on who initiates the call 3. Pass the field to in-call UI which may uses it to indicate it is a work call. Change-Id: I78611a4394f00ce0655c37d52b7b456f213ec802
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.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/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
2c93c50e5be7d85b78c4af15aaa10e44f0bcdf3e |
|
28-Oct-2015 |
Brad Ebinger <breadley@google.com> |
Revert "Move tests around to better organize Telecom" This reverts commit f6655ee7f26e85aef274be7e8c95e317d9d4af7f. Change-Id: Ia54fb6173de6425d5d9979b2498654764549ce19
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
f6655ee7f26e85aef274be7e8c95e317d9d4af7f |
|
26-Oct-2015 |
Brad Ebinger <breadley@google.com> |
Move tests around to better organize Telecom In order to better organize the Telecom system, the tests have been moved into the Telecom package instead of a separate .test package. Change-Id: I762372acc47c9bc4e671d8c66227eb272e20d88a
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.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/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
1d903ddbf915a4aef4925a0e90042e76151c97a9 |
|
10-Oct-2015 |
Hall Liu <hallliu@google.com> |
Fix test harness by mocking TelecomManager Bug: 24618535 Change-Id: I28537b2a64cb401df41d7de892cf21125ce8f851
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
69fa89790a67c497f091c86a9b1ed5a00aace7ae |
|
08-Jun-2015 |
Yorke Lee <yorkelee@google.com> |
Use Telecom constant for providing incoming call handle Bug: 19696065 Change-Id: Idf5385d80c828f28f3078acae9670ace9daab61e
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
32dd7c331c5b4dc475d96b113a052286973f78fc |
|
28-May-2015 |
Ihab Awad <ihab@google.com> |
Update tests to test "hold" state Update the tests to add simple testing for the connection "hold" state, and add a simple helper function for assertion with a timeout. Change-Id: I3fbc947dccdc4c39a632ea96ea6d355a15930230
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
b60f00673149da9a96d9369f4e1c4458e9a9cf53 |
|
27-May-2015 |
Ihab Awad <ihab@google.com> |
Sync for AudioManager Fixes sync problems where the system calls back into Telecom while Telecom is synchronously processing a message. Bug: 21289255 Change-Id: I4ea319113be2e4651c82c6e9712eb4d97ea9e9bb
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
1b5490ac8643a5969adaba6f68d872acd251d666 |
|
12-May-2015 |
Ihab Awad <ihab@google.com> |
Update tests ConnectionServiceFixture now does not use Mockito when() allowing reset() at any time. Added tests for incoming calls. Change-Id: Ic5f5fc7b910a97d2838090713439f703d80748c6
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
0a4b95fc7731943fdd1a9b295daae45eb46b28d0 |
|
18-May-2015 |
Ihab Awad <ihab@google.com> |
Fix test bitrot breakages Change-Id: I39cbcd078c07fd48ca9b00abce21871ef273b19d
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.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/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
92694519535c54f542b4ef3973e9c1934f2feeff |
|
23-Apr-2015 |
Santos Cordon <santoscordon@google.com> |
Move CallState and rename PRE_DIAL_WAIT. CallState was a public API only being used by Telecom so I've moved it into to Telecom and removed it from the public API. The translation from CallState to Call.STATE_* was happening on the public Call object which wasn't ideal (Call.java shouldn't have to know that other representations of state exist). So I moved the translation into InCallController.java and what we pass into ParcelableCall is now Call.STATE_* constants. Bug: 20532827 Bug: 20532435 Change-Id: I79ce36c7e971c1a49b857506c9a56cfe316069cf
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
73ff372fda987a9e797d1c4ecf363a16b7d2abda |
|
15-Apr-2015 |
Vinit Deshpande <vinitd@google.com> |
am 959afe0..abcbce4 from mirror-m-wireless-internal-release abcbce4 Fix deadlock around locking in AudioManager 5a1b1fd Merge "Add more capabilities to TestVideoProvider" into m-wireless-dev e09b47b Add more capabilities to TestVideoProvider Change-Id: I00a8a3bebd56a5f78b6b3fa3958d6cf3929b1834
|
d240fe8e16205623eb6cb73c3d42448554690033 |
|
02-Apr-2015 |
Rekha Kumar <rekhak@codeaurora.org> |
IMS-VT: Change parameter type of data usage Change Data Usage methods to take parameters of type long instead of int. Change-Id: I6a277dedb5976261035084955ed8a90da256061a IMS-VT: When TTY is ON, do not allow MO VT call When TTY mode is ON, the user SHOULD NOT be allowed to make a Mobile Originating (MO) VT call and an UI alert message will be displayed explaining MO VT call cannot be initiated. Propagate the call substate changed message to the UI IMS-VT : Set the flag to start call with speaker on for incoming VT calls - There seems to be a race condition between when InCallUI enters the video mode and sets the speaker phone on and when call state changes to active. - As a result, the audio route gets reset to earpiece as we are not setting speaker phone on flag for the incoming case. This change fixes that issue. IMS-VT: Set speaker phone to true only if bluetooth or headset is not connected IMS-VT: Convert emergency video call to voice call. Convert emergency video call to voice call. Change-Id: I09b82dcb6308a1177716b77e87da68161000518b IMS-VT: Enable Video conferencing. Enable Video conferencing. Change-Id: Ief145e0592e58de46c7a75d858effdd72fa8b476 IMS-VT: Check for property before enabling speaker for MT VT calls Check persist.radio.ims.audio.output before enabling speaker if property is set to disable speaker then MT VT calls should not use the speaker. Change-Id: I0c6288a8fd672c9b7a13edac11e29875d0df4eb7
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
aa383cca668afd8578a6e007c3ea360768dc52f6 |
|
23-Mar-2015 |
Ihab Awad <ihab@google.com> |
Further cleanup, and move functionality into TestFixture objects Change-Id: I62b514ae8fe10f720a60c681968efd2340616eba
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.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/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|
b63b57e2c35c4769e756f47131c7ebbc0af42c59 |
|
23-Mar-2015 |
Ihab Awad <ihab@google.com> |
Further cleanup, and move functionality into TestFixture objects Change-Id: I62b514ae8fe10f720a60c681968efd2340616eba
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/TelecomSystemTest.java
|