3298 Commits

Author SHA1 Message Date
Jack Yu
6978228ccf Fixed the incorrect cdma RAT detection logic.
am: fa530b4a10

* commit 'fa530b4a10e8553afd58b827dfd7dcd8726126b4':
  Fixed the incorrect cdma RAT detection logic.
2016-01-04 20:10:01 +00:00
Jack Yu
fa530b4a10 Fixed the incorrect cdma RAT detection logic.
Used the correct CDMA bitmask to determine if the bearer services
are based on 3GPP2 radio technologies.

bug: 26318528
Change-Id: Ic30c25aa7b67372898a041dd1f3a08a3abede394
2016-01-04 11:58:48 -08:00
Jack Yu
b42701047a Reduced the radio log
am: d2cf0ce9c1

* commit 'd2cf0ce9c17cd37a12827882b3a10512d2904103':
  Reduced the radio log
2015-12-30 22:34:12 +00:00
Jack Yu
d2cf0ce9c1 Reduced the radio log
Reduced the radio log by moving some to VDBG or merging few lines
into one.

bug: 25956251
Change-Id: I290d894e95c9fdd664db35fd0cee3536c37dbd20
2015-12-30 12:06:01 -08:00
Robert Greenwalt
a2590b5e7f Check permissions on getDeviceId. DO NOT MERGE
This needs the package name passed in, so the aidl changes.

bug:25778215
Change-Id: I69ee88f1d2db614bad51e6de908d3f16881a0231
2015-12-22 15:29:42 -08:00
Robert Greenwalt
39d7334b09 Merge "Check permissions on getDeviceId." 2015-12-17 22:52:57 +00:00
Tyler Gunn
56f3d9098c Merge commit '9aadad47a0085c4298307781a423064207933f0b' into mncvtdev-to-mmwirelessdev-merge-2015-12-10 2015-12-10 20:04:25 -08:00
Tyler Gunn
fb21fb73e9 Merge commit '024557b2afdbe2e946d2cc557cb71492d87b0f62' into mncvtdev-to-mmwirelessdev-merge-2015-12-10
Change-Id: I44853f0e2f56d33c8126de0799bd5129799592bd
2015-12-10 20:02:16 -08:00
Jack Yu
6714030083 merge from master
Change-Id: Ic03669db3f4595336a7dbc13ffc77d055d11acf9
2015-12-10 12:27:58 -08:00
Ta-wei Yen
6b733f61e9 Merge "Add KEY_VVM_CELLULAR_DATA_REQUIRED_BOOLEAN to CarrierConfigManager" 2015-12-09 20:18:01 +00:00
Chenjie Luo
1daf35db0f Merge "Check NPE beforehand instead of catching it at runtime" into cw-e-dev am: e56f7b0d1d am: bef0525c38 am: e4db3f0757
am: d7b61ca662

* commit 'd7b61ca6620565cad00de91284ecdfb93ddfbd50':
  Check NPE beforehand instead of catching it at runtime
2015-12-08 00:02:55 +00:00
Tyler Gunn
fbdb8fb3d0 Merge commit '9aadad47a0085c4298307781a423064207933f0b' into tgunn-mncvtdev-to-master-2015-12-04 2015-12-04 21:04:50 -08:00
Tyler Gunn
1cee477bc5 Merge commit '024557b2afdbe2e946d2cc557cb71492d87b0f62' into tgunn-mncvtdev-to-master-2015-12-04
Change-Id: I156930f72a3267b59123469231331e9da5ac6aab
2015-12-04 21:03:30 -08:00
Robert Greenwalt
afa16001a8 Check permissions on getDeviceId.
This needs the package name passed in, so the aidl changes.

bug:25778215
Change-Id: I9e5ff24c630e11a047f884e52b0b39f870c18e1d
2015-12-04 11:51:49 -08:00
Amit Mahajan
28be2bdbe4 Merge "Cleanup related to files removed in Phone refactor." 2015-12-04 19:40:38 +00:00
Chenjie Luo
90bc39d7e3 Check NPE beforehand instead of catching it at runtime
This will fix the page fault when watch rings during incoming call

