Commit Graph

5137 Commits

Author SHA1 Message Date
Holly Jiuyu Sun
bdd0da8fa7 Merge "Add asn1 to platform." 2017-12-21 21:01:40 +00:00
Holly Jiuyu Sun
a2b23916c0 Add asn1 to platform.
Add unit test.

Bug: 38206971
Test: unit test
Change-Id: I140b74b6bda263a4044aaed7265de3c77d1adc63
Merged-In: Ifb7c7d13ad0f980ba986b3aa6c3213ad26658489
2017-12-21 10:39:26 -08:00
abdalkader
2bf7f03e63 Merge "SMS over IMS APIs revision" 2017-12-21 18:12:07 +00:00
Brad Ebinger
b2a83cfcfc SMS over IMS APIs revision
- Move from being a feature to being a capability
- Move format to the constructor and make final
- Initial hooking up of APIs provided by platform for ims providers.
- Add constants for send status result
- Rename SmsListener callbacks.
- Split acknowledgeSms for sms and sms reports.
- Add reason for onSendSmsResult
Bug: 69846044

Test: None
Change-Id: I861664264a117d5483e392d4aabff59bfaf4373e
2017-12-20 17:18:50 -08:00
Holly Jiuyu Sun
6991266aa6 Merge "Use getter instead of member for IEuiccController stub." 2017-12-20 02:49:50 +00:00
Ying Xu
7be7d422a2 Merge "Add new key KEY_CARRIER_CONFIG_OVERRIDE_BOOL" 2017-12-18 23:26:25 +00:00
yinxu
0d56f3c8cc Add new key KEY_CARRIER_CONFIG_OVERRIDE_BOOL
When user gets the carrier config bundle, the value of this new key in
the bundle will indicate whether this bundle contains the default config
or carrier specific config.

Bug: 70400384
Test: Basic telephony sanity
Change-Id: I3480665398ad2b7517b71e808c3e4242d113ea46
2017-12-15 11:25:10 -08:00
Holly Jiuyu Sun
c2193d4b24 Use getter instead of member for IEuiccController stub.
Make EuiccManager robust to com.android.phone process death.

Bug: 64150969
Test: Tested on two walleye devices. One contains the fix, and the other
one doesn't. Use kill -9 PID. The one with the fix can continue work
(the phone process is up quickly after gets killed), while the other one
doesn't work unless restart LPA.
Change-Id: I67649e31381f1c2b6f187d86684b22a000e6e0b0
2017-12-15 10:39:26 -08:00
Brad Ebinger
4e54d6092b Merge "Adds MMTel APIs in temporary namespace" 2017-12-15 17:53:16 +00:00
Brad Ebinger
ea8fd1bd0a Adds MMTel APIs in temporary namespace
This change adds the new MMTel APIs in a
temporary android.telephony.ims.internal
namespace so that integration work can start
from the ImsService side.

Once the APIs are finalized further and integrated
into the platform, the namespace will be moved
back to android.telephony.ims.

Tests and integration CLs to follow in
separate CLs. Anything that is not implemented
yet has a TODO.

Test: Manual
Bug: 63987047
Change-Id: Iec5e15438f6259c6edd9a308e66bebc92685c578
2017-12-14 14:51:12 -08:00
Treehugger Robot
6e41b2c5c8 Merge "Update PhoneStateListener#onCallStateChanged Javadoc." 2017-12-14 17:52:27 +00:00
Jeff Davidson
3463ee10a2 Update PhoneStateListener#onCallStateChanged Javadoc.
While the doc suggested that the phone number was "incoming" (e.g.
only populated for incoming calls), it should also be populated for
outgoing calls.

Bug: 67748129
Test: Verified expected behavior on Taimen running OC-MR1, added CTS
test (see other CL in this topic)
Change-Id: I1ddd9c042f287953358a794b91b2af5ed6f5b597
Merged-In: I1ddd9c042f287953358a794b91b2af5ed6f5b597
2017-12-14 08:34:28 -08:00
Treehugger Robot
8244ebfc4e Merge "Deprecate setVoicemailRingtoneUri and setVoicemailVibrationEnabled" 2017-12-13 21:56:12 +00:00
Jack Yu
56926dd7e5 Added test cases for DataCallResponse parcel read/write
bug: 64132030
Test: Unit tests
Merged-In: I87a9af987dd7366bfe6b22252e2c4bdc0fbdd727
Change-Id: I87a9af987dd7366bfe6b22252e2c4bdc0fbdd727
(cherry picked from commit 14c2aaa0a2)
2017-12-13 00:10:51 -08:00
Ta-wei Yen
088b8b4387 Deprecate setVoicemailRingtoneUri and setVoicemailVibrationEnabled
Due to notification channel changes in O these settings are no longer
applicable.

