3863 Commits

Author SHA1 Message Date
Mats 2, Åkesson
e1c967ab8f Merge "Customization of LTE Signal Bars" am: 3cbf2c2657 am: 5ee2b9384b am: a16a77781e
am: 6daed59698

Change-Id: Id99e2d155ca8267fd9b5bff5941e5112d27232e6
2016-11-18 21:07:08 +00:00
Mats 2, Åkesson
6daed59698 Merge "Customization of LTE Signal Bars" am: 3cbf2c2657 am: 5ee2b9384b
am: a16a77781e

Change-Id: Ia9853ec8459355ad3b00e7505dc6af491bf6828d
2016-11-18 21:00:04 +00:00
Mats 2, Åkesson
a16a77781e Merge "Customization of LTE Signal Bars" am: 3cbf2c2657
am: 5ee2b9384b

Change-Id: I82d61b23560e4bdf84caca7e49ddcd367662cb47
2016-11-18 20:56:03 +00:00
Mats 2, Åkesson
5ee2b9384b Merge "Customization of LTE Signal Bars"
am: 3cbf2c2657

Change-Id: I33c625ec49547fde582462687e6229ddf0269b15
2016-11-18 20:50:20 +00:00
Treehugger Robot
3cbf2c2657 Merge "Customization of LTE Signal Bars" 2016-11-18 20:44:14 +00:00
Jack Yu
cba59432ba resolve merge conflicts of 80a0e6d to nyc-mr2-dev-plus-aosp
Test: telephony unit tests
Change-Id: Id4454c97eca5f0261001369d0ec5030775bf9887
2016-11-18 09:23:00 -08:00
Jack Yu
2030cd9f5f Added configuration for VT downgrade/tear down when data disabled
Added a new flag that allows carriers to ignore data disabled
(e.g. data reaches limit or user disables data) so VT calls
will not be downgraded/torn down and VT service will not be
disabled.

Test: telephony unit tests
bug: 32880745
Change-Id: Idd33a022b5a31cbc58592587bcb496bd78923ae7
2016-11-17 10:42:02 -08:00
Jack Yu
80a0e6d56e Added configuration for VT downgrade/tear down when data disabled
Added a new flag that allows carriers to ignore data disabled
(e.g. data reaches limit or user disables data) so VT calls
will not be downgraded/torn down and VT service will not be
disabled.

bug: 32880745
Merged-In: Idd33a022b5a31cbc58592587bcb496bd78923ae7
Change-Id: I5c71fc9336b39f114a924861a766ca5cb93d4c69
2016-11-17 09:59:33 -08:00
Brad Ebinger
00bd0531cc Merge "ims:rcs: New API change to notify EAB about UnPublish" 2016-11-15 18:58:50 +00:00
Jack Yu
cb48c48599 Merge "Expose getters for RSRP, RSRQ, RSSNR, and CQI in CellSignalStrengthLte. Regenerate api accordingly. BUG: 32609966 Test: CTS Testing new API" am: 4469e48d5c am: 3cfa510779 am: d517ea753f
am: 9b968a1644

Change-Id: Iaba6209cd6ac5914fb798cbf7003fa1037e2f91f
2016-11-11 20:24:57 +00:00
Jack Yu
9b968a1644 Merge "Expose getters for RSRP, RSRQ, RSSNR, and CQI in CellSignalStrengthLte. Regenerate api accordingly. BUG: 32609966 Test: CTS Testing new API" am: 4469e48d5c am: 3cfa510779
am: d517ea753f

Change-Id: Iaa642d19d006133a8d378a43253aaa35053db564
2016-11-11 20:11:02 +00:00
Jack Yu
d517ea753f Merge "Expose getters for RSRP, RSRQ, RSSNR, and CQI in CellSignalStrengthLte. Regenerate api accordingly. BUG: 32609966 Test: CTS Testing new API" am: 4469e48d5c
am: 3cfa510779

Change-Id: I65746e4959851eb4662881db4fd8d9665070da71
2016-11-11 19:57:55 +00:00
Jack Yu
3cfa510779 Merge "Expose getters for RSRP, RSRQ, RSSNR, and CQI in CellSignalStrengthLte. Regenerate api accordingly. BUG: 32609966 Test: CTS Testing new API"
am: 4469e48d5c