Bug: 25904666
Change-Id: Ia7e6db0628108dbf298e3811a846534ba69c0b46
2015-12-03 14:58:01 -08:00
Amit Mahajan
091683305f Cleanup related to files removed in Phone refactor.
Mostly just updating comments to remove names of old classes.

Bug: 25793157
Change-Id: I900b0ec0d137b2eb869a7ab40c264875366def26
2015-12-03 13:28:46 -08:00
Nathan Harold
1438858826 Add hidden APIs for retrieving LTE RSRQ and RSSNR
Change-Id: Iff3c4869830321b979cf0c2c6a9076efda943389
2015-12-02 18:18:54 -08:00
Ta-wei Yen
685f53c2c8 Add KEY_VVM_CELLULAR_DATA_REQUIRED_BOOLEAN to CarrierConfigManager
Allow determining of whether the carrier require cellular data to
operate visual voicemail

Bug:21609252
Change-Id: Ib80ed83c3b2c0454cbac566e0b82e713d0565908
2015-12-02 14:14:29 -08:00
Amit Mahajan
37c2839f70 Promoting a function from Gsm/Cdma CellLocation classes to parent class
Bug: 25793157
Change-Id: Iee247ceb45df90aeba26c0b68471ef857284b245
2015-11-25 17:07:47 -08:00
Amit Mahajan
b6350870f0 Rename PhoneBase to Phone.
Bug: 25793157
Change-Id: I4380c3ff08d1a2b5725da075bae5f208f1b09569
2015-11-24 18:18:16 -08:00
Amit Mahajan
d13fb587b9 Merge "Make some static functions public so telephony tests can access them" 2015-11-24 23:34:11 +00:00
Amit Mahajan
44297f3eef Added PHONE_TYPE_CDMA_LTE
Bug: 25793157
Change-Id: I06b1033fc6775edb679ac6f5de4556a3b1fea977
2015-11-19 11:38:56 -08:00
Jack Yu
39daf8d6f1 Added getServiceState API to TelephonyManager.
Added the new API getServiceState to TelephonyManager so
the client can directly retrieve the service state without
being a phone state listener or broadcast receiver.

bug: 21207640
Change-Id: Icef46877bbc844d382cd910b15abd8f6b1d57b23
2015-11-09 14:09:54 -08:00
Tyler Gunn
9370f14af9 Merge "Improve comment on EXTRA_CALL_RAT_TYPE." into mnc-dr-dev am: 8b86c76296 am: 48a0c3ae8d am: e0eaa03307
am: 6ebf6a27a7

* commit '6ebf6a27a772f3a21b575aaa88df46f773934214':
  Improve comment on EXTRA_CALL_RAT_TYPE.
2015-11-03 05:04:36 +00:00
Tyler Gunn
48a0c3ae8d Merge "Improve comment on EXTRA_CALL_RAT_TYPE." into mnc-dr-dev
am: 8b86c76296

* commit '8b86c7629676eeea490531b2a412873e0196eb6f':
  Improve comment on EXTRA_CALL_RAT_TYPE.
2015-11-03 04:49:33 +00:00
Tyler Gunn
8b86c76296 Merge "Improve comment on EXTRA_CALL_RAT_TYPE." into mnc-dr-dev 2015-11-03 04:44:53 +00:00
Sanket Padawe
a382620ea8 Merge "Fix a crash while printing ICCID because of alphabets in UICC." into mnc-dr-dev am: b57c65b00e am: 71f018a411 am: 391c87dea8
am: 535c6fbaa5

* commit '535c6fbaa51ece3ecdbf9e5ff1147623a36cedaf':
  Fix a crash while printing ICCID because of alphabets in UICC.
2015-11-03 03:04:28 +00:00
Sanket Padawe
71f018a411 Merge "Fix a crash while printing ICCID because of alphabets in UICC." into mnc-dr-dev
am: b57c65b00e

