summaryrefslogtreecommitdiff
path: root/telecomm/java/android/telecom/VideoProfile.java
Commit message (Collapse)AuthorAgeFilesLines
* Use new UnsupportedAppUsage annotation.Artur Satayev2020-01-081-1/+0
| | | | | | | | | | 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
* Revert "Use new UnsupportedAppUsage annotation."Austin Wang2019-12-191-0/+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/+0
| | | | | | | | | 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
* All Parcelable CREATOR fields are @NonNull.Jeff Sharkey2019-02-281-2/+2
| | | | | | | | | 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
* Add IntRange and FloatRange annotationschen xu2019-01-291-2/+5
| | | | | | Bug: 123223163 Test: Build Change-Id: I17f27075007df642ec93e5b762b0717da4a1e927
* public API for VideoProfile.CameraCapability with zoomchen xu2018-12-141-8/+3
| | | | | | Bug: 120796998 Test: Build & CTS videoprofiletest Change-Id: I12b3d1c510065666e2fdf5186d924e657f66d039
* Add @UnsupportedAppUsage annotationsMathew Inwood2018-08-011-0/+2
| | | | | | | | | | | | | | | | | | 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
* API Documentation and Constant cleanup.Tyler Gunn2018-03-021-0/+1
| | | | | | | | | | | | | | | 1. Update handover API docs for clarity. 2. Added an unknown value per API review comments. 3. Renamed HANDOVER_FAILURE_DEST_USER_REJECTED to HANDOVER_FAILURE_USER_REJECTED 3. Removed the HANDOVER_FAILURE_DEST_INVALID_PERM constant since it isn't used (methods which deal with permissions throw security exceptions). Test: Make doc and verify documentation. Change-Id: Id21d6b4c83d5c773ab38d78eb6b1886a1ac4dadf Fixes: 73751004 Fixes: 73750515 Fixes: 73750817
* Fix videoStateToString for audio/paused state.Tyler Gunn2017-02-211-1/+4
| | | | | | | | | The videoStateToString method erroneously assumed that if the videostate was Audio - Paused, that it was audio-only. Simple logic error to fix. Test: Added new unit tests. Bug: 35645334 Change-Id: Ia5ae4d05284b70ad4ba86b8e5d2c53ee8e68a1fa
* Adding @IntDef checking for Video Quality and Video State values.Tyler Gunn2016-01-081-10/+30
| | | | | | | | | | Admittedly this isn't going to cause a build breakage for anyone misusing the values, but it should help make issues more aware at code authoring time. See http://goo.gl/zaH4RE for more information. Change-Id: I3f20dc4bff364dec290d4b647e31f8032d4a13ec
* Remove use of STATE_AUDIO_ONLY in a comparison.Tyler Gunn2015-06-091-1/+26
| | | | | | | | - Cleanup javadoc to make it more explicit how to use STATE_AUDIO_ONLY. - Use VideoProfile.isAudioOnly() instead of doing == comparison. Bug: 21645094 Change-Id: I5a67290a996f8f338aebab72a4d3cb57f1b1993b
* API Cleanup: Remove VideoState class.Tyler Gunn2015-06-031-125/+89
| | | | | | | | | - 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-17/+57
| | | | | | | | | | | | | | | | | 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
* Fixes for APi reviewYorke Lee2015-05-121-0/+138
| | | | | | | | | Move CameraCapabilities into VideoProfile Make PhoneAccount and PhoneAccountHandle final Bug: 21040387 Bug: 21066505 Change-Id: I72453c89ae3765f9b9cf263938fce96d5978d2e0
* Add videoStateToString on videoProvider Class.Tyler Gunn2015-04-241-0/+36
| | | | | | | | | - Got tired of looking at numerical integer videoStates, so added a new "videoStateToString" static method, similar to how we have a Connection#capabilitiesToString method. Bug: 20257400 Change-Id: I39fcf413938c90e5993985f0976ad4fcce11505d
* IMS-VT: Upgrade/Downgrade changeRekha Kumar2015-04-011-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -Add isVideo API to VideoProfile.VideoState IMS-VT: Fix propagation of device orientation. Orientation received at VT Service is incorrect. Fixed propagation of device orientation to VT service. IMS-VT: Upgrade fix -Add session modify call timed out constant Notify listeners of video quality changed event - Propagate the video quality changed message to the UI. IMS: Add support for video quality - Add Config interface to get/set video quality IMS-VT: Multitasking feature -Support for video multitasking IMS-VT: Modification of data usage aidl Change data usage aidl interface to take parameter type long instead of int Change-Id: I7cda2a689edb86d025dfe8efc8f573918c4bd6bc Propagate the call substate changed message to the UI IMS-VT: Add call modifiable capability PhoneCapababilities call type modifiable constant added IMS-VT: Add a bit mask CALL_SUBSTATE_ALL with all call substate bits set IMS-VT: Enable Video conferencing. Enable Video conferencing. Change-Id: I4240aa6f32c75d6eea8a41da3c87bca651f0901b IMS-VT: Add hide for setVideoProvider API Observed compilation error for SDK generation due to setVideoProvider API. Marking setVideoProvider as hide inorder to resolve the compilation error. IMS-VT: Add persist.radio.ims.audio.output for VT calls -- Add persist.radio.ims.audio.output to set the default speaker for VT calls. -- Add required constants IMS-VT: Add additional error codes for upgrade downgrade -Add support to send additional error codes to UI during upgrade downgrade. Change-Id: Id452d225098fe3bccdcd37d242985c5c761144c1
* Unhide telecom APIs needed by ContactsBrian Attwell2015-03-021-2/+0
| | | | | | | | | | | | | | | | | * 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
* Renaming Telecomm to Telecom.Tyler Gunn2014-09-121-0/+231
- 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