summaryrefslogtreecommitdiff
path: root/telecomm/java/android/telecom/PhoneAccountHandle.java
Commit message (Collapse)AuthorAgeFilesLines
* Un-obscure the Telephony phone account ID.Tyler Gunn2022-05-061-8/+25
| | | | | | | | | | | With the upcoming changes in T to move telephony phone account handles to use subid instead of ICCID, the id of telephony phone account handles no longer needs to be Log.pii-ed. These phone accounts have been hard to diagnose in most bug reports due to the obfuscation. Bug: 226972613 Test: Manual testing; place calls and verify Telephony account handles are now visible. Change-Id: Icae7917e7063c753c8597c401ad7adc1d9052775
* Update PhoneAccountHandle API docs.Tyler Gunn2021-07-021-10/+37
| | | | | | | | Ensure docs clearly state that handle id should not contain PII. Test: Docs only change. Fixes: 192673156 Change-Id: I4a612876fa5e2aac2159928b4c6cfde253d7395a
* Use new UnsupportedAppUsage annotation.Artur Satayev2020-01-141-1/+1
| | | | | | | | | | 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' Merged-In: I853372f3c6fef905553bb31be4f1bb48df735f7a Change-Id: I853372f3c6fef905553bb31be4f1bb48df735f7a
* Revert "Use new UnsupportedAppUsage annotation."Austin Wang2019-12-191-1/+1
| | | | | | | | 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
* Use new UnsupportedAppUsage annotation.Artur Satayev2019-12-181-1/+1
| | | | | | | | | 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
* Add PhoneAccountHandle method to check if 2 accts are from same CS.Tyler Gunn2019-04-151-0/+18
| | | | | | | | | | 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
* Merge "Cleanup unsupported appusage in Telecom apis." am: 90723afa47 am: ↵Tyler Gunn2019-03-151-1/+1
|\ | | | | | | | | | | | | | | 545bace60f am: 77b1dfa56a Change-Id: I54a446eaf8c22149f6df5c2f677eb8b5072deda6
| * Cleanup unsupported appusage in Telecom apis.Tyler Gunn2019-03-051-1/+1
| | | | | | | | | | | | | | | | | | 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
| * Limit access to suspected false positives.Mathew Inwood2018-12-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Move some members to the "Q blacklist".Mathew Inwood2018-10-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * Add @UnsupportedAppUsage annotationsMathew Inwood2018-08-011-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | 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
* | Limit access to suspected false positives.Mathew Inwood2018-12-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Move some members to the "Q blacklist".Mathew Inwood2018-09-141-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Add @UnsupportedAppUsage annotationsMathew Inwood2018-08-011-0/+4
|/ | | | | | | | | | | | | | | | | 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
* Update docs to better document PhoneAccountHandleBrad Ebinger2016-03-171-5/+21
| | | | | | | | | 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
* Fixes for APi reviewYorke Lee2015-05-121-1/+1
| | | | | | | | | Move CameraCapabilities into VideoProfile Make PhoneAccount and PhoneAccountHandle final Bug: 21040387 Bug: 21066505 Change-Id: I72453c89ae3765f9b9cf263938fce96d5978d2e0
* Make Telecom/InCallUI APIs publicJay Shrauner2015-04-151-5/+0
| | | | | Bug:20260870 Change-Id: Ie3a2db0685664f2f1ceea8f40b1249d01e9385b8
* Small update to PhoneAccountHandle ID javadoc.Santos Cordon2015-02-191-0/+3
| | | | Change-Id: I31832347689e1e9291cd6b9c100918668fa4b056
* Unhide telecom APIs needed by ContactsBrian Attwell2015-02-041-9/+8
| | | | | | | | | | | | | | | | | * 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
* Associate a UserHandle with each PhoneAccountHandleEvan Charlton2014-12-051-7/+32
| | | | | | | | | | | | | | 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
* 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
* More updates to javadocs for Telecom APIs.Santos Cordon2014-10-291-1/+10
| | | | Change-Id: I8f8389f521c0d654c9bfdc3ad9670be0d118f480
* MR1 - Adding more Telecom state dumping.Tyler Gunn2014-09-301-1/+3
| | | | | | | | - 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
* 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/+120
- 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