Change-Id: Id92b8eaeec12885af3748d1e839da1a5560e2619
2016-11-11 19:51:23 +00:00
Jack Yu
4469e48d5c Merge "Expose getters for RSRP, RSRQ, RSSNR, and CQI in CellSignalStrengthLte. Regenerate api accordingly. BUG: 32609966 Test: CTS Testing new API" 2016-11-11 19:41:46 +00:00
Ta-wei Yen
fc0f68ca51 Merge "Add createForPhoneAccountHandle() and getServicetate() Respect TelephonyManager's subId when listening to phone state" am: 0a3b6b70dd am: 969a6eb2b8 am: c9698a5cff
am: e1ae654041

Change-Id: Ic28680327d916e3650b3c11fb253353955373922
2016-11-10 22:28:13 +00:00
Ta-wei Yen
e1ae654041 Merge "Add createForPhoneAccountHandle() and getServicetate() Respect TelephonyManager's subId when listening to phone state" am: 0a3b6b70dd am: 969a6eb2b8
am: c9698a5cff

Change-Id: I35bbcf29868c1ecddcdbb0e536c6d2a92e4d90ca
2016-11-10 22:20:29 +00:00
Ta-wei Yen
c9698a5cff Merge "Add createForPhoneAccountHandle() and getServicetate() Respect TelephonyManager's subId when listening to phone state" am: 0a3b6b70dd
am: 969a6eb2b8

Change-Id: I2a5d31c342efc7e3ca4f29448b24d406253c7b0f
2016-11-10 22:08:35 +00:00
Ta-wei Yen
969a6eb2b8 Merge "Add createForPhoneAccountHandle() and getServicetate() Respect TelephonyManager's subId when listening to phone state"
am: 0a3b6b70dd

Change-Id: I512e68bccda115ad7c58ec1f1fbfbb2c69c86578
2016-11-10 22:02:17 +00:00
Ta-wei Yen
05f9112d15 Add createForPhoneAccountHandle() and getServicetate()
Respect TelephonyManager's subId when listening to phone state

TelecomManager perfers to use a PhoneAccountHandle to represent a
account but TelephonyManager prefers subscription IDs.

This CL added createForPhoneAccountHandle() in TelephonyManager so
telephony values can be queried from it.

Currently the ServiceState can be retrieved through registering a
PhoneStatelistener, but it is a callback which the handler cannot be
specified.

getServiceState() is added to allow the ServiceState to be polled.

While TelphonyManager has createForSubscriptionId(), listen() does not
respect the subId on the manager created from it, and will always use
the hidden subId on the listener, which is always the default subId
through public API.

After this CL, the default subId on the listener will null.
TelephonyManager use its' own subId if the listener does not set the
subId to something else.

Bug: 32637799
Bug: 32414216
Test: cts-tradefed run cts-dev --module CtsTelephonyTestCases
Change-Id: I9995e4da1573cf1f6b6e4acf2daf7a538fb60d5f
2016-11-10 12:11:56 -08:00
Kevin Su
211c1c2ca8 Expose getters for RSRP, RSRQ, RSSNR, and CQI in CellSignalStrengthLte.
Regenerate api accordingly.
BUG: 32609966
Test: CTS Testing new API

Change-Id: I2603fc0001f31ff23f02f4fdf2a72b33f2750a4c
2016-11-09 13:27:20 -08:00
Abhishek Adappa
2449564455 ims:rcs: New API change to notify EAB about UnPublish
Desc: New API change to notify EAB about UnPublish Message
sent to network

Change-Id: Ic5d8bef04f390e850cedef2cab55e8214e6d1f4e
2016-11-08 14:04:37 -08:00
Pankaj Kanwar
f57b084f3b Merge "Provide an API to make USSD calls and read the responses." 2016-11-08 16:30:37 +00:00
pkanwar
d570f63b72 Provide an API to make USSD calls and read the responses.
Test: will be added in a subsequent CL.
Bug: 30973910
Change-Id: Ibf622e154f3f987be547f4f85e15891d4e382118
2016-11-07 13:59:48 -08:00
Jack Yu
4461e96abb Added CMAS/ETWS duplicate expiration support
am: f8247928a2

