OSDN Git Service
Tomasz Wasilczyk [Thu, 13 Apr 2017 14:31:25 +0000 (14:31 +0000)]
Merge "Fix warnings and set Werror flags to not let them happen again."
Amit Mahajan [Wed, 12 Apr 2017 22:32:23 +0000 (22:32 +0000)]
Merge "Add p2 option in openLogicalChannel" into oc-dev am:
bb49259223
am:
619b04af1f
Change-Id: I6c97f56def117095acb2e766c2e41540fbd897a7
Amit Mahajan [Wed, 12 Apr 2017 22:14:02 +0000 (22:14 +0000)]
Merge "Add p2 option in openLogicalChannel" into oc-dev
am:
bb49259223
Change-Id: Ie6377778e3e8c3c3e3945f72b226b4eb41e6b54a
Amit Mahajan [Wed, 12 Apr 2017 22:02:34 +0000 (22:02 +0000)]
Merge "Add p2 option in openLogicalChannel" into oc-dev
Tomasz Wasilczyk [Tue, 11 Apr 2017 16:21:08 +0000 (09:21 -0700)]
Fix warnings and set Werror flags to not let them happen again.
Test: it builds.
Bug: b/
37159108
Change-Id: I3b0d6376d81615774b60e71a6eebf6f38224df88
Wileen Chiu [Mon, 23 Nov 2015 22:25:22 +0000 (14:25 -0800)]
Add p2 option in openLogicalChannel
- Adding support for P2 parameter
- Needed to support OMAPI 3.0 defined
by SIM Alliance
Test: Basic telephony sanity
Bug:
27360148
Change-Id: I9679178e2a6f0decd48f30e358685106b91163b8
Amit Mahajan [Tue, 11 Apr 2017 21:59:19 +0000 (21:59 +0000)]
Merge "Add p2 option in openLogicalChannel" am:
f3f567d540 am:
2792b81933 am:
aed35999a1
am:
6e22c5d1a2
Change-Id: I9e35f57fde5d42ecd8985adfc1617a9a1f5eb11c
Amit Mahajan [Tue, 11 Apr 2017 21:50:32 +0000 (21:50 +0000)]
Merge "Add p2 option in openLogicalChannel" am:
f3f567d540 am:
2792b81933
am:
aed35999a1
Change-Id: I2e295ce0860ed711e605124d9d6c827f5a7db23e
Amit Mahajan [Tue, 11 Apr 2017 21:44:11 +0000 (21:44 +0000)]
Merge "Add p2 option in openLogicalChannel" am:
f3f567d540
am:
2792b81933
Change-Id: I502ef11a9d67297ef220202743c3eedf97bac8a0
Amit Mahajan [Tue, 11 Apr 2017 21:35:01 +0000 (21:35 +0000)]
Merge "Add p2 option in openLogicalChannel"
am:
f3f567d540
Change-Id: I7061c4427f35f127d8420d179b7c2be46e0446bd
Amit Mahajan [Tue, 11 Apr 2017 21:25:41 +0000 (21:25 +0000)]
Merge "Add p2 option in openLogicalChannel"
Wileen Chiu [Mon, 23 Nov 2015 22:25:22 +0000 (14:25 -0800)]
Add p2 option in openLogicalChannel
- Adding support for P2 parameter
- Needed to support OMAPI 3.0 defined
by SIM Alliance
Bug:
27360148
Change-Id: I9679178e2a6f0decd48f30e358685106b91163b8
Steven Moreland [Mon, 10 Apr 2017 19:59:47 +0000 (19:59 +0000)]
Remove obsolete target. am:
6ed4cab8d3
am:
61f508c5ae
Change-Id: I47c5ca693ccd18de6bfa15c37df518b3d28cc100
Steven Moreland [Mon, 10 Apr 2017 19:51:31 +0000 (19:51 +0000)]
Remove obsolete target.
am:
6ed4cab8d3
Change-Id: I8502e2dcc495d3040b7eedd42dd333aea1a19668
Steven Moreland [Fri, 7 Apr 2017 20:28:00 +0000 (13:28 -0700)]
Remove obsolete target.
This target was ifdef'd out and left laying around from the past.
Test: pass
Bug:
33241851
Change-Id: I19f6466836c055fd7555a56a123209dc80f8e704
Scott Randolph [Thu, 6 Apr 2017 20:19:37 +0000 (20:19 +0000)]
Merge "Use explicit .c_str() for hidl_string" am:
74d2a33ad5 am:
c1348d3483 am:
a0b107e78c
am:
d432280ede
Change-Id: I387e6296b9f660a41f706fd0eba5a4253b296fe1
Scott Randolph [Thu, 6 Apr 2017 20:09:59 +0000 (20:09 +0000)]
Merge "Use explicit .c_str() for hidl_string" into oc-dev am:
457428f6dd
am:
f883cc4563
Change-Id: Id9aabc6f3292918a78e3803848d67e04d3b89d62
Scott Randolph [Thu, 6 Apr 2017 20:07:48 +0000 (20:07 +0000)]
Merge "Use explicit .c_str() for hidl_string" am:
74d2a33ad5 am:
c1348d3483
am:
a0b107e78c
Change-Id: Ie07c508b7506c74844f1347b2784260bf74e5e45
Scott Randolph [Thu, 6 Apr 2017 20:03:57 +0000 (20:03 +0000)]
Merge "Use explicit .c_str() for hidl_string" am:
74d2a33ad5
am:
c1348d3483
Change-Id: I0b64dda03cbc1914e43c8e179516b0275f7c4109
Scott Randolph [Thu, 6 Apr 2017 20:00:57 +0000 (20:00 +0000)]
Merge "Use explicit .c_str() for hidl_string"
am:
74d2a33ad5
Change-Id: I69f9686e2004dc1f1d40986cc5e4e79ba5b9bdce
Treehugger Robot [Thu, 6 Apr 2017 19:47:44 +0000 (19:47 +0000)]
Merge "Use explicit .c_str() for hidl_string"
Scott Randolph [Thu, 6 Apr 2017 18:14:10 +0000 (18:14 +0000)]
Merge "Use explicit .c_str() for hidl_string" into oc-dev
am:
457428f6dd
Change-Id: I1e358f52391bfc204092832a273bf33aaf523c59
Scott Randolph [Thu, 6 Apr 2017 18:01:41 +0000 (18:01 +0000)]
Merge "Use explicit .c_str() for hidl_string" into oc-dev
Dan Willemsen [Wed, 5 Apr 2017 22:53:21 +0000 (22:53 +0000)]
Merge "rild.c: Use log/log.h instead of utils/Log.h" into oc-dev am:
494dd2187e
am:
5347d0134a
Change-Id: Iacd504ea7d1cb89bf781d312e32e0438675008fe
Dan Willemsen [Wed, 5 Apr 2017 22:47:32 +0000 (22:47 +0000)]
Merge "rild.c: Use log/log.h instead of utils/Log.h" into oc-dev
am:
494dd2187e
Change-Id: I5646ee063b226bf2d47a4a7cd1e153a66e810c36
TreeHugger Robot [Wed, 5 Apr 2017 22:42:16 +0000 (22:42 +0000)]
Merge "rild.c: Use log/log.h instead of utils/Log.h" into oc-dev
Scott Randolph [Mon, 3 Apr 2017 21:06:40 +0000 (14:06 -0700)]
Use explicit .c_str() for hidl_string
hidl_string no longer will provide an implicit cast to const char* as it
interfers with other expected behaviors of the class. It now emulated
std::string in requiring a call to .c_str() to get the same behavior.
Bug:
36532780
Test: Build the tree
Change-Id: I5d672f4a215f4272b7d5d87772667352cf2fb317
(cherry picked from commit
8a7c3b823805bad874f6a3303e40a1e21dd752da)
Amit Mahajan [Wed, 5 Apr 2017 18:02:17 +0000 (18:02 +0000)]
Change radio related service names to slot1, slot2, slot3... am:
35e9310a95
am:
66cc55cfde -s ours
Change-Id: Ic1012e33f3ad8844f10db82808a7f8cad6ca3c86
Amit Mahajan [Wed, 5 Apr 2017 17:56:00 +0000 (17:56 +0000)]
Change radio related service names to slot1, slot2, slot3...
am:
35e9310a95
Change-Id: Ice26de5d28bbe09f6ed68f63e0d9792b2c51878f
Dan Willemsen [Tue, 4 Apr 2017 04:58:13 +0000 (21:58 -0700)]
rild.c: Use log/log.h instead of utils/Log.h
This doesn't use libutils, so it shouldn't be using the libutils
headers. It doesn't use anything unique to utils/Log.h anyways.
It also shouldn't be using any headers from TARGET_OUT_HEADERS (aka
LOCAL_COPY_HEADERS)
Test: m -j rild
Change-Id: I64ef29cdc17a32e013bccfa799cb9c125386cf50
Amit Mahajan [Tue, 28 Mar 2017 18:17:55 +0000 (11:17 -0700)]
Change radio related service names to slot1, slot2, slot3...
Test: Basic telephony sanity
Bug:
36570718
Merged-in: Ia3c3f7b3e2cedd05bafa2d335f9c04e831da0cf4
Change-Id: Ia3c3f7b3e2cedd05bafa2d335f9c04e831da0cf4
Amit Mahajan [Tue, 4 Apr 2017 22:36:28 +0000 (22:36 +0000)]
resolve merge conflicts of
77eb76c to oc-dev-plus-aosp
am:
dd0b80d0b0 -s ours
Change-Id: Id0c397f4ce8b91782c0e89f6068ebc135d554948
Amit Mahajan [Tue, 4 Apr 2017 22:26:21 +0000 (15:26 -0700)]
resolve merge conflicts of
77eb76c to oc-dev-plus-aosp
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Ic7897aba8a92273bd5939417628963ef2304556f
Amit Mahajan [Tue, 4 Apr 2017 22:10:03 +0000 (22:10 +0000)]
Merge "Change radio related service names to slot1, slot2, slot3..." am:
25f66a9aa9
am:
bb37d407b8
Change-Id: Iec0c53a8b1d2363a531f29079c4d98dcb7ac9f62
Amit Mahajan [Tue, 4 Apr 2017 22:07:33 +0000 (22:07 +0000)]
Merge "Change radio related service names to slot1, slot2, slot3..."
am:
25f66a9aa9
Change-Id: I643d505b3338e977abf6b7a8af07bfe609753d8a
Treehugger Robot [Tue, 4 Apr 2017 22:01:37 +0000 (22:01 +0000)]
Merge "Change radio related service names to slot1, slot2, slot3..."
Amit Mahajan [Tue, 28 Mar 2017 18:17:55 +0000 (11:17 -0700)]
Change radio related service names to slot1, slot2, slot3...
Test: Basic telephony sanity
Bug:
36570718
Merged-in: Ia3c3f7b3e2cedd05bafa2d335f9c04e831da0cf4
Change-Id: Ia3c3f7b3e2cedd05bafa2d335f9c04e831da0cf4
Dan Willemsen [Tue, 4 Apr 2017 16:42:53 +0000 (16:42 +0000)]
Merge "rild.c: Use log/log.h instead of utils/Log.h" am:
210d7d9059 am:
35a9183f59 am:
2ef2ec65b1
am:
0ed5b5f1d5
Change-Id: I0af09f20deffd554cef1948c7bf83e2c10d21f01
Dan Willemsen [Tue, 4 Apr 2017 16:38:19 +0000 (16:38 +0000)]
Merge "rild.c: Use log/log.h instead of utils/Log.h" am:
210d7d9059 am:
35a9183f59
am:
2ef2ec65b1
Change-Id: Ic95e1868489b0564d994d2f927eb017cf288a6a2
Dan Willemsen [Tue, 4 Apr 2017 16:34:19 +0000 (16:34 +0000)]
Merge "rild.c: Use log/log.h instead of utils/Log.h" am:
210d7d9059
am:
35a9183f59
Change-Id: I74f36b5a112fb024efff6897354126fb784bb7d6
Dan Willemsen [Tue, 4 Apr 2017 16:29:48 +0000 (16:29 +0000)]
Merge "rild.c: Use log/log.h instead of utils/Log.h"
am:
210d7d9059
Change-Id: Ie9ae3d51dda35dd29ac2a78b52e432811b111f9f
Dan Willemsen [Tue, 4 Apr 2017 16:24:17 +0000 (16:24 +0000)]
Merge "rild.c: Use log/log.h instead of utils/Log.h"
Dan Willemsen [Tue, 4 Apr 2017 04:58:13 +0000 (21:58 -0700)]
rild.c: Use log/log.h instead of utils/Log.h
This doesn't use libutils, so it shouldn't be using the libutils
headers. It doesn't use anything unique to utils/Log.h anyways.
It also shouldn't be using any headers from TARGET_OUT_HEADERS (aka
LOCAL_COPY_HEADERS)
Test: m -j rild
Change-Id: I64ef29cdc17a32e013bccfa799cb9c125386cf50
Scott Randolph [Mon, 3 Apr 2017 21:06:40 +0000 (14:06 -0700)]
Use explicit .c_str() for hidl_string
hidl_string no longer will provide an implicit cast to const char* as it
interfers with other expected behaviors of the class. It now emulated
std::string in requiring a call to .c_str() to get the same behavior.
Bug:
36532780
Test: Build the tree
Change-Id: I5d672f4a215f4272b7d5d87772667352cf2fb317
Jim Kaye [Mon, 3 Apr 2017 20:43:31 +0000 (13:43 -0700)]
Allow newer message format indicating signal strength
This code expected v6 of the cellular signal strength
message. The framework allows up to v10, which takes
more memory. In fact, the framework requires that it
be given a buffer that is the right size for a v10
message.
This code now uses a buffer that is sized for v10.
It accepts either a v6 or a v10 message.
Bug: b.android.com/316334
Test: Manually verified correct behavior with Emulator.
Change-Id: Iaf8dda0e441393b6fde899fa30bcc90a4413f0ef
Amit Mahajan [Fri, 31 Mar 2017 17:40:03 +0000 (17:40 +0000)]
Merge "Change radio related service names to slot1, slot2, slot3..."
Amit Mahajan [Tue, 28 Mar 2017 18:17:55 +0000 (11:17 -0700)]
Change radio related service names to slot1, slot2, slot3...
Test: Basic telephony sanity
Bug:
36570718
Change-Id: Ia3c3f7b3e2cedd05bafa2d335f9c04e831da0cf4
bohu [Wed, 29 Mar 2017 19:20:46 +0000 (12:20 -0700)]
Revert "Revert "Emulator: adjust reference-ril to the refactored qemu_pipe""
This reverts commit
05bab0b719b75925482ab8631ceefc279ecb8656.
Change-Id: I9064151573cf6fdc6b84f9708b5ae223ef42d318
Steven Moreland [Wed, 29 Mar 2017 06:24:39 +0000 (06:24 +0000)]
SapImpl: log error description am:
c7aaac2316 -s ours
am:
347a99fe02 -s ours
Change-Id: I29d3b94dcaa0f113dd2fa014ca8f3e368578d2e0
Steven Moreland [Wed, 29 Mar 2017 06:22:39 +0000 (06:22 +0000)]
SapImpl: log error description
am:
c7aaac2316 -s ours
Change-Id: I7c7dcd675bc3111776da856c1ba07825a9a2d1a9
Steven Moreland [Wed, 29 Mar 2017 02:22:25 +0000 (02:22 +0000)]
Merge "SapImpl: log error description" am:
b3e6a478ff am:
8d0438cb9c am:
9a184aad03
am:
fd32ae6233
Change-Id: I50bc0870df4fc43c1f869696a2edc4db25d8bd0f
Steven Moreland [Wed, 29 Mar 2017 02:19:54 +0000 (02:19 +0000)]
Merge "SapImpl: log error description" am:
b3e6a478ff am:
8d0438cb9c
am:
9a184aad03
Change-Id: Ie8a59145f82446adfd909dd1e3db5d4b6275bfa8
Steven Moreland [Wed, 29 Mar 2017 02:17:24 +0000 (02:17 +0000)]
Merge "SapImpl: log error description" am:
b3e6a478ff
am:
8d0438cb9c
Change-Id: Ided83b9ace1ed50e500d6d0f05b93b6a7d271653
Steven Moreland [Wed, 29 Mar 2017 02:15:24 +0000 (02:15 +0000)]
Merge "SapImpl: log error description"
am:
b3e6a478ff
Change-Id: Ibd4c8aa2c39e4c55e666392fc7d2bf98927cd461
Treehugger Robot [Wed, 29 Mar 2017 02:10:07 +0000 (02:10 +0000)]
Merge "SapImpl: log error description"
Steven Moreland [Tue, 28 Mar 2017 15:55:58 +0000 (08:55 -0700)]
SapImpl: log error description
Test: pass
Bug:
35937742
Change-Id: I9784a15d8de5dc8a0bff849d5d3ef8c162bcb1a0
Steven Moreland [Tue, 28 Mar 2017 15:55:58 +0000 (08:55 -0700)]
SapImpl: log error description
Test: pass
Bug:
35937742
Merged-In: I9784a15d8de5dc8a0bff849d5d3ef8c162bcb1a0
Change-Id: I9784a15d8de5dc8a0bff849d5d3ef8c162bcb1a0
bohu [Tue, 28 Mar 2017 21:53:04 +0000 (14:53 -0700)]
Revert "Emulator: adjust reference-ril to the refactored qemu_pipe"
This reverts commit
4799b529349e229cba4c2d5fe48454a8b3d32d09.
This change is being reverted because it broke the git_master build
for full-eng and other targets.
Bo Hu [Tue, 28 Mar 2017 18:13:53 +0000 (18:13 +0000)]
Merge "Emulator: adjust reference-ril to the refactored qemu_pipe"
Amit Mahajan [Tue, 28 Mar 2017 05:22:24 +0000 (05:22 +0000)]
Merge "Remove SAP socket." am:
3ca9bd02b8 am:
8de5ac7bae
am:
94521c910a -s ours
Change-Id: Idd5018862f6fbc1d19aee464692dd653dc92f10f
Amit Mahajan [Tue, 28 Mar 2017 05:14:00 +0000 (05:14 +0000)]
Merge "Remove SAP socket." am:
3ca9bd02b8
am:
8de5ac7bae
Change-Id: I574d84aeba4c22fd58a84704da2f55c5307cf5e4
Amit Mahajan [Tue, 28 Mar 2017 05:06:12 +0000 (05:06 +0000)]
Merge "Remove SAP socket."
am:
3ca9bd02b8
Change-Id: I602d5f3506c716445371dfa19ac6aa20c16f2386
Amit Mahajan [Tue, 28 Mar 2017 04:56:37 +0000 (04:56 +0000)]
Merge "Remove SAP socket."
Amit Mahajan [Wed, 22 Mar 2017 18:25:51 +0000 (11:25 -0700)]
Remove SAP socket.
Test: Basic SAP sanity
Bug:
32020264
Merged-in: Iece9d047db513e425e8a954e2ece2bba7e3e2535
Change-Id: Iece9d047db513e425e8a954e2ece2bba7e3e2535
Amit Mahajan [Wed, 22 Mar 2017 18:25:51 +0000 (11:25 -0700)]
Remove SAP socket.
Test: Basic SAP sanity
Bug:
32020264
Change-Id: Iece9d047db513e425e8a954e2ece2bba7e3e2535
Jayachandran Chinnakkannu [Sun, 26 Mar 2017 02:40:46 +0000 (02:40 +0000)]
Merge "Move RILC logs under verbose flag to reduce the RILC log spam" am:
13bbab0ddb am:
66f6695c0b
am:
5005c1be3a
Change-Id: I5fc323b460adc4dc3ce98fa6905679223a1490e9
Jayachandran Chinnakkannu [Sun, 26 Mar 2017 02:38:15 +0000 (02:38 +0000)]
Merge "Move RILC logs under verbose flag to reduce the RILC log spam" am:
13bbab0ddb
am:
66f6695c0b
Change-Id: I86f8faf313d4ad2da78825ed3e4395d4a70c5885
Jayachandran Chinnakkannu [Sun, 26 Mar 2017 02:35:46 +0000 (02:35 +0000)]
Merge "Move RILC logs under verbose flag to reduce the RILC log spam"
am:
13bbab0ddb
Change-Id: I9630182957c8c4f4932573c936aca029919b5eb8
Jayachandran Chinnakkannu [Sun, 26 Mar 2017 02:32:18 +0000 (02:32 +0000)]
Merge "Move RILC logs under verbose flag to reduce the RILC log spam"
Jayachandran C [Sat, 25 Mar 2017 21:30:13 +0000 (14:30 -0700)]
Move RILC logs under verbose flag to reduce the RILC log spam
This change moves most of RLOGD prints under VDGB flag
Test: Verified that the RILC log spam is reduced
Bug:
36613198
Change-Id: Ife7042b523a445605b297ed244d0f884d0b39179
Shuo Qian [Fri, 24 Mar 2017 17:30:29 +0000 (17:30 +0000)]
Merge "Removing GENERIC_FAILURE from API documentation in ril.h" am:
6ea410309a am:
d00910aad5
am:
3d696d8e42
Change-Id: Idcbb37672a64e933a2f78c7fc34c5f93f1eeab74
Shuo Qian [Fri, 24 Mar 2017 17:27:56 +0000 (17:27 +0000)]
Merge "Removing GENERIC_FAILURE from API documentation in ril.h" am:
6ea410309a
am:
d00910aad5
Change-Id: Ic9729c06688b50f73be99a27d701cff3f25d8e47
Shuo Qian [Fri, 24 Mar 2017 17:26:28 +0000 (17:26 +0000)]
Merge "Removing GENERIC_FAILURE from API documentation in ril.h"
am:
6ea410309a
Change-Id: I695aaa62900d55ad23b271860aa672fd9a3d0a6a
Shuo Qian [Fri, 24 Mar 2017 17:21:17 +0000 (17:21 +0000)]
Merge "Removing GENERIC_FAILURE from API documentation in ril.h"
Shuoq [Mon, 20 Mar 2017 23:31:23 +0000 (16:31 -0700)]
Removing GENERIC_FAILURE from API documentation in ril.h
GENERIC_FAILURE should not be returned in any case.
Bug:
36385785
Test: No change to behavior
Change-Id: I5d3da76aadf9f2643d1e2ca5ca1d8f741e7a25c5
Amit Mahajan [Wed, 22 Mar 2017 17:03:11 +0000 (17:03 +0000)]
Merge "Remove rild sockets." am:
7c22062ff6 am:
7662321cbf
am:
82b7efe9e2 -s ours
Change-Id: I2c50eda23201bada91e89b1cf196ed19e62beae4
Amit Mahajan [Wed, 22 Mar 2017 17:00:18 +0000 (17:00 +0000)]
Merge "Remove rild sockets." am:
7c22062ff6
am:
7662321cbf
Change-Id: I023a53e5d1aa535683bc409a1f99b972c5f7db74
Amit Mahajan [Wed, 22 Mar 2017 16:58:39 +0000 (16:58 +0000)]
Merge "Remove rild sockets."
am:
7c22062ff6
Change-Id: I5d2833330cb606f6379d2af42806c97a8632312a
Amit Mahajan [Wed, 22 Mar 2017 16:54:40 +0000 (16:54 +0000)]
Merge "Remove rild sockets."
Amit Mahajan [Tue, 14 Mar 2017 23:39:27 +0000 (16:39 -0700)]
Remove rild sockets.
Test: Basic telephony sanity
Bug:
32020264
Merged-in: Icff46cadab085ca7882ed32ee0c6f9247a028817
Change-Id: Icff46cadab085ca7882ed32ee0c6f9247a028817
Amit Mahajan [Tue, 14 Mar 2017 23:39:27 +0000 (16:39 -0700)]
Remove rild sockets.
Test: Basic telephony sanity
Bug:
32020264
Change-Id: Icff46cadab085ca7882ed32ee0c6f9247a028817
Naveen Kalla [Mon, 20 Mar 2017 04:39:20 +0000 (04:39 +0000)]
Merge "Convert empty response to -1 for some SIM APIs" am:
7e18f92330 am:
2c7bc41c4c
am:
6fc12e7833
Change-Id: I3dcf8ed7d7c68645986c61cafb8c92707708f6d2
Naveen Kalla [Mon, 20 Mar 2017 04:34:05 +0000 (04:34 +0000)]
Merge "Convert empty response to -1 for some SIM APIs" am:
7e18f92330
am:
2c7bc41c4c
Change-Id: I1ce70a847c0b3afd0728db95bcc917927188fb1a
Naveen Kalla [Mon, 20 Mar 2017 04:31:04 +0000 (04:31 +0000)]
Merge "Convert empty response to -1 for some SIM APIs"
am:
7e18f92330
Change-Id: Id483483cce600cafa1c392e2027abd9ba140c863
Naveen Kalla [Mon, 20 Mar 2017 04:24:45 +0000 (04:24 +0000)]
Merge "Convert empty response to -1 for some SIM APIs"
Naveen Kalla [Thu, 16 Mar 2017 19:55:55 +0000 (12:55 -0700)]
Convert empty response to -1 for some SIM APIs
Earlier RILs did not send a response for some cases although the
interface expected an integer as response. Do not return error if
response is empty. Instead Return -1 in those cases to maintain backward
compatibility.
Bug:
36209518
Test: Enable fixed dialing number and call barring by dialing *35*PASSWORD#.
Check logs to make sure RILC does not fail with invalid response
on devices where RIL doesn't send a response to these requests
on success.
Change-Id: I1d91bacd60bd19985710a111de57e86f03e6ce4a
Jayachandran Chinnakkannu [Fri, 17 Mar 2017 22:41:44 +0000 (22:41 +0000)]
Merge "Add new precise call fail causes and OEM causes" am:
8f1c83e068 am:
f1c740adec
am:
166d45018d
Change-Id: Icd5f5acf344f6a97f5e9ec79e1b5ec0ff0a8a696
Jayachandran Chinnakkannu [Fri, 17 Mar 2017 22:34:09 +0000 (22:34 +0000)]
Merge "Add new precise call fail causes and OEM causes" am:
8f1c83e068
am:
f1c740adec
Change-Id: Ib7bdc7f571ee6b8a9214c11a2fc24986d62bc134
Jayachandran Chinnakkannu [Fri, 17 Mar 2017 22:27:20 +0000 (22:27 +0000)]
Merge "Add new precise call fail causes and OEM causes"
am:
8f1c83e068
Change-Id: Ia52fb715455da05dc813e70807bf8f2304e3c9e1
Jayachandran Chinnakkannu [Fri, 17 Mar 2017 22:18:22 +0000 (22:18 +0000)]
Merge "Add new precise call fail causes and OEM causes"
Amit Mahajan [Fri, 17 Mar 2017 21:19:08 +0000 (21:19 +0000)]
Merge "Fix for race condition between radio and oemhook services." am:
b809efa3ad am:
79127b86a7
am:
ac4dc62c1a
Change-Id: I2bafcfe18565ca88966bc718df5b99988c723712
Amit Mahajan [Fri, 17 Mar 2017 21:14:42 +0000 (21:14 +0000)]
Merge "Fix for race condition between radio and oemhook services." am:
b809efa3ad
am:
79127b86a7
Change-Id: Ic1d0a7adfa4880ffc8a6dd52bb330b941a4897a4
Amit Mahajan [Fri, 17 Mar 2017 21:11:33 +0000 (21:11 +0000)]
Merge "Fix for race condition between radio and oemhook services."
am:
b809efa3ad
Change-Id: Iab8c04c954342377acfda76c48b5d2d7cf5cccc7
Amit Mahajan [Fri, 17 Mar 2017 21:01:26 +0000 (21:01 +0000)]
Merge "Fix for race condition between radio and oemhook services."
bohu [Tue, 28 Feb 2017 22:55:24 +0000 (14:55 -0800)]
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
(cherry picked from aosp commit
7b7267ac17fa6d557a762f23cb5b7e97de21372f)
Amit Mahajan [Fri, 17 Mar 2017 00:04:01 +0000 (17:04 -0700)]
Fix for race condition between radio and oemhook services.
The race condition was this:
1. Phone process crashes and restarts
2. Phone process calls IRadio.setResponseFunctions()
3. oemHookInd is sent from vendor RIL. At this point oemHook
callbacks are stale, and due to that the callback fails and
sets callback objects to NULL, including the IRadio ones which is
not correct.
Test: Basic telephony sanity. The condition was easily reproducible
on angler; verified that it works fine now.
Bug:
32020264
Change-Id: I33bbdf01b19d009530c78baae90188acb4986d15
Jayachandran C [Tue, 7 Mar 2017 17:55:58 +0000 (09:55 -0800)]
Add new precise call fail causes and OEM causes
Bug:
35609963
Change-Id: I46ffc8280a25286aedf311c5e63d9c7748849f3b
Steven Moreland [Fri, 17 Mar 2017 16:48:19 +0000 (16:48 +0000)]
Merge "Remove unused using statement." am:
fa396bcdd1 am:
4317579734
am:
16cc438e97
Change-Id: I476990f78e8b12816242a16ce03dc4a709d90ade
Steven Moreland [Fri, 17 Mar 2017 16:45:22 +0000 (16:45 +0000)]
Merge "Remove unused using statement." am:
fa396bcdd1
am:
4317579734
Change-Id: I9631a84002158b6d6ec5dcac426cd4dcf661249a
Steven Moreland [Fri, 17 Mar 2017 16:40:53 +0000 (16:40 +0000)]
Merge "Remove unused using statement."
am:
fa396bcdd1
Change-Id: I23b09f11e2673d9aabfeef7bd545b8649e2ad7f0