aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-07-11Snap for 4885249 from 938ef90c790fb2ef8ff8de4b22f973e98d246461 to pi-dr1-releaseandroid-9.0.0_r12android-9.0.0_r11pie-dr1-releaseandroid-build-team Robot
Change-Id: Ib5fb08e2cb16094486095e8fe49d5fa26cf93c6a
2018-07-11Sync RTT config from framework to Modem.android-9.0.0_r47android-9.0.0_r46android-9.0.0_r45android-9.0.0_r44android-9.0.0_r43android-9.0.0_r42android-9.0.0_r41android-9.0.0_r40android-9.0.0_r39android-9.0.0_r38android-9.0.0_r37android-9.0.0_r36android-9.0.0_r35android-9.0.0_r34android-9.0.0_r33android-9.0.0_r32android-9.0.0_r31android-9.0.0_r30android-9.0.0_r22android-9.0.0_r21android-9.0.0_r20android-9.0.0_r19android-9.0.0_r16pie-qpr3-s1-releasepie-qpr3-releasepie-qpr3-b-releasepie-qpr2-releasepie-qpr1-s3-releasepie-qpr1-s2-releasepie-qpr1-s1-releasepie-qpr1-releasepie-dr1-devpie-b4s4-releasepie-b4s4-devtom hsu
1st. For this update, when updateImsServiceconfig is in process, it add updateRttConfigValue to sync RTT config. It can solve if RTT config change before factory reset or flash ROM, RTT config in modem side would be different from framework side. 2nd. To prevent VoLTE config out of sync with modem from RTT switch change. When RTT config turn on, it will use setEnhanced4gLteModeSetting instead of setAdvanced4GMode for VoLTE config sync. When RTT config turn off, it will depend on user's config to decide VoLTE on or off. Bug: b/110891445 Test: 1. Manual flip RTT switch and MobileData switch to obserb updateImsServiceConfig for checking RTT sync process. 2. Do factory reset and check solution in process. 3. Make a RTT call to check config is synced and RTT is work. Change-Id: Ie44b783d54cc605ba383a3e402df8dea25131919
2018-06-20Snap for 4850855 from d91de526959e150a603ee11efd2fb4d7ac5e85b4 to pi-dr1-releaseandroid-build-team Robot
Change-Id: I61fd053726e07d3d75e1a2c25f82ef1e7ed43189
2018-06-19Revert ImsResolver binding checkBrad Ebinger
Reverts the ImsResolver in progress binding check. This caused a race condition that would sometimes result in IMS not being registered when SIM swapping to a carrier ImsService that supports RCS only. Bug: 109762920 Test: Telephony Unit/GTS testing Change-Id: I8b6b244b51a4500ecdf59ff2d66ef52e05c87b22 Merged-In: I8b6b244b51a4500ecdf59ff2d66ef52e05c87b22
2018-05-24Fix editable roaming mode query bugpie-devBrad Ebinger
We were querying whether or not the WFC mode was editable, instead of the WFC roaming mode. This was causing the issue where the user was unable to set WiFi preferred mode when the WFC mode was not editable. Bug: 80168790 Test: Manual Change-Id: I8895ee97e7917192305e8ad53fd4de9ce1bfca01
2018-05-17Merge "Do not set WFC mode separately when not editable" into pi-devBrad Ebinger
2018-05-16Do not set WFC mode separately when not editableBrad Ebinger
WFC mode was being set separately when setting is not editable. Moved this behavior to getWfcMode so that only one query is made. Bug: 77831154 Test: Manual Change-Id: I4d2cb555522246959654b8c04bec9c9b73bdc947
2018-04-26Handle Dead Objects from Phone Crashes betterBrad Ebinger
1) Check to make sure ImsService is available when calling changeMmTelCapability. 2) Remove caching of ImsConfig in ImsManager. It is already cached properly in MmTelFeatureConnection. 3) Create a DeathRecipient for MmTelFeature in MmTelFeatureConnection that cleans up all caches and notifies ImsManager that the connection is now unavailable. Bug: 77941698 Test: Manual Change-Id: I9c3721fe275a94f7f8841e8e84a2f9d8a3c4823b
2018-04-24Fix typo in IMS compat translation codeBrad Ebinger
The IMS compat layer had a typo in it, causing code to receive an unexpected result for VoWiFi changes. Bug: 78310624 Test: Manual Change-Id: Ib991008fbc3cf6ba7729305bf7dae62c1bad62cc
2018-04-18Merge "Fix deadlock during Testing" into pi-devTreeHugger Robot
2018-04-18Merge "setWfcSetting: set WFC mode w.r.t. roaming state" into pi-devTreeHugger Robot
2018-04-17Fix deadlock during TestingBrad Ebinger
Fixes an issue where rapid setup/teardown of ImsServices and callback registration was causing a deadlock in GTS testing. Bug: 77141737 Test: atest GtsImsServiceTests Change-Id: Ie63be1ff1793408039a1facfdb53b706f757543d
2018-04-17setWfcSetting: set WFC mode w.r.t. roaming stateMeng Wang
When turing on WFC, WFC mode in modem should also be updated to user set WFC mode: roaming mode if in roaming network or home mode otherwise. The code was using home mode always; so it causes user setting mismatch with modem setting in roaming, if home mode is different from roaming mode. Bug: 77882002 Test: manual - force device in roaming state, and turn on WFC; verify that modem uses roaming mode not home mode. Change-Id: I510aa469736de7a9262a87ec6399f5ca97cb3af1
2018-04-11Update docs for setUiTtyMode and using Message across IPCBrad Ebinger
Bug: 77870347 Test: Manual Change-Id: I9d3abff727e57dacab2e339a094545de9c46ed68
2018-04-06Make sure the mBinder is not null before clearing listenerBrad Ebinger
Bug: 77693258 Test: Unit Tests/GTS Tests Change-Id: I85bae2f073960b81ba0afe791138d2765a7f4ed6
2018-03-23Apply renamed API in TelephonyManagerMalcolm Chen
Bug: 71584593 Test: unittest Change-Id: Iefe06d6d03f5b84cca559345e4196c13292189a8
2018-03-21Merge "Fix error in setVtSetting logic" into pi-devBrad Ebinger
2018-03-21Merge "Cache IImsRegistration and IImsConfig interfaces" into pi-devBrad Ebinger
2018-03-21Fix error in setVtSetting logicBrad Ebinger
Fix error in setVtSetting logic that was created when ImsManager was refactored to move away from static members. Bug: 72676168 Test: Manual Merged-In: I1f859deeb1a33ed488d4d5f4d025e96ddf20a5e0 Change-Id: Ia99f2dcbada5387bf07a1e1b345f1da31e1f14d6
2018-03-21Cache IImsRegistration and IImsConfig interfacesBrad Ebinger
We currently query the IImsRegistration and IImsConfig interfaces instead of caching them in the MmTelFeatureConnection. This can lead to unnecessary pressure on cleanup of binder objects when accessing these interfaces through IPC. Test: Manual Bug: 72644425 Merged-In: Iebbb0a5e6e6b6715f46901ecdf07a034d8c37910 Change-Id: I4f07dd159ca2c1ed8cd50cd9603c4ed577171a74
2018-03-19Do not Lock on Registration and Config QueryBrad Ebinger
ImsRegistration and ImsConfig interfaces do not need to be locked on because they access a TelephonyManager API independent of MmTelFeature state. Bug: 74119196 Test: Telephony Unit Tests Merged-In: I48a554c509b61094dd65b3d8ac6195a891508a64 Change-Id: I458db42cd815f87f57eab6b13878532105297180
2018-03-19Moves IMS Emergency Calling stateBrad Ebinger
The IMS Emergency Calling availability state used to be stored in the ImsServiceController and polled when needed. This change moves the state to MmTelFeatureConnection via an update. By moving it here, we can reduce the number of calls through TelephonyManager and support MSIM. Bug: 74389647 Test: Telephony Unit Tests, Telephony Test ImsService app Merged-In: I692cd6b41f787bb1f75d696f2f2a73c79b03e0e8 Change-Id: I35ff8723afff2e69ab36e6e99c2efd5ae7a4868a
2018-03-13Merge "Dynamic Query for ImsService" into pi-devBrad Ebinger
2018-03-13Add ImsManager#removeRegistrationListenerBrad Ebinger
Adds a removeRegistrationListener API to complement the existing add method. Bug: 73951668 Test: Manual Merged-In: Ieee1d53763d3544ad8e014f900559559c043248c Change-Id: I3c31236ec51480c819936a7ba1fac882d5a42200
2018-03-13Dynamic Query for ImsServiceBrad Ebinger
1) Fixes ImsManager.Connector bug where we would reset retry count, even if there was an ImsException. 2) ImsManager#isServiceAvailable now uses ImsResolver state to figure out if an ImsService is possibly going to bind/ unbind. Test: Telephony test ImsService, telephony unit tests Bug: 72642524 Merged-In: I6d68b98126b2b682b4f2c54947acdd90e7bc51b0 Change-Id: Iac4de9091c3374970be450930424a22d9158de13
2018-03-02RTT logging tweaksHall Liu
Add response status to RTT upgrade response log Test: logging change Change-Id: Ibab5624fefa1c9f8fb63da03b419e0cf9b62d496
2018-02-28Integrates shouldProcessCall into framework am: d449b2367a am: f55f9101eaBrad Ebinger
am: 003f337667 Change-Id: Ibb0022813126623d321b31c34130307d77c0975a
2018-02-28Integrates shouldProcessCall into framework am: d449b2367aBrad Ebinger
am: f55f9101ea Change-Id: If476ddfd30068456f63388c9554d64935a49b2c6
2018-02-28Integrates shouldProcessCall into frameworkBrad Ebinger
am: d449b2367a Change-Id: If2b82d07ac5574179541f1d11cc58fd734812eaa
2018-02-27Integrates shouldProcessCall into frameworkBrad Ebinger
Integrates the MmTelFeature#shouldProcessCall API into the framework. This API allows the ImsService to determine whether or not it will place a call via IMS or CS. Bug: 72642113 Test: Manual Change-Id: I3e19557a096fd57c8203558842340474729565ab
2018-02-26Consolodate ImsManager polling into class am: 6ddf28eab2 am: 0b84da729dBrad Ebinger
am: 9cc31c2690 Change-Id: I913a6372dcfd1170998d02b785a1be4974720fe1
2018-02-26Consolodate ImsManager polling into class am: 6ddf28eab2Brad Ebinger
am: 0b84da729d Change-Id: I3b9838329bad18b530c5212f524b147af4055397
2018-02-26Consolodate ImsManager polling into classBrad Ebinger
am: 6ddf28eab2 Change-Id: Ia224e4bc4421315320e01225cc76314bfe3b4c52
2018-02-23Consolodate ImsManager polling into classBrad Ebinger
Consolodates the logic in the platform used to poll for ImsManager changes and notifications and moves it into a helper class. This reduces the duplication of backoff and retry logic. Bug: 72643077 Test: Telephony Unit Tests Change-Id: I3c38f878b0b5c64e8822f42f097f6c3201dec915
2018-02-23Merge "frameworks/opt/net/ims: Set LOCAL_SDK_VERSION where possible." am: ↵Anton Hansson
5eb0bb5f30 am: 8047d9e2a6 am: 0eb0ba9d30 Change-Id: I6faaeab22280e50ff5435ad322ab438196880074
2018-02-23Merge "frameworks/opt/net/ims: Set LOCAL_SDK_VERSION where possible." am: ↵Anton Hansson
5eb0bb5f30 am: 8047d9e2a6 Change-Id: I93345cddc383837ffa71e1c13a793f74bda9ac3f
2018-02-23Merge "frameworks/opt/net/ims: Set LOCAL_SDK_VERSION where possible."Anton Hansson
am: 5eb0bb5f30 Change-Id: Ia34ec813615b234331897cb07087fe5cb3c802c3
2018-02-23Merge "frameworks/opt/net/ims: Set LOCAL_SDK_VERSION where possible."Anton Hansson
2018-02-22Rtt bugfixes, part 5 am: dc719d4f10 am: 0ccc55626dHall Liu
am: 9f9129866c -s ours Change-Id: I2b5ceb63dba894b82ccfa2367d5c09ea205c1d64
2018-02-22Rtt bugfixes, part 5 am: dc719d4f10Hall Liu
am: 0ccc55626d Change-Id: I97dd05297575a30e4a0bc7f19c62b15df31cdc24
2018-02-22Rtt bugfixes, part 5Hall Liu
am: dc719d4f10 Change-Id: I147b876fe7544fc57ea62f1ba8d2096ad8fe42e9
2018-02-22frameworks/opt/net/ims: Set LOCAL_SDK_VERSION where possible.Anton Hansson
This change sets LOCAL_SDK_VERSION for all packages where this is possible without breaking the build, and LOCAL_PRIVATE_PLATFORM_APIS := true otherwise. Setting one of these two will be made required soon, and this is a change in preparation for that. Not setting LOCAL_SDK_VERSION makes the app implicitly depend on the bootclasspath, which is often not required. This change effectively makes depending on private apis opt-in rather than opt-out. Test: make relevant packages Bug: 73535841 Change-Id: Ib183fced5e42dee9da8b7518b7e4816eb79a7514
2018-02-22Rtt bugfixes, part 5Hall Liu
* Answer RTT incoming calls with the proper bit set in ImsStreamMediaProfile Bug: 72762206 Test: manual Change-Id: Ic3c4517a06f57d6c5a2a1d92e5eab9df9929dd64 Merged-In: Ic3c4517a06f57d6c5a2a1d92e5eab9df9929dd64
2018-02-16RTT bugfixes and logging am: 27fc842412 am: 0dfbcc7373Hall Liu
am: 6e66ce3cf4 -s ours Change-Id: I280b00d102d35c7987164778c5aca3616d17ab38
2018-02-16RTT bugfixes and logging am: 27fc842412Hall Liu
am: 0dfbcc7373 Change-Id: I9197f7ce42e3af6b4059ee24d9db3b70e2949ec9
2018-02-16RTT bugfixes and loggingHall Liu
am: 27fc842412 Change-Id: I635bfd610892558b48b0348d4db6649a4ffba0b6
2018-02-15RTT bugfixes and loggingHall Liu
Add logging for RTT interface with IMS stack Fix a few bugs relating to RTT requests and initialization Add a method to set the RTT config value in the IMS stack Bug: 63934808 Bug: 72156722 Test: manual Change-Id: I44934ef53c9cc821582b381d82ee6834a9bdfe6a Merged-In: I44934ef53c9cc821582b381d82ee6834a9bdfe6a
2018-02-09Rtt bugfixes, part 5Hall Liu
* Answer RTT incoming calls with the proper bit set in ImsStreamMediaProfile Bug: 72762206 Test: manual Change-Id: Ic3c4517a06f57d6c5a2a1d92e5eab9df9929dd64
2018-02-08IMS: Add support for call deflection feature am: a7ba0fb284 am: 25c986c768Pooja Jain
am: 45cc8cc8c1 Change-Id: I59696ce4cb4899023a8a747eb2ec785eca3baa55
2018-02-08IMS: Add support for call deflection feature am: a7ba0fb284Pooja Jain
am: 25c986c768 Change-Id: Icbc543f5aaf3d49fecf16ccb8b1abfade4ef6b1c