Change-Id: Ic8ac9c15748ae2a5f22ab08df81ed501a8365bc0
2016-11-04 15:55:12 +00:00
Jack Yu
c045652026 Added CMAS/ETWS duplicate expiration support
Now message duplication detection will only look back messages
for 24 hours by default for all countries, except 1 hour in
Japan.

Test: runtest -x packages/apps/CellBroadcastReceiver/tests/unit

bug: 31171149
Change-Id: I6765c9cebdb3bd9ab6d065f10acbd66047a34d8c
2016-11-04 00:50:17 -07:00
Jack Yu
f8247928a2 Added CMAS/ETWS duplicate expiration support
Now message duplication detection will only look back messages
for 24 hours by default for all countries, except 1 hour in
Japan.

Test: runtest -x packages/apps/CellBroadcastReceiver/tests/unit

bug: 31171149
Change-Id: I6765c9cebdb3bd9ab6d065f10acbd66047a34d8c
2016-11-03 14:53:41 -07:00
pengzhicai
d0bc76db7f Merge "Fix String is empty issue" am: 80af1ba47b am: 38c585cb8d am: d7df704d98
am: f85e7930d8

Change-Id: I9e85d16bd3edc529a97e4df3b8f90e9fdb2ee486
2016-11-02 18:40:00 +00:00
pengzhicai
d7df704d98 Merge "Fix String is empty issue" am: 80af1ba47b
am: 38c585cb8d

Change-Id: I091572280b0b2a33a2a5e2339a08df0759bb2bd7
2016-11-02 18:29:24 +00:00
pengzhicai
38c585cb8d Merge "Fix String is empty issue"
am: 80af1ba47b

Change-Id: I7000d0fe8fd5c2145e628abec11b49653027138b
2016-11-02 18:23:26 +00:00
pengzhicai
7c30bb8e0f Fix String is empty issue
Maybe the string is empty
https://code.google.com/p/android/issues/detail?id=226739

Change-Id: I645ae05a8cbe316e29d9710de0bbba64c0c2275d
Signed-off-by: pengzhicai <pengzhicai@xiaomi.com>
2016-11-02 09:42:44 +08:00
Pankaj Kanwar
44b2ac9d3d Merge "Provide an API to make USSD calls and read the responses." 2016-11-01 17:42:32 +00:00
pkanwar
19ba736c22 Provide an API to make USSD calls and read the responses.
Test: will be added in a subsequent CL.
Bug: 30973910
Change-Id: Ic1214330ddf6846973d8bd28ee6ff1d28ae8c852
2016-10-31 17:13:18 -07:00
TreeHugger Robot
9633c7092a Merge "CarrierConfig: add persist_lpp_mode_bool" 2016-10-26 22:14:47 +00:00
Jordan Liu
ff13cc20fe resolve merge conflicts of ab00546 to stage-aosp-master
am: bc2af49c21

Change-Id: I95cfcd3907105ef1969f02bf1229ba0c5eb9b8c7
2016-10-26 20:12:56 +00:00
Jordan Liu
bc2af49c21 resolve merge conflicts of ab00546 to stage-aosp-master
Change-Id: Ief51ceeeae7a11e26dd2c53411ce67e6d0e6bd49
2016-10-26 12:05:27 -07:00
Ecco Park
4fa1ab7029 CarrierConfig: add persist_lpp_mode_bool
Removing carrier specific function from
GnssLocationProvider.java

This property is used for persisting the current
lpp_mode of carrier even after sim is removed

Instead, we will use the property of carrier config

Bug: 32250938

Change-Id: Ibc69883723392cb0fbfcd8dbf3e866860db9dd5d
Signed-off-by: Ecco Park <eccopark@google.com>
2016-10-26 11:51:10 -07:00
Jordan Liu
ab005465b6 Merge "Add key to CarrierConfigManager" 2016-10-26 17:50:45 +00:00
nharold
c2a78d4e85 Merge "Update the docstring on getAllCellInfo() for unreported values" am: 88d0a95c74 am: b7e5c6fa32 am: c8fceb9834
am: 415a50e103

Change-Id: Id00cd16efdbfd49d09e61d25b082df897a8e76e2
2016-10-25 01:17:43 +00:00
nharold
c8fceb9834 Merge "Update the docstring on getAllCellInfo() for unreported values" am: 88d0a95c74
am: b7e5c6fa32

