Commit Graph

1485 Commits

Author SHA1 Message Date
Hall Liu
bb171c74b5 Merge "Make connection events work for conferences" am: fc53864672
am: 7ae228c189

Change-Id: I78220634a5f49488322f3b0772cd4e66f0e55e33
2019-04-16 19:34:51 -07:00
Hall Liu
7ae228c189 Merge "Make connection events work for conferences"
am: fc53864672

Change-Id: I2248723dfc7ce7c1488b58c6907b23bf3c713ee7
2019-04-16 19:10:04 -07:00
Hall Liu
a5400916be Make connection events work for conferences
Pipe through the onConnectionEvent call between the conference host
connection and the android.telecom.Conference object.

Fixes: 130404376
Test: manual
Change-Id: Ifad3e59dc9764aa2efb2b9766271e18853bf1c76
2019-04-16 14:00:55 -07:00
Tyler Gunn
b1145bd87e Merge "Add PhoneAccountHandle method to check if 2 accts are from same CS." into qt-dev 2019-04-16 14:16:33 +00:00
Tyler Gunn
c7d1078468 Add PhoneAccountHandle method to check if 2 accts are from same CS.
Add a new PhoneAccountHandle method to check if 2 phone account handles
are from the same connectionservice (package).

Test: Manual testing.
Test: Added new unit tests for this new method.
Bug: 129505115
Change-Id: I85eca54340e79d4a4f189188ae787201bab1724e
2019-04-15 17:59:34 +00:00
Tyler Gunn
556d24003a Telecom API doc cleanup.
InCallService - remove references to roles cut in Q release.
TelecomManager - make it more clear how to use the silenceRinger method
and under which conditions it should be used.

Test: Compile; docs only.
Fixes: 130285730
Change-Id: I55f9c2df119140666f8167e8521a4372d1108e7a
2019-04-11 21:30:39 +00:00
Shuo Qian
2a5098f888 Use Received Uri as Gateway Uri
Gateway information is the core component to perform redirection.
We should clarify the uri we received from
 CallRedirectionService is gateway Uri. And apply it in Telecom.

Test: Treehugger; Manual
Bug: 130048865
Change-Id: I3599377406b88751ee11139e9a1aa5afab734f7c
Merged-In: I3599377406b88751ee11139e9a1aa5afab734f7c
2019-04-09 22:57:58 +00:00
Shuo Qian
ed0690d2bb Merge "Use Received Uri as Gateway Uri"
am: 211771cf79

Change-Id: Ibf96f72717f99d9aab112161c4ce354e1cf9e6c2
2019-04-09 10:54:30 -07:00
sqian
5f78486ac1 Use Received Uri as Gateway Uri
Gateway information is the core component to perform redirection.
We should clarify the uri we received from
 CallRedirectionService is gateway Uri. And apply it in Telecom.

Test: Treehugger; Manual
Bug: 130048865
Change-Id: I3599377406b88751ee11139e9a1aa5afab734f7c
2019-04-08 17:55:17 -07:00
sqian
3c9e9d1939 Merge "Fix documentation of CallRedirectionService"
am: 820a7b5144

Change-Id: I5025ba7b17ee7597e05f7b8c466d9b4d0a2ca80c
2019-04-08 11:17:28 -07:00
sqian
f08dd80e7c Fix documentation of CallRedirectionService
Test: sanity
Bug: 130026756
Change-Id: I48f60b3c4a465e22250aa513a4d7d73f82375426
Merged-In: I48f60b3c4a465e22250aa513a4d7d73f82375426
(cherry picked from commit 87833ee867)
2019-04-07 02:36:16 +00:00
sqian
87833ee867 Fix documentation of CallRedirectionService
Test: sanity
Bug: 130026756
Change-Id: I48f60b3c4a465e22250aa513a4d7d73f82375426
2019-04-05 16:23:37 +00:00
Tyler Gunn
4d97d127fd resolve merge conflicts of 37f6620029 to stage-aosp-master
Bug: 129531123
Test: I solemnly swear I didn't test this conflict resolution.
Change-Id: I9efdae311353efc40402db6080312d3683330c41
2019-04-04 20:54:37 +00:00
Tyler Gunn
37f6620029 Merge "Remove call identification APIs." 2019-04-04 19:35:10 +00:00
Tyler Gunn
61460ac068 Remove call identification APIs.
Removing the CallIdentification API surface.

Test: Build, run tests.
Bug: 129531123
Change-Id: I5f1451ffba04ee438df739a17472c028c44f19b2
Merged-In: I5f1451ffba04ee438df739a17472c028c44f19b2
2019-04-02 00:38:48 +00:00
Tyler Gunn
a842e76231 Remove call identification APIs.
Removing the CallIdentification API surface.

Test: Build, run tests.
Bug: 129531123
Change-Id: I5f1451ffba04ee438df739a17472c028c44f19b2
2019-04-01 17:27:12 -07:00
Youming Ye
b9bace1656 Merge "Enable Telecom to bind third party InCallServices."
am: 90a9d627aa

