summaryrefslogtreecommitdiff
path: root/telecomm/java/android/telecom/Call.java
AgeCommit message (Collapse)Author
2021-05-13Merge SP1A.210510.001Brian Orr
Change-Id: Ia86f3e18206beabe334e3081cedbaf5b3274f78e
2021-04-30Fix potential strict mode violation when stopping RTT.Tyler Gunn
When the RTT call was cleaned up, the "close()" method was not being called. In practice I think the Dialer app never really stops RTT, but the APIs (and test app) do allow it to be stopped mid-session. I'm hypothesizing that is why we don't see this. Test: Use Telecom test dialer to start and end RTT session. Observe no strict mode violation. Fixes: 186869727 Change-Id: Id474b493ac3fe39e97360f3ac326279fc9a9a5eb
2021-04-02Merge SP1A.210329.001Scott Lobdell
Change-Id: I1e21c5890b5b2e2f2855f09960bc8eec8aa922bf
2021-03-24Merge "Add more documentation to PROPERTY_CROSS_SIM" into sc-devSooraj Sasindran
2021-03-24Merge SP1A.210311.001Scott Lobdell
Change-Id: Id1a205bf3f0609c0b13e4bea377056c3b06299fa
2021-03-23Add more documentation to PROPERTY_CROSS_SIMSooraj Sasindran
Add more documentation to PROPERTY_CROSS_SIM Bug: 179307655 Test: build Change-Id: Ie57214ad6a2049de4ccdf93d90571cec11338d06
2021-03-18Move Call state into Call.DetailsTyler Gunn
The Telecom Call object is primarily a control object which allows control of a call and receipt of events related to a call. The actual properties and data pertaining to a call all exists in Call.Details... except for the call state (RINGING,ACTIVE, HOLD, etc). This CL moves the call state to the Call.Details class to remove this one dangling property of the base Call class. Test: Run Telecom CTS test suite. Bug: 163085177 Change-Id: I59413d3e14d03b48263a5cb351fe4e9a553b578e
2021-03-03Merge "CallDiagnosticService API" am: c90335033b am: 9882ff4bf8 am: d3bf1aa209Tyler Gunn
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1607109 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ie91efc29698d27946f83b751bef2fe89d612c9a2
2021-02-25CallDiagnosticService APITyler Gunn
The CallDiagnosticService API is an OEM-backed API which allows an OEM provided app to monitor the state of ongoing telephony calls on the device and to help the user navigate connectivity or audio issues related to these calls. It also provides a means for the app to send and receive device to device messages between devices during an ongoing call (where supported) in order to facilitate a better calling experience. Test: Added new CTS test suite for API. Test: Manual test of CDS behavior using telecom command line option to override the active CDS to the telecom test app implementation. Bug: 163085177 Change-Id: I1f37408d2aa6c630f0f9e3d6b6eb8a390d804d7e
2021-01-26Merge SP1A.210122.003Scott Lobdell
Bug: 178561525 Change-Id: Ifb7c4a1c94e1f4cab710826d57282b981a46e990
2021-01-12Introduce IMS Cross SIM registrationSooraj Sasindran
Introduce IMS Cross SIM registration Bug: 171391883 Test: Build Change-Id: Idd79a0a1f453a36587b89257e88437c96bf6ff4e
2020-11-13Merge SP1A.201105.002Scott Lobdell
Change-Id: Iec83a0c1f6f286a1e51abfc4356633ca9d8aea5f
2020-10-29Update docs for RttCall#writeHall Liu
Update docs to clarify some confusion over recommended behavior for paste/autocomplete operations. Bug: 171986522 Test: docs only Change-Id: I0515319a1aff00640fb4557584b17f10126eb215
2020-10-27Merge SP1A.201015.001Scott Lobdell
Change-Id: Ie33f12a2f4c73443640c28ad128be96b3533fd8c
2020-10-19Remove @TestApi from @SystemApi symbolsAnton Hansson
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
2020-10-09Merge SP1A.200921.001Scott Lobdell
Change-Id: I6a8d7215f874fed05e9fec71b17c8a3d1e2c94e0
2020-10-09Merge "Add clarification text on getCallerNumberVerificationStatus docs."Tyler Gunn
2020-10-08Add clarification text on getCallerNumberVerificationStatus docs.Tyler Gunn
Update API docs to make it clear what the verification status means and how it can be used by CallScreeningService and CallRedirecitonService implementations. Test: Build API docs and view offline. Bug: 150343312 Change-Id: I56f92f5e3ab544e31337a8147134baac33bb4ea9
2020-10-06Clarify API docs for getCannedTextResponses.Tyler Gunn
The API docs do not clearly indicate the fact that canned text responses may not be available when a call is first added. Updating the API docs to clarify this and reference the listener a developer can use to be informed of changes to the canned responses. Test: Docs only change. Bug: 162843384 Change-Id: I52ced96439b2dfa31c1f2428979ab54466763afa
2020-08-31Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)Xin Li
Bug: 166295507 Merged-In: I3d92a6de21a938f6b352ec26dc23420c0fe02b27 Change-Id: Ifdb80563ef042738778ebb8a7581a97c4e3d96e2
2020-07-30Merge "Update language to comply with Android's inclusive language guidance" ↵Tyler Gunn
am: a005cb30ed am: 3772a5b3fd Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1377136 Change-Id: I2f838a951cec8f6e7af82a0cd08d99d6045f3952
2020-07-30Merge "Update language to comply with Android's inclusive language guidance"Tyler Gunn
2020-07-29Update language to comply with Android's inclusive language guidanceTyler Gunn
See https://source.android.com/setup/contribute/respectful-code for reference Test: Presubmit Bug: 161896447 Change-Id: I4142f4819f5ed3e2ffddf471b90923985e72523a
2020-07-28Merge "Expose adhoc conference calling API as public." am: 8ebbe3c038 am: ↵Treehugger Robot
fb8f41f0c2 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1368819 Change-Id: Ia5e17f2dbbfbb539f2415348e1ddb960354d3662
2020-07-27Expose adhoc conference calling API as public.Grace Jia
Bug: 159944852 Test: make Change-Id: I2cf39a6fd8a02ca4f2d0c83c484ab12bb13f74c3
2020-05-20Merge RP1A.200518.001Steven Laver
Change-Id: I2d75bed1ed6a5502d81307d49098ed953d375d24
2020-05-15Update audio processing API docs.Tyler Gunn
Updating the audio processing API docs to mention the fact that the app must indicate in their InCallService and CallScreeningService service entries that the service type is for "microphone" access, otherwise background audio access will not be permitted. Test: Docs only change. Bug: 156042528 Change-Id: I3576dba445497791e6fa4e0a2fa42cf10eb1df5b
2020-03-25Update docs for getGenericConferenceActiveChildCallHall Liu
Update the documentation for getGenericConferenceActiveChildCall to make it more clear what a generic conference is and which call the method will actually return. Fixes: 148515394 Test: none, docs only change Change-Id: Idfee3fc23c7f6035f7b980fbb4dfe68c2834c388
2020-03-06Merge RP1A.200304.001Steven Laver
Change-Id: Id4c66b4c07e21f380919b89ae6ed33d5fae74664
2020-03-02Merge RP1A.200221.003Bill Peckham
Conflicts: api/system-current.txt core/jni/AndroidRuntime.cpp core/res/res/values/symbols.xml packages/SystemUI/src/com/android/systemui/qs/tiles/HotspotTile.java packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelViewController.java packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarPolicy.java packages/SystemUI/src/com/android/systemui/statusbar/policy/MobileSignalController.java packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java services/core/java/com/android/server/ConnectivityService.java services/core/java/com/android/server/am/ActivityManagerConstants.java services/core/java/com/android/server/connectivity/NetworkAgentInfo.java services/core/java/com/android/server/display/LocalDisplayAdapter.java telecomm/java/android/telecom/Call.java telecomm/java/android/telecom/Connection.java telecomm/java/android/telecom/ConnectionService.java wifi/java/android/net/wifi/SoftApConfiguration.java Change-Id: I2405f392c9e65b868e5901dedaa3ce6c90609cd8
2020-02-27Update docs for getGenericConferenceActiveChildCallHall Liu
Update the documentation for getGenericConferenceActiveChildCall to make it more clear what a generic conference is and which call the method will actually return. Fixes: 148515394 Test: none, docs only change Change-Id: Idfee3fc23c7f6035f7b980fbb4dfe68c2834c388
2020-02-18Merge RP1A.200214.001Steven Laver
Change-Id: Id5ee82843b287332c41409e587bbdd33b5872ecd
2020-02-14IMS: Add support for IMS Explicit call transferRavi Paluri
Test: Manual Bug: 62170207 Change-Id: I06a256adb0e1910d40809c91bcdd42c56a142842
2020-02-13Merge RP1A.200204.001Steven Laver
Change-Id: I1e6c199dbee77379f84675965391c839eae04961
2020-02-13Merge changes from topic "add_participant" am: fdfc58fcd9 am: ac4f7edbd3 am: ↵Automerger Merge Worker
0997ab95ae Change-Id: I82f5641c95547646bf41a21c6ee4d4e0c4cc9aef
2020-02-13Merge "API Review cleanups."Tyler Gunn
2020-02-13API Review cleanups.Tyler Gunn
- New @SystemApis on Conference and PhoneAccount were missing the required permissions annotations. - Rename PROPERTY_ASSISTED_DIALING_USED to PROPERTY_ASSISTED_DIALING - Standardize get/setConnectionStartElapsedRealtimeMillis method naming across Connection and Conference classes. - Clarify Conference#sendConferenceEvent API documentation to match the docs present for similar method in Connection; include some examples of valid event/extras combinations. - Update TelecomManager#getDefaultdialerPackage to use UserHandle instead of userId. - Move Conference#getConnectionStartElapsedRealtimeMillis to public API since the setter is already part of the public API. Test: Run Telecom and Telephony CTS tests. Test: Run Telephony unit tests. Test: Perform manual single-party-conference regression test to confirm that conference behavior does not regress. Bug: 147301297 Bug: 148286830 Bug: 148284863 Bug: 148284843 Bug: 148287068 Bug: 148285484 Bug: 148285560 Change-Id: I1f446d81859fa109d74af3661a42a0bd224de5aa Merged-In: I1f446d81859fa109d74af3661a42a0bd224de5aa
2020-02-13Merge "API Review cleanups."Tyler Gunn
2020-02-12API Review cleanups.Tyler Gunn
- New @SystemApis on Conference and PhoneAccount were missing the required permissions annotations. - Rename PROPERTY_ASSISTED_DIALING_USED to PROPERTY_ASSISTED_DIALING - Standardize get/setConnectionStartElapsedRealtimeMillis method naming across Connection and Conference classes. - Clarify Conference#sendConferenceEvent API documentation to match the docs present for similar method in Connection; include some examples of valid event/extras combinations. - Update TelecomManager#getDefaultdialerPackage to use UserHandle instead of userId. - Move Conference#getConnectionStartElapsedRealtimeMillis to public API since the setter is already part of the public API. Test: Run Telecom and Telephony CTS tests. Test: Run Telephony unit tests. Test: Perform manual single-party-conference regression test to confirm that conference behavior does not regress. Bug: 147301297 Bug: 148286830 Bug: 148284863 Bug: 148284843 Bug: 148287068 Bug: 148285484 Bug: 148285560 Change-Id: I1f446d81859fa109d74af3661a42a0bd224de5aa
2020-02-11Mark adhoc conference call APIs as @hide.Tyler Gunn
Test: make -j update-api Test: Run unit tests Bug: 62151032 Change-Id: I8fe9c4d2c9a8861deea3a0def82c432762cd1222
2020-02-11Ims: Add support to add participants to existing callRavi Paluri
Supports initiation of a conference call by directly adding participants to existing call Test: Manual Bug: 62151032 Change-Id: I4e60efafab4761ae65a460fdc6c4cacc3e233220
2020-02-10Hide Adhoc conference call API.Tyler Gunn
Marking the adhoc conference call API as @hide. Test: make -j update-api Bug: 148165780 Change-Id: I447ec317c66f0c1b4e7a828635b5dcf8b144e32a
2020-02-04Merge RP1A.200123.001Steven Laver
Change-Id: I16a4437d9876db7a6a2b07231b4584df4564bee4
2020-01-23Add support for rejecting Telecom call with a specified reason.Tyler Gunn
Adding a new Call API which supports passing a user-specified call rejection reason down to the lower layers for reporting to the network. Part of the VERSTAT spec involves support for this type of signaling, so it makes sense to also support it here as well. There are two potential types of reject reason: declined - user declined the call because they want it to go to voicemail or don't want to talk to the caller right now. unwanted - this is a nuisance call and the user never wanted to receive it. Bug: 135929421 Test: Added new CTS test to validate API pathways. Test: Ran existing telecom and telephony unit tests. Test: Modified test dialer app to use the new reject API and verified that the reject reason signals down to the modem and translates to the correct reject cause. Change-Id: I6f25fafa2b2620e2839e5d3a9fb986f1130fa165
2020-01-22Merge "Ims: Add support for Adhoc Conference calls"Treehugger Robot
2020-01-22Ims: Add support for Adhoc Conference callsRavi Paluri
Add support for Adhoc Conference calls Test: Manual Bug: 62151032 Change-Id: Id50d235595d2133f867848ffdebdfe11e2f1c896
2020-01-15Add additional APIs in Call for BluetoothHall Liu
Add additional APIs in android.telecom.Call for consumption by Bluetooth as they move to using an InCallService. Also refactor ParcelableCall to use a builder pattern Fixes: 147445725 Fixes: 147445603 Test: atest CallDetailsTest ConferenceTest Change-Id: I12241b4ceadaa840f6e577bcfa8521375aedcb6a
2020-01-14Use 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' Merged-In: I853372f3c6fef905553bb31be4f1bb48df735f7a Change-Id: I853372f3c6fef905553bb31be4f1bb48df735f7a
2020-01-03Merge RP1A.191212.001Steven Laver
Change-Id: Ib2e174d6b8488cb1b904c452e712a1fd14326972
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