summaryrefslogtreecommitdiff
path: root/telecomm/java/android/telecom/PhoneAccountHandle.java
AgeCommit message (Collapse)Author
2020-01-08Use new UnsupportedAppUsage annotation.Artur Satayev
Existing annotations in libcore/ and frameworks/ will deleted after the migration. This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library. Bug: 145132366 Test: m && diff unsupportedappusage_index.csv \ git diff HEAD^ HEAD | grep '^[+-][^+-]' | grep -v '.import' Change-Id: I853372f3c6fef905553bb31be4f1bb48df735f7a
2019-12-19Revert "Use new UnsupportedAppUsage annotation."Austin Wang
This reverts commit a5264903e22bc741add895133474ea13a370de4c. Reason for revert: Droidcop-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?branch=git_master&target=sdk_phone_armv7-sdk&lkgb=6083299&lkbb=6085371&fkbb=6083313, bug b/146533269 Change-Id: Ie5b031d7b277cf0e09b0a9776b26bf74f5f69e70
2019-12-18Use new UnsupportedAppUsage annotation.Artur Satayev
Existing annotations in libcore/ and frameworks/ will deleted after the migration. This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library. Bug: 145132366 Test: m && diff unsupportedappusage_index.csv \ git diff HEAD^ HEAD | grep '^[+-][^+-]' | grep -v '.import' Change-Id: I087bb1cecbe59f1cf0c2e770c735d7a433722c6f
2019-04-15Add PhoneAccountHandle method to check if 2 accts are from same CS.Tyler Gunn
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-03-15Merge "Cleanup unsupported appusage in Telecom apis." am: 90723afa47 am: ↵Tyler Gunn
545bace60f am: 77b1dfa56a Change-Id: I54a446eaf8c22149f6df5c2f677eb8b5072deda6
2019-03-05Cleanup unsupported appusage in Telecom apis.Tyler Gunn
Cleaning up some unsupport app usage tags in the Telecom APIs. See bug for more information on why. Test: Compile Fixes: 127403196 Change-Id: I7dec2db4671142dab9e677f909292dec03ff09d7
2019-02-28All Parcelable CREATOR fields are @NonNull.Jeff Sharkey
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
2018-12-28Limit access to suspected false positives.Mathew Inwood
Members modified herein are suspected to be false positives: i.e. things that were added to the greylist in P, but subsequent data analysis suggests that they are not, in fact, used after all. Add a maxTargetSdk=P to these APIs. This is lower-risk that simply removing these things from the greylist, as none of out data sources are perfect nor complete. For APIs that are not supported yet by annotations, move them to hiddenapi-greylist-max-p.txt instead which has the same effect. Exempted-From-Owner-Approval: Automatic changes to the codebase affecting only @UnsupportedAppUsage annotations, themselves added without requiring owners approval earlier. Bug: 115609023 Test: m Change-Id: Ia937d8c41512e7f1b6e7f67b9104c1878b5cc3a0 Merged-In: I020a9c09672ebcae64c5357abc4993e07e744687
2018-12-28Limit access to suspected false positives.Mathew Inwood
Members modified herein are suspected to be false positives: i.e. things that were added to the greylist in P, but subsequent data analysis suggests that they are not, in fact, used after all. Add a maxTargetSdk=P to these APIs. This is lower-risk that simply removing these things from the greylist, as none of out data sources are perfect nor complete. For APIs that are not supported yet by annotations, move them to hiddenapi-greylist-max-p.txt instead which has the same effect. Exempted-From-Owner-Approval: Automatic changes to the codebase affecting only @UnsupportedAppUsage annotations, themselves added without requiring owners approval earlier. Bug: 115609023 Test: m Change-Id: I020a9c09672ebcae64c5357abc4993e07e744687
2018-10-22Move some members to the "Q blacklist".Mathew Inwood
Based on some analysis, these fields/methods are likely false positives. Set maxTargetSdk=P so that any apps using them are required to migrate off them in future. See the bug for more details. Exempted-From-Owner-Approval: Automatic changes to the codebase affecting only @UnsupportedAppUsage annotations, themselves added without requiring owners approval earlier. Bug: 115609023 Test: m Merged-In: I719b5c94e5b1f4fa562dd5d655953422958ad37e Change-Id: I719b5c94e5b1f4fa562dd5d655953422958ad37e (cherry picked from commit 8c854f86a477fbbee38092f449333e1425e5cd7e)
2018-09-14Move some members to the "Q blacklist".Mathew Inwood
Based on some analysis, these fields/methods are likely false positives. Set maxTargetSdk=P so that any apps using them are required to migrate off them in future. See the bug for more details. Exempted-From-Owner-Approval: Automatic changes to the codebase affecting only @UnsupportedAppUsage annotations, themselves added without requiring owners approval earlier. Bug: 115609023 Test: m Change-Id: I719b5c94e5b1f4fa562dd5d655953422958ad37e
2018-08-01Add @UnsupportedAppUsage annotationsMathew Inwood
For packages: android.telecom.Logging android.telecom 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: I540cb034b933c0d1417a138747ed347fcf0748d7 Merged-In: I04a94d7555be608dc3958787554a3d33b72158ec
2018-08-01Add @UnsupportedAppUsage annotationsMathew Inwood
For packages: android.telecom.Logging android.telecom 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: I04a94d7555be608dc3958787554a3d33b72158ec
2016-03-17Update docs to better document PhoneAccountHandleBrad Ebinger
Warns developers to not create PhoneAccountHandles with null arguments. If they do, a log warning is printed, reminding them that the APIs should not be used in this manner. Bug: 26684527 Change-Id: I03895cac9d732ee618649d38176d48620f705a1b
2015-05-12Fixes for APi reviewYorke Lee
Move CameraCapabilities into VideoProfile Make PhoneAccount and PhoneAccountHandle final Bug: 21040387 Bug: 21066505 Change-Id: I72453c89ae3765f9b9cf263938fce96d5978d2e0
2015-04-15Make Telecom/InCallUI APIs publicJay Shrauner
Bug:20260870 Change-Id: Ie3a2db0685664f2f1ceea8f40b1249d01e9385b8
2015-02-19Small update to PhoneAccountHandle ID javadoc.Santos Cordon
Change-Id: I31832347689e1e9291cd6b9c100918668fa4b056
2015-02-04Unhide telecom APIs needed by ContactsBrian Attwell
* Removed @SystemApi and @hide from some telecom classes and APIs * Stopped using explicit @link's to ConnectionService, so that I didn't need to unhide ConnectionService * Added @SystemApi to hidden methods inside classes that I removed @SystemApi from. * Ran update-api. This picked up unrelated Math changes from b/11388705. Unbundling Bug: 18777272 Bug: 11388705 Change-Id: I218e0c3c0ae515d3deb2d3b67657db45a0bad999
2014-12-05Associate a UserHandle with each PhoneAccountHandleEvan Charlton
This needs to be tracked so that connections get directed to the correct user. This is not a public API; rather, it will be populated and read only by the Telecom service. Expose a new capability, CAPABILITY_MULTI_USER which can be used by system-privileged apps to indicate that this PhoneAccount may be used by any user on the device. Bug: 17421902 Bug: 17421044 Change-Id: I673904a7ae038c88688bba62642e93174e55c308
2014-11-10Apply @hide / @SystemApi to android.telecom.*Evan Charlton
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
2014-10-29More updates to javadocs for Telecom APIs.Santos Cordon
Change-Id: I8f8389f521c0d654c9bfdc3ad9670be0d118f480
2014-09-30MR1 - Adding more Telecom state dumping.Tyler Gunn
- Add toString for PhoneAccount class for use when dumping state. - Call Log.pii for PhoneAccountHandle mId since it may contain pii (eg sip uri). Bug: 17730966 Change-Id: Iddbd949b42704405de558f8ed8c4449242b74870
2014-09-24Revert "@hide ConnectionService APIs."Evan Charlton
This reverts commit 86935c406e4a8bb0e2ad871b51009f3603df9e87.
2014-09-23@hide ConnectionService APIs.Tyler Gunn
Bug: 17569532 Change-Id: I68f7237191bd6d7a1a00ba7bb4fd2f8e3d669e8f
2014-09-12Renaming Telecomm to Telecom.Tyler Gunn
- 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