summaryrefslogtreecommitdiff
path: root/telecomm/java/android/telecom/Connection.java
AgeCommit message (Collapse)Author
2019-04-01Merge QP1A.190324.001Scott Lobdell
Change-Id: Ib4e8f5a59b14abf7868e475ce20ea01ad799e2b1
2019-03-13Merge "Fix issues associated with hold failure" am: df6e5604f3 am: 9fefce6df5Hall Liu
am: c3557eb639 Change-Id: I82de9a1462a18707a6a9410e78f72b6908d6ee7a
2019-03-11Fix issues associated with hold failureHall Liu
Add new connection event to indicate hold failure Fixes: 128275255 Test: manual Change-Id: I2678cda12d7703eba37d3feca3a8d98b21c050b1
2019-03-07Merge "Revert "IMS: Propagate call session property changed message"" into ↵Treehugger Robot
q-keystone-qcom-dev
2019-02-25Merge QP1A.190219.001Scott Lobdell
Conflicts: services/core/java/com/android/server/ConnectivityService.java services/core/java/com/android/server/WiredAccessoryManager.java services/core/java/com/android/server/connectivity/tethering/TetheringConfiguration.java telephony/java/com/android/internal/telephony/cdma/BearerData.java telephony/java/com/android/internal/telephony/cdma/SmsMessage.java Change-Id: I60b1e80a910466b3c25483ad140d23b160239650
2019-02-21Revert "IMS: Propagate call session property changed message"Ashit Sood
This reverts commit 4f931650e3a60ceab3af37da38a5d429ca5dbbfb. Change-Id: Ic73a5817274c8feaf45bc49a8d7939c19412b8d0 CRs-Fixed: 2403121
2019-02-19Merge QP1A.190212.003Scott Lobdell
Conflicts: core/java/android/view/SurfaceControl.java media/java/android/media/MediaCodecInfo.java packages/SettingsLib/res/values/strings.xml services/core/java/com/android/server/am/ActiveServices.java services/core/java/com/android/server/am/OomAdjuster.java services/core/java/com/android/server/audio/AudioDeviceInventory.java services/core/java/com/android/server/display/LocalDisplayAdapter.java services/core/java/com/android/server/wm/ActivityDisplay.java services/core/java/com/android/server/wm/DisplayPolicy.java Change-Id: Idc7582978996d2f7c44f599f221e8d7cc9eedf43
2019-02-13API Review: SIP INVITE fields on a MT callShi Lu
Bug: 123927153 Change-Id: I163aaa2b0cc2cd9dd36d1c63cd54bfca43a0d932
2019-02-04Add connect time to conference participant.Youming Ye
Bug: 78176188 Test: Manual Change-Id: Ifb7f061ddcc69356a21d08c9c446edeb38a6674c
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-11IMS: Propagate media profile changed messageWileen Chiu
- RTT Voice information will be passed to the UI via media profile changed message - The RTT voice information - SPEECH/SILENCE, will be conveyed via the ImsStreamMediaProfile.hasRttAudioSpeech - A connection event will be sent from frameworks to the UI - EVENT_RTT_AUDIO_INDICATION_CHANGED - Add listeners, connection event and extras to propagate media profile changed to the UI Test: Manual Bug: 110976450 Change-Id: I34d2dd612915d65f5047986dabece968c78f0abe
2019-01-11Merge QP1A.190107.001Scott Lobdell
Change-Id: Ife0402f9f6166a53c75fa57f80dee0b442ce6d28
2019-01-10Propagate some SIP INVITE header fields on a MT callshilu
These fields can be used for Spoof call detection in the Dialer Bug: 115537553 Test: compile and test on device Change-Id: Ib92043536e0fc43e40efc53189a28c4e58064ddc
2018-12-28Propagate some SIP INVITE header fields on a MT callshilu
These fields can be used for Spoof call detection in the Dialer Bug: 115537553 Test: compile and test on device Change-Id: Ib92043536e0fc43e40efc53189a28c4e58064ddc
2018-12-05Merge QP1A.181119.002Diego Wilson
Change-Id: Ieb6ae3730e8b01f867f9b5120de1ab3067653d21
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-10-15Merge QP1A.181008.001Bill Peckham
Change-Id: Iff68e8d0501ac5c2998c96f9df4042a94a1ce9e1
2018-09-26Merge "Mark event-based handover constants as deprecated."Tyler Gunn
am: 5604cc2516 Change-Id: I25b81274e0825e94133d21b976c8a20c4faff83d
2018-09-26Merge "Mark event-based handover constants as deprecated."Tyler Gunn
2018-09-24Merge "Add support for network identified emergency calls."Tyler Gunn
am: 108349f8d6 Change-Id: I21ffa931cba06086ca8fd970a0172c282af03b3a
2018-09-24Merge "Add support for network identified emergency calls."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-20Merge "Propagates voice call radio technology to connection"Hall Liu
am: 5405d09204 Change-Id: I244839f759f40066565111dae91bbe07692e3ebf
2018-09-19Propagates voice call radio technology to connectionWei Huang
This patch mainly takes below changes: 1) Add new extra to indicates the call network technology. 2) Provides basic function to set/get call radio technology. Bug: 67856372 Test: Manual Change-Id: I1a12382fdb589ce823fe7af025832db4cdc152c2
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-06Merge "Add @UnsupportedAppUsage annotations" am: 44091cdb47Mathew Inwood
am: ec3f7c80ce Change-Id: I50594b690a776145e4b0278e1e0685c5ebc53832
2018-08-06Merge "Add @UnsupportedAppUsage annotations"Mathew Inwood
am: 44091cdb47 Change-Id: I1dfae6f3d8ba8d5ff63f378c71f9670199a3adc3
2018-08-06Merge "Add @UnsupportedAppUsage annotations"Treehugger Robot
2018-08-02Merge QPR1.180718.001Jiyong Park
Conflicts: core/java/android/provider/Settings.java core/jni/android_view_InputEventReceiver.cpp core/res/res/values/config.xml core/res/res/values/symbols.xml media/jni/Android.bp packages/SettingsLib/src/com/android/settingslib/bluetooth/CachedBluetoothDevice.java packages/SettingsLib/tests/robotests/src/com/android/settingslib/fuelgauge/PowerWhitelistBackendTest.java packages/SystemUI/res/layout/status_bar_mobile_signal_group.xml packages/SystemUI/res/values/config.xml packages/SystemUI/src/com/android/keyguard/KeyguardConstants.java packages/SystemUI/src/com/android/systemui/statusbar/StatusBarMobileView.java services/core/java/com/android/server/ConnectivityService.java services/core/java/com/android/server/NetworkTimeUpdateService.java services/core/java/com/android/server/StorageManagerService.java services/core/java/com/android/server/Watchdog.java services/core/java/com/android/server/am/ActiveServices.java services/core/java/com/android/server/am/ActivityManagerService.java services/core/java/com/android/server/am/ActivityStack.java services/core/java/com/android/server/am/AppTaskImpl.java services/core/java/com/android/server/audio/AudioService.java services/core/java/com/android/server/wm/DisplayContent.java services/tests/uiservicestests/src/com/android/server/notification/NotificationRecordTest.java telephony/java/android/telephony/CarrierConfigManager.java telephony/java/android/telephony/ims/ImsReasonInfo.java telephony/java/android/telephony/ims/feature/MmTelFeature.java telephony/java/com/android/internal/telephony/ISmsBaseImpl.java Change-Id: I3f98340699f9e31be03eaf23fdea70803c4cef42
2018-08-01Merge "Telecom: Reset the duration after the CDMA call is accepted" am: ↵Hall Liu
2cbf44dc2f am: e784d5e5ca Change-Id: I3ce3d19c460f3e95bdbdd4c983d53657c06443d3
2018-08-01Merge "Telecom: Reset the duration after the CDMA call is accepted"Hall Liu
am: 2cbf44dc2f Change-Id: I823efd5765b77fcf55f4c38a6091d980530abae8
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-07-31Telecom: Reset the duration after the CDMA call is acceptedMengjun Leng
In android original design, the duration of CDMA MO call is started from the dial command sent, so it is not the real duration of the active time. In this patch, a new message is registered to listen the event of the call accepted, and then reset the duration when the event happens. Change-Id: Icc447012030ae243f200ec2c83b7d5210af9b31c
2018-07-13Merge "Make Connection#onSilence a public API." am: cbe3737f13Tyler Gunn
am: 01ab0b90bf Change-Id: I8c011d4a495d5240ebec83b07bc0b8f57a3c40ac
2018-07-13Merge "Make Connection#onSilence a public API."Tyler Gunn
am: cbe3737f13 Change-Id: I4ab192ca160219770d7384e88c8e0025137b42bd
2018-07-11Make Connection#onSilence a public API.Tyler Gunn
Connection#onSilence is generally applicable to apps implementing the self-managed ConnectionService API. Also updated the docs to make it more clear where that API is to be used and how the developer can silence the ringtone. Test: CTS test, manual test. Bug: 110348674 Change-Id: I1c1791c101827780949fd633c531ed83037e7b4e
2018-07-03Fix readImmediately for CTSHall Liu
The readImmediately API (only used by CTS so far) was broken by a previous change that unknowingly changed the semantics of ready(). Fixing this so that CTS tests work again. Change-Id: I6970713eae2a01dd07e30778ca8ee0d9bc7dfeb9 Fixes: 111125833 Test: CTS
2018-06-25Make RttTextStream's read interruptibleHall Liu
Wrap the FileInputStream in a java.nio.Channel so that sending a Thread.interrupt() to the thread blocked on the read will actually do something. Change-Id: Icc11ba69167f448e2b33d9a1a13a1dfa5e5d0d58 Fixes: 110570772 Test: manual (follow repro steps in bug, but type really fast),treehugger
2018-06-12Merge "IMS: Propagate call session property changed message" into ↵Treehugger Robot
p-keystone-qcom
2018-06-01IMS: Propagate call session property changed messageNivedita Sarkar
- RTT Voice information will be passed to the UI via the call session property changed message - The RTT voice information - SPEECH/SILENCE, will be conveyed via the Connection.PROPERTY_RTT_AUDIO_SPEECH bit mask in the call session property - A connection event will be sent from frameworks to the UI - EVENT_CALL_PROPERTY_CHANGED - Add listeners, connection event and extras to propagate the call session property to the UI Change-Id: Iad68bb3964d15a612be7020a8c03c28825e4d371 CRs-Fixed: 2233887
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-04-05Merge PPR1.180404.001Jiyong Park
Conflicts: services/core/java/com/android/server/connectivity/Tethering.java services/core/java/com/android/server/connectivity/tethering/IPv6TetheringCoordinator.java services/core/java/com/android/server/connectivity/tethering/TetherInterfaceStateMachine.java Change-Id: Id00a71424a14bbaab01333a5df4056afb3dde135
2018-04-02Merge "Change signature of requestBluetoothAudio" am: 545e20389dHall Liu
am: 442575f4f1 Change-Id: Ic10b762e04d74635663fa97f5879072ebe00eca9
2018-04-02Change signature of requestBluetoothAudioHall Liu
requestBluetoothAudio now takes a BluetoothDevice instead of a string. Bug: 74408978 Test: unable to CTS -- can't emulate bluetooth devices Change-Id: Id21e32b911da234f69a248e9937f9df0cf12a9a9
2018-04-02Change signature of requestBluetoothAudioHall Liu
requestBluetoothAudio now takes a BluetoothDevice instead of a string. Bug: 74408978 Test: unable to CTS -- can't emulate bluetooth devices Change-Id: Id21e32b911da234f69a248e9937f9df0cf12a9a9
2018-03-22Telecom: Add support for call timer reset on CDMA MO callMengjun Leng
In android original design, the duration of CDMA MO call is started from the dial command sent for some CDMA carriers, so it is not the real duration of the active time. In this patch, a new message is registered to listen the event of the call accepted, and then reset the duration when the event happens. Change-Id: Icc447012030ae243f200ec2c83b7d5210af9b31c CRs-Fixed: 2207419
2018-02-28PPR1.180227.001_AOSP_MergeDivya Sharma
Change-Id: I8db050d250898d2732eeabd4f2478c560536f588
2018-02-27PPR1.180219.001_AOSP_MergeDivya Sharma
Conflicts: core/res/res/values/config.xml core/res/res/values/symbols.xml packages/SystemUI/res/values/config.xml packages/SystemUI/src/com/android/keyguard/KeyguardUpdateMonitor.java packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java telecomm/java/android/telecom/Call.java telecomm/java/android/telecom/Connection.java telecomm/java/android/telecom/ConnectionService.java Change-Id: I524d38a61608069028b3496a189118d8eff75f4b
2018-02-26Merge "Revert "Add the assisted dialing carrier config.""TreeHugger Robot