* commit 'b57c65b00efbcc6c8ed5a64b2c314dbca72d5554':
  Fix a crash while printing ICCID because of alphabets in UICC.
2015-11-03 01:52:13 +00:00
Sanket Padawe
f149dcb36e Fix a crash while printing ICCID because of alphabets in UICC.
Bug: 25401769
Change-Id: Ieda058817b8d3cb4b1696fd9932bd0f10da55573
2015-11-02 15:45:18 -08:00
Tyler Gunn
3ffb08aa5c Improve comment on EXTRA_CALL_RAT_TYPE.
Adding comments to EXTRA_CALL_RAT_TYPE to make it clear what it is used
for, and what values are expected.

Bug: 20144385
Change-Id: I248aca61abc8a57d7aeef650e48cc498e41c859b
2015-11-02 11:24:57 -08:00
Pavel Zhamaitsiak
6ccc46ad83 Merge "IMS: Support For Per-Call RAT Info" into mnc-dr-dev am: 4ec415800f am: b5ab0ec3c0 am: 22baf9b3c1
am: 6df638a380

* commit '6df638a380c176a4283409edd0a50c458b445618':
  IMS: Support For Per-Call RAT Info
2015-10-30 14:47:02 +00:00
Pavel Zhamaitsiak
b5ab0ec3c0 Merge "IMS: Support For Per-Call RAT Info" into mnc-dr-dev
am: 4ec415800f

* commit '4ec415800fd55d2bb128d7635f8b984145dbe983':
  IMS: Support For Per-Call RAT Info
2015-10-30 14:26:51 +00:00
Omkar Kolangade
3b0437eda3 IMS: Support For Per-Call RAT Info
Adding the extra key that will be used to
propagate RAT information for each call via
call extras. The key is used in IMS Service.

Bug: 20144385
Change-Id: Ia7ca81d661afb579fd25315036c43489b1dca50d
2015-10-29 19:00:26 -07:00
Amit Mahajan
8bc92f3458 Make some static functions public so telephony tests can access them
Change-Id: I69ab45853db8a7f70644201751452605b07d19c1
2015-10-29 20:05:50 +00:00
Paul Jensen
b6d8f81b10 Merge "Remove dead ACTION_DATA_CONNECTION_CONNECTED_TO_PROVISIONING_APN" 2015-10-26 15:15:33 +00:00
Nathan Harold
d470bb7dfc Add the FEATURE_TELEPHONY restriction to TelephonyManager.getAllCellInfo() am: 0dccd12800 am: 64e8bdc476 am: 51692ac260
am: 6f39642389

* commit '6f39642389d2702125898c401ca9e8881a322fe0':
  Add the FEATURE_TELEPHONY restriction to TelephonyManager.getAllCellInfo()
2015-10-22 05:39:02 +00:00
Nathan Harold
64e8bdc476 Add the FEATURE_TELEPHONY restriction to TelephonyManager.getAllCellInfo()
am: 0dccd12800

* commit '0dccd128001ceff9437f736bd70dfd1986e315d5':
  Add the FEATURE_TELEPHONY restriction to TelephonyManager.getAllCellInfo()
2015-10-22 05:23:34 +00:00
Nathan Harold
0dccd12800 Add the FEATURE_TELEPHONY restriction to TelephonyManager.getAllCellInfo()
-Fixed doc string

Bug: 23979591

This reverts commit f7b6474de87fd2eee377dc612c757102cdacc003.

Change-Id: I127f1452f4319a154dd4d962d4a63c84f0833702
2015-10-21 20:35:46 -07:00
Nathan Harold
869a4e4cac Merge "Revert "Add the FEATURE_TELEPHONY restriction to TelephonyManager.getAllCellInfo()"" into mnc-dr-dev am: 42015c4081 am: 5be7dbc88d am: b129c106bd
am: ce73642a58

* commit 'ce73642a5804a50468fa9bc928333653948c5549':
  Revert "Add the FEATURE_TELEPHONY restriction to TelephonyManager.getAllCellInfo()"
