2031 Commits

Author SHA1 Message Date
Jack Yu
2f0440e4fe Merge "Updated the owners" am: c22f798040 am: d7659e6014 am: 0d9d376b45
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2052239

Change-Id: I2b0f3ca4b76ca656dde769ae1b26a9fe6a83d870
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-04 06:06:57 +00:00
Jack Yu
7750d9fa9f Updated the owners
Updated the owners to the latest telephony and
telecomm team members.

Test: Build
Bug: None
Change-Id: I3a456b168ec24199413e42c5fa615ecf285af79b
2022-04-01 16:46:46 +00:00
Sooraj Sasindran
d91b8125f3 rename renounce fine location data
rename renounce fine location data to include location data

Bug: 210923726
Test: cts
Merged-In: Ic2ce84f51bf394031903ae180788216cfa910fc0
Change-Id: Ic2ce84f51bf394031903ae180788216cfa910fc0
2022-03-31 20:15:20 +00:00
Etienne Ruffieux
b99333df7d [API Review] onCreateUnknownConnection
Cherry-picked onCreateUnknownConnection made system API
from internal master, added precision on SystemAPI
annotation for client modules libraries as per API review.

Bug: 219820274
Tag: #feature
Test: manual
Change-Id: I1479201705a3ecce6fe69c2e78d30ce0b31cc3d8
2022-03-08 14:17:31 +00:00
Treehugger Robot
bf1d98de72 Merge "Update API documentation for onRttInitiationFailure." am: 7ee20f2830 am: 5badbebbf9 am: 2e658ce6fe
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1990510

Change-Id: I5c53a4d30a9dd1143d4bb723df69041bf2a355b2
2022-03-04 03:04:57 +00:00
TreeHugger Robot
3005615ff8 Merge "Revert "Add API for external call audio route."" into tm-dev 2022-03-03 21:14:57 +00:00
Grace Jia
88c05c03f2 Revert "Add API for external call audio route."
Revert "Add CTS coverage for new external audio route API."

Revert submission 16308028-external-audio

Reason for revert: Don't want to launch this in T now
Reverted Changes:
I6634c752a:Add CTS coverage for new external audio route API....
Ibd1c2880e:Add API for external call audio route.
I3e262a913:Implement new external audio route.

Change-Id: I3a3eab1151b825523499058040c14696ea2887e9
2022-02-28 19:32:43 +00:00
Thomas Stuart
4e1184dc26 decouple TelecomManager#getSelfManagedPhoneAccounts (2/3)
Recently TelecomManager#getSelfManagedPhoneAccounts was updated
to allow callingPackages to get their PA's.  However, API council
noted there was ambiguity with what was returned from the method.
Thus the method has been decoupled into 2 methods.

bug: 216640181
Test: CTS
Change-Id: Idbcb4740f5a5d7fdf5bedb9d9f6173eef0cb3f17
2022-02-28 16:39:38 +00:00
Tyler Gunn
b9a0496258 Update API documentation for onRttInitiationFailure.
Add intdef for reason code.
Clarifying when this callback can be expected and how to handle RTT
state when requested at the start of a call.

Test: Docs only change
Bug: 216608696
Change-Id: I86e46fbb2b0693564a41d1ca0d9f8c180d775c1a
2022-02-17 15:56:55 -08:00
Grace Jia
e04723f178 Revert "Add API for cross device calling."
Revert "Add cts tests for new cross device calling api"

Revert submission 16308056-cross-api

Reason for revert: Don't want to launch this in T now
Reverted Changes:
I731226c0b:Add cts tests for new cross device calling api
I1a3aa6c1a:Add API for cross device calling.
I40f78925b:Implement new TelecomManager API for cross device ...

