summaryrefslogtreecommitdiff
path: root/telecomm/java/android/telecom/Call.java
AgeCommit message (Collapse)Author
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-12-05Merge "Add Verstat fields to Telecom call/connection classes."Tyler Gunn
2019-12-04Merge "Change name of setShouldScreenCallFurther"Hall Liu
2019-12-02Add Verstat fields to Telecom call/connection classes.Tyler Gunn
Test: Added new CTS tests to verify operation. Bug: 135929421 Change-Id: I42360dad677060e03ecec865f31145b1760cf46a
2019-11-22Merge RP1A.191114.001Steven Laver
Change-Id: I30dd2dce3b0c2fcd635381413a213fe3e97be97b
2019-11-12Merge "Cleanup video provider binder code."Tyler Gunn
2019-11-12Cleanup video provider binder code.Tyler Gunn
1. Ensure we always unlink for death from the VideoCallImpl. 2. Ensure we compare the binders in the Call instance properly so that we are not always replacing the VideoCallImpl used. 3. Ensure we cleanup the VideoCallImpl when its being removed. Test: Manual testing of video calls for regressions. Bug: 121156974 Change-Id: I440e8fb4ab9a5051ee02358933c495de736e2bd0
2019-11-11Change name of setShouldScreenCallFurtherHall Liu
Change the name of the method to setShouldScreenCallViaAudioProcessing Also remove some commented out lines Fixes: 143564665 Test: CTS Change-Id: Ib163e3dad49ad2301238256339be9bb3ba5fec3a
2019-11-09Merge RP1A.191024.001Steven Laver
Change-Id: I5cda3bba276e99d948b752be87d4599e9f882e0f
2019-11-08More telephony updates for mainline.Tyler Gunn
Add new TelecomManager#getDefaultDialerPackage which is multiuse aware; this is used when showing the voicemail notification. Remove some @hide methods from Conference; push these inline. Move ConferenceParticipantConnection into frameworks/opt/net/ims since it is just an IMS implementation detail. Bug: 141576016 Test: Manual smoke test. Test: Run unit tests. Test: Run CTS tests. Change-Id: I39b6955cb14cc1ca68b05c620c3d09a2cdfe30c9 Merged-In: I39b6955cb14cc1ca68b05c620c3d09a2cdfe30c9
2019-10-22Merge "Add logging values for new call states"Hall Liu
2019-10-14Add logging values for new call statesHall Liu
Add the string values for the new call states so we don't get warnings about unknown states in the logs. Bug: 140317205 Test: manual Change-Id: Ia6a27179639748287436a0785a03201985d8ab50
2019-10-11Add SDK compatibility code for new call statesHall Liu
Add code that translates the new call states to old call states for in-call UIs that don't yet support background call screening. Test: CTS Bug: 140317205 Change-Id: I104f5f7ab3e3dc075e1d9ed5c64fcd924f9a977b
2019-10-01Add APIs to support background call screeningHall Liu
Add Telecom APIs and AIDL code. Test: CTS Bug: 140317205 Change-Id: I99970f5ce12442f307a656db76cb26f5101e6c7f
2019-06-04Add silence support to CallScreeningService/Call APIUsman Abdullah
Test: CTS Test: Unit Tests Test: Manual Bug: 126590377 Bug: 122671585 Change-Id: I4e7c67784198678eef1926759ec1d8afb98438f4 Merged-In: I4e7c67784198678eef1926759ec1d8afb98438f4
2019-04-05Merge QP1A.190404.001Diego Wilson
Change-Id: Id8d32c9377185cecfb4bacc9a86ad7a98ab17a25
2019-04-01Merge QP1A.190324.001Scott Lobdell
Change-Id: Ib4e8f5a59b14abf7868e475ce20ea01ad799e2b1
2019-04-02Remove call identification APIs.Tyler Gunn
Removing the CallIdentification API surface. Test: Build, run tests. Bug: 129531123 Change-Id: I5f1451ffba04ee438df739a17472c028c44f19b2 Merged-In: I5f1451ffba04ee438df739a17472c028c44f19b2
2019-04-01Remove call identification APIs.Tyler Gunn
Removing the CallIdentification API surface. Test: Build, run tests. Bug: 129531123 Change-Id: I5f1451ffba04ee438df739a17472c028c44f19b2
2019-03-14Add silence support to CallScreeningService/Call APIUsman Abdullah
Test: CTS Test: Unit Tests Test: Manual Bug: 126590377 Bug: 122671585 Change-Id: I4e7c67784198678eef1926759ec1d8afb98438f4
2019-02-01Merge QP1A.190122.001Scott Lobdell
Conflicts: api/system-current.txt core/java/android/bluetooth/BluetoothAdapter.java core/jni/android_util_Process.cpp core/jni/com_android_internal_os_Zygote.cpp core/res/res/values/config.xml core/res/res/values/symbols.xml media/java/android/media/MediaCodecInfo.java packages/SystemUI/src/com/android/systemui/statusbar/SignalClusterView.java services/core/java/com/android/server/ConnectivityService.java services/core/java/com/android/server/LocationManagerService.java services/core/java/com/android/server/am/ActivityManagerService.java services/core/java/com/android/server/connectivity/NetworkAgentInfo.java services/core/java/com/android/server/location/GnssLocationProvider.java services/core/java/com/android/server/wm/ActivityStack.java services/net/java/android/net/ip/IpClient.java telecomm/java/android/telecom/Connection.java telephony/java/android/telephony/ims/ImsCallSession.java telephony/java/android/telephony/ims/ImsCallSessionListener.java telephony/java/android/telephony/ims/aidl/IImsCallSessionListener.aidl telephony/java/android/telephony/ims/compat/stub/ImsCallSessionImplBase.java telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl wifi/java/android/net/wifi/WifiConfiguration.java Change-Id: I367301986f2ae80a528050c3d78776b5a4c6b5ee
2019-01-29Call Screening / Caller ID API ChangesTyler Gunn
- Fix bug in call identification parcelable; was reversing the app name and package name. - Add @hide RoleManager consts for the Telecom roles; this will be replaced by values in the library for public consumption as a later date. - Add new call direction attribute to the Call.Details class; this is needed so that a CallScreeningService can know if a call is incoming or outgoing. This way it knows whether it needs to perform call blocking or just caller ID. - Update CallScreeningService API docs to explain how to request the call screening role. - Update InCallService API docs to explain the 3 roles related to this service and how you declare an appropriate IncallService to fill each of them. Bug: 63966743 Test: Manual, CTS Merged-In: Ic4547b8ead791690305f7be58e43272c4155b7fb Change-Id: Ic4547b8ead791690305f7be58e43272c4155b7fb
2019-01-11Add CallerIdentification to CallScreeningService API.Tyler Gunn
Updating the CallScreeningService to support passing call identification information for incoming/outgoing calls. Updating call log to log call identification information. Bug: 63966743 Test: Manual with test app. Merged-In: Ie6c172c09007eb5f4853d36ae0a99b782bfb5ddb Change-Id: Ie6c172c09007eb5f4853d36ae0a99b782bfb5ddb
2019-01-11Merge QP1A.190107.001Scott Lobdell
Change-Id: Ife0402f9f6166a53c75fa57f80dee0b442ce6d28
2019-01-08Call Screening / Caller ID API ChangesTyler Gunn
- Fix bug in call identification parcelable; was reversing the app name and package name. - Add @hide RoleManager consts for the Telecom roles; this will be replaced by values in the library for public consumption as a later date. - Add new call direction attribute to the Call.Details class; this is needed so that a CallScreeningService can know if a call is incoming or outgoing. This way it knows whether it needs to perform call blocking or just caller ID. - Update CallScreeningService API docs to explain how to request the call screening role. - Update InCallService API docs to explain the 3 roles related to this service and how you declare an appropriate IncallService to fill each of them. Bug: 63966743 Test: Manual, CTS Change-Id: Ic4547b8ead791690305f7be58e43272c4155b7fb
2018-12-14Merge "Update CallScreeningService API docs."Tyler Gunn
2018-12-12Add CallerIdentification to CallScreeningService API.Tyler Gunn
Updating the CallScreeningService to support passing call identification information for incoming/outgoing calls. Updating call log to log call identification information. Bug: 63966743 Test: Manual with test app. Change-Id: Ie6c172c09007eb5f4853d36ae0a99b782bfb5ddb
2018-12-10Merge changes from topic "acct-suggestion-1" am: f3935f0268 am: 5da9fe3d79Hall Liu
am: 3b74db277d Change-Id: I647e891b6e7b0dbfe02c8f9f5d7a4bebc3ea18c5
2018-12-10Add docs and more annotationsHall Liu
Add docs to some constants in PhoneAccountSuggestion and add @TestApi annotations to enable CTS testing for the new APIs. Test: compiles Bug: 111455117 Change-Id: I2b55a411ff4f0da37eefa0996f7316ea53bca41d
2018-12-07Update CallScreeningService API docs.Tyler Gunn
Cleanup some formatting issues. Update the docs to more clearly indicate what data will be passed to the CallScreeningService about a call. Update the docs to clearly indicate the new behavior for setSkipCallLog with respect to logging of calls. Bug: 63966743 Test: API doc only change; build. Merged-In: I5daeea32f6cfbef1b94105a826925a878ac98596 Change-Id: I5daeea32f6cfbef1b94105a826925a878ac98596
2018-12-05Merge QP1A.181119.002Diego Wilson
Change-Id: Ieb6ae3730e8b01f867f9b5120de1ab3067653d21
2018-12-03Update CallScreeningService API docs.Tyler Gunn
Cleanup some formatting issues. Update the docs to more clearly indicate what data will be passed to the CallScreeningService about a call. Update the docs to clearly indicate the new behavior for setSkipCallLog with respect to logging of calls. Bug: 63966743 Test: API doc only change; build. Change-Id: I5daeea32f6cfbef1b94105a826925a878ac98596
2018-11-12Unsupported app usage API cleanupTyler Gunn
This CL includes a number of cleanups related to unsupported app usage tags. TelecomManager#EXTRA_IS_HANDOVER - public APIS exist for this usecase; updated docs and limit to P with maxtarget sdk. TelecomManager#getSimCallManager(int userId) - marked as max target P; there is a public API available which can be used to accomplish the same thing. Nobody should be calling this. TelecomManager#getCallCapablePhoneAccounts(boolean) - marked as max target P; callers should use the version without the boolean parameter. Deprecate CAPABILITY_CAN_UPGRADE_TO_VIDEO; its redundant. New public API: Promote TelecomManager#getSystemDialerPackage() to public API; its a benign API and doesn't expose anything which can't be inferred other ways. New system APIs: TelecomManager#getCurrentTtyMode() - used by settings app. TelecomManager#setDefaultDialer() - used by useful for settings app. TelecomManager#TTY_MODE* constants - used by getCurrentTtyMode API. Test: Compile / run unit tests Bug: 119305590 Change-Id: I67d6213e6c689fb545fc9ceae4a359831f97c32f
2018-11-05Merge QP1A.181022.001Bill Peckham
Change-Id: I0e200ff664739f0bce5a55806ac4fc95fbbff52d
2018-10-31Add PROPERTY_VOIP_AUDIO_MODE to android.telecom.Call.Tyler Gunn
This property is used to report the voip audio mode requested by the underlying connection. This is useful for ringing calls and held calls where the current system audio mode will not necessarily match what the Connection would use. Test: Added and ran new CTS tests. Bug: 110540796 Change-Id: I8c26db4b35de4d40d7b76b3c1adc93223afa104b
2018-10-15Merge QP1A.181008.001Bill Peckham
Change-Id: Iff68e8d0501ac5c2998c96f9df4042a94a1ce9e1
2018-10-11Update PROPERTY_HIGH_DEF_AUDIO API docs.Tyler Gunn
Make it more clear that the intention of the property is to convey whether a call is high definition on the UI or not, and NOT to report the actual audio codec in use. Test: Build Bug: 78550833 Change-Id: Id002cd1c9cc1d5aea6f8d9ab4e3d99956b7c42b2
2018-09-26Merge "Mark event-based handover constants as deprecated."Tyler Gunn
2018-09-21Add support for network identified emergency calls.Tyler Gunn
Add support for the IMS call profile to indicate that a call is an emergency call. Add supporting connection and call properties so that this can be propagated to Telecom and ultimately the Dialer app. Add System API to determine if the device is in a network IDed or dialed emergency call (used in Telephony). Test: Manual test using test intents and ecclist property. Test: Added new telecom unit tests. Bug: 77565333 Change-Id: I769e7b5000b10662c08fe53c91ef99edc685d2b1
2018-09-14Mark event-based handover constants as deprecated.Tyler Gunn
With the introduction of supported APIs in P, these event-based prototype constants are no longer needed. Test: Manual testing with test app Bug: 110846969 Change-Id: Ic453923f57eb30d9ae7e1ee3c8ff07420e79f597
2018-09-08Merge QP1A.180823.001Bill Peckham
Change-Id: Ia2d6fa811b3c57185c1975db603d59e6eaef73fc
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-05-21IMS: Propagate RTT capability of the called party to UIBenergy Meenan Ravuri
Propagate RTT capability of the called party to UI Change-Id: Ia7d99e7b1f2e87ac7fb703333f5a4c617321e4ef CRs-Fixed: 2245712
2018-03-26Merge PPR1.180326.001Linzhao Ye
Change-Id: I05f63b8c270859d0fe47f0c3d8fa768c4f21846e
2018-03-22Rename handover failure constant per API review comments.Tyler Gunn
Expanding EMERG to EMERGENCY. Test: Build code Bug: 74831393 Merged-In: Ic0555b20dc508d022c0165a5d9dc3b40b33db70e Change-Id: Ic0555b20dc508d022c0165a5d9dc3b40b33db70e (cherry picked from commit a4ef504bdc3044920d4996b93c30751a2fbce217)
2018-03-16Rename handover failure constant per API review comments.Tyler Gunn
Expanding EMERG to EMERGENCY. Test: Build code Bug: 74831393 Change-Id: Ib7e6bea84e25b1e1a2ddb154c7ed62f1084a7596
2018-03-16P PPR1.180311.001 merge 2c4adf27ce607978893e107b76b4ffa1dcdbc4c3 - conflicts.Lalit Kansara
Change-Id: I8e0f99bac6321660eca5d5708a19bcc2c5e8222a
2018-03-07API Documentation and Constant cleanup.Tyler Gunn
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. Fixes: 73751004 Fixes: 73750515 Fixes: 73750817 Merged-In: I7860fcd813f25adaaccf632f2c61dd4138a0a889 Change-Id: I7860fcd813f25adaaccf632f2c61dd4138a0a889 (cherry picked from commit c7a86b14a8e50d979b6b1c9e3dffe94748e2bc93)
2018-03-07Merge "API Documentation and Constant cleanup."Treehugger Robot
2018-03-02API Documentation and Constant cleanup.Tyler Gunn
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