Change-Id: Ie5f6460962fac98bd63aa7b7d4e77e5bc84347e7
2016-10-25 01:06:07 +00:00
nharold
b7e5c6fa32 Merge "Update the docstring on getAllCellInfo() for unreported values"
am: 88d0a95c74

Change-Id: Ib482a5398776473ccb97c4df96115fc3763c782f
2016-10-25 00:57:36 +00:00
Nathan Harold
e327160103 Update the docstring on getAllCellInfo() for unreported values
In the event that not all fields are available for a particular
cell information report, those values are set to
Integer.MAX_VALUE. In addition, this docstring clarifies the
minimum expectation for what will be reported in all cases.

Bug: 32364031
Test: none
Change-Id: Ic5df72f69e5917eb495d349a380ced53a80408fa
2016-10-24 15:59:23 -07:00
Jordan Liu
b53000dd8c Merge "Add key for sms_convert_destination_number" 2016-10-19 00:40:43 +00:00
Jordan Liu
5ac6f5c95d Add key for sms_convert_destination_number
Add the CarrierConfig key
KEY_SMS_REQUIRES_DESTINATION_NUMBER_CONVERSION_BOOL
and remove the old configs. Note that this value no longer needs to be a
string-array, as CarrierConfigManager handles gid.

Bug: 29873049
Change-Id: I3edbcf5329177f6b370d08a09318c35c55e5e052
2016-10-18 13:15:18 -07:00
Jordan Liu
a9469e64e4 Merge "Add KEY_ONLY_SINGLE_DC_ALLOWED_INT_ARRAY" 2016-10-17 18:54:24 +00:00
Sooraj Sasindran
12575e41b8 Introduce the config to disable LAUNCH_BROWSER
LAUNCH BROWSER STK command may need to be disabled
if carrier would not want the default behavior.
So introduce a carrierconfig key for the same

Test: Swapped the sprint sim cards and verified
that browser launch do not happen.

Merged-in: Iaff062547f5286b2c0b2c2c4c6182a287f07284b
BUG=31257758
Change-Id: Iaff062547f5286b2c0b2c2c4c6182a287f07284b
2016-10-14 23:15:24 +00:00
Sooraj Sasindran
c80aaa94c6 Introduce the config to disable LAUNCH_BROWSER
LAUNCH BROWSER STK command may need to be disabled
if carrier would not want the default behavior.
So introduce a carrierconfig key for the same

Test: Swapped the sprint sim cards and verified
that browser launch do not happen.

Merged-in: Iaff062547f5286b2c0b2c2c4c6182a287f07284b
BUG=31257758
Change-Id: Iaff062547f5286b2c0b2c2c4c6182a287f07284b
2016-10-14 15:57:06 -07:00
Sooraj Sasindran
6a3d36fdc0 Introduce the config to disable LAUNCH_BROWSER
LAUNCH BROWSER STK command may need to be disabled
if carrier would not want the default behavior.
So introduce a carrierconfig key for the same

Test: Swapped the sprint sim cards and verified
that browser launch do not happen.

Merged-in: Iaff062547f5286b2c0b2c2c4c6182a287f07284b
BUG=31257758
Change-Id: Iaff062547f5286b2c0b2c2c4c6182a287f07284b
2016-10-14 15:55:12 -07:00
Mats 2, Åkesson
5a18072fed Customization of LTE Signal Bars
Make LTE signal bar thresholds customizable to any values.
Some operators require values which are not supported by current 2 level
configurations.

Test: manual
Bug: 28122517
Change-Id: Ib7f492d8b4fc5ba8a71bc2e978ae6572f2485e8f
2016-10-12 13:56:00 +09:00
Jordan Liu
2420a0a7d7 Add KEY_ONLY_SINGLE_DC_ALLOWED_INT_ARRAY
Add the key to CarrierConfigManager and remove the old configs which are
no longer needed.

Test: ran "make checkbuild" locally
Bug: 29873049
Change-Id: I2197cabca2addbbbe15f0f13985a6f5d8794d64a
2016-10-11 16:17:23 -07:00
Jordan Liu
9011f8f926 Merge "Add key for carrier_volte_provisioned" 2016-10-11 18:24:49 +00:00