Change-Id: I687d94235b159d8daa20fe75de08394adc39f8c7
2022-02-07 19:42:49 +00:00
Thomas Stuart
ebed2a6d95 Merge "limit TelecomManager#registerPhoneAccount to 10; api doc update" 2022-02-04 20:08:19 +00:00
Roopa Sattiraju
98c76c40e3 Adding SystemApi for remaining Telecomm errors
Bug: 206121418
Test: Compile apex
Change-Id: I7a8511f48b2e243569cd38e13501124a5b1bb5b2
2022-02-01 12:33:47 -08:00
Thomas Stuart
e041621587 limit TelecomManager#registerPhoneAccount to 10; api doc update
bug: 209814693
Test: CTS
Change-Id: I8e4425a4e7de716f86b1f1f56ea605d93f357a57
2022-02-01 00:11:09 +00:00
Roopa Sattiraju
45de470c9e API changes requires for Bluetooth apk inside the apex to build.
Bug: 216731966
Test: Compile and Test
Change-Id: Ia9c09fb9ca83141419c9f41ef5c248385fb5a9c0
2022-01-28 15:19:23 -08:00
Hunter Knepshield
b476f8b522 Merge "APIs for SIM call manager voice status" 2022-01-26 06:37:08 +00:00
Thomas Stuart
3779fcfd15 Merge "TelecomManager#getSelfManagedPA comments update (3/3)" 2022-01-24 22:45:43 +00:00
Grace Jia
cdf014104d Merge "Add API for cross device calling." 2022-01-24 21:39:47 +00:00
Hunter Knepshield
2526568630 APIs for SIM call manager voice status
This CL creates two new PhoneAccount capabilities for the SIM call
manager (and potentially telephony itself for PSTN PhoneAccounts) to
advertise that they support voice calling, potentially independent of
voice service state. With this information, telecom will feed updated
back into telephony for plumbing through the standard ServiceState-based
APIs.

Bug: 205737545
Test: atest android.telecom.cts.PhoneAccountOperationsTest
  (an additional CTS test for the TelephonyManager API will be added as
  a follow-up)
Change-Id: If7a5b03a7aa630823ac238ef27721e5e6cc596e6
2022-01-24 13:18:12 -08:00
Thomas Stuart
b90f5c9dc6 TelecomManager#getSelfManagedPA comments update (3/3)
bug: 209839019
Test: CTS
Change-Id: I152e0ee7bd749598a1822f34566b66a50df04863
2022-01-24 18:26:26 +00:00
TreeHugger Robot
ce65b04d56 Merge "Revert "Revert "Migrate unsafe parcel APIs in framework-minus-apex""" 2022-01-20 11:33:39 +00:00
Bernardo Rufino
1a5cb387d6 Revert "Revert "Migrate unsafe parcel APIs in framework-minus-apex""
This reverts commit 331be9a6431d6489f8d1e1b80cb510d0ee073c50.

