OSDN Git Service
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 [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: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 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: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: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: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
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: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: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: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
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: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
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: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 19:38:17 +0000 (19:38 +0000)]
Merge "OemHook service implementation."
am:
9ab67b53cb
Change-Id: I103b031b4acd001cbdcb1d324dbc19511c61093b
Treehugger Robot [Thu, 23 Feb 2017 19:33:34 +0000 (19:33 +0000)]
Merge "OemHook service implementation."
Amit Mahajan [Tue, 14 Feb 2017 01:43:04 +0000 (17:43 -0800)]
OemHook service implementation.
Test: Basic telephony sanity
Bug:
32020264
Bug:
34344851
Merged-in: Ie165921c02b301b378f8f05eeec24a2f273691f4
Change-Id: Ie165921c02b301b378f8f05eeec24a2f273691f4
Amit Mahajan [Thu, 23 Feb 2017 02:07:56 +0000 (02:07 +0000)]
Merge "Check return status for response callbacks."
am:
a277451167
Change-Id: I9a9fb6e5ff8da2c41643b4fe28494ff0f90d026d
Amit Mahajan [Thu, 23 Feb 2017 02:00:16 +0000 (02:00 +0000)]
Merge "Check return status for response callbacks."
Wileen Chiu [Fri, 17 Feb 2017 01:41:03 +0000 (01:41 +0000)]
Merge "Added the new RIL request to set SIM power state" am:
823ac92df3 am:
7b1a7434b3
am:
19061c2cf2
Change-Id: I75f54dcc2e9a061c9a4a278c4be9108c832dc304
Wileen Chiu [Fri, 17 Feb 2017 01:32:02 +0000 (01:32 +0000)]
Merge "Added the new RIL request to set SIM power state" am:
823ac92df3
am:
7b1a7434b3
Change-Id: Ib073a264fc478025e9f06fa346b201f63bd8d1da
Wileen Chiu [Fri, 17 Feb 2017 01:22:32 +0000 (01:22 +0000)]
Merge "Added the new RIL request to set SIM power state"
am:
823ac92df3
Change-Id: I527bd8ff67553eb663f24bbe38852ea4616fac53
Treehugger Robot [Fri, 17 Feb 2017 01:13:25 +0000 (01:13 +0000)]
Merge "Added the new RIL request to set SIM power state"
Wileen Chiu [Wed, 4 Jan 2017 19:37:19 +0000 (11:37 -0800)]
Added the new RIL request to set SIM power state
The new RIL request for powering up/down the SIM card.
Test: Telephony sanity tests
bug:
32224755
Change-Id: I43245ed8178235e45e592d06c2d1bcb71cd69225
Amit Mahajan [Tue, 14 Feb 2017 03:55:02 +0000 (03:55 +0000)]
Merge "Fix to handle hidl_string correctly in error scenarios." am:
640e1ddb6d am:
7cf2559774
am:
5e039efd12
Change-Id: Iff770a77599c7686fb3e9114f81230b13fb7fdf5
Amit Mahajan [Tue, 14 Feb 2017 03:53:00 +0000 (03:53 +0000)]
Merge "Fix to handle hidl_string correctly in error scenarios." am:
640e1ddb6d
am:
7cf2559774
Change-Id: I358c13cd14b8021d6297e22cdde239a88b9e3439
Amit Mahajan [Tue, 14 Feb 2017 03:51:02 +0000 (03:51 +0000)]
Merge "Fix to handle hidl_string correctly in error scenarios."
am:
640e1ddb6d
Change-Id: I91b324de543f332250ee61dd509a31b89f90236c
Treehugger Robot [Tue, 14 Feb 2017 03:47:15 +0000 (03:47 +0000)]
Merge "Fix to handle hidl_string correctly in error scenarios."
Amit Mahajan [Mon, 13 Feb 2017 21:41:28 +0000 (13:41 -0800)]
Fix to handle hidl_string correctly in error scenarios.
Test: Basic telephony sanity
Bug:
32020264
Change-Id: If638839043923975b047cbd086146e64a8c73d99
Amit Mahajan [Mon, 13 Feb 2017 19:58:11 +0000 (11:58 -0800)]
Check return status for response callbacks.
Test: Basic telephony sanity
Bug:
32020264
Change-Id: I2b55b83834d43bf1803e2af05d409d0c8ea6186e
Amit Mahajan [Mon, 13 Feb 2017 19:09:56 +0000 (19:09 +0000)]
Merge "Service side HAL changes for RIL solicited responses - 2" am:
cf2c38113c am:
8f1d04b805
am:
bdd0e4c0ef
Change-Id: I7bf967225eb86189bf945088e0ac4bbc51ba01e9
Amit Mahajan [Mon, 13 Feb 2017 19:06:55 +0000 (19:06 +0000)]
Merge "Service side HAL changes for RIL solicited responses - 2" am:
cf2c38113c
am:
8f1d04b805
Change-Id: Ib3a775e168d96d844fd7d4f7936260ed1a056245
Amit Mahajan [Mon, 13 Feb 2017 19:04:27 +0000 (19:04 +0000)]
Merge "Service side HAL changes for RIL solicited responses - 2"
am:
cf2c38113c
Change-Id: I6c270cfb72893c4f0ed82c22a7ef2a4ea0d0a767
Amit Mahajan [Mon, 13 Feb 2017 19:02:03 +0000 (19:02 +0000)]
Merge "Service side HAL changes for RIL solicited responses." am:
b44f60f1bc am:
ef0e552f70
am:
dd12814eb7
Change-Id: I222c4f0e896a56ddf5c7feb6e7049e0551a8ff4b
Amit Mahajan [Mon, 13 Feb 2017 19:00:19 +0000 (19:00 +0000)]
Merge "Service side HAL changes for RIL solicited responses - 2"
Amit Mahajan [Mon, 13 Feb 2017 18:59:24 +0000 (18:59 +0000)]
Merge "Service side HAL changes for RIL solicited responses." am:
b44f60f1bc
am:
ef0e552f70
Change-Id: I3f8212210ff0519dd88306a5a1073cd933807172
Amit Mahajan [Mon, 13 Feb 2017 18:57:21 +0000 (18:57 +0000)]
Merge "Service side HAL changes for RIL solicited responses."
am:
b44f60f1bc
Change-Id: I34cc779372ca113fbd174154ee5b5fd91be45807
Amit Mahajan [Mon, 13 Feb 2017 18:54:21 +0000 (18:54 +0000)]
Merge "Service side HAL changes for RIL solicited responses."
Amit Mahajan [Wed, 1 Feb 2017 01:14:42 +0000 (17:14 -0800)]
Service side HAL changes for RIL solicited responses - 2
Test: Basic telephony sanity
Bug:
32020264
Change-Id: I7fda74cfb926752adc00f2b84af9c1e761e3433e
Amit Mahajan [Fri, 10 Feb 2017 01:35:55 +0000 (01:35 +0000)]
Service side HAL changes for RIL solicited responses.
Bug:
32020264
Merged-in: I8bbbf650770b5da13085ed85a760af6b45d6d3db
Change-Id: I8bbbf650770b5da13085ed85a760af6b45d6d3db
Wei Wang [Sat, 11 Feb 2017 00:39:44 +0000 (00:39 +0000)]
Merge "Fix build warnings in libril" am:
ab512e0c84 am:
0abd5a5865
am:
2df696d067
Change-Id: Ia1e0504ac746d8a59b43932d9eebbe96e5664cc7
Wei Wang [Sat, 11 Feb 2017 00:37:14 +0000 (00:37 +0000)]
Merge "Fix build warnings in libril" am:
ab512e0c84
am:
0abd5a5865
Change-Id: Ia8d55ce8ac11084be528ea78d0463b16271d5f61
Wei Wang [Sat, 11 Feb 2017 00:35:14 +0000 (00:35 +0000)]
Merge "Fix build warnings in libril"
am:
ab512e0c84
Change-Id: I5ddb8a8a4b57a269480e6cc37039a56e5b59fea0
Treehugger Robot [Sat, 11 Feb 2017 00:32:29 +0000 (00:32 +0000)]
Merge "Fix build warnings in libril"
Sanket Padawe [Sat, 11 Feb 2017 00:16:43 +0000 (00:16 +0000)]
Merge "Fix bug for Cellbroadcast activation Radio hal commands." am:
22d674b6f6 am:
a2100c9dfd
am:
0ca298d174
Change-Id: I896b4a668bac17f0830da182ec58b12b489027a1
Sanket Padawe [Sat, 11 Feb 2017 00:14:13 +0000 (00:14 +0000)]
Merge "Fix bug for Cellbroadcast activation Radio hal commands." am:
22d674b6f6
am:
a2100c9dfd
Change-Id: I9a0e8324b4d3587c5401ebb5db42bf7288a8443b
Sanket Padawe [Sat, 11 Feb 2017 00:12:12 +0000 (00:12 +0000)]
Merge "Fix bug for Cellbroadcast activation Radio hal commands."
am:
22d674b6f6
Change-Id: I168719545d10092aa548790758e7fffb3c34539c
Sanket Padawe [Sat, 11 Feb 2017 00:09:33 +0000 (00:09 +0000)]
Merge "Fix bug for Cellbroadcast activation Radio hal commands."
Jack Yu [Fri, 10 Feb 2017 22:53:32 +0000 (22:53 +0000)]
Merge "Replaced strcpy, strlen, strncpy with safer string functions" am:
e843639298 am:
87cb22e1c5
am:
82b66a7657
Change-Id: I848ceb924b694c69606c0cb632135e950efbb88f
Jack Yu [Fri, 10 Feb 2017 22:50:37 +0000 (22:50 +0000)]
Merge "Replaced strcpy, strlen, strncpy with safer string functions" am:
e843639298
am:
87cb22e1c5
Change-Id: I37ca75bde645936709de1575c20a726b024d3538
Jack Yu [Fri, 10 Feb 2017 22:48:38 +0000 (22:48 +0000)]
Merge "Replaced strcpy, strlen, strncpy with safer string functions"
am:
e843639298
Change-Id: I9046a04e359e73fe4ba55eeca4af45848237fd9c
Treehugger Robot [Fri, 10 Feb 2017 22:44:49 +0000 (22:44 +0000)]
Merge "Replaced strcpy, strlen, strncpy with safer string functions"
Sanket Padawe [Fri, 10 Feb 2017 22:29:16 +0000 (22:29 +0000)]
Merge "Provide HIDL support for RIL commands in ril.cpp (patch 2)." am:
5e93ad2cce am:
83717840bd
am:
b52692c9fb
Change-Id: I45f92b9e74aef5a9c7ea1ef412293b8e84026cfc
Sanket Padawe [Fri, 10 Feb 2017 21:19:47 +0000 (13:19 -0800)]
Fix bug for Cellbroadcast activation Radio hal commands.
+ Vendor expects activate ? 0 : 1
Test: Manual test run. Command succeeds.
Bug:
32020264
Change-Id: Ic1e8faeaa8dce1b5956117dcae3c23e9abe7c8b7
Sanket Padawe [Fri, 10 Feb 2017 20:28:07 +0000 (20:28 +0000)]
Merge "Provide HIDL support for RIL commands in ril.cpp (patch 2)." am:
5e93ad2cce
am:
83717840bd
Change-Id: I586e23bd064dbb6ac92a8b89bf934d131bcd424b
Jack Yu [Tue, 7 Feb 2017 22:53:09 +0000 (14:53 -0800)]
Replaced strcpy, strlen, strncpy with safer string functions
Using strcpy() or strlen() followed by strncpy() could be dangerous.
We should replace them.
strcpy -> strncpy
strlen -> strnlen
strcmp -> strncmp
Also fixed uninitialized structure uses.
Test: Telephony sanity tests
bug:
35108861
Change-Id: I323e2947b153d9214cfc1827168346200916431f
Sanket Padawe [Fri, 10 Feb 2017 20:25:07 +0000 (20:25 +0000)]
Merge "Provide HIDL support for RIL commands in ril.cpp (patch 2)."
am:
5e93ad2cce
Change-Id: I4a09d26970129befcea6b89457dca69471ca3435
Sanket Padawe [Fri, 10 Feb 2017 20:21:55 +0000 (20:21 +0000)]
Merge "Provide HIDL support for RIL commands in ril.cpp (patch 2)."
Wei Wang [Fri, 3 Feb 2017 22:18:07 +0000 (14:18 -0800)]
Fix build warnings in libril
Bug:none
Test: on marlin
Change-Id: I561f68b00732b2e0bda22a769198e13a53698908
Sanket Padawe [Tue, 24 Jan 2017 22:11:12 +0000 (14:11 -0800)]
Provide HIDL support for RIL commands in ril.cpp (patch 2).
Also has revert of
https://googleplex-android-review.git.corp.google.com/#/c/
1880364/
Bug:
32020264
Test: Basic telephony sanity. Phone calls/sms/data. No assert for FI sim.
Change-Id: I0617cdeca367962cc345a0d501e7754f40dc20e0
Merged-in: I0617cdeca367962cc345a0d501e7754f40dc20e0
Weilun Du [Fri, 10 Feb 2017 01:09:18 +0000 (01:09 +0000)]
Merge "Resend NITZ when the upstream client is not ready" am:
0e4644614a am:
92e70e7e8a
am:
e50fe9092c
Change-Id: I0ce862fc0a9a5cd3f76171ce9dc20b609378ff95
Weilun Du [Fri, 10 Feb 2017 01:03:07 +0000 (01:03 +0000)]
Merge "Resend NITZ when the upstream client is not ready" am:
0e4644614a
am:
92e70e7e8a
Change-Id: I82259b544d32eb54cb0a7b90adc158fa6b62093e
Weilun Du [Fri, 10 Feb 2017 00:59:08 +0000 (00:59 +0000)]
Merge "Resend NITZ when the upstream client is not ready"
am:
0e4644614a
Change-Id: I800ea69cce55bb8734b0092040d03c1c4764703f
Treehugger Robot [Fri, 10 Feb 2017 00:50:32 +0000 (00:50 +0000)]
Merge "Resend NITZ when the upstream client is not ready"
Weilun Du [Thu, 9 Feb 2017 20:32:42 +0000 (12:32 -0800)]
Resend NITZ when the upstream client is not ready
When the upstream client android RILJ is not ready, NITZ time data
must be saved and resend when the connection is established.
b/
34856813
Change-Id: I468918ac807674b3ae0cbfbb1757a65ac79b20e4
Signed-off-by: Weilun Du <wdu@google.com>
Jack Yu [Tue, 7 Feb 2017 00:08:21 +0000 (00:08 +0000)]
Merge "RIL header update for O" am:
4d232c5c75 am:
dc403c7f34
am:
81e4f93c9a
Change-Id: I1a3524f1e469678922db66710de2768acf26be0b
Jack Yu [Tue, 7 Feb 2017 00:00:26 +0000 (00:00 +0000)]
Merge "RIL header update for O" am:
4d232c5c75
am:
dc403c7f34
Change-Id: Id40274c13b04feec87712b9875c4134b5879416f
Jack Yu [Mon, 6 Feb 2017 22:47:11 +0000 (22:47 +0000)]
Merge "RIL header update for O"
am:
4d232c5c75
Change-Id: I010af82b7984dcac5a1a238dc7c2a438fdac7f66
Treehugger Robot [Mon, 6 Feb 2017 22:41:10 +0000 (22:41 +0000)]
Merge "RIL header update for O"
Jack Yu [Tue, 10 Jan 2017 20:10:41 +0000 (12:10 -0800)]
RIL header update for O
RIL_REQUEST_DEVICE_STATE and
RIL_REQUEST_SET_UNSOLICITED_RESPONSE_FILTER were added to replace
RIL_REQUEST_SCREEN_STATE, which will not be invoked by Android O
or above.
Data call refactoring works including adding more APN parameters for
RIL_REQUEST_SETUP_DATA_CALL, RIL_REQUEST_SET_INITIAL_ATTACH_APN,
and RIL_REQUEST_SET_DATA_PROFILE
bug:
20125037,
32224135,
32223897,
32249926,
30282096,
30173958,
33653220
Test: Build
Merged-In: I2e9a8a3a6cdc7fbd12489e476d2043440e72260a
Change-Id: I999f2ac9fed4cea17f2fad282503ba5e5f00c5b9
Amit Mahajan [Fri, 3 Feb 2017 19:43:09 +0000 (19:43 +0000)]
Merge "Add synchronization between IRadio callbacks and service creation." am:
9df6c76c9b am:
1fc202ba23
am:
7a67f56ae6
Change-Id: I9b6b6d7c968a250eb799c83fcad79da41fd55172
Amit Mahajan [Fri, 3 Feb 2017 19:40:38 +0000 (19:40 +0000)]
Merge "Add synchronization between IRadio callbacks and service creation." am:
9df6c76c9b
am:
1fc202ba23
Change-Id: I2672f893cac035454e9abb709453f21b8ee6e6ef