summaryrefslogtreecommitdiff
path: root/telecomm/java/android/telecom/ConnectionRequest.java
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Revert "Migrate unsafe parcel APIs in framework-minus-apex""Bernardo Rufino2022-01-191-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Revert "Migrate unsafe parcel APIs in framework-minus-apex"Bernardo Rufino2022-01-121-6/+6
| | | | | | | | This reverts commit 90bb3709dc75f7e44914222114752de5bce133d4. Reason for revert: b/214053959 Change-Id: Ic271bab1d3eaf677a5989dda9deb944ee2ad6850
* Migrate unsafe parcel APIs in framework-minus-apexBernardo Rufino2021-12-151-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* API: Suppress existing NullableCollections lintsAdrian Roos2021-02-011-1/+3
| | | | | | | Bug: 152525509 Bug: 154763999 Test: make checkapi Change-Id: Iecd0927e6be5496b2fbd1a49396db5439257ffe4
* Remove @TestApi from @SystemApi symbolsAnton Hansson2020-10-191-1/+0
| | | | | | | | | | | | | | I ran these commands: cd frameworks/base grep -rl '@TestApi' --include '*.java' | xargs perl -i -p0e \ 's/\@SystemApi[\s\n]+(\@\w+[\s\n]+)?\@TestApi/\@SystemApi\1/gs' grep -rl '@TestApi' --include '*.java' | xargs perl -i -p0e \ 's/\@TestApi[\s\n]+(\@\w+[\s\n]+)?\@SystemApi/\1\@SystemApi/gs' Bug: 171179806 Test: m checkapi Change-Id: I772790b783b0a8730b8bf680c9e569a886b8d789 Merged-In: I772790b783b0a8730b8bf680c9e569a886b8d789
* Ims: Add support for Adhoc Conference callsRavi Paluri2020-01-221-3/+68
| | | | | | | | Add support for Adhoc Conference calls Test: Manual Bug: 62151032 Change-Id: Id50d235595d2133f867848ffdebdfe11e2f1c896
* Expose new Telecom APIs for use by TelephonyHall Liu2019-11-161-10/+22
| | | | | | | | | Expose TelecomManager#getCallCapablePhoneAccounts(boolean) and ConnectionRequest#getTelecomCallId Bug: 141576153 Test: CTS Change-Id: Ie0214fc93682229a3e5781f62743f00f68472702
* All Parcelable CREATOR fields are @NonNull.Jeff Sharkey2019-02-281-1/+1
| | | | | | | | | If they were null, then the Parcelable would fail to work. Bug: 126726802 Test: manual Change-Id: I7929ffa2f20e5de1c8e68e8263cca99496e9d014 Exempt-From-Owner-Approval: Trivial API annotations
* Fix to hide phone number printed in the logShi Yuanjie2019-01-311-1/+25
| | | | | | | | | | | | The ConnectionRequest and ImsConferenceState fields may include phone numbers and it is output to the log. Since PII should not be printed in the log, mask it using Log.pii(). Bug: 111812270 Test: manual - Checked that phone number is not printed in the log when receive an incoming call and make an IMS conference call. Change-Id: I462ae7f923128a2d06d0415bcde0c779e932139f
* RTT bugfixes, part 5Hall Liu2018-02-221-1/+6
| | | | | | | | | | | | | | | | * 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
* Un-hide Connection-side RTT APIs for DialerHall Liu2018-02-151-5/+0
| | | | | | | Bug: 63934808 Test: builds Change-Id: I59a892fb0e314810e92dd9ad7d0c2f4610055045 Merged-In: I59a892fb0e314810e92dd9ad7d0c2f461005504
* Add @TestApi annotations to CS-side RTT APIs for CTSHall Liu2017-03-301-0/+3
| | | | | | | | | 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
* Introduce APIs for RTT calls (part 1)Hall Liu2017-02-211-3/+184
| | | | | | | | Add signaling methods and data pipes for handling real-time text during a call. Change-Id: I876827c448252c5f786d7a4919c47891acb03877 Test: manual, through telecom testapps
* Adding self-managed connection service APIs.Tyler Gunn2017-01-181-3/+24
| | | | | | | | | 1. Adding new APIs for self-managed connection services. 2. Adding Telecom package-level documentation. Test: Manual (unit, cts pending; this is just scaffolding for now) Bug: 34159263 Change-Id: Ic226ec8bfcb2fbcc02fe802b47499e47aab17d0a
* Support for Telecom Call IDs.Tyler Gunn2015-09-011-1/+32
| | | | | | | | | | | | | | Add support for caching telecom call ID in connection and conference classes. Enhance connection service call ID generation: For "existing calls", the connection service will try to use a call ID of the format ClassName@ID Where ClassName is the ComponentName of the connection service, and ID is a unique incrementing ID for the connection service. Bug: 23357902 Change-Id: I2284b018465e2b330fc8a3b556758e9f34a2daba
* API Cleanup: Remove VideoState class.Tyler Gunn2015-06-031-1/+1
| | | | | | | | | - Remove VideoState class. - Replace references to VideoState constants with VideoProfile equivalent. - Push VideoState static methods into VideoProfile. Bug: 21573551 Change-Id: I1bca02772b5b7d86643f612824b07faef7618725
* More video related API fixesYorke Lee2015-05-121-4/+4
| | | | | | | | | | | | | | | | | android.telecom.Connection.VideoProvider * onSetPauseImage takes Uri instead of String * changeCallDataUsage -> setCallDataUsage * add quality constants to changeVideoQuality() docs android.telecom.InCallService.VideoCall * setPauseImage takes Uri instea dof String android.telecom.VideoProfile.VideoState * Move constants to VideoProfile, prefix with STATE_ Bug: 21040387 Bug: 21066505 Change-Id: I764e72aced9d1e2d30d6d0cf0862100860d47c79
* Un-@hiding some missed VT APIs.Tyler Gunn2015-05-081-2/+0
| | | | | Bug: 20947116 Change-Id: Idda9b7c7debafbea8c42eaadb75c3375b2c8ddb2
* Make Telecom/InCallUI APIs publicJay Shrauner2015-04-151-3/+0
| | | | | Bug:20260870 Change-Id: Ie3a2db0685664f2f1ceea8f40b1249d01e9385b8
* Apply @hide / @SystemApi to android.telecom.*Evan Charlton2014-11-101-0/+3
| | | | | | | | Move the android.telecom.* namespace back to @hide, and also mark it with @SystemApi so that system-privileged apps can use them. Bug: 18302450 Change-Id: I33ae1b9b0dfdb1c5eff51ca3c829196bcfc9411c
* Revert "@hide ConnectionService APIs."Evan Charlton2014-09-241-3/+0
| | | | This reverts commit 86935c406e4a8bb0e2ad871b51009f3603df9e87.
* @hide ConnectionService APIs.Tyler Gunn2014-09-231-0/+3
| | | | | Bug: 17569532 Change-Id: I68f7237191bd6d7a1a00ba7bb4fd2f8e3d669e8f
* Renaming Telecomm to Telecom.Tyler Gunn2014-09-121-0/+140
- Changing package from android.telecomm to android.telecom - Changing package from com.android.telecomm to com.android.server.telecomm. - Renaming TelecommManager to TelecomManager. Bug: 17364651 Change-Id: I192cb5d189f55db012ea72ee82ccc5aedbc21638