Change-Id: Iaac6fda37bc989e09e7e4b1c20f2434be3feee92
Fixes: 38205149
Test: Doc change.
2017-12-12 11:31:47 -08:00
Treehugger Robot
8ded1cde4a Merge "Moved data connection response into system api." 2017-12-12 18:04:10 +00:00
Hall Liu
e5a913661d Merge "Add CarrierConfig key for RTT support" 2017-12-12 01:44:08 +00:00
Amit Mahajan
563d93c107 Merge "Revert "Add support for send Message with messaging options"" 2017-12-12 01:04:54 +00:00
Treehugger Robot
c352f5f861 Merge "Add carrier config to always play hold tone when remotely held." 2017-12-12 00:56:37 +00:00
Amit Mahajan
b348a347df Revert "Add support for send Message with messaging options"
This reverts commit bbef627077.

Reason for revert: Causing long sms failure

Bug: 68762942
Change-Id: I43c36e3286105459c7e08d1a0b2d89b4c42140b2
2017-12-11 23:30:35 +00:00
Holly Jiuyu Sun
6627d2c4df Merge "Carrier confirmation code." 2017-12-11 23:29:34 +00:00
Hall Liu
47ed62080f Add CarrierConfig key for RTT support
Add the carrier config key.

Test: add fake support for some random carrier, look for the capability
Bug: 63934808
Change-Id: I8a0e33a7ac10fbdcad356059913e7ddcba26bb6c
2017-12-11 14:41:31 -08:00
Holly Jiuyu Sun
d5e7ca924d Carrier confirmation code.
If confirmation code is null and required during downloading a profile,
returns a resovable error, and show ConfirmationCodeActivity. After we
get the confirmation code from the user, continue the operation.

Add the confirmationCode as a member in DownloadableSubscription.

Merged-In: Ibe1e0fc5ddb736b411faf48ec9bea3c68972bb99
Test: unit test, e2e on phone
Bug: 36730837
Change-Id: Ibe1e0fc5ddb736b411faf48ec9bea3c68972bb99
2017-12-08 17:08:27 -08:00
Jack Yu
b592e29f28 Moved data connection response into system api.
This is a preliminary step for IWLAN refactoring, where data response
will be one of the parameter in data service callback.

Test: Telephony sanity tests
bug: 64132030
Merged-In: I7eb5318cd75ca3b7a29d5bf0da18d6b29a228ee1
Change-Id: I7eb5318cd75ca3b7a29d5bf0da18d6b29a228ee1
(cherry picked from commit e44609b158)
2017-12-08 13:28:07 -08:00
Jordan Liu
bc813005b8 Merge "IMS: Add support for STK CC feature" 2017-12-08 00:14:57 +00:00
Suresh Koleti
0c22feffaa IMS: Add support for STK CC feature
-- Add interface in IImsUtListener to get data for
   UNSOL_ON_SS.
-- Add new file ImsSsData to store the data received
   as part of UNSOL_ON_SS.
-- Add approprate error codes and strings to support
   to show error dialogs to user.
-- Add ImsUtInterface API's to indicate UNSOL_ON_SS
   to ImsPhoneCallTracker.

Test: Manual
Bug: 64685331
Change-Id: I023c1af0d521e5b19ecce1576c4caa299ae468e3
2017-12-06 21:00:24 +05:30
Colin Cross
43f665c95e Merge "Remove unused AIDL files"
am: d0abc863f4

Change-Id: Ia6d798f6acf3930945cac488db81ccec3792648d
2017-12-05 00:06:29 +00:00
Jordan Liu
516b41e5a5 Merge "Make it possible to hide signal strength via Carrier Config"
am: febd180254

Change-Id: Iff2bf2fa0132692b3164d5543cfd20cd1d153ede
2017-12-04 23:44:36 +00:00
Treehugger Robot
d0abc863f4 Merge "Remove unused AIDL files" 2017-12-04 23:35:35 +00:00
Jordan Liu
febd180254 Merge "Make it possible to hide signal strength via Carrier Config" 2017-12-04 23:20:31 +00:00
Colin Cross
4e1b9c199d Remove unused AIDL files
These files show up in a glob for all AIDL files, but are not listed
in AIDL files to be built, and have no references in codesearch
except for one unused import.

Bug: 70046217
Test: m checkbuild
Change-Id: I7d6a3bb19d2e16b5f09473f3058afcf5b4edd9b6
2017-12-04 11:14:25 -08:00
Evan Laird
1fed537674 Merge "SystemUI: Display RAT icon when data is off"
am: e441298a11

Change-Id: I483d17ac1ef79b9b6f31bbefaf03f7833e13020b
2017-12-04 14:50:15 +00:00
Evan Laird
e441298a11 Merge "SystemUI: Display RAT icon when data is off" 2017-12-04 14:37:16 +00:00
Hall Liu
cfa4bb4bf3 Merge "Set sIsInitialized to false and add logging"
am: a0a70be251