Reintroducing ag/16366278 since it seems unrelated to b/214053959 (more details on b/214053959#comment55).

Original commit message:

Migrate unsafe parcel APIs in framework-minus-apex

Migrate the following unsafe parcel APIs in framework-minus-apex:
* Parcel.readSerializable()
* Parcel.readArrayList()
* Parcel.readList()
* Parcel.readParcelable()
* Parcel.readParcelableList()
* Parcel.readSparseArray()

This CL was generated by applying lint fixes that infer the expected
type from the caller code and provide that as the type parameter
(ag/16365240).

A few observations:
* In some classes we couldn't migrate because the class also belonged to
another build module whose min SDK wasn't current (as is the case for
framework-minus-apex), hence I suppressed the lint check
(since I'll eventually submit the lint check to the tree).
* In some cases, I needed to do the cast in
https://stackoverflow.com/a/1080525/5765705 to make the compiler happy
since there isn't another way of providing a class of type
Class<MyClassWithGenerics<T>>.
* In the readSerializable() case, the new API also requires the class
loader, that was inferred to by InferredClass.class.getClassLoader().
* Note that automatic formatting and import rely on running hooked up
to the IDE, which wasn't the case here.

Bug: 195622897
Change-Id: I272432e6e082a973f7a50492ec35d79c2b577c93
Test: TH passes
2022-01-19 11:13:18 +00:00
Thomas Stuart
c8460d8e21 cleanupOrphanPA's feature framework (2/2)*
Bug: 210134615
Test: Unit + manual
Change-Id: Ic350e4e45c0d1597c6f61e3e3e717b3a2c1bb099
2022-01-19 00:22:04 +00:00
Ashwini Oruganti
776b439703 Merge "Revert "Migrate unsafe parcel APIs in framework-minus-apex"" 2022-01-12 23:07:08 +00:00
Grace Jia
e086d088a9 Add API for cross device calling.
Test: CTS test
Change-Id: I1a3aa6c1ae6d445a2f3b55e5f0d11918da5bed33
2022-01-12 13:50:52 -08:00
Bernardo Rufino
331be9a643 Revert "Migrate unsafe parcel APIs in framework-minus-apex"
This reverts commit 90bb3709dc75f7e44914222114752de5bce133d4.

Reason for revert: b/214053959

Change-Id: Ic271bab1d3eaf677a5989dda9deb944ee2ad6850
2022-01-12 17:44:44 +00:00
TreeHugger Robot
3907b90f84 Merge "Add API for external call audio route." 2022-01-11 19:16:34 +00:00
Meng Wang
886bf03a2d Merge changes from topic "phonenumber"
* changes:
  Update javadocs based on API council feedback.
  Deprecate get/setLine1Number in favor of get/setPhoneNumber
2022-01-07 00:31:23 +00:00
Grace Jia
d9bdab733f Merge "Add new API for new feature of display name." am: e43f70afc7 am: bacd6a4a11 am: 93e2d21187 am: aa6e8fff87
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1807961

Change-Id: I28ae3bf23808bca60b474969f4a0b90e9747e682
2022-01-06 20:23:29 +00:00
Grace Jia
e43f70afc7 Merge "Add new API for new feature of display name." 2022-01-06 18:59:37 +00:00
Meng Wang
3e436616c6 Deprecate get/setLine1Number in favor of get/setPhoneNumber
Bug: 193539271
Test: make
Change-Id: I09bcdca9d44d6b6a6d4ca00b6d0bba4c45a39bac
Merged-In: I09bcdca9d44d6b6a6d4ca00b6d0bba4c45a39bac
(cherry picked from commit 8665b5105ecc4da80dd60296bac7f3e630edeef5)
2022-01-05 23:41:26 +00:00
Hui Wang
c1183c038e Merge "Add new Telephony feature flags and update API annotations" 2021-12-20 15:50:57 +00:00
Bernardo Rufino
90bb3709dc Migrate unsafe parcel APIs in framework-minus-apex
Migrate the following unsafe parcel APIs in framework-minus-apex:
* Parcel.readSerializable()
* Parcel.readArrayList()
* Parcel.readList()
* Parcel.readParcelable()
* Parcel.readParcelableList()
* Parcel.readSparseArray()

This CL was generated by applying lint fixes that infer the expected
type from the caller code and provide that as the type parameter
(ag/16365240).

A few observations:
* In some classes we couldn't migrate because the class also belonged to
another build module whose min SDK wasn't current (as is the case for
framework-minus-apex), hence I suppressed the lint check
(since I'll eventually submit the lint check to the tree).
* In some cases, I needed to do the cast in
https://stackoverflow.com/a/1080525/5765705 to make the compiler happy
since there isn't another way of providing a class of type
Class<MyClassWithGenerics<T>>.
* In the readSerializable() case, the new API also requires the class
loader, that was inferred to by InferredClass.class.getClassLoader().
* Note that automatic formatting and import rely on running hooked up
to the IDE, which wasn't the case here.

Bug: 195622897
Test: TH passes
Change-Id: I11a27b9bdab7959ee86e90aa1e1cbebd7aaf883c
2021-12-15 18:21:38 +00:00
Hui Wang
c47df7fd76 Add new Telephony feature flags and update API annotations
Bug: 206437821
Test: make
Test: atest CtsTelephonyTestCases FrameworksTelephonyTests
Change-Id: I511afb5afc52b859a37f8ae27ab671c2b8037527
2021-12-14 20:37:47 +00:00
Sooraj Sasindran
4d21fbab33 Merge "Provide last known cell id for emergency call" am: 761ad6eaf8 am: fffe4f6865 am: 0f4de3172e am: 510974e364
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1870513

Change-Id: Ib0e18d6a0aeacdb7f45a376f6cb669b7f3becc27
2021-12-09 00:01:36 +00:00
Sooraj Sasindran
fffe4f6865 Merge "Provide last known cell id for emergency call" am: 761ad6eaf8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1870513

Change-Id: I4891c23dc6b5dd78618913d365c858f1c4b270bf
2021-12-08 22:52:32 +00:00
Sooraj Sasindran
81be082283 Provide last known cell id for emergency call
Provide last known cell id to connection service
for emergency calls.

Bug: 198533763
Test: unit test
Change-Id: I8b660c0b5fbe095e3b9b67129b7404ebd7ec5ccd
2021-12-06 12:52:31 -08:00
Grace Jia
cc16b0403c Add new API for new feature of display name.
Bug: 181383364
Test: BlockedNumberProvider test
Change-Id: I13c0ea3451b78ce5c7352f1f3fa15a28ae9bfa1f
2021-12-01 21:34:04 +00:00
Grace Jia
22c8b96152 Add API for external call audio route.
Test: CTS test
Change-Id: Ibd1c2880e732f39281f5f6616465bf2c680c1b0d
2021-11-29 13:09:22 -08:00
Meng Wang
8665b5105e Deprecate get/setLine1Number in favor of get/setPhoneNumber
Bug: 193539271
Test: make
Change-Id: I09bcdca9d44d6b6a6d4ca00b6d0bba4c45a39bac
2021-11-19 09:56:14 -08:00
Xin Li
10d9972786 Merge sc-qpr1-dev-plus-aosp-without-vendor@7810918
Bug: 205056467
Merged-In: I13199bc39e9445929195f3d15579cbffe94e92b0
Change-Id: I35fa3c6c2abf679c51033f1395a08d511ed8739f
2021-11-18 17:00:37 +00:00
Treehugger Robot
7a866349c1 Merge "API docs clarification for placing calls." am: 57954552ad am: 043c9dee2d am: f33b0154ca am: ec4e408b45
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1853624

Change-Id: Ic1ee436a347d04febbb49ceaff9e0f203f6d89be
2021-11-11 20:14:39 +00:00
Treehugger Robot
f33b0154ca Merge "API docs clarification for placing calls." am: 57954552ad am: 043c9dee2d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1853624

Change-Id: I979f732e3fcecb1bba3b2384a0f46906751705af
2021-11-11 19:39:33 +00:00
Treehugger Robot
57954552ad Merge "API docs clarification for placing calls." 2021-11-11 19:07:28 +00:00
Jordan Liu
db69d3ebef Merge "Remove sdk28 tests from presubmit" 2021-10-13 21:31:03 +00:00
Tyler Gunn
272fd21493 API docs clarification for placing calls.
Clarifying that a dialer app should use TelecomManager to place calls
instead of relying on the Intent#ACTION_CALL intent.

Test: Docs only change.
Fixes: 202033596
Change-Id: Iac9358c5cd069f120a167c96aa6b9462313b2268
2021-10-12 09:22:24 -07:00
Adam Bookatz
7a0b594e3a Merge "UM.getUserHandle -> UM.getProcessUserId" 2021-10-08 02:22:08 +00:00
Xin Li
c03b0fa033 Merge "Merge Android 12" 2021-10-07 23:50:15 +00:00
Tyler Gunn
31e4c62a0b Merge "IMS: Propagate RTT capability of the called party to UI" am: 57704bd7a3 am: 86da26a494 am: bbdfc69dee am: c799bb6a82 am: 2ac5b92d96
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/696027

Change-Id: I3c36cb74c7c06da2baa21550ef19bbac09afc1a0
2021-10-07 16:45:51 +00:00
Tyler Gunn
c799bb6a82 Merge "IMS: Propagate RTT capability of the called party to UI" am: 57704bd7a3 am: 86da26a494 am: bbdfc69dee
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/696027

Change-Id: I667b0a37e343a9ba0b37982d36fa0b0d0382e2b6
2021-10-07 16:18:49 +00:00
Tyler Gunn
bbdfc69dee Merge "IMS: Propagate RTT capability of the called party to UI" am: 57704bd7a3 am: 86da26a494
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/696027

Change-Id: I389a90e671bea7920f20e97ca4335cfc6e938fea
2021-10-07 16:05:50 +00:00