Change-Id: I021f72505a6e516747dffd31b177bdac9e291d78
2019-03-27 14:30:23 -07:00
Youming Ye
a2f3fa9dd5 Enable Telecom to bind third party InCallServices.
Changes for Telecom to bind third party companion apps or
automotive ui installed from Play Store. Add new permissions and
settings for the third party InCallService APIs.

Bug: 78174835
Test: Manual
Change-Id: I1b4eff28b9dfd61f1c951d14b6c82395b51fe769
Merged-In: I1b4eff28b9dfd61f1c951d14b6c82395b51fe769
2019-03-27 08:27:29 -07:00
Andrei-Valentin Onea
02f43694e4 Merge "Add @UnsupportedAppUsage annotations"
am: 88e2a9aaee

Change-Id: I63ae22279aa46522b652cdc9329567a04a7ef136
2019-03-22 06:25:44 -07:00
Andrei Onea
fbc8cfdc94 Add @UnsupportedAppUsage annotations
For packages:
  android.companion
  android.filterfw
  android.hardware.camera2.utils
  android.inputmethodservice
  android.net.nsd
  android.os
  android.preference
  android.security.keymaster
  android.service.dreams
  android.telecom
  android.telephony.ims.compat.feature
  android.telephony
  android.util
  android.view.accessibility
  android.media.effect

This is an automatically generated CL. See go/UnsupportedAppUsage
for more details.

Exempted-From-Owner-Approval: Mechanical changes to the codebase
which have been approved by Android API council and announced on
android-eng@

Bug: 110868826
Test: m
Merged-In: I9c2f8347952f3cc65759472b0e1a2717b285e44e
Change-Id: I14793863cf815fa3383fec6c6bf5a9365c2e17eb
2019-03-22 11:43:11 +00:00
Andrei Onea
e30e3928f9 Add @UnsupportedAppUsage annotations
For packages:
  android.companion
  android.filterfw
  android.hardware.camera2.utils
  android.inputmethodservice
  android.net.nsd
  android.os
  android.preference
  android.security.keymaster
  android.service.dreams
  android.telecom
  android.telephony.ims.compat.feature
  android.telephony
  android.util
  android.view.accessibility
  android.media.effect

This is an automatically generated CL. See go/UnsupportedAppUsage
for more details.

Exempted-From-Owner-Approval: Mechanical changes to the codebase
which have been approved by Android API council and announced on
android-eng@

Bug: 110868826
Test: m
Change-Id: I9c2f8347952f3cc65759472b0e1a2717b285e44e
2019-03-21 14:04:57 +00:00
Usman Abdullah
3783c597bf Merge "Add silence support to CallScreeningService/Call API" 2019-03-18 19:33:33 +00:00
sqian
c5f311086f Merge "CallRedirectionService API review" am: 1276a178fd am: de633a49f1
am: b09f8d20e3

Change-Id: I184b51e7aa8816fd0e46d2492222cf617b13eba5
2019-03-15 20:20:28 -07:00
sqian
de633a49f1 Merge "CallRedirectionService API review"
am: 1276a178fd

Change-Id: I4509bfabae430b97ee82c2939b9099dc5767f44a
2019-03-15 19:56:23 -07:00
Treehugger Robot
1276a178fd Merge "CallRedirectionService API review" 2019-03-16 02:42:29 +00:00
Tyler Gunn
36be86b977 Merge "Cleanup unsupported appusage in Telecom apis." am: 90723afa47 am: 545bace60f
am: 77b1dfa56a

Change-Id: I54a446eaf8c22149f6df5c2f677eb8b5072deda6
2019-03-15 17:18:40 -07:00
Tyler Gunn
545bace60f Merge "Cleanup unsupported appusage in Telecom apis."
am: 90723afa47

Change-Id: If983c7a0351138fcfb35d9060b0c17c7b9e2c69f
2019-03-15 16:51:04 -07:00
Tyler Gunn
90723afa47 Merge "Cleanup unsupported appusage in Telecom apis." 2019-03-15 23:36:21 +00:00
sqian
b8cbc4e27d CallRedirectionService API review
Bug: 126699669
Test: Treehugger
Change-Id: I56944f6d487660ed447d081b6dfd2cb625087869
2019-03-15 12:57:47 -07:00
sqian
9e570ed776 Merge "API review: Telecom outgoing call Call redirection API" am: bac4d5b257 am: bcd431fd2f
am: 560e527933

Change-Id: If87e420ad10ec7ed726942a8e2c33d8e56786e29
2019-03-14 19:46:09 -07:00
sqian
bcd431fd2f Merge "API review: Telecom outgoing call Call redirection API"
am: bac4d5b257