Change-Id: I578a9f5690d2320116427025f831e11c9ffcdd7d
2017-12-02 02:09:03 +00:00
Hall Liu
a0a70be251 Merge "Set sIsInitialized to false and add logging" 2017-12-02 01:35:15 +00:00
Hall Liu
5e9727f5df Set sIsInitialized to false and add logging
When the service goes away due to a remote exception, set sIsInitialized
to false as well as setting the service to null.
Also log the serviceconnection disconnect.

Bug: 70032958
Test: cts
Change-Id: I34c1ea804537c62bd4348ba3aeeca7ba2c0becb6
2017-12-01 14:01:15 -08:00
Tyler Gunn
3088942b9e Add carrier config to always play hold tone when remotely held.
By default, a remote hold tone is played when a call is remotely held.
In other words if the callee puts the caller on hold, they will hear a
tone indicating they're on hold.  Current behavior is to only do this
when the audio direction for the call is inactive. Some carriers wish to
have this behavior when the audio direction is active.
This new carrier config option is OFF by default and will be selectively
enabled for carriers which wish to play a hold tone when the audio is
active.

Test: Manual
Bug: 64099717
Change-Id: I747a5fb650c8e83a61b6512375e43e45a5ea0362
2017-12-01 08:14:52 -08:00
Cassie
3ba72e7130 Merge "Quick fix the getMobileNetworkOperator() in CellIdentity."
am: 298d2a46dc

Change-Id: I53f8165577dc7cdd98301b5752a32cc19d0dc8b3
2017-12-01 05:30:06 +00:00
Treehugger Robot
298d2a46dc Merge "Quick fix the getMobileNetworkOperator() in CellIdentity." 2017-12-01 05:19:29 +00:00
Jordan Liu
1468d0f7e5 Merge "IMS: Add new APIs for call barring operations"
am: c1c29dbf45

Change-Id: Ibb11c26494791baac116fb561c03cbdc371766a1
2017-12-01 00:36:14 +00:00
Jordan Liu
c1c29dbf45 Merge "IMS: Add new APIs for call barring operations" 2017-12-01 00:25:43 +00:00
Cassie
b799fcdd69 Quick fix the getMobileNetworkOperator() in CellIdentity.
Bug: 69915536
Test: Basic telephony sanity
Change-Id: Iac8222055aea95fbb5334876124ce9d1571ae2f6
2017-11-30 15:54:51 -08:00
Mohamed
208f232825 Merge "Add SMS over IMS APIs"
am: 74445ed311

Change-Id: I5b08b82f39968adc111d0b3361b4312eb7244913
2017-11-30 16:05:36 +00:00
Treehugger Robot
74445ed311 Merge "Add SMS over IMS APIs" 2017-11-30 15:56:30 +00:00
Benergy Meenan Ravuri
f6e372b1fb IMS: Add new APIs for call barring operations
Add below APIs to perform call barring operations for a
specified service class.

queryCallBarringForServiceClass
updateCallBarringForServiceClass

Test: Manual
Bug: 37559543
Change-Id: I438d3527f0e4b2c09de3f7e44e6b80df82b915ae
2017-11-30 18:03:12 +05:30
Mohamed
037749df03 Add SMS over IMS APIs
- Adds public APIs that IMS providers will implement/use
- Adds aidl APIs for internal communications to support SMS over IMS.
- First pass at documentation of APIs.

Moving over from  ag/3265442

Bug: 69846044

Test: None
Change-Id: Ic665a2a7d64a56417bcf2a159d6b88b05cdb832a
2017-11-29 16:14:57 -08:00
Pengquan Meng
c8ec8a5e56 Merge "fixed CdmaSmsAddress parser"
am: b00f00e74b

Change-Id: I041c8f3937882b7fd78adf2c2f2cf87fc225b936
2017-11-29 23:52:41 +00:00
Pengquan Meng
b00f00e74b Merge "fixed CdmaSmsAddress parser" 2017-11-29 23:38:29 +00:00
Patrik Bannura
9124ec55b7 Make it possible to hide signal strength via Carrier Config
Carriers want to hide signal strength in Sim Status.

Bug: 69730732
Test: Add different values for two carriers in vendor.xml
and see them change when swapping sim card
Change-Id: I155c8f619a451edab85cf6422cef73e8e1686629
2017-11-29 12:17:57 +00:00
Pengquan Meng
6dabb40ae3 fixed CdmaSmsAddress parser
The digit mode of CdmaSmsAddress is incorrect for international
address.

See 3GPP2 C.S0015-B section 3.4.3.3 Address Parameters for the spec of
CdmaSmsAddress.

Also see the table from 3GPP2 C.S005-D, table2.7.1.3.2.4-2.

Bug: 34805351
Test: unit test
Change-Id: I542a717986009b01d19aef5e61964f03b216a162
2017-11-28 18:02:31 -08:00