summaryrefslogtreecommitdiff
path: root/telecomm/java
AgeCommit message (Collapse)Author
2021-03-11Merge "Annotation and doc improvement for adhoc conference APIs."Grace Jia
2021-03-10Merge "Add onBindClient for testing"Hall Liu
2021-03-09Add onBindClient for testingHall Liu
Add an overrideable method in ConnectionService that gets called when telecom binds, since onBind is final and it's unsafe to make not-final. Bug: 181057509 Test: atest CtsTelecomTestCases Change-Id: I80088185402789fec499b8659ca8b74bcec05748
2021-03-02Merge "CallDiagnosticService API" am: c90335033bTyler Gunn
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1607109 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I2958205678f4340e96ce6e845718e994a0231afc
2021-03-02Merge "CallDiagnosticService API"Tyler Gunn
2021-03-01Merge "Companion InCallService API review" am: b7cc3c6106Shuo Qian
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1607479 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ib967a0256b39150a190dc4cb7b8b7f7a00d3fdd7
2021-02-25CallDiagnosticService APITyler Gunn
The CallDiagnosticService API is an OEM-backed API which allows an OEM provided app to monitor the state of ongoing telephony calls on the device and to help the user navigate connectivity or audio issues related to these calls. It also provides a means for the app to send and receive device to device messages between devices during an ongoing call (where supported) in order to facilitate a better calling experience. Test: Added new CTS test suite for API. Test: Manual test of CDS behavior using telecom command line option to override the active CDS to the telecom test app implementation. Bug: 163085177 Change-Id: I1f37408d2aa6c630f0f9e3d6b6eb8a390d804d7e
2021-02-25Companion InCallService API reviewsqian
Test: atest; make docs Bug: 179116441 Change-Id: Id75e727f6c3fc42132a80f7258bf790be79acf19 Merged-In: Id75e727f6c3fc42132a80f7258bf790be79acf19 (cherry picked from commit d30bd60beb6e098b279ccb4a839c7ad89a1b6c64)
2021-02-21Merge ab/7061308 into stage.Xin Li
Bug: 180401296 Merged-In: I4bf82035631ccff6d5a6144d6d9b1d203b076851 Change-Id: I1b5f3a672a55eaabba0f5389bab110b395553559
2021-02-11Merge "Set default value of EXTRA_ADD_SELF_MANAGED_CALLS_TO_INCALLSERVICE true."Grace Jia
2021-02-04Merge changes from topic "nullablecollection"Adrian Roos
* changes: API: Suppress existing NullableCollections lints (TaskOrganizer) API: Suppress existing NullableCollections lints
2021-02-02Set default value of EXTRA_ADD_SELF_MANAGED_CALLS_TO_INCALLSERVICEGrace Jia
true. Self-managed connections need to bind to special in-call service in order to expose itself to bluetooth stack. Bug: 178679937 Test: Manually use duo to make self-managed calls and make sure it's audible on BT Change-Id: I7c3c56e9c65d43f598645aee5842e97fd73d300e
2021-02-02Merge "Add an event and a parcelable to receive bluetooth framework call ↵Nazanin Bakhshi
quality signal"
2021-02-01Add an event and a parcelable to receive bluetooth framework callNazanin
quality signal Bug: 173137125 Test: manual test check for regression Change-Id: I38e70ea284707d39cec7cb4fbdfd36be4f83e403 Merged-In: I38e70ea284707d39cec7cb4fbdfd36be4f83e403
2021-02-01Add relative APIs for InCallService that can support self-managedGrace Jia
connections that want to expose itself. Add PhoneAccount#EXTRA_ADD_SELF_MANAGED_CALLS_TO_INCALLSERVICE and Connection#onInCallServiceTrackingChanged. Bug: 161144815 Test: CtsTelecomTestCases Change-Id: I0a42ea79a1cd46aa9df3399c4fa2e9396321778a Merged-In: I0a42ea79a1cd46aa9df3399c4fa2e9396321778a
2021-02-01API: Suppress existing NullableCollections lintsAdrian Roos
Bug: 152525509 Bug: 154763999 Test: make checkapi Change-Id: Iecd0927e6be5496b2fbd1a49396db5439257ffe4
2021-01-20Annotation and doc improvement for adhoc conference APIs.Grace Jia
Annotate Conference#onAnswer with @VideoState Mark parameters of adhoc conference APIs with @NonNull. Document the distinction between returning null and returning a failed conference. Bug: 165801368 Test: make Change-Id: Ic0bd1a1e431ca0dec52afc8a28996929684236ba
2021-01-13Add intdef for Telecom connection states.Tyler Gunn
Bug: 163085177 Test: Annotation only change. Change-Id: Id3dbf9d38ff4467e94594bf7a75fb00750af64fe
2021-01-06Merge "Add CAPABILITY_CALL_COMPOSER in PhoneAccount for enriched calling."Shuo Qian
2020-12-23Add CAPABILITY_CALL_COMPOSER in PhoneAccount for enriched calling.Shuo Qian
Test: cts Bug: 173437870 Change-Id: Ibd1b0f0bc66487cfdb05d3de46c7e8df74eeb8cc Merged-In: Ibd1b0f0bc66487cfdb05d3de46c7e8df74eeb8cc (cherry picked from commit d24aea31483c70fa684f8b54965dc045b263f34b)
2020-12-22Add Call Composer API extras in TelecomManagerShuo Qian
Test: cts Bug: 173437870 Change-Id: I46cd9ee72de3d217fa23b368c0b88811cf8ce555 Merged-In: I46cd9ee72de3d217fa23b368c0b88811cf8ce555 (cherry picked from commit 3ed3883ff684d4f1177497d697fc6a1a13a9dfe5)
2020-12-08Improve OWNERS coverage across frameworks/base/. am: fab0ab3c9c am: c7c4a74a78Jeff Sharkey
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1519383 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I5120a3701af3564f363900b20bca75f3ad2a854c
2020-12-08Improve OWNERS coverage across frameworks/base/. am: fab0ab3c9cJeff Sharkey
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1519383 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I0211462ecbcd9ad66f66af87e31cf12e1582fc65
2020-12-08Merge changes from topic "dec5"Jeff Sharkey
* changes: Improve OWNERS coverage across frameworks/base/. Improve OWNERS coverage across frameworks/base/. Improve OWNERS coverage across frameworks/base/.
2020-12-08Improve OWNERS coverage across frameworks/base/.Jeff Sharkey
As general background, OWNERS files expedite code reviews by helping code authors quickly find relevant reviewers, and they also ensure that stakeholders are involved in code changes in their areas. Some teams under frameworks/base/ have been using OWNERS files successfully for many years, and we're ready to expand them to cover more areas. Here's the historical coverage statistics for the last two years of changes before these new OWNERS changes land: -- 56% of changes are fully covered by OWNERS -- 17% of changes are partially covered by OWNERS -- 25% of changes have no OWNERS coverage Working closely with team leads, we've now identified clear OWNERS on a per-package basis, and we're using "include" directives whenever possible to to simplify future maintenance. With this extensive effort, we've now improved our coverage as follows: -- 98% of changes are fully covered by OWNERS -- 1% of changes are partially covered by OWNERS -- 1% of changes have no OWNERS coverage This specific change is automatically generated by a script from detailed ownership information confirmed by team leads. Bug: 174932174 Test: manual Exempt-From-Owner-Approval: refactoring with team leads buy-in Merged-In: I9789c97c1de8e5d962b48c29c57d82fe83729eba Change-Id: I9789c97c1de8e5d962b48c29c57d82fe83729eba
2020-12-07Merge "Use phoneAccountHandle based on connection" am: eb87a5267f am: 4ab9a5ea60Brad Ebinger
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1428408 Change-Id: Ibe583151729e8d9683b3df2159689e9e7249b7cc
2020-12-07Merge "Use phoneAccountHandle based on connection"Brad Ebinger
2020-11-16Merge "Remove legacy style metalava suppression" am: e1bb600fc7 am: ↵Aurimas Liutikas
66574f225e am: 1c505e8cda Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1421698 Change-Id: Ib1b078a6e6c6e19391277d19c0f8d748eee6300b
2020-11-16Merge "Remove legacy style metalava suppression"Aurimas Liutikas
2020-11-13Merge "Suppress all hidden abstract methods in constructable classes." am: ↵Aurimas Liutikas
bdd6c53abb am: c08c4d9b02 am: 65ed2cb534 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1495396 Change-Id: Icb989e4ac7190afbdb3b09552fa0055c2a742ceb
2020-11-13Merge "Suppress all hidden abstract methods in constructable classes."Aurimas Liutikas
2020-11-13Suppress all hidden abstract methods in constructable classes.Aurimas Liutikas
Having a hidden abstract method for a class that can be extended means that public implementors cannot implement these hidden methods posing a risk that custom implementations will not have required abstract methods resulting in an exception. Bug: 151134792 Test: make update-api Change-Id: I758d12465fabc671be19bedeeceb16885de23c87 Merged-In: I758d12465fabc671be19bedeeceb16885de23c87 Exempt-From-Owner-Approval: large scale suppression of existing issues, no-op in terms of behavior
2020-11-12Remove legacy style metalava suppressionAurimas Liutikas
@SuppressLint("Doclava125") is a legacy way of suppressing RequiresPermission check. Updating to the new style of suppression so metalava no longer has to support the legacy mode. sed -i "s/@SuppressLint(\"Doclava125/@SuppressLint(\"RequiresPermission/" \ core/java/android/app/admin/DevicePolicyManager.java \ core/java/android/hardware/hdmi/HdmiControlManager.java \ core/java/android/hardware/location/ContextHubManager.java \ core/java/android/hardware/usb/UsbDeviceConnection.java \ core/java/android/net/TrafficStats.java \ core/java/android/os/RecoverySystem.java \ core/java/android/os/storage/StorageManager.java \ core/java/android/service/persistentdata/PersistentDataBlockManager.java \ location/java/android/location/LocationManager.java \ media/java/android/media/AudioManager.java \ telecomm/java/android/telecom/TelecomManager.java \ telephony/java/android/telephony/CarrierConfigManager.java \ telephony/java/android/telephony/TelephonyManager.java \ wifi/java/android/net/wifi/RttManager.java \ wifi/java/android/net/wifi/WifiScanner.java Test: make Exempt-From-Owner-Approval: No-op change Merged-In: I6d5df95cfca2950ea86872d2f0afc1ba828841dc Change-Id: I6d5df95cfca2950ea86872d2f0afc1ba828841dc
2020-11-12Merge "Introduce hasCompanionInCallServiceAccess API" am: 83cc1b62f0 am: ↵Shuo Qian
8a37624fe2 am: 94d349257b Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1495021 Change-Id: I172115cb9ec07a1020f9c635fff9ae2c3bf7cdc1
2020-11-12Merge "Introduce hasCompanionInCallServiceAccess API"Shuo Qian
2020-11-12Merge "Declare audio codec bitrate and bandwidth" am: b04ef45226 am: ↵Allen Su
1bb3473fdf am: 21604689d0 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1494041 Change-Id: Id0ca7eb919c6da094dd5a7be990f4aa38526aa23
2020-11-11Introduce hasCompanionInCallServiceAccess APIsqian
It retruns whether the caller has InCallService access for the companion apps. A companion app is an app associated with a physical wearable device via the {@link android.companion.CompanionDeviceManager} API. Test: cts Bug: 169595473 Change-Id: Id659bfae8556e965d3c31613848bde808f28a858 Merged-In: Id659bfae8556e965d3c31613848bde808f28a858 (cherry picked from commit 4d0652699a88ad60c2dfdbf7b59065ee684df6d6)
2020-11-11Declare audio codec bitrate and bandwidthallenwtsu
Bug: 172304392 Test: atest Change-Id: Iea4de76a4c1628c8828ba84282ef014f94cc169a
2020-11-09Merge "Remove redundant permission requirements docs." am: ef2c66e72f am: ↵Tyler Gunn
7e94f9e844 am: 6f4ea387c3 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1490126 Change-Id: I0997f681c52485345cf9ee2c6004b53e74974630
2020-11-09Merge "Remove redundant permission requirements docs."Tyler Gunn
2020-11-07Merge "Add disconnect message constant Bug: b/171255813 Test: make ↵TreeHugger Robot
Change-Id: Ia300b12ecf7d0c1d7d057b48a801b2928354315e" into rvc-qpr-dev am: 265a962d72 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12987248 Change-Id: Id8d13e2cd4b52a616b4e36331d43ba8084033151
2020-11-06Remove redundant permission requirements docs.Tyler Gunn
Methods use @RequiresPermission annotation to declare permissions. This CL removes redundant javadoc which also state the permission reqs; the @RequiresPermission annotation results in autogenerated permission docs. Let some references in the javadoc in where a permission OR a role is a requirement to use an API, or where permissions had specific API levels noted in the javadoc. Test: make docs Fixes: 137633265 Change-Id: Id1ab7090def6b1d0dbdc8d2cc8586b5341e2eb7e
2020-11-06Add disconnect message constantradhika
Bug: b/171255813 Test: make Change-Id: Ia300b12ecf7d0c1d7d057b48a801b2928354315e
2020-11-04Add maxTargetSdk restriction to unused APIs.Mathew Inwood
These are APIs that have @UnsupportedAppUsage but for which we don't have any evidence of them currently being used, so should be safe to remove from the unsupported list. Bug: 170729553 Test: Treehugger Merged-In: I626caf7c1fe46c5ab1f39c2895b42a34319f771a Change-Id: I54e5ecd11e76ca1de3c5893e3a98b0108e735413
2020-11-03Merge "Update docs for RttCall#write" am: 730f35321d am: ef378a0df4 am: ↵Hall Liu
021daefce0 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1480257 Change-Id: Ifd0ab41e8e0e658defab6ab4289b7567be181fea
2020-11-03Merge "Update docs for RttCall#write"Hall Liu
2020-11-02Add maxTargetSdk restriction to unused APIs.Mathew Inwood
These are APIs that have @UnsupportedAppUsage but for which we don't have any evidence of them currently being used, so should be safe to remove from the unsupported list. Bug: 170729553 Test: Treehugger Merged-In: I8285daa8530260251ecad6f3f38f98e263629ca7 Change-Id: I626caf7c1fe46c5ab1f39c2895b42a34319f771a
2020-10-29Update docs for RttCall#writeHall Liu
Update docs to clarify some confusion over recommended behavior for paste/autocomplete operations. Bug: 171986522 Test: docs only Change-Id: I0515319a1aff00640fb4557584b17f10126eb215
2020-10-26Merge "Modify the TelecomLoaderService to provide LocalServices to Telecom"Tyler Gunn
2020-10-23Merge changes from topic "mainline-telecom-constants" am: c155bb62a1 am: ↵Hall Liu
e5eef00627 am: 0494ed6b1e Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1471168 Change-Id: If029ec79c21683684f6d55232ec843cc7b845ff8