Change-Id: Ia2b1be5f130c673bb691d9b54c7d9498ccd9472b
2019-03-14 19:24:32 -07:00
Treehugger Robot
bac4d5b257 Merge "API review: Telecom outgoing call Call redirection API" 2019-03-15 02:07:46 +00:00
Usman Abdullah
47b392db45 Add silence support to CallScreeningService/Call API
Test: CTS
Test: Unit Tests
Test: Manual
Bug: 126590377
Bug: 122671585

Change-Id: I4e7c67784198678eef1926759ec1d8afb98438f4
2019-03-14 14:02:23 -07:00
sqian
140d648611 API review: Telecom outgoing call Call redirection API
Bug: 126360354
Test: Treehugger
Change-Id: Id5b0b4aecb33ba4dc9629cc6bd2bb8836aedc653
2019-03-13 22:47:00 -07:00
Hall Liu
f5ba1c6268 Merge "Fix issues associated with hold failure" am: df6e5604f3 am: 9fefce6df5
am: c3557eb639

Change-Id: I82de9a1462a18707a6a9410e78f72b6908d6ee7a
2019-03-13 14:59:32 -07:00
Hall Liu
9fefce6df5 Merge "Fix issues associated with hold failure"
am: df6e5604f3

Change-Id: I0c3ca2ef55a67b1f2c00f19635dcfd8ed0bbedea
2019-03-13 14:32:28 -07:00
Hall Liu
df6e5604f3 Merge "Fix issues associated with hold failure" 2019-03-13 21:18:53 +00:00
Tyler Gunn
2c8143bae2 Merge "Remove support for event-based handovers." am: b2c1daf861 am: 3e232b28af
am: 4b4d6f3072

Change-Id: I65d196d86eeda26c757adce77119cd5f62e9fbce
2019-03-13 08:38:25 -07:00
Tyler Gunn
3e232b28af Merge "Remove support for event-based handovers."
am: b2c1daf861

Change-Id: I03aea3dffd4a7d1af24d281826f87945441d6d14
2019-03-13 08:17:56 -07:00
Tyler Gunn
9ae6db8a7c Remove support for event-based handovers.
Public APIs have been available for 2 releases; removing support
for the EXTRA/EVENT-based handovers.

Test: Manual
Bug: 110846969
Change-Id: I4747a509a9fd4d41c161febb78fbb7e4e11699f2
2019-03-12 20:45:32 +00:00
Hall Liu
06ae75bf51 Fix issues associated with hold failure
Add new connection event to indicate hold failure

Fixes: 128275255
Test: manual
Change-Id: I2678cda12d7703eba37d3feca3a8d98b21c050b1
2019-03-11 19:11:35 -07:00
TreeHugger Robot
9b9406f8c1 Merge "Use a boolean Consumer instead of RoleManagerCallback." 2019-03-11 17:22:40 +00:00
Tyler Gunn
061317ba27 Merge "Remove TelecomManager#EXTRA_IS_ENABLED." 2019-03-11 14:40:28 +00:00
Hai Zhang
f5e8ccd88f Use a boolean Consumer instead of RoleManagerCallback.
And use RemoteCallback for it under the hood. This removes one AIDL
interface and allows using lambda, while aligning with what
PermissionControllerService does.

Bug: 127691087
Test: manual
Change-Id: Ia94e5bac59773380b2a4764d766bf6ff1dd5b7ff
2019-03-08 15:51:02 -08:00
Tyler Gunn
0bf854a0d2 Remove TelecomManager#EXTRA_IS_ENABLED.
This is not needed as part of the API given that RoleManager is used to
tell if InCallServices are enabled when filling the companion app
role.

Test: Build/make api
Bug: 126360569
Change-Id: I0da59cc17cf36e4a9e8cfacccce536c3e744bf53
2019-03-07 13:29:06 -08:00
Hall Liu
60905c039b Merge "API tweaks" am: f3fbbeaa05 am: 4c3e0ccfa5
am: fe12d8de3f

Change-Id: I13342f7735adb24240c4ca34245f93e3d7579d78
2019-03-06 17:17:16 -08:00
Hall Liu
4c3e0ccfa5 Merge "API tweaks"
am: f3fbbeaa05

Change-Id: I3d45d13a482125edd91ec86e5c297f9fdb976072
2019-03-06 16:33:02 -08:00
Hall Liu
f3fbbeaa05 Merge "API tweaks" 2019-03-07 00:11:31 +00:00
Hall Liu
ee609ff1c1 API tweaks
* Make the PhoneAccountSuggestion ctor public
* Change protection level of the bind-suggestion-service permission to
signature-only.

Fixes: 126442573
Fixes: 126442403
Test: CTS
Change-Id: Ic6d44989efd28420a5e9e7e9c365318538d140bb
2019-03-06 11:32:18 -08:00
Andrei-Valentin Onea
20ebeb61a9 Merge "Add @UnsupportedAppUsage annotations"
am: 842e3aa420

Change-Id: Ie3bc96e663223de383be59cb764f139f459c5a67
2019-03-06 09:46:00 -08:00