OSDN Git Service
Amit Mahajan [Tue, 14 Mar 2017 18:48:06 +0000 (18:48 +0000)]
Merge "Return Void() from oneway APIs." am:
bf2acac2b6 am:
e8006aa5a2
am:
f6f6682795
Change-Id: I725d7576993ae39619b3e8ecf1432bfc6429c0ac
Amit Mahajan [Tue, 14 Mar 2017 18:42:07 +0000 (18:42 +0000)]
Merge "Return Void() from oneway APIs." am:
bf2acac2b6
am:
e8006aa5a2
Change-Id: I9be037e23ff78a615b56fe69b09f24a1946616d5
Amit Mahajan [Tue, 14 Mar 2017 18:37:36 +0000 (18:37 +0000)]
Merge "Return Void() from oneway APIs."
am:
bf2acac2b6
Change-Id: I8e3ae858184b33c4f3ceceec651ae20586c45aaf
Amit Mahajan [Tue, 14 Mar 2017 18:30:41 +0000 (18:30 +0000)]
Merge "Return Void() from oneway APIs."
Amit Mahajan [Tue, 14 Mar 2017 00:01:05 +0000 (17:01 -0700)]
Return Void() from oneway APIs.
Test: none
Bug:
36162904
Change-Id: I323633c398085f96d265666136d451a33d683e51
Sooraj Sasindran [Fri, 10 Mar 2017 03:17:21 +0000 (03:17 +0000)]
Merge "Use cid and lac to update ci and tac for LTE" am:
010cb31cb9 am:
fe3b590ba8
am:
74d68dc147
Change-Id: I5bb29ae9414459ad5a0f85858bdb7b0ade319846
Sooraj Sasindran [Fri, 10 Mar 2017 03:12:47 +0000 (03:12 +0000)]
Merge "Use cid and lac to update ci and tac for LTE" am:
010cb31cb9
am:
fe3b590ba8
Change-Id: I03eaa241ed8b04d55b3b87719bf619925ee2ecd2
Sooraj Sasindran [Fri, 10 Mar 2017 03:10:19 +0000 (03:10 +0000)]
Merge "Use cid and lac to update ci and tac for LTE"
am:
010cb31cb9
Change-Id: I699fb50370c1d0b226305a64f92dc776a1f6bbab
Sooraj Sasindran [Fri, 10 Mar 2017 03:05:18 +0000 (03:05 +0000)]
Merge "Use cid and lac to update ci and tac for LTE"
Sanket Padawe [Wed, 8 Mar 2017 21:27:18 +0000 (21:27 +0000)]
Merge "Fix bug in getCallWaiting api." am:
eb4e5318f2 am:
1ee4605786
am:
10fa551a31
Change-Id: I7cf3130d2302d4ce24cd51109e848d9cb1312fed
Sanket Padawe [Wed, 8 Mar 2017 21:24:48 +0000 (21:24 +0000)]
Merge "Fix bug in getCallWaiting api." am:
eb4e5318f2
am:
1ee4605786
Change-Id: If75c7a23571a549afa1f13ac38c1d1d5db11fb3b
Sanket Padawe [Wed, 8 Mar 2017 21:22:18 +0000 (21:22 +0000)]
Merge "Fix bug in getCallWaiting api."
am:
eb4e5318f2
Change-Id: I4f58581d06f4aab34a92fc026b913b71df3bf191
Sanket Padawe [Wed, 8 Mar 2017 21:16:20 +0000 (21:16 +0000)]
Merge "Fix bug in getCallWaiting api."
Sanket Padawe [Wed, 8 Mar 2017 01:21:05 +0000 (17:21 -0800)]
Fix bug in getCallWaiting api.
Test: Build and local VTS.
Bug:
32020264
Change-Id: I9933b2d45a124e4f0704b987af49bab3bdcb3418
Nathan Harold [Wed, 8 Mar 2017 00:12:19 +0000 (00:12 +0000)]
Merge "Fix signed-unsigned comparison" am:
65ca78d761 am:
a5a92a782a
am:
70097bc66b
Change-Id: Ifb9f557f022894095263cc87c68e509d78adc2df
Nathan Harold [Wed, 8 Mar 2017 00:10:18 +0000 (00:10 +0000)]
Merge "Fix signed-unsigned comparison" am:
65ca78d761
am:
a5a92a782a
Change-Id: I6fa2a7da4e5f9575d9596265972de731ee47b0f3
Nathan Harold [Wed, 8 Mar 2017 00:07:46 +0000 (00:07 +0000)]
Merge "Fix signed-unsigned comparison"
am:
65ca78d761
Change-Id: I08a44c8eab98ea633e6cab6cda287178fcc0ff3c
Treehugger Robot [Wed, 8 Mar 2017 00:02:16 +0000 (00:02 +0000)]
Merge "Fix signed-unsigned comparison"
Amit Mahajan [Tue, 7 Mar 2017 19:03:35 +0000 (19:03 +0000)]
Merge "Delete Parcel references and other unused code." am:
3f82483b46 am:
7e3f057955
am:
a2a28fc9a1
Change-Id: Ied9853efa067f891789b75fe99c09314f24e5aa6
Amit Mahajan [Tue, 7 Mar 2017 19:01:34 +0000 (19:01 +0000)]
Merge "Delete Parcel references and other unused code." am:
3f82483b46
am:
7e3f057955
Change-Id: I017c395f345d0af5a181e94ce03a22d92bf6e174
Amit Mahajan [Tue, 7 Mar 2017 18:59:35 +0000 (18:59 +0000)]
Merge "Delete Parcel references and other unused code."
am:
3f82483b46
Change-Id: Ib1251078a87525d13824fbe79399c8fcf9b1a5a5
Amit Mahajan [Tue, 7 Mar 2017 18:55:17 +0000 (18:55 +0000)]
Merge "Delete Parcel references and other unused code."
Sooraj Sasindran [Tue, 7 Mar 2017 07:07:22 +0000 (23:07 -0800)]
Use cid and lac to update ci and tac for LTE
As per older RIL interface LTE cid and lac were filled
using ci and tac. Hence use the same while converting
voice registration state.
Test: ran unit testing
verified on device that registration state is
reported correctly
Bug:
32223344
Change-Id: I74ea670ff51ceaf0387cdf3b9cafc5601ab54d98
Jack Yu [Tue, 7 Mar 2017 02:49:14 +0000 (02:49 +0000)]
Merge "Removed the deprecated screen state API" am:
c10809781f am:
01504d76c6
am:
0af2e62449
Change-Id: Icd65c95b4a615b054a97e7fc4eb4e7c429bca70d
Jack Yu [Tue, 7 Mar 2017 02:45:53 +0000 (02:45 +0000)]
Merge "Removed the deprecated screen state API" am:
c10809781f
am:
01504d76c6
Change-Id: I45abe7e5551cc611bde2c0cb3dbf0c46045e1914
Jack Yu [Tue, 7 Mar 2017 02:43:35 +0000 (02:43 +0000)]
Merge "Removed the deprecated screen state API"
am:
c10809781f
Change-Id: Ibb832b779b8f417552bd131085e46d5039d168bc
Jack Yu [Tue, 7 Mar 2017 00:30:11 +0000 (00:30 +0000)]
Merge "Removed the deprecated screen state API"
Amit Mahajan [Sat, 4 Mar 2017 01:35:47 +0000 (17:35 -0800)]
Delete Parcel references and other unused code.
Test: Basic telephony sanity
Bug:
32020264
Change-Id: I410988c7f347fcca2770d9b099f489bd6d625d0b
Amit Mahajan [Fri, 3 Mar 2017 21:53:09 +0000 (21:53 +0000)]
Merge "Remove unnecessary prefix from log lines since LOG_TAG is added." am:
f658608533 am:
fb37291f6f
am:
f6877aca9a
Change-Id: I71a1d2e3e70f7e06efdbae0248e52b206b888e82
Amit Mahajan [Fri, 3 Mar 2017 21:50:09 +0000 (21:50 +0000)]
Merge "Remove unnecessary prefix from log lines since LOG_TAG is added." am:
f658608533
am:
fb37291f6f
Change-Id: Ib2d7ad54e7146807c9938b371d0541627a9116ec
Amit Mahajan [Fri, 3 Mar 2017 21:47:08 +0000 (21:47 +0000)]
Merge "Remove unnecessary prefix from log lines since LOG_TAG is added."
am:
f658608533
Change-Id: I524a87ca2b633ded4200ca6b0b7f7555df75789f
Treehugger Robot [Fri, 3 Mar 2017 21:41:07 +0000 (21:41 +0000)]
Merge "Remove unnecessary prefix from log lines since LOG_TAG is added."
Amit Mahajan [Fri, 3 Mar 2017 21:25:08 +0000 (21:25 +0000)]
Merge "Remove unused response and dispatch functions." am:
bc4d7998f8 am:
50ab13d4b6
am:
83727693cb -s ours
Change-Id: I9aea8d1dd1c1ca9ab251735435415da3dd793d35
Amit Mahajan [Fri, 3 Mar 2017 21:22:07 +0000 (21:22 +0000)]
Merge "Remove unused response and dispatch functions." am:
bc4d7998f8
am:
50ab13d4b6
Change-Id: I189e30e015603c843632af26dcf341b80b70280e
Amit Mahajan [Fri, 3 Mar 2017 21:20:07 +0000 (21:20 +0000)]
Merge "Remove unused response and dispatch functions."
am:
bc4d7998f8
Change-Id: I273917ee176aa9ab0ac754fefb8a859bf4b85043
Treehugger Robot [Fri, 3 Mar 2017 21:16:26 +0000 (21:16 +0000)]
Merge "Remove unused response and dispatch functions."
Amit Mahajan [Fri, 3 Mar 2017 20:05:13 +0000 (12:05 -0800)]
Remove unnecessary prefix from log lines since LOG_TAG is added.
Test: Basic telephony sanity
Bug:
35869745
Change-Id: I38aafc9a699e6a21fa5b2dbf52c405b524ec0d3a
Amit Mahajan [Thu, 2 Mar 2017 00:20:17 +0000 (16:20 -0800)]
Remove unused response and dispatch functions.
Test: Basic telephony sanity
Bug:
32020264
Merged-in: I732234a22328a1bfcb603bb020547f543b6fd766
Change-Id: I732234a22328a1bfcb603bb020547f543b6fd766
Amit Mahajan [Thu, 2 Mar 2017 00:20:17 +0000 (16:20 -0800)]
Remove unused response and dispatch functions.
Test: Basic telephony sanity
Bug:
32020264
Change-Id: I732234a22328a1bfcb603bb020547f543b6fd766
Amit Mahajan [Thu, 2 Mar 2017 22:24:00 +0000 (22:24 +0000)]
Merge "Cleanup for radioStateChanged." am:
996dce23cb am:
219b8a282a
am:
7a5f3fa87c
Change-Id: I06d7b8401177b8aaf360bc83a6398e35ce6f8064
Amit Mahajan [Thu, 2 Mar 2017 22:21:25 +0000 (22:21 +0000)]
Merge "Cleanup for radioStateChanged." am:
996dce23cb
am:
219b8a282a
Change-Id: Iafbc0c55a9f59418bbf43ea5e164abc6d3031d68
Amit Mahajan [Thu, 2 Mar 2017 22:16:22 +0000 (22:16 +0000)]
Merge "Cleanup for radioStateChanged."
am:
996dce23cb
Change-Id: Icbaffb5747b1012f3c0c88496b1e039c8258e65b
Treehugger Robot [Thu, 2 Mar 2017 22:13:05 +0000 (22:13 +0000)]
Merge "Cleanup for radioStateChanged."
Amit Mahajan [Wed, 1 Mar 2017 20:08:46 +0000 (12:08 -0800)]
Cleanup for radioStateChanged.
Test: Basic telephony sanity
Bug:
32020264
Change-Id: I7b7675406409dbb92c3559499665fbe59030573b
Jayachandran Chinnakkannu [Thu, 2 Mar 2017 20:10:00 +0000 (20:10 +0000)]
Merge "Fix in getAvailableNetworksResponse() to use correct index" am:
7d07f2d0ef am:
ffd20a9b8c
am:
154c1b149f
Change-Id: Ia91063e1bddbc1e86ff9e1ca22222adc04b5ee6f
Jayachandran Chinnakkannu [Thu, 2 Mar 2017 20:08:00 +0000 (20:08 +0000)]
Merge "Fix in getAvailableNetworksResponse() to use correct index" am:
7d07f2d0ef
am:
ffd20a9b8c
Change-Id: Ia7a6233018decadab85fea288db75d7ffb83014e
Jayachandran Chinnakkannu [Thu, 2 Mar 2017 20:06:00 +0000 (20:06 +0000)]
Merge "Fix in getAvailableNetworksResponse() to use correct index"
am:
7d07f2d0ef
Change-Id: Ib42abd8746f2711d2a0ed2a8df4a114bcb5c8b96
Jayachandran Chinnakkannu [Thu, 2 Mar 2017 20:01:40 +0000 (20:01 +0000)]
Merge "Fix in getAvailableNetworksResponse() to use correct index"
Bo Hu [Thu, 2 Mar 2017 18:14:30 +0000 (18:14 +0000)]
Merge "DO NOT MERGE ANYWHERE Emulator: adjust reference-ril to the refactored qemu_pipe" am:
0e4680d46f -s ours am:
6d9b2b347d -s ours
am:
a77dc5825b -s ours
Change-Id: I84fe0dfeefa67134ff1ff794c77866426221f4d5
Bo Hu [Thu, 2 Mar 2017 18:12:30 +0000 (18:12 +0000)]
Merge "DO NOT MERGE ANYWHERE Emulator: adjust reference-ril to the refactored qemu_pipe" am:
0e4680d46f -s ours
am:
6d9b2b347d -s ours
Change-Id: If326f1c733c98624cee325b96040d096781877c6
Bo Hu [Thu, 2 Mar 2017 18:09:31 +0000 (18:09 +0000)]
Merge "DO NOT MERGE ANYWHERE Emulator: adjust reference-ril to the refactored qemu_pipe"
am:
0e4680d46f -s ours
Change-Id: I68237f3c5d5f248aa290dd541baae9ac4d6dc063
Bo Hu [Thu, 2 Mar 2017 18:03:30 +0000 (18:03 +0000)]
Merge "DO NOT MERGE ANYWHERE Emulator: adjust reference-ril to the refactored qemu_pipe"
Jack Yu [Thu, 2 Mar 2017 07:22:33 +0000 (23:22 -0800)]
Removed the deprecated screen state API
The screen state API was deprecated on O and should
not be added into the radio interace.
Test: Telephony sanity tests
bug:
32223897
Change-Id: I587cb104cdfd17d8f3c0e0d6e354b051d3892eaa
Jack Yu [Thu, 2 Mar 2017 06:52:44 +0000 (06:52 +0000)]
Merge "Added two new RIL commands support" am:
4430f1924d am:
86ecc58b70
am:
00506c1b96
Change-Id: I08d4b7a1ddec6d62e6294a3fed0247996acf34ec
Jack Yu [Thu, 2 Mar 2017 06:18:27 +0000 (06:18 +0000)]
Merge "Added two new RIL commands support" am:
4430f1924d
am:
86ecc58b70
Change-Id: I59f3d40b893090e0ef3b4a488a042ec90b73fcb5
Jack Yu [Thu, 2 Mar 2017 06:11:32 +0000 (06:11 +0000)]
Merge "Added two new RIL commands support"
am:
4430f1924d
Change-Id: Ibc1df32f72dc77a08aff727d54a102095193e4be
Treehugger Robot [Thu, 2 Mar 2017 06:02:19 +0000 (06:02 +0000)]
Merge "Added two new RIL commands support"
Jack Yu [Wed, 22 Feb 2017 01:08:01 +0000 (17:08 -0800)]
Added two new RIL commands support
Added RIL_REQUEST_SEND_DEVICE_STATE and
RIL_REQUEST_SET_UNSOLICITED_RESPONSE_FILTER RIL requests support.
Test: telephony sanity tests
bug:
32223897,
20125037,
28294587
Merged-In: I55adc30b11eac269331c54ff08947dd5eefc463b
Change-Id: I55adc30b11eac269331c54ff08947dd5eefc463b
Jack Yu [Wed, 22 Feb 2017 01:08:01 +0000 (17:08 -0800)]
Added two new RIL commands support
Added RIL_REQUEST_SEND_DEVICE_STATE and
RIL_REQUEST_SET_UNSOLICITED_RESPONSE_FILTER RIL requests support.
Test: telephony sanity tests
bug:
32223897,
20125037,
28294587
Change-Id: I55adc30b11eac269331c54ff08947dd5eefc463b
Nathan Harold [Thu, 2 Mar 2017 02:57:56 +0000 (18:57 -0800)]
Fix signed-unsigned comparison
Bug:
35901901
Test: compilation yields no warning
Change-Id: I74e60def5205782e291c7bc24846804be89097b3
Jayachandran C [Thu, 2 Mar 2017 02:26:50 +0000 (18:26 -0800)]
Fix in getAvailableNetworksResponse() to use correct index
Test: Manual
Bug:
35787804
Change-Id: I03e17ee3e2de449c6b38c3dda39d2eb8b2ea7576
bohu [Tue, 28 Feb 2017 22:55:24 +0000 (14:55 -0800)]
DO NOT MERGE ANYWHERE Emulator: adjust reference-ril to the refactored qemu_pipe
qemu_pipe is refactored into a library in system/core/qemu_pipe,
and reference-ril needs to adjust accordingly.
Change-Id: I13160ce6a07a721501fd893dd9c5a9931927e767
Amit Mahajan [Wed, 1 Mar 2017 21:13:43 +0000 (21:13 +0000)]
Merge "Add log tag for IRadio and ISap services." am:
57ff322b4c am:
611a6c89a4
am:
e61d146aa7
Change-Id: I6bca48654922a76d596a0dc010eed37c205a43e2
Amit Mahajan [Wed, 1 Mar 2017 21:11:33 +0000 (21:11 +0000)]
Merge "Add log tag for IRadio and ISap services." am:
57ff322b4c
am:
611a6c89a4
Change-Id: Ia4282a22c20aee9ea5c75da8cd20034c07c9d8c0
Amit Mahajan [Wed, 1 Mar 2017 21:08:03 +0000 (21:08 +0000)]
Merge "Add log tag for IRadio and ISap services."
am:
57ff322b4c
Change-Id: I8f453b3bcbab2e588b94c3186bf016daaae52592
Treehugger Robot [Wed, 1 Mar 2017 20:53:04 +0000 (20:53 +0000)]
Merge "Add log tag for IRadio and ISap services."
Amit Mahajan [Wed, 1 Mar 2017 20:11:49 +0000 (20:11 +0000)]
Merge "Fix in setAllowedCarriers() to use correct length for excludedCarriers" am:
da232809c5 am:
24cff74958
am:
91559765ba
Change-Id: Iad306c4656c978bf3fa2db22d363bb2f98f70235
Amit Mahajan [Wed, 1 Mar 2017 20:08:43 +0000 (20:08 +0000)]
Merge "Fix in setAllowedCarriers() to use correct length for excludedCarriers" am:
da232809c5
am:
24cff74958
Change-Id: Icbda20497601469bf59d5c2d2a5313e0c7150424
Amit Mahajan [Wed, 1 Mar 2017 20:06:43 +0000 (20:06 +0000)]
Merge "Fix in setAllowedCarriers() to use correct length for excludedCarriers"
am:
da232809c5
Change-Id: I68e1a369c44a15cd89ec65002ee9d8a8c7a3d6a1
Treehugger Robot [Wed, 1 Mar 2017 20:02:26 +0000 (20:02 +0000)]
Merge "Fix in setAllowedCarriers() to use correct length for excludedCarriers"
Amit Mahajan [Wed, 1 Mar 2017 19:13:15 +0000 (11:13 -0800)]
Add log tag for IRadio and ISap services.
Test: verified logs
Bug:
35869745
Change-Id: I35c79c9d638e4328086def1b550f0aafcf9e9e5b
Amit Mahajan [Wed, 1 Mar 2017 18:26:58 +0000 (10:26 -0800)]
Fix in setAllowedCarriers() to use correct length for excludedCarriers
Test: make -j64 gts
gts-tradefed run gts -m GtsGmscoreHostTestCases -t
com.google.android.gts.telephony.TelephonyHostTest
Bug:
35374455
Change-Id: I05ccc58e71f4b7aa645543fb3c9ffc71f9817435
Sooraj Sasindran [Wed, 1 Mar 2017 18:13:22 +0000 (18:13 +0000)]
Merge "Cleanup DATA_REG and VOICE_REG Location Info" am:
a2f9629c29 am:
d760dc3946
am:
7c237acd57
Change-Id: I11712948cf3107c51ddcf9323d39e696be59e35e
Sooraj Sasindran [Wed, 1 Mar 2017 18:10:51 +0000 (18:10 +0000)]
Merge "Cleanup DATA_REG and VOICE_REG Location Info" am:
a2f9629c29
am:
d760dc3946
Change-Id: I70ffd741b45f238234949b01b996f62d29e52e79
Sooraj Sasindran [Wed, 1 Mar 2017 18:08:20 +0000 (18:08 +0000)]
Merge "Cleanup DATA_REG and VOICE_REG Location Info"
am:
a2f9629c29
Change-Id: I354972a155f9a244e57e1d9524b37b29ebda15fb
Sooraj Sasindran [Wed, 1 Mar 2017 18:06:17 +0000 (18:06 +0000)]
Merge "Cleanup DATA_REG and VOICE_REG Location Info"
Sooraj Sasindran [Thu, 1 Dec 2016 02:36:03 +0000 (18:36 -0800)]
Cleanup DATA_REG and VOICE_REG Location Info
The data registration and voice registration states contain
large swaths of location information. While it seemed at first
blush we could remove that information, having synchronized
knowledge of when a registration has resulted in a cell change
provides valuable infomation. So cleaning up the same by using
the same cell location structure that is being used elsewhere
in the interface to ensure that this method
always keeps sufficiently up-to-date information, without the
need to increasingly bloat it. Note this also fixes subtle bugs
that existed due to the information previously being incomplete.
Bug:
32223344
Test: Tested updated qcril
Captured RILJ logs on different rats as follows
02-27 10:22:48.489 D/RILJ ( 1483): [4169]< DATA_REGISTRATION_STATE
{.regState = REG_HOME, .rat = 14, .reasonDataDenied = -1, .maxDataCalls
= 20, .cellIdentity = {.cellInfoType = LTE, .cellIdentityGsm = [],
.cellIdentityWcdma = [], .cellIdentityCdma = [], .cellIdentityLte =
[{.mcc = -1, .mnc = -1, .ci = 56, .pci = 135, .tac = 13826, .earfcn =
-1}], .cellIdentityTdscdma = []}} [SUB0]
02-27 10:22:48.463 D/RILJ ( 1483): [4166]< VOICE_REGISTRATION_STATE
{.regState = REG_HOME, .rat = 14, .cssSupported = true,
.roamingIndicator = 1, .systemIsInPrl = -1, .defaultRoamingIndicator =
-1, .reasonForDenial = 0, .cellIdentity = {.cellInfoType = LTE,
.cellIdentityGsm = [], .cellIdentityWcdma = [], .cellIdentityCdma = [],
.cellIdentityLte = [{.mcc = -1, .mnc = -1, .ci = 56, .pci = -1, .tac =
-1, .earfcn = -1}], .cellIdentityTdscdma = []}} [SUB
02-27 11:13:16.138 D/RILJ ( 2110): [3992]< DATA_REGISTRATION_STATE
{.regState = REG_ROAMING, .rat = 13, .reasonDataDenied = -1,
.maxDataCalls = 20, .cellIdentity = {.cellInfoType = CDMA,
.cellIdentityGsm = [], .cellIdentityWcdma = [], .cellIdentityCdma =
[{.networkId = -1, .systemId = -1, .baseStationId = -1, .longitude = -1,
.latitude = -1}], .cellIdentityLte = [], .cellIdentityTdscdma = []}}
[SUB0]
02-27 11:13:16.136 D/RILJ ( 2110): [3993]< VOICE_REGISTRATION_STATE
{.regState = NOT_REG_MT_SEARCHING_OP, .rat = 0, .cssSupported = false,
.roamingIndicator = 64, .systemIsInPrl = 1, .defaultRoamingIndicator =
-1, .reasonForDenial = 0, .cellIdentity = {.cellInfoType = 0x0,
.cellIdentityGsm = [], .cellIdentityWcdma = [], .cellIdentityCdma = [],
.cellIdentityLte = [], .cellIdentityTdscdma = []}} [SUB0]
02-27 11:23:21.875 D/RILJ ( 2104): [4058]< VOICE_REGISTRATION_STATE
{.regState = REG_ROAMING, .rat = 6, .cssSupported = false,
.roamingIndicator = 64, .systemIsInPrl = 1, .defaultRoamingIndicator =
-1, .reasonForDenial = 0, .cellIdentity = {.cellInfoType = CDMA,
.cellIdentityGsm = [], .cellIdentityWcdma = [], .cellIdentityCdma =
[{.networkId = 54, .systemId = 4, .baseStationId = 7155, .longitude =
2147483647, .latitude = 0}], .cellIdentityLte = [], .cellIdentityTdscdma
= []}} [SUB0]
02-27 11:29:36.774 D/RILJ ( 2157): [3925]< VOICE_REGISTRATION_STATE
{.regState = REG_HOME, .rat = 16, .cssSupported = false,
.roamingIndicator = 1, .systemIsInPrl = -1, .defaultRoamingIndicator =
-1, .reasonForDenial = 0, .cellIdentity = {.cellInfoType = GSM,
.cellIdentityGsm = [{.mcc = -1, .mnc = -1, .lac = 8, .cid = 0, .arfcn =
-1, .bsic = -1}], .cellIdentityWcdma = [], .cellIdentityCdma = [],
.cellIdentityLte = [], .cellIdentityTdscdma = []}} [SUB0]
02-27 11:29:36.768 D/RILJ ( 2157): [3924]< DATA_REGISTRATION_STATE
{.regState = REG_HOME, .rat = 2, .reasonDataDenied = -1, .maxDataCalls =
20, .cellIdentity = {.cellInfoType = GSM, .cellIdentityGsm = [{.mcc =
-1, .mnc = -1, .lac = 8, .cid = 0, .arfcn = -1, .bsic = -1}],
.cellIdentityWcdma = [], .cellIdentityCdma = [], .cellIdentityLte = [],
.cellIdentityTdscdma = []}} [SUB0]
Merged-In: I62243cd0497bc742abf2fb58a24087698b25769d
Change-Id: I62243cd0497bc742abf2fb58a24087698b25769d
Sooraj Sasindran [Thu, 1 Dec 2016 02:36:03 +0000 (18:36 -0800)]
Cleanup DATA_REG and VOICE_REG Location Info
The data registration and voice registration states contain
large swaths of location information. While it seemed at first
blush we could remove that information, having synchronized
knowledge of when a registration has resulted in a cell change
provides valuable infomation. So cleaning up the same by using
the same cell location structure that is being used elsewhere
in the interface to ensure that this method
always keeps sufficiently up-to-date information, without the
need to increasingly bloat it. Note this also fixes subtle bugs
that existed due to the information previously being incomplete.
Bug:
32223344
Test: Tested updated qcril
Captured RILJ logs on different rats as follows
02-27 10:22:48.489 D/RILJ ( 1483): [4169]< DATA_REGISTRATION_STATE
{.regState = REG_HOME, .rat = 14, .reasonDataDenied = -1, .maxDataCalls
= 20, .cellIdentity = {.cellInfoType = LTE, .cellIdentityGsm = [],
.cellIdentityWcdma = [], .cellIdentityCdma = [], .cellIdentityLte =
[{.mcc = -1, .mnc = -1, .ci = 56, .pci = 135, .tac = 13826, .earfcn =
-1}], .cellIdentityTdscdma = []}} [SUB0]
02-27 10:22:48.463 D/RILJ ( 1483): [4166]< VOICE_REGISTRATION_STATE
{.regState = REG_HOME, .rat = 14, .cssSupported = true,
.roamingIndicator = 1, .systemIsInPrl = -1, .defaultRoamingIndicator =
-1, .reasonForDenial = 0, .cellIdentity = {.cellInfoType = LTE,
.cellIdentityGsm = [], .cellIdentityWcdma = [], .cellIdentityCdma = [],
.cellIdentityLte = [{.mcc = -1, .mnc = -1, .ci = 56, .pci = -1, .tac =
-1, .earfcn = -1}], .cellIdentityTdscdma = []}} [SUB
02-27 11:13:16.138 D/RILJ ( 2110): [3992]< DATA_REGISTRATION_STATE
{.regState = REG_ROAMING, .rat = 13, .reasonDataDenied = -1,
.maxDataCalls = 20, .cellIdentity = {.cellInfoType = CDMA,
.cellIdentityGsm = [], .cellIdentityWcdma = [], .cellIdentityCdma =
[{.networkId = -1, .systemId = -1, .baseStationId = -1, .longitude = -1,
.latitude = -1}], .cellIdentityLte = [], .cellIdentityTdscdma = []}}
[SUB0]
02-27 11:13:16.136 D/RILJ ( 2110): [3993]< VOICE_REGISTRATION_STATE
{.regState = NOT_REG_MT_SEARCHING_OP, .rat = 0, .cssSupported = false,
.roamingIndicator = 64, .systemIsInPrl = 1, .defaultRoamingIndicator =
-1, .reasonForDenial = 0, .cellIdentity = {.cellInfoType = 0x0,
.cellIdentityGsm = [], .cellIdentityWcdma = [], .cellIdentityCdma = [],
.cellIdentityLte = [], .cellIdentityTdscdma = []}} [SUB0]
02-27 11:23:21.875 D/RILJ ( 2104): [4058]< VOICE_REGISTRATION_STATE
{.regState = REG_ROAMING, .rat = 6, .cssSupported = false,
.roamingIndicator = 64, .systemIsInPrl = 1, .defaultRoamingIndicator =
-1, .reasonForDenial = 0, .cellIdentity = {.cellInfoType = CDMA,
.cellIdentityGsm = [], .cellIdentityWcdma = [], .cellIdentityCdma =
[{.networkId = 54, .systemId = 4, .baseStationId = 7155, .longitude =
2147483647, .latitude = 0}], .cellIdentityLte = [], .cellIdentityTdscdma
= []}} [SUB0]
02-27 11:29:36.774 D/RILJ ( 2157): [3925]< VOICE_REGISTRATION_STATE
{.regState = REG_HOME, .rat = 16, .cssSupported = false,
.roamingIndicator = 1, .systemIsInPrl = -1, .defaultRoamingIndicator =
-1, .reasonForDenial = 0, .cellIdentity = {.cellInfoType = GSM,
.cellIdentityGsm = [{.mcc = -1, .mnc = -1, .lac = 8, .cid = 0, .arfcn =
-1, .bsic = -1}], .cellIdentityWcdma = [], .cellIdentityCdma = [],
.cellIdentityLte = [], .cellIdentityTdscdma = []}} [SUB0]
02-27 11:29:36.768 D/RILJ ( 2157): [3924]< DATA_REGISTRATION_STATE
{.regState = REG_HOME, .rat = 2, .reasonDataDenied = -1, .maxDataCalls =
20, .cellIdentity = {.cellInfoType = GSM, .cellIdentityGsm = [{.mcc =
-1, .mnc = -1, .lac = 8, .cid = 0, .arfcn = -1, .bsic = -1}],
.cellIdentityWcdma = [], .cellIdentityCdma = [], .cellIdentityLte = [],
.cellIdentityTdscdma = []}} [SUB0]
Merged-In: I62243cd0497bc742abf2fb58a24087698b25769d
Change-Id: I62243cd0497bc742abf2fb58a24087698b25769d
Jack Yu [Wed, 1 Mar 2017 04:30:29 +0000 (04:30 +0000)]
Merge "Fixed that type of data call response status" am:
461ada9c41 am:
79636d526b
am:
8870144145
Change-Id: Iefb99041d4947aed43e094d7944a0161f2e05305
Jack Yu [Wed, 1 Mar 2017 04:27:58 +0000 (04:27 +0000)]
Merge "Fixed that type of data call response status" am:
461ada9c41
am:
79636d526b
Change-Id: I8b10e4b81cd0e3301d6ad23ffdc7880a3522a62f
Jack Yu [Wed, 1 Mar 2017 04:25:33 +0000 (04:25 +0000)]
Merge "Fixed that type of data call response status"
am:
461ada9c41
Change-Id: I33072a49106672cead62246e53086a7076728d81
Jack Yu [Wed, 1 Mar 2017 04:22:36 +0000 (04:22 +0000)]
Merge "Fixed that type of data call response status"
Jack Yu [Tue, 28 Feb 2017 23:21:18 +0000 (15:21 -0800)]
Fixed that type of data call response status
Fixed the incorrect type for SetupDataCallResult.status.
Changed the type from int_32 to DataCallFailCause
Test: Telephony sanity tests
bug:
32224135
Change-Id: I55436f835318a0a60d2b53daabc493d8349af3b3
Jack Yu [Tue, 28 Feb 2017 21:51:11 +0000 (21:51 +0000)]
Merge "Data call refactoring and hidlization" am:
bde502eeae am:
6c370acdbb
am:
14916d5f48
Change-Id: I6c7b8a45d29370394e98cf17e9e5adbe8b068a93
Jack Yu [Tue, 28 Feb 2017 21:48:48 +0000 (21:48 +0000)]
Merge "Data call refactoring and hidlization" am:
bde502eeae
am:
6c370acdbb
Change-Id: I6597cc5c49ee8d109522a885677bb569a3c46341
Jack Yu [Tue, 28 Feb 2017 21:46:38 +0000 (21:46 +0000)]
Merge "Data call refactoring and hidlization"
am:
bde502eeae
Change-Id: I72326756089e31fda9773388d4850005d963f126
Jack Yu [Tue, 28 Feb 2017 20:47:01 +0000 (20:47 +0000)]
Merge "Data call refactoring and hidlization"
Jack Yu [Mon, 13 Feb 2017 19:21:00 +0000 (11:21 -0800)]
Data call refactoring and hidlization
Support the new HIDL interface for data call APIs.
The affacted APIs are RIL_REQUEST_SETUP_DATA_CALL,
RIL_REQUEST_SET_DATA_PROFILE, RIL_REQUEST_SET_INITIAL_ATTACH_APN
More parameters are passing down to the modem to address
some issues we had earlier.
This is also backward compatible with the old vendor RIL.
bug:
32224135,
30173958,
33561503,
30282096,
32020264
Test: Telephony sanity tests, unit tests
Merged-In: I5ed76321ef52d6bc7a00bce918fde7bb316f8c93
Change-Id: I5ed76321ef52d6bc7a00bce918fde7bb316f8c93
Jack Yu [Mon, 13 Feb 2017 19:21:00 +0000 (11:21 -0800)]
Data call refactoring and hidlization
Support the new HIDL interface for data call APIs.
The affacted APIs are RIL_REQUEST_SETUP_DATA_CALL,
RIL_REQUEST_SET_DATA_PROFILE, RIL_REQUEST_SET_INITIAL_ATTACH_APN
More parameters are passing down to the modem to address
some issues we had earlier.
This is also backward compatible with the old vendor RIL.
bug:
32224135,
30173958,
33561503,
30282096,
32020264
Test: Telephony sanity tests, unit tests
Change-Id: I5ed76321ef52d6bc7a00bce918fde7bb316f8c93
Amit Mahajan [Sat, 25 Feb 2017 01:53:39 +0000 (01:53 +0000)]
Merge "Fix for RadioCapability." am:
10978b02fc am:
05190abca0
am:
5bd3ec7466
Change-Id: Iadb5cfa744140b9991b65567ea1176ca25643e33
Amit Mahajan [Sat, 25 Feb 2017 01:52:09 +0000 (01:52 +0000)]
Merge "Fix for RadioCapability." am:
10978b02fc
am:
05190abca0
Change-Id: Ied318228ee5e0d64c3dae3a807415abb73f17410
Amit Mahajan [Sat, 25 Feb 2017 01:49:33 +0000 (01:49 +0000)]
Merge "Fix for RadioCapability."
am:
10978b02fc
Change-Id: I59afad858945bda7a9e116890e8f691b86bce8c2
Treehugger Robot [Sat, 25 Feb 2017 01:43:00 +0000 (01:43 +0000)]
Merge "Fix for RadioCapability."
Amit Mahajan [Fri, 24 Feb 2017 19:24:39 +0000 (11:24 -0800)]
Fix for RadioCapability.
sizeof was called on incorrect struct.
Test: verified from the logs that RadioCapability shows on error
Bug:
35754369
Change-Id: I42bcb1f15cb5600e940550e51e109f1b2bce37a8
Amit Mahajan [Fri, 24 Feb 2017 01:52:54 +0000 (01:52 +0000)]
Merge "Move rild to vendor partition." am:
1d8bd8a581 am:
85e7756508
am:
1bff13824a
Change-Id: Ib9883c7f283d6b3ca33215faf547f4698e9d5728
Amit Mahajan [Fri, 24 Feb 2017 01:50:28 +0000 (01:50 +0000)]
Merge "Move rild to vendor partition." am:
1d8bd8a581
am:
85e7756508
Change-Id: I7f0661f0bae9129353a4f15c195daa7d55cff491
Amit Mahajan [Fri, 24 Feb 2017 01:49:38 +0000 (01:49 +0000)]
Merge "Move rild to vendor partition."
am:
1d8bd8a581
Change-Id: If3687434476e8637d4f1cf5ed9b372165b54edde
Treehugger Robot [Fri, 24 Feb 2017 01:47:14 +0000 (01:47 +0000)]
Merge "Move rild to vendor partition."
Amit Mahajan [Thu, 23 Feb 2017 19:17:29 +0000 (11:17 -0800)]
Move rild to vendor partition.
Test: Basic telephony sanity
Bug:
35672432
Change-Id: I7aac54db10fe190596378cabbbc634b862d13acb
Amit Mahajan [Thu, 23 Feb 2017 20:50:52 +0000 (20:50 +0000)]
Merge "OemHook service implementation." am:
9ab67b53cb am:
f02623dfe3
am:
ef64c96c87
Change-Id: I4a1ae3082b59065ffd44d7660a2b74c15e4a3ee0