2015-10-22 03:13:02 +00:00
Nathan Harold
5be7dbc88d Merge "Revert "Add the FEATURE_TELEPHONY restriction to TelephonyManager.getAllCellInfo()"" into mnc-dr-dev
am: 42015c4081

* commit '42015c4081f9d37d579f0be15e11725cf6cc5fba':
  Revert "Add the FEATURE_TELEPHONY restriction to TelephonyManager.getAllCellInfo()"
2015-10-22 02:58:15 +00:00
Nathan Harold
f7b6474de8 Revert "Add the FEATURE_TELEPHONY restriction to TelephonyManager.getAllCellInfo()"
This reverts commit 5d1429e0dd1a13f76dbb354f9e4e415f71956299.

Doc string isn't resolving. Temporarily reverting.

Change-Id: I128b13abcf938c96b24225e373ac0885c24e083e
2015-10-22 02:53:57 +00:00
Nathan Harold
d66bb15f1a Merge "Add the FEATURE_TELEPHONY restriction to TelephonyManager.getAllCellInfo()" into mnc-dr-dev am: f8a4dc4a6f am: dc9f8fab0f am: 1a3c88a5bf
am: c3a94cb6c2

* commit 'c3a94cb6c2097ae2b30500a32ecf95b5714bd8c2':
  Add the FEATURE_TELEPHONY restriction to TelephonyManager.getAllCellInfo()
2015-10-22 02:18:46 +00:00
Nathan Harold
dc9f8fab0f Merge "Add the FEATURE_TELEPHONY restriction to TelephonyManager.getAllCellInfo()" into mnc-dr-dev
am: f8a4dc4a6f

* commit 'f8a4dc4a6f8383fc2999ce1292d900912a0da842':
  Add the FEATURE_TELEPHONY restriction to TelephonyManager.getAllCellInfo()
2015-10-22 02:03:32 +00:00
Nathan Harold
5d1429e0dd Add the FEATURE_TELEPHONY restriction to TelephonyManager.getAllCellInfo()
Bug: 23979591
Change-Id: I16ffa7666fdf0eb081bb1bafa57ebd384d7c3fdf
2015-10-21 11:32:51 -07:00
Pavel Zhamaitsiak
d3c1c231b6 Merge "Carrier Config: Add KEY_CARRIER_IMS_GBA_REQUIRED_BOOL flag" into mnc-dr-dev am: d99aade6e2 am: d91b1f6bb8 am: 2c26344cee
am: 8db6e95afc

* commit '8db6e95afcd70ac389750ab76f4b9f9181fadebb':
  Carrier Config: Add KEY_CARRIER_IMS_GBA_REQUIRED_BOOL flag
2015-10-21 00:51:19 +00:00
Pavel Zhamaitsiak
d91b1f6bb8 Merge "Carrier Config: Add KEY_CARRIER_IMS_GBA_REQUIRED_BOOL flag" into mnc-dr-dev
am: d99aade6e2

* commit 'd99aade6e2c001cbb8e32c9342f20404bd614443':
  Carrier Config: Add KEY_CARRIER_IMS_GBA_REQUIRED_BOOL flag
2015-10-21 00:32:10 +00:00
Pavel Zhamaitsiak
b4faf348f1 Carrier Config: Add KEY_CARRIER_IMS_GBA_REQUIRED_BOOL flag
Bug: 23731243
Change-Id: I3e08469ef293f0b619f95dd9fb48e8c582926270
2015-10-20 23:28:12 +00:00
Tyler Gunn
95b84f5251 am a5917b71: Merge "DO NOT MERGE Add a new carrier config for DTMF tone gap in CDMA." into mnc-dr-dev
* commit 'a5917b71b0e2f98fa6906b795b28cab059cc092b':
  DO NOT MERGE Add a new carrier config for DTMF tone gap in CDMA.
2015-10-16 17:40:19 +00:00
Tyler Gunn
a5917b71b0 Merge "DO NOT MERGE Add a new carrier config for DTMF tone gap in CDMA." into mnc-dr-dev 2015-10-16 17:36:40 +00:00