summaryrefslogtreecommitdiff
path: root/telecomm/java/android/telecom/Connection.java
AgeCommit message (Collapse)Author
2018-02-22RTT bugfixes, part 5Hall Liu
* Add a new API to allow Telecom to inform ConnectionServices when the RTT text stream changes * No longer set the RTT property from ConnectionService. Client apps should be setting properties themselves. * Add Dialer-side RTT property in order to remove the dependence on checking the RTT streams, which have a complex lifecycle Bug: 72951201 Bug: 72648661 Test: manual, with real RTT calls and Dialer's SimulatorConnection, also cts Change-Id: Ic4c7d883d2dc6baf8e8c0eaa4df58d7de8762b9e Merged-In: Ic4c7d883d2dc6baf8e8c0eaa4df58d7de8762b9e
2018-02-21Revert "Add the assisted dialing carrier config."Eric Erfanian
This reverts commit af7b8c0a67f1f416e9156c375a940a47389ab838. Reason for revert: we're cutting the feature from P Change-Id: I1ccc2c36b480f64c3a8b3df7eee73f80b7863722 Bug: 73727182
2018-02-20Merge "IMS: Conference URI support."Linux Build Service Account
2018-02-15Merge "Un-hide Connection-side RTT APIs for Dialer"Treehugger Robot
2018-02-15Merge "RTT bugfixes, part 5"Hall Liu
2018-02-15Un-hide Connection-side RTT APIs for DialerHall Liu
Bug: 63934808 Test: builds Change-Id: I59a892fb0e314810e92dd9ad7d0c2f4610055045 Merged-In: I59a892fb0e314810e92dd9ad7d0c2f461005504
2018-02-15Add setting and logging for RTTHall Liu
Add a system setting to store preferred RTT mode for calls. Add logging for RTT in Telecom base classes. Bug: 63934808 Test: manual Change-Id: Ie26fac800931604379bbe7b8abfed7caa8c0236d Merged-In: Ie26fac800931604379bbe7b8abfed7caa8c0236d
2018-02-15IMS: Conference URI support.Suchand Ghosh
Add Telephony extras EXTRAS_IS_CONFERENCE_URI, EXTRA_DIAL_CONFERENCE_URI which will require by Telecomm, TeleService, Telephony, Framework, IMS framework etc. IMS: Allow placeCall with complete URI Add extra "org.codeaurora.extra.SKIP_SCHEMA_PARSING". Application need to set the intent extra to dial with complete uri. IMS: Add participant support. Add Phone Capabilities ADD_PARTICIPANT and Telephony Property ADD_PARTICIPANT_KEY. IMS: Allow add participant with normal IMS call We should allow add participant with normal IMS call to make it conference. Send add participant through existing connection of normal IMS call. IMS: Add Participant support. Do not create new connection while adding participant with existing call. Rather send add participant request through IMSConference. IMS: Rectify the capability mask for add participant Properly set the add participant capability mask. CRs-Fixed: 2189932 Change-Id: I5052710a2d11a57331bdfbe64247e6a39bf9147a
2018-02-14RTT bugfixes, part 5Hall Liu
* Add a new API to allow Telecom to inform ConnectionServices when the RTT text stream changes * No longer set the RTT property from ConnectionService. Client apps should be setting properties themselves. * Add Dialer-side RTT property in order to remove the dependence on checking the RTT streams, which have a complex lifecycle Bug: 72951201 Bug: 72648661 Test: manual, with real RTT calls and Dialer's SimulatorConnection, also cts Change-Id: Ic4c7d883d2dc6baf8e8c0eaa4df58d7de8762b9e
2018-02-14Merge "Rename Conference#setConnectionElapsedTime to clarity." am: ↵Tyler Gunn
d1134525fc am: a0b41a82ce am: 4c09901931 Change-Id: I493ade2029398983a76fd41fcf9f080ee2f06b95
2018-02-13Merge "Rename Conference#setConnectionElapsedTime to clarity."Treehugger Robot
2018-02-13Merge "Updates to Telecom API docs for clarity." am: e845bddb40 am: 8fe8f5fa9bTyler Gunn
am: 82d572ed07 Change-Id: I2699c25dd3a309eed0742dc87b636a9b96d32e96
2018-02-13Merge "Updates to Telecom API docs for clarity."Treehugger Robot
2018-02-12Updates to Telecom API docs for clarity.Tyler Gunn
- Update Connection onAnswer/onReject docs to make it more clear for a self-managed connectionservice that these methods could be called by the framework or by a car mode in call service. - Update the Connection onShowIncomingCallUI method to take into account the new concurrent calling capabilities in P. Test: Docs only change Bug: 73112552 Change-Id: Icb47aa15d03d4bfc05380948e30686317124301e
2018-02-12Rename Conference#setConnectionElapsedTime to clarity.Tyler Gunn
Change name of conference connection elapsed time method to make it more clear what it is for. Updated documentation of this method and its companion to make it more clear what they are for. Test: Compile - this is a docs and naming change only. Bug: 70639525 Change-Id: I02662cb0331cba0d1fe2d4353438a68f334f9192
2018-02-08Merge "IMS: Add support in frameworks for call deflection feature" am: ↵Pooja Jain
ba0f9d2973 am: f39bef4801 am: ac48eed9c0 Change-Id: I4695aca7d886f37341672ea5815770e3ccdf7a51
2018-02-07IMS: Add support in frameworks for call deflection featurePooja Jain
Call deflection feature is useful to deflect MT call to another number. Test: Manual Bug: 62170348 Change-Id: Idfbcc175a856aa0bb9476f8c73d7a614a3af0700
2018-02-05Add setting and logging for RTTHall Liu
Add a system setting to store preferred RTT mode for calls. Add logging for RTT in Telecom base classes. Bug: 63934808 Test: manual Change-Id: Ie26fac800931604379bbe7b8abfed7caa8c0236d
2018-01-25Add handover permission, fill in some missing API gaps.Tyler Gunn
Adding the ACCEPT_HANDOVER runtime permission which an app must have in order to accept handovers (this is per design). Adding missing onHandoverComplete method in the android.telecom.Connection API (per design). Finishing plumbing for android.telecom.Call#onHandoverComplete API. Fix issue where the new handover API methods would never get called; the legacy handover extra was being used in this case when it should not have been. Bug: 65415068 Test: Verified using new CTS tests Change-Id: If1558f6a23911862c02ac5b18fb62d86911ed7e2 Merged-In: If1558f6a23911862c02ac5b18fb62d86911ed7e2
2018-01-24Add handover permission, fill in some missing API gaps.Tyler Gunn
Adding the ACCEPT_HANDOVER runtime permission which an app must have in order to accept handovers (this is per design). Adding missing onHandoverComplete method in the android.telecom.Connection API (per design). Finishing plumbing for android.telecom.Call#onHandoverComplete API. Fix issue where the new handover API methods would never get called; the legacy handover extra was being used in this case when it should not have been. Bug: 65415068 Test: Verified using new CTS tests Change-Id: If1558f6a23911862c02ac5b18fb62d86911ed7e2
2018-01-22Add the assisted dialing carrier config.Eric Erfanian
This is used to activate the feature and show the settings. Remove @hide from the public APIS. Design doc: go/assisted-dialing-dd-v1 Test: manual Bug: 63934304 Change-Id: I09ea52720bf2439537e2f4ad32afb14f5df25f71
2017-12-12Add assisted dialing properties to the framework.Eric Erfanian
These properties allow the feature to be propogated from the outgoing call broadcast, to the connection, to the call, and finally to the call log as a feature. Test: no existing unit tests found. could use some pointers Bug: 35963245 Change-Id: I3ed8ac5ad7300c44f87e2573d9409b3a92b98ab6 Merged-In: I84343fb0cda16514c01997fd71d1e819b5b7eebb
2017-12-07Add assisted dialing properties to the framework.Eric Erfanian
This is a manual merge of the oc-mr1-dev change I086e761ada9a57dca61c3a412561ee54255d6260 These properties allow the feature to be propogated from the outgoing call broadcast, to the connection, to the call, and finally to the call log as a feature. Test: no existing unit tests found. could use some pointers Bug: 35963245 Change-Id: I84343fb0cda16514c01997fd71d1e819b5b7eebb
2017-12-04Un-hide Connection-side RTT APIs for DialerHall Liu
Bug: 63934808 Test: builds Change-Id: I59a892fb0e314810e92dd9ad7d0c2f4610055045
2017-11-15Merge "[Telecom] Improve hold capability signal"Pengquan Meng
2017-11-09Update Telecom APIs to include multi-hfpHall Liu
* Add bluetooth devices to CallAudioState * Add methods for specifying a bluetooth device to InCallService * Add methods for specifying a bluetooth device to Connection (for self-managed connections) Bug: 64767509 Test: unit tests Change-Id: I286b19b423dc2ee417dbc90eda7e8055b2da2444
2017-10-20[Telecom] Improve hold capability signalPengquan Meng
Add some method to the ConnectionService in order to notify the connection changed. Test: manually test and unit test Bug: 66949982 Change-Id: I077902474f9af70e00a383aa269e1ae6ff9230a9
2017-08-25Merge "Emergency redial implementation"Brad Ebinger
am: b3b09849bc Change-Id: If7fe179da4eb4c639dad1e2957f091bbee9e54f9
2017-08-25Emergency redial implementationSrikanth Chintala
Define connection event to notify Telecom/InCallUi about change in account handle after redial and extra for emergency phone handle. Bug: 27059146 Change-Id: Ie72ab2901ec05d972204ed11f115a05b79173c1d
2017-08-25Merge "Emergency redial implementation"Brad Ebinger
2017-08-24Merge "Track conference start in system elapsed time."Tyler Gunn
am: 3b166fba8a Change-Id: I8b78aaa447adcc1bfce0fec8f50857daa37d0575
2017-08-24Emergency redial implementationSrikanth Chintala
Define connection event to notify Telecom/InCallUi about change in account handle after redial and extra for emergency phone handle. Test: Unit Tests Bug: 27059146 Change-Id: Ie72ab2901ec05d972204ed11f115a05b79173c1d
2017-08-23Track conference start in system elapsed time.Tyler Gunn
This is important so that Telecom can track the duration of the call, which is tracked using wall clock time. Test: Manual, unit test Bug: 64068300 Change-Id: If642d282cd8134060acf6ffe8d81215c394d800c
2017-08-22Track conference start in system elapsed time.Tyler Gunn
This is important so that Telecom can track the duration of the call, which is tracked using wall clock time. Test: Manual, unit test Bug: 64068300 Change-Id: If642d282cd8134060acf6ffe8d81215c394d800c
2017-05-25Merge "Add ability to add existing connection AND set parent at the same ↵Tyler Gunn
time." into oc-dev am: 95f4f14e0b am: 0aea0d2c53 Change-Id: I76805ba85bfac39cdaa3ddd2b8340423e4c7ffbe
2017-05-25Merge "Add ability to add existing connection AND set parent at the same ↵Tyler Gunn
time." into oc-dev am: 95f4f14e0b Change-Id: If762616920b266064cd1ee5520d5778ebb1475a7
2017-05-24Add ability to add existing connection AND set parent at the same time.Tyler Gunn
This is useful for IMS conferences where we want to add a connection and set it as a child of a conference at the same time. Test: Manual Bug: 37581781 Change-Id: Id09c8296ffe18893c5642d403c6a69ad6c9765e2
2017-04-27Merge "Further handover support changes."Tyler Gunn
2017-04-26Further handover support changes.Tyler Gunn
Add handover extras key used when initiating handover. Add handover complete / fail connection events which are sent to the initiating IncallService when a handover is complete or fails. Adding PhoneAccount extra to indicate that a self-managed CS should have its calls logged to the call log. Test: Manual Bug: 37102939 Change-Id: Icbb6f1addf913de841a9c48089a7d8311668f3bc
2017-04-24Remove default public ctor from RttModifyStatusHall Liu
Test: builds Bug: 37515063 Change-Id: I1e573d945b48e28d12621078cc8f37eb076d9ee3
2017-04-21Remove default public ctor from RttModifyStatusHall Liu
Test: builds Bug: 37515063 Change-Id: I1e573d945b48e28d12621078cc8f37eb076d9ee3
2017-04-04Merge "Add @TestApi annotations to CS-side RTT APIs for CTS"Hall Liu
2017-03-30Self Managed CS ImplementationTyler Gunn
- Add API guide for developers giving an overview of what they need to implement. - Add @hide setLabel method in PhoneAccount; used when registering a self-managed CS's phone account; we override it with their app label to ensure they don't try to give themselves another name. Test: Unit Bug: 34159263 Merged-In: I0c890dc2feeb3ee438a80ed425db2aaf1f4c1fdd Change-Id: I0c890dc2feeb3ee438a80ed425db2aaf1f4c1fdd
2017-03-30Self Managed CS ImplementationTyler Gunn
- Add API guide for developers giving an overview of what they need to implement. - Add @hide setLabel method in PhoneAccount; used when registering a self-managed CS's phone account; we override it with their app label to ensure they don't try to give themselves another name. Test: Unit Bug: 34159263 Change-Id: I0c890dc2feeb3ee438a80ed425db2aaf1f4c1fdd
2017-03-30Add @TestApi annotations to CS-side RTT APIs for CTSHall Liu
CTS tests need both the in-call and connection service sides of the APIs to test Telecom functionality properly, so annotating the hidden-for-now connection service APIs with TestApi. Test: part of CTS Change-Id: I3711729d7e8c8aff2735f4da9fbd04bcca6b4942
2017-03-07Merge "Add further Connection-side APIs for RTT (part 2)"Hall Liu
2017-03-07Merge "API review cleanups/changes." am: 9324d6513b am: dd4bc7c69cTyler Gunn
am: c49b011151 Change-Id: Ib3d76474bef8c911b2ec6a61b916e38af0a3b861
2017-03-06Add further Connection-side APIs for RTT (part 2)Hall Liu
Add methods and callbacks to facilitate local and remote RTT initiation and termination in the middle of a call. Adds @hide Connection-side APIs to communicate with the ConnectionService, as well as plumbing for RemoteConnections. Test: manual, through telecom testapps Merged-In: Ia80604b7dff8586ff222dbccdbe55e91aab02178 Change-Id: Ia80604b7dff8586ff222dbccdbe55e91aab02178
2017-03-06API review cleanups/changes.Tyler Gunn
- Change onCreateIncomingConnectionFailed/onCreateOutgoingConnectionFailed to accept the connection mgr phone account as the first parameter. - For the video APIs, pass the target SDK of the caller into along so that the Telecom permission check can have fallback behavior for older API versions. - Add guidance for how UX should be shown in onShowIncomingCallUi API. API guidance follows how the Dialer app shows its notification and full screen UX. Test: Manual, CTS. Bug: 35767711 Bug: 35767096 Change-Id: Ib343f0eda1a4d067a38c553f33f140b4efcf3e48
2017-03-01Add further Connection-side APIs for RTT (part 2)Hall Liu
Add methods and callbacks to facilitate local and remote RTT initiation and termination in the middle of a call. Adds @hide Connection-side APIs to communicate with the ConnectionService, as well as plumbing for RemoteConnections. Test: manual, through telecom testapps Change-Id: Ia80604b7dff8586ff222dbccdbe55e91aab02178