OSDN Git Service
Jayachandran Chinnakkannu [Wed, 15 Mar 2017 21:28:06 +0000 (21:28 +0000)]
Merge "Return meaningful error code for RIL_REQUEST_QUERY_AVAILABLE_NETWORKS"
Jayachandran C [Tue, 14 Mar 2017 02:17:18 +0000 (19:17 -0700)]
Return meaningful error code for RIL_REQUEST_QUERY_AVAILABLE_NETWORKS
Updated documentation for INTERNAL_ERR & MODEM_ERR
Bug:
34102797
Change-Id: If1ac0f50eb3e3a21056d137e060a8fccb24304c2
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: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: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
Treehugger Robot [Wed, 8 Mar 2017 00:02:16 +0000 (00:02 +0000)]
Merge "Fix signed-unsigned comparison"
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 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
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."
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
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:01:40 +0000 (20:01 +0000)]
Merge "Fix in getAvailableNetworksResponse() to use correct index"
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
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
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
Treehugger Robot [Wed, 1 Mar 2017 20:53:04 +0000 (20:53 +0000)]
Merge "Add log tag for IRadio and ISap services."
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: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: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 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
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
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
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:00:16 +0000 (02:00 +0000)]
Merge "Check return status for response callbacks."
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
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:00:19 +0000 (19:00 +0000)]
Merge "Service side HAL changes for RIL solicited responses - 2"
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
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:09:33 +0000 (00:09 +0000)]
Merge "Fix bug for Cellbroadcast activation Radio hal commands."
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 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
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: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
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>
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
Treehugger Robot [Fri, 3 Feb 2017 19:34:22 +0000 (19:34 +0000)]
Merge "Add synchronization between IRadio callbacks and service creation."
Amit Mahajan [Tue, 24 Jan 2017 13:45:02 +0000 (05:45 -0800)]
Add synchronization between IRadio callbacks and service creation.
Radio indications are sent by vendor ril on a separate thread and
can be received even before radio service is created and registered.
This is to avoid that race and make sure indication callbacks are
accessed only after service is created.
Test: Basic telephony sanity
Bug:
34363807
Merged-in: Iab11add5ca458476575c8b52d5e5878ff2b1d175
Change-Id: Iab11add5ca458476575c8b52d5e5878ff2b1d175
Treehugger Robot [Fri, 3 Feb 2017 03:14:15 +0000 (03:14 +0000)]
Merge "Check return status for response and indication callbacks."
Treehugger Robot [Fri, 3 Feb 2017 03:10:44 +0000 (03:10 +0000)]
Merge "Service side HAL changes for RIL unsolicited responses - 3"
Amit Mahajan [Thu, 19 Jan 2017 23:05:45 +0000 (15:05 -0800)]
Check return status for response and indication callbacks.
Test: Basic telephony sanity
Bug:
32020264
Bug:
34472671
Merged-in: Ie74972845ee0a8d60a8887f8daff164a3abcb255
Change-Id: Ie74972845ee0a8d60a8887f8daff164a3abcb255
Amit Mahajan [Sat, 7 Jan 2017 00:55:33 +0000 (16:55 -0800)]
Service side HAL changes for RIL unsolicited responses - 3
Test: Basic telephony sanity (voice call, sms, data, APM)
Bug:
32020264
Merged-in: I916e0d5bc8cff8e52b3f7b55390e146adccc43bf
Change-Id: I916e0d5bc8cff8e52b3f7b55390e146adccc43bf
Treehugger Robot [Fri, 3 Feb 2017 01:04:01 +0000 (01:04 +0000)]
Merge "Service side HAL changes for RIL unsolicited responses - 2"
Treehugger Robot [Thu, 2 Feb 2017 20:26:53 +0000 (20:26 +0000)]
Merge changes from topics 'RADIO HAL 4', 'RADIO HAL 3'
* changes:
Service side HAL changes for RIL unsolicited responses.
Convert ril cpp to HIDL service.
Amit Mahajan [Thu, 29 Dec 2016 15:07:54 +0000 (07:07 -0800)]
Service side HAL changes for RIL unsolicited responses - 2
Test: Basic telephony sanity (voice call, sms, data, APM)
Bug:
32020264
Merged-in: I5d97084510adfa79d4911bd556cfd616526492c2
Change-Id: I5d97084510adfa79d4911bd556cfd616526492c2
Amit Mahajan [Thu, 29 Dec 2016 01:28:07 +0000 (17:28 -0800)]
Service side HAL changes for RIL unsolicited responses.
Test: Basic telephony sanity (voice call, sms, data, APM)
Bug:
32020264
Merged-in: I902500d589940e2af27be1d1961729dab409b4ae
Change-Id: I902500d589940e2af27be1d1961729dab409b4ae
Sanket Padawe [Tue, 3 Jan 2017 07:46:00 +0000 (23:46 -0800)]
Convert ril cpp to HIDL service.
Bug:
32020264
Test: Basic telephony sanity tests (voice calls, data, sms, APM).
Merged-in: I1327e7b07ed001e7fbb8d69a2c871bdc500f1a9f
Change-Id: I1327e7b07ed001e7fbb8d69a2c871bdc500f1a9f
Treehugger Robot [Thu, 2 Feb 2017 17:35:21 +0000 (17:35 +0000)]
Merge "Converting SAP from protobuf to hidl."
Amit Mahajan [Thu, 2 Feb 2017 17:33:17 +0000 (17:33 +0000)]
Merge "Adding simple radio service and callbacks."
Amit Mahajan [Wed, 30 Nov 2016 00:48:54 +0000 (16:48 -0800)]
Converting SAP from protobuf to hidl.
Test: Basic SAP sanity.
Bug:
32020264
Change-Id: I87dd2bd320736d06e10733dd40743c83e548d3c9
Amit Mahajan [Thu, 25 Aug 2016 18:19:21 +0000 (11:19 -0700)]
Adding simple radio service and callbacks.
Test: Sanity tests by telephony test team.
Bug:
32020264
Change-Id: Ib2b3abb54084a1b48c5fd74042fe534e3d9fb69f
nharold [Fri, 23 Dec 2016 01:18:33 +0000 (01:18 +0000)]
Merge "Add deprecation warning to IMS_REGISTRATION RIL Calls"
Amit Mahajan [Thu, 22 Dec 2016 06:00:09 +0000 (06:00 +0000)]
Merge "telephony: add input data information in ril.h"
Nathan Harold [Mon, 19 Dec 2016 20:04:32 +0000 (12:04 -0800)]
Add deprecation warning to IMS_REGISTRATION RIL Calls
-Deprecation warning for RIL_REQUEST_IMS_REGISTRATION_STATE
-Deprecation warning for RIL_UNSOL_RESPONSE_IMS_NETWORK_STATE_CHANGED
Bug:
33750436
Test: complation
Change-Id: Ieb7c2fc5061998e4d04a9d044cf3d883d01e995d
Mark Salyzyn [Mon, 12 Dec 2016 21:39:55 +0000 (21:39 +0000)]
Merge "ril: Regenerate RIL response strings"
Matt Mower [Thu, 9 Apr 2015 04:16:03 +0000 (23:16 -0500)]
ril: Regenerate RIL response strings
Cleanup the strings output to the radio log. This change is cosmetic,
adding and updating strings to the log, without affecting usage of
these RIL requests, responses, and unsols.
Auto-generated based on header files, which also reorders some cases
to match the presentation order in the headers.
* ril_unsol_commands.h:
Find: ^\s+\{RIL_UNSOL_([^,\ ]+).+
Replace: case RIL_UNSOL_$1: return "UNSOL_$1";
* ril_commands.h:
Find: ^\s+\{RIL_REQUEST_([^,\ ]+).+
Replace: case RIL_REQUEST_$1: return "$1";
RIL_RESPONSE_* has been reordered to sit (alphabetically) between
RIL_REQUEST_* and RIL_UNSOL_*. The string format has been updated to
remove "RIL_" and just report "RESPONSE_*".
Change file modes in libril by removing the execute bit from source
files.
Change-Id: Ie6f1b49ff0245212e64d4e563a26ea93191deb22
Ankit N [Wed, 7 Dec 2016 15:35:43 +0000 (21:05 +0530)]
telephony: add input data information in ril.h
Add input data information for RIL_REQUEST_SET_INITIAL_ATTACH_APN.
Yunlian Jiang [Wed, 23 Nov 2016 03:16:20 +0000 (03:16 +0000)]
Merge "ril: fix a memory leak."
am:
51f0cc93af
Change-Id: I5b7f6102bd7413fbe051613d6b8630a0f3276df2
Treehugger Robot [Wed, 23 Nov 2016 03:13:41 +0000 (03:13 +0000)]
Merge "ril: fix a memory leak."
Yunlian Jiang [Wed, 9 Nov 2016 02:19:11 +0000 (18:19 -0800)]
ril: fix a memory leak.
This fixes 'Potential leak of memory pointed to by 'socket'
Bug: None
Test: The warning is gone.
Change-Id: I6afca2b4cf4a027c6fb30f1ad7c74083d70dfdb2
Naveen Kalla [Wed, 9 Nov 2016 01:32:11 +0000 (01:32 +0000)]
Merge "Remove deprecated RADIO_STATES"
am:
b7f1226866
Change-Id: I15c5c754fdcb36391cbe6032fc11ca2dbf138005
Naveen Kalla [Wed, 9 Nov 2016 01:05:27 +0000 (01:05 +0000)]
Merge "Remove deprecated RADIO_STATES"
Naveen Kalla [Tue, 11 Oct 2016 20:49:20 +0000 (13:49 -0700)]
Remove deprecated RADIO_STATES
Remove deprecated radio states which carried the SIM state
information. Vendor RILs are not expected to send one of the 3
RADIO states (ON, OFF or UNAVAILABLE) and support the RIL requests
RIL_REQUEST_VOICE_RADIO_TECH and RIL_REQUEST_CDMA_SUBSCRIPTION_SOURCE.
Bug:
32224323
Test: Ensure device boots and camps on network. Basic voice calls and
mobile data works
Change-Id: I2ae4a71c33c43263c64822c294d43363baeb5ad5
Sanket Padawe [Tue, 1 Nov 2016 22:47:19 +0000 (22:47 +0000)]
Merge "Fix broken asserts."
am:
b3897e1170
Change-Id: Ifb8e93f704b582f1c4ae7e90ae4e4cfb5a130bfe
Sanket Padawe [Tue, 1 Nov 2016 22:43:41 +0000 (22:43 +0000)]
Merge "Fix broken asserts."
George Burgess IV [Fri, 28 Oct 2016 05:51:30 +0000 (22:51 -0700)]
Fix broken asserts.
When NDEBUG is forcibly undef'ed, these asserts wouldn't compile:
- p_info->fdCommand and p_info->fdListen are ints, not pointers.
- sapSocket->commandFd and sapSocket->listenFd are protected; you need
to use their accessors.
This patch makes the asserts compile.
Bug: None.
Test: Building with NDEBUG undef'ed now succeeds.
Change-Id: I51418c955994541ba503e1ca6f601dce87e40b55
Elliott Hughes [Thu, 13 Oct 2016 23:10:26 +0000 (23:10 +0000)]
Merge "Retire socket_loopback_client." am:
ecc7336e5c am:
14f6f0c59c
am:
c056e49a99
Change-Id: I862d1d234394ba6e5ef76993cb4a39454f76b478
Elliott Hughes [Thu, 13 Oct 2016 23:06:43 +0000 (23:06 +0000)]
Merge "Retire socket_loopback_client." am:
ecc7336e5c
am:
14f6f0c59c
Change-Id: Ib3c6af1d582cb7a8c37a4803abb1a048bbeaf51c
Elliott Hughes [Thu, 13 Oct 2016 23:04:13 +0000 (23:04 +0000)]
Merge "Retire socket_loopback_client."
am:
ecc7336e5c
Change-Id: I0c5abf53913be7dc16e6e38bc1f498e64664a489
Treehugger Robot [Thu, 13 Oct 2016 22:59:25 +0000 (22:59 +0000)]
Merge "Retire socket_loopback_client."
Pankaj Kanwar [Thu, 13 Oct 2016 02:35:28 +0000 (02:35 +0000)]
Merge "Update documentation to clarify RIL_REQUEST_GET_ACTIVITY_INFO" am:
49794a48cb am:
762c60c85a
am:
b5a0cce85b
Change-Id: I33a92b0df1b95bcbbc2de6437fd0c6754ef012d0
Pankaj Kanwar [Thu, 13 Oct 2016 02:28:27 +0000 (02:28 +0000)]
Merge "Update documentation to clarify RIL_REQUEST_GET_ACTIVITY_INFO" am:
49794a48cb
am:
762c60c85a
Change-Id: I50d3b93af310f781ee522cf44c19a1eee0249893