Commit Graph

3383 Commits

Author SHA1 Message Date
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 f7b6474de8.

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 5d1429e0dd.

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
Roshan Pius
482e9d9984 DO NOT MERGE Add a new carrier config for DTMF tone gap in CDMA.
Adding a new carrier config key to specify the gap between the DTMF
tones sent out to the network. Setting it to 100ms by default.
This is based on a similar set of changes for IMS calls: ag/747865.

BUG: 19118840
Change-Id: Ifb64fe406509fe7c401ad1c4b4e906d6643e327b
2015-10-16 09:45:29 -07:00
Sanket Padawe
4ae088957f am 902cb106: am cf471efd: am 001a651e: am 8d6d735f: Merge "Mask IccId which gets printed in bug reports & radio logs." into mnc-dr-dev
* commit '902cb106fe8d06274462e4cea4afb29c1ffa0c03':
  Mask IccId which gets printed in bug reports & radio logs.
2015-10-16 12:07:57 +00:00
Sanket Padawe
001a651e4b am 8d6d735f: Merge "Mask IccId which gets printed in bug reports & radio logs." into mnc-dr-dev
* commit '8d6d735fa8cea74f53ba29063b72b856fef69d8e':
  Mask IccId which gets printed in bug reports & radio logs.
2015-10-16 00:41:44 +00:00
Sanket Padawe
fb34a123ed Mask IccId which gets printed in bug reports & radio logs.
Bug: 24941148
Change-Id: Ibe397f5d9b0da245e3e64f626937db4792c7f3c2
2015-10-15 15:46:39 -07:00
Paul Jensen
627bc36eb7 Remove dead ACTION_DATA_CONNECTION_CONNECTED_TO_PROVISIONING_APN
I centralized all the provisioning APN logic in Telephony back in
89e0f09 so this intent is now unused.

Bug:24451710
Change-Id: I401ac3e46442c8921545c88fee228873261ebd2b
2015-10-15 08:30:54 -04:00
Amit Mahajan
0a328c835d am 21fd4754: am a41ea5e9: am 8fb8c37c: am 7b28e6ec: Merge "Adding config to allow/disallow user to add APNs." into mnc-dr-dev
* commit '21fd47548be421750cdcaf8e0c357747e927198d':
  Adding config to allow/disallow user to add APNs.
2015-10-14 23:59:32 +00:00
Amit Mahajan
8fb8c37ca7 am 7b28e6ec: Merge "Adding config to allow/disallow user to add APNs." into mnc-dr-dev
* commit '7b28e6ec96dfcb20cef1f321ac7539bac439d726':
  Adding config to allow/disallow user to add APNs.
2015-10-14 23:42:13 +00:00
Amit Mahajan
7b28e6ec96 Merge "Adding config to allow/disallow user to add APNs." into mnc-dr-dev 2015-10-14 23:33:02 +00:00
Vineeta Srivastava
49879ef110 am 3bac5a40: am ec3513e9: am ecf89edf: am 8a586c55: Merge "TDSCDMA: RSSI bar moves 1 bar into no signal without going through 0 bar" into mnc-dr-dev
* commit '3bac5a4043e616f53ce36f8010d3b84b8f716697':
  TDSCDMA: RSSI bar moves 1 bar into no signal without going through 0 bar
2015-10-14 22:02:23 +00:00
Vineeta Srivastava
ecf89edf36 am 8a586c55: Merge "TDSCDMA: RSSI bar moves 1 bar into no signal without going through 0 bar" into mnc-dr-dev
* commit '8a586c55022ee272bdcf712c7aa4e1652a261c5a':
  TDSCDMA: RSSI bar moves 1 bar into no signal without going through 0 bar
2015-10-14 21:45:06 +00:00
Sungmin Choi
b053b3cc60 TDSCDMA: RSSI bar moves 1 bar into no signal without going through 0 bar
Bug: 24850563
Change-Id: I36e54e9bde9610f908b1092e11c476dcae76526d
Signed-off-by: haesun.kim <haesun.kim@lge.com>
Signed-off-by: Sungmin Choi <sungmin.choi@lge.com>
2015-10-14 11:13:50 -07:00
Amit Mahajan
412e7c8b52 Adding config to allow/disallow user to add APNs.
Bug: 24519879
Bug: 24681288
Change-Id: I7f9b54e56a5e7f20b156609c560480440241ede8
2015-10-12 12:13:29 -07:00
Tyler Gunn
db3da5c7ec Add instant lettering encoding and length limit carrier config options.
Bug: 22779583
Change-Id: I628f327fa636a590a6053195e59016c821f4f001
2015-10-01 21:16:18 +00:00
Shishir Agrawal
47edf95b9d am 3649c699: am 773afa28: am 04feedd4: am 896f738c: Merge "Allow non-persistent manual network selection." into mnc-dr-dev
* commit '3649c699adf7e58411012a7fe6efa26f11de32b3':
  Allow non-persistent manual network selection.
2015-09-18 02:23:33 +00:00
Shishir Agrawal
04feedd439 am 896f738c: Merge "Allow non-persistent manual network selection." into mnc-dr-dev
* commit '896f738cdddec8cfda82b177e3a60c5a85004229':
  Allow non-persistent manual network selection.
2015-09-18 02:02:11 +00:00