OSDN Git Service

android-x86/hardware-ril.git
8 years agoMerge "fail explicitly if setuid() fails" into nyc-dev
Keun Soo Yim [Thu, 14 Apr 2016 01:47:26 +0000 (01:47 +0000)]
Merge "fail explicitly if setuid() fails" into nyc-dev

8 years agofail explicitly if setuid() fails
Keun Soo Yim [Thu, 14 Apr 2016 00:17:52 +0000 (17:17 -0700)]
fail explicitly if setuid() fails

otherwise, the following code can be executed
with unintended privileges.

bug:28178548
Change-Id: I265f8c0e1693344a675cc2623968db816309b1f4

8 years agoavoid a potential buffer overflow
Keun Soo Yim [Thu, 14 Apr 2016 00:11:20 +0000 (17:11 -0700)]
avoid a potential buffer overflow

strncat can copy upto n bytes if its 3rd argument is n,
while the 1st argument which is the destination has only n bytes
in this case.

Change-Id: I3469abdcf55e64c5878a855700b323335c40c8be

8 years agoreference-ril: Stop using pthread_cond_timedwait_relative_np()
Yu Ning [Thu, 31 Mar 2016 13:49:59 +0000 (21:49 +0800)]
reference-ril: Stop using pthread_cond_timedwait_relative_np()

pthread_cond_timedwait_relative_np() is deprecated, and is only
available in the 32-bit ABI (see bionic/libc/include/pthread.h). It is
still used by the 32-bit version of reference-ril. Thanks to a recent
bugfix for 64-bit [1], it is now safe to replace the deprecated
function with the standard pthread_cond_timedwait(). Doing so also
simplifies the code, as there is now a unified logic for 32 and 64-bit
targets.

[1] https://android-review.googlesource.com/210301

Signed-off-by: Yu Ning <yu.ning@intel.com>
(cherry picked from commit 3480b1832d3581c708868117c0eb21ba291df165)

Change-Id: I1a15ee0fdfea38b6ee9c9fd49845d10d45f485b1

8 years agoreference-ril/atchannel.c: Fix time conversion
Jinhui Li [Thu, 24 Mar 2016 00:55:10 +0000 (08:55 +0800)]
reference-ril/atchannel.c: Fix time conversion

setTimespecRelative() converts a relative time to an absolute time, by
adding the relative time to current system time. However, it fails to
handle the case where the nanosecond component (tv_nsec) of the
conversion result exceeds 10^9, which can cause a subsequent call to
pthread_cond_timedwait() to return EINVAL.

This bug is the root cause of the "no SIM card" error seen occasionally
on x86_64 Android emulator. In fact, all 64-bit targets use
setTimespecRelative() in conjunction with pthread_cond_timedwait()
during AT handshake, but an EINVAL return value from the latter will
lead to an infinite loop and hang the communication. With this fix,
x86_64 emulator can boot with functional 3G networking every time.

Signed-off-by: Jinhui Li <jinhui.li@intel.com>
[Revised code and commit message]
Signed-off-by: Yu Ning <yu.ning@intel.com>
(cherry picked from commit 11476211584f1a82c870b9486ace8f6f8bb9fc7c)

Change-Id: I5d7396ef7f0af5ef02ccab785046d635fb8f168c

8 years agoAdd documentation for RIL_SAP_INIT in ril.h
Sanket Padawe [Fri, 1 Apr 2016 00:37:23 +0000 (17:37 -0700)]
Add documentation for RIL_SAP_INIT in ril.h

Bug: 27726715
Change-Id: I3c48820f689052a89986191ccb08754197eea229

8 years agoRil Error codes: Voice related messages
Ajay Nambi [Mon, 21 Mar 2016 17:08:09 +0000 (17:08 +0000)]
Ril Error codes: Voice related messages
am: 1034589

* commit '1034589c37aa83c97f1dcb660209bc6dccb6160a':
  Ril Error codes: Voice related messages

8 years agoRil Error codes: Voice related messages
Ajay Nambi [Sat, 19 Mar 2016 16:02:28 +0000 (09:02 -0700)]
Ril Error codes: Voice related messages

This change adds new error codes for messages
related to voice

Bug: 27038563
Change-Id: I61bcc853f8046e6baf6c8000029f7af0f3f894f0

8 years agoNew error codes for SMS/other messages
Ajay Nambi [Mon, 14 Mar 2016 21:11:19 +0000 (21:11 +0000)]
New error codes for SMS/other messages
am: 68900f5a8e

* commit '68900f5a8eda71d962961ccab56ed3fc99cfd124':
  New error codes for SMS/other messages

8 years agoNew error codes for SMS/other messages
Ajay Nambi [Fri, 11 Mar 2016 20:02:55 +0000 (12:02 -0800)]
New error codes for SMS/other messages

This gerrit adds error codes for messages related
to SMS and set_mute, get_mute requests

Bug: 27038563
Change-Id: I4991e4a38c81501c39e91cfd5df90d8288f542ad

8 years agoMerge "Add RIL Error code list" into mm-wireless-dev
twen.chang [Fri, 11 Mar 2016 17:40:54 +0000 (17:40 +0000)]
Merge "Add RIL Error code list" into mm-wireless-dev
am: 8dc7f4d003

* commit '8dc7f4d00303f74cbca2d784eaa32e103555f0b5':
  Add RIL Error code list

8 years agoMerge "Add RIL Error code list" into mm-wireless-dev
Sanket Padawe [Fri, 11 Mar 2016 17:31:55 +0000 (17:31 +0000)]
Merge "Add RIL Error code list" into mm-wireless-dev

8 years agoAdd RIL Error code list
twen.chang [Fri, 4 Mar 2016 10:27:48 +0000 (18:27 +0800)]
Add RIL Error code list

BUG: 27589497

Change-Id: I9cc8c12364676c3c56dbee57fdc01cf055460816

8 years agoFix memory leak in atchannel.c
Sanket Padawe [Thu, 10 Mar 2016 01:51:57 +0000 (17:51 -0800)]
Fix memory leak in atchannel.c

Bug: 27134985
Change-Id: I0273a40f175212bed4aad42e46feb333d9df9a2b

8 years agoEnable integer sanitization in libril.
Sanket Padawe [Tue, 8 Mar 2016 17:44:16 +0000 (17:44 +0000)]
Enable integer sanitization in libril.
am: 2f0b452b4a

* commit '2f0b452b4a234199dcce17dc370aebb126c661c9':
  Enable integer sanitization in libril.

8 years agoEnable integer sanitization in libril.
Sanket Padawe [Tue, 8 Mar 2016 02:09:55 +0000 (18:09 -0800)]
Enable integer sanitization in libril.

Bug: 27486276
Change-Id: I5d440099120567f1ecedb898039b5627346c7089

8 years agoFix security vulnerabilities in ril.cpp
Sanket Padawe [Tue, 8 Mar 2016 02:01:24 +0000 (02:01 +0000)]
Fix security vulnerabilities in ril.cpp
am: 0cfc553547

* commit '0cfc553547bb5b0897e0de0c3a38771bed0bf8f9':
  Fix security vulnerabilities in ril.cpp

8 years agoFix security vulnerabilities in ril.cpp
Sanket Padawe [Tue, 8 Mar 2016 01:12:19 +0000 (17:12 -0800)]
Fix security vulnerabilities in ril.cpp

Bug: 26522805
Change-Id: I0e29b59a67d571468673b7362ff5adae0f927d7f

8 years agoRemove log spam in responseCellInfoList in ril.cpp
Sanket Padawe [Sat, 5 Mar 2016 02:15:57 +0000 (02:15 +0000)]
Remove log spam in responseCellInfoList in ril.cpp
am: e52a6c9c37

* commit 'e52a6c9c37328aea57d140ddbb0888d92f3ea874':
  Remove log spam in responseCellInfoList in ril.cpp

8 years agoRemove log spam in responseCellInfoList in ril.cpp
Sanket Padawe [Sat, 5 Mar 2016 01:52:50 +0000 (17:52 -0800)]
Remove log spam in responseCellInfoList in ril.cpp

Bug: 27481301
Change-Id: I3a55620d728d579ac50a9c178876e7901340b7af

8 years agoFixing security vulnerabilities in ril.cpp
Sanket Padawe [Fri, 4 Mar 2016 01:19:27 +0000 (01:19 +0000)]
Fixing security vulnerabilities in ril.cpp
am: 55227b5d7b

* commit '55227b5d7bcd618884b61a5555bd4c2b5dae786c':
  Fixing security vulnerabilities in ril.cpp

8 years agoFixing security vulnerabilities in ril.cpp
Sanket Padawe [Mon, 29 Feb 2016 18:09:26 +0000 (10:09 -0800)]
Fixing security vulnerabilities in ril.cpp

Bug: 26522805
Change-Id: I8fa19a202b3ebe13dc617b417218b4f40fa8a702

8 years agoMerge "Use different response type for unsolicited mesg requiring wakelock." into...
Sanket Padawe [Wed, 17 Feb 2016 23:30:03 +0000 (23:30 +0000)]
Merge "Use different response type for unsolicited mesg requiring wakelock." into mm-wireless-dev
am: 719d649b12

* commit '719d649b121c4d138651c8286ff57e9ae830d975':
  Use different response type for unsolicited mesg requiring wakelock.

8 years agoMerge "Use different response type for unsolicited mesg requiring wakelock." into...
Sanket Padawe [Wed, 17 Feb 2016 21:26:46 +0000 (21:26 +0000)]
Merge "Use different response type for unsolicited mesg requiring wakelock." into mm-wireless-dev

8 years agoCreate RIL_RadioBandMode Enum
Nathan Harold [Wed, 17 Feb 2016 00:49:49 +0000 (00:49 +0000)]
Create RIL_RadioBandMode Enum
am: 92839f19e3

* commit '92839f19e374cb8377f9f5bddd44692fc2b6e247':
  Create RIL_RadioBandMode Enum

8 years agoCreate RIL_RadioBandMode Enum
Nathan Harold [Fri, 12 Feb 2016 18:02:28 +0000 (10:02 -0800)]
Create RIL_RadioBandMode Enum

Bug: 27145805
Change-Id: Iccdcf1153c9ad389a2927428440963960ff5a80b

8 years agoAdd OEM specific error code space which can by used to replace Generic errors.
Sanket Padawe [Thu, 11 Feb 2016 00:05:34 +0000 (00:05 +0000)]
Add OEM specific error code space which can by used to replace Generic errors.
am: 0106aedb55

* commit '0106aedb55be31e6197515d0e968584b0a168bef':
  Add OEM specific error code space which can by used to replace Generic errors.

8 years agoAdd OEM specific error code space which can by used to replace Generic errors.
Sanket Padawe [Tue, 9 Feb 2016 17:56:31 +0000 (09:56 -0800)]
Add OEM specific error code space which can by used to replace Generic errors.

Bug: 27038563
Change-Id: I4052505ed684067cb9145d165f0e335ad52ed404

8 years agoConvert newly added error code to string values in ril.cpp.
Sanket Padawe [Mon, 8 Feb 2016 22:35:15 +0000 (22:35 +0000)]
Convert newly added error code to string values in ril.cpp.
am: b39e5c9c98

* commit 'b39e5c9c98890fa34ff5b8fd591fc16ece1e56a5':
  Convert newly added error code to string values in ril.cpp.

8 years agoConvert newly added error code to string values in ril.cpp.
Sanket Padawe [Mon, 8 Feb 2016 22:28:59 +0000 (14:28 -0800)]
Convert newly added error code to string values in ril.cpp.

Bug: 23216719
Change-Id: Ie2202124cb460872a9f5c406e8f1ae94465d9d0b

8 years agoUse different response type for unsolicited mesg requiring wakelock.
Sanket Padawe [Wed, 3 Feb 2016 19:46:02 +0000 (11:46 -0800)]
Use different response type for unsolicited mesg requiring wakelock.

+ New type is added as ack from RIL java should be sent only for unsolicited mesgs
which hold wakelock in ril.cpp.

Bug: 22127517

Change-Id: Ib7e920d168ab92665283f80476bad3f5ede033e4

8 years agoAdd Error to RIL.h for Rate Limited Requests
Nathan Harold [Wed, 3 Feb 2016 00:08:28 +0000 (00:08 +0000)]
Add Error to RIL.h for Rate Limited Requests
am: c97b2849c5

* commit 'c97b2849c57f46d6e2c0f603bf65a05da2c9cb71':
  Add Error to RIL.h for Rate Limited Requests

8 years agoAdd Error to RIL.h for Rate Limited Requests
Nathan Harold [Tue, 2 Feb 2016 20:04:35 +0000 (12:04 -0800)]
Add Error to RIL.h for Rate Limited Requests

Bug: 26767732
Change-Id: I7289f53d0d16b6f066d8e469644c81bbb7d4566c

8 years agoAdd support for cdma dynamic address length.
Sukanya Rajkhowa [Fri, 29 Jan 2016 01:14:52 +0000 (01:14 +0000)]
Add support for cdma dynamic address length.
am: 605c78444b

* commit '605c78444bacdb328105f14d55ecc8c046bd96cb':
  Add support for cdma dynamic address length.

8 years agoAdd support for cdma dynamic address length.
Sukanya Rajkhowa [Tue, 29 Oct 2013 06:55:30 +0000 (14:55 +0800)]
Add support for cdma dynamic address length.

Get the address,sub address,Bearer with dynamic length in the data parcel,
to avoid the OutOfBoundsException with the MAX macro.

BUG=26856156

Change-Id: I1d7437143c1369d77791136b68e06088acd72937

8 years agoMerge "Add error codes to replace generic failure" into mm-wireless-dev
Sanket Padawe [Thu, 28 Jan 2016 19:29:30 +0000 (19:29 +0000)]
Merge "Add error codes to replace generic failure" into mm-wireless-dev
am: 09fd3f75b5

* commit '09fd3f75b530389ff54b6be1f5faab7729f629bb':
  Add error codes to replace generic failure

8 years agoMerge "Add error codes to replace generic failure" into mm-wireless-dev
Sanket Padawe [Thu, 28 Jan 2016 19:26:37 +0000 (19:26 +0000)]
Merge "Add error codes to replace generic failure" into mm-wireless-dev

8 years agoMerge "Subject: [PATCH] Fix heap-use-after-free in reference-ril.c found by AddressSa...
Dan Albert [Thu, 28 Jan 2016 18:38:59 +0000 (18:38 +0000)]
Merge "Subject: [PATCH] Fix heap-use-after-free in reference-ril.c found by AddressSaniziter."
am: 99b6d09faf

* commit '99b6d09fafa21ebb1b2de493eb1f7cc315449662':
  Subject: [PATCH] Fix heap-use-after-free in reference-ril.c found by AddressSaniziter.

8 years agoMerge "Subject: [PATCH] Fix heap-use-after-free in reference-ril.c found by AddressSa...
Dan Albert [Thu, 28 Jan 2016 18:32:17 +0000 (18:32 +0000)]
Merge "Subject: [PATCH] Fix heap-use-after-free in reference-ril.c found by AddressSaniziter."

8 years agoImprove wakelock symantics in RIL.
Sanket Padawe [Wed, 27 Jan 2016 23:28:20 +0000 (23:28 +0000)]
Improve wakelock symantics in RIL.
am: 6ff9a87b25

* commit '6ff9a87b250598ea9e383f06a4257512bd0c8046':
  Improve wakelock symantics in RIL.

8 years agoImprove wakelock symantics in RIL.
Sanket Padawe [Wed, 27 Jan 2016 23:09:12 +0000 (15:09 -0800)]
Improve wakelock symantics in RIL.

Bug: 22127517
Change-Id: I13fce25c8c6b27987e576b29a2ca5cd813f5b06f

8 years agoAdd error codes to replace generic failure
Sooraj Sasindran [Wed, 27 Jan 2016 22:30:45 +0000 (14:30 -0800)]
Add error codes to replace generic failure

Add error codes to be used instead of RIL_E_GENERIC_FAILURE.

Change-Id: I997da9a15225716786c53b7457b498d4628e76be

8 years agoSubject: [PATCH] Fix heap-use-after-free in reference-ril.c found by
Ivan Krasin [Wed, 27 Jan 2016 19:17:58 +0000 (11:17 -0800)]
Subject: [PATCH] Fix heap-use-after-free in reference-ril.c found by
AddressSaniziter.

BUG=26012424

(cherry picked from commit 7c0165ee3b769ed6a67b58b7c6e2f60bd6f8fbf6)

Change-Id: I108f01229b5fe6a368129e608195ba5833f2ea91

8 years ago[DO NOT MERGE] Added fields to CELL_INFO_LIST. Gsm: ta, arfcn, bsic Wcdma: uarfcn...
Sanket Padawe [Wed, 27 Jan 2016 18:10:37 +0000 (18:10 +0000)]
[DO NOT MERGE] Added fields to CELL_INFO_LIST. Gsm: ta, arfcn, bsic Wcdma: uarfcn Lte: earfcn
am: f53c5fa963  -s ours

* commit 'f53c5fa96381915e20353cfedc798c0e3c52289b':
  [DO NOT MERGE] Added fields to CELL_INFO_LIST. Gsm: ta, arfcn, bsic Wcdma: uarfcn Lte: earfcn

8 years ago[DO NOT MERGE] Added fields to CELL_INFO_LIST.
Sanket Padawe [Wed, 27 Jan 2016 18:00:38 +0000 (10:00 -0800)]
[DO NOT MERGE] Added fields to CELL_INFO_LIST.
Gsm: ta, arfcn, bsic
Wcdma: uarfcn
Lte: earfcn

Bug: 23528586
Change-Id: I435dd9e945bd8d0553491184ae2919bb5a126a32

8 years agoAdded fields to CELL_INFO_LIST.
Sanket Padawe [Wed, 27 Jan 2016 02:44:01 +0000 (18:44 -0800)]
Added fields to CELL_INFO_LIST.
Gsm: ta, arfcn, bsic
Wcdma: uarfcn
Lte: earfcn

Bug: 23528586
Change-Id: Iaf7bfaac96bda92d980c566878b9fe481a6d2c21

8 years agoUse SimRefreshResponse struct in RIL Versions greater than 7
Sanket Padawe [Wed, 27 Jan 2016 01:44:34 +0000 (17:44 -0800)]
Use SimRefreshResponse struct in RIL Versions greater than 7

Modify condition to use SimRefreshResponse struct in
all RIL Versions greater than 7.

BUG=21075857

Change-Id: Ic9e91e91e295216b3b933589b234732fcf02f3f9

8 years agoInitialize the buffer
Sanket Padawe [Wed, 27 Jan 2016 01:32:50 +0000 (17:32 -0800)]
Initialize the buffer

Initialize the char array to null character
as there is a possibility that it is not null
terminated

BUG=21063589

Change-Id: I00cc699795c5c266ac7adae2a0ce6f13ee187e1f

8 years agoAdd WRITE_SMS_TO_SIM and UNSOL_SUPP_SVC_NOTIFICATION
Sanket Padawe [Wed, 27 Jan 2016 01:28:38 +0000 (17:28 -0800)]
Add WRITE_SMS_TO_SIM and UNSOL_SUPP_SVC_NOTIFICATION

Add WRITE_SMS_TO_SIM and UNSOL_SUPP_SVC_NOTIFICATION in
requestToString method.

Change-Id: Ibf61b9c2c9a5ddffba2f4683468178eb8ec2cdc9

8 years agoAdd RIL_REQUEST_LAST_CALL_FAIL_CAUSE to ril
Sanket Padawe [Wed, 27 Jan 2016 00:58:36 +0000 (16:58 -0800)]
Add RIL_REQUEST_LAST_CALL_FAIL_CAUSE to ril

Add needed RIL_REQUEST_LAST_CALL_FAIL_CAUSE to ril.h

BUG=26014382

Change-Id: I577c416e90b277855dd149ef422ff3d142a29998

8 years agoMerge "RilSapSocket: Send response with empty payload"
Sanket Padawe [Wed, 27 Jan 2016 00:56:31 +0000 (00:56 +0000)]
Merge "RilSapSocket: Send response with empty payload"

8 years agoRilSapSocket: Send response with empty payload
Sanket Padawe [Wed, 27 Jan 2016 00:26:30 +0000 (16:26 -0800)]
RilSapSocket: Send response with empty payload

Change-Id: Ib689b64ce4ce8f8b125409a6a0ddb5a68c1afa23

8 years agoImprove RIL versioning.
Sanket Padawe [Wed, 27 Jan 2016 00:19:00 +0000 (16:19 -0800)]
Improve RIL versioning.

+ Added documentation for new RIL versioning format.
+ Changes associated to new RIl versioning format.

Bug: 25779475
Change-Id: I59362b521263e01c4ac6fc8e68ecdc527696786a

8 years agoMerge "Add more error codes for RIL_DataCallFailCause"
Sanket Padawe [Tue, 26 Jan 2016 22:05:31 +0000 (22:05 +0000)]
Merge "Add more error codes for RIL_DataCallFailCause"

8 years agoAdd more error codes for RIL_DataCallFailCause
Sanket Padawe [Thu, 7 Jan 2016 22:41:17 +0000 (14:41 -0800)]
Add more error codes for RIL_DataCallFailCause

Bug: 26014382
Change-Id: Iaf3436ea94ebd0aba5fba07037e0ba37287d6444

8 years agoDO NOT MERGE ANYWHERE merge -s ours mirror-partner-mm-wireless-dev.
Bill Rassieur [Tue, 26 Jan 2016 19:29:19 +0000 (11:29 -0800)]
DO NOT MERGE ANYWHERE merge -s ours mirror-partner-mm-wireless-dev.

8 years agoRevert "Added fields to CELL_INFO_LIST. Gsm: ta, arfcn, bsic Wcdma: uarfcn Lte: earfcn"
Narayan Kamath [Tue, 26 Jan 2016 09:45:05 +0000 (09:45 +0000)]
Revert "Added fields to CELL_INFO_LIST. Gsm: ta, arfcn, bsic Wcdma: uarfcn Lte: earfcn"

This reverts commit af0a0ebb9bb1d8fee11af052eefa3c131094386a.

Change-Id: Ifad087e11c46d31f9649ae318249e72836ecdd58

8 years agoAdded fields to CELL_INFO_LIST.
Sanket Padawe [Mon, 25 Jan 2016 20:56:14 +0000 (12:56 -0800)]
Added fields to CELL_INFO_LIST.
Gsm: ta, arfcn, bsic
Wcdma: uarfcn
Lte: earfcn

Bug: 23528586

Change-Id: I4ff31ae27cbc3b9bc8a215e80453bab94c824dd8

8 years agoMerge "Use SimRefreshResponse struct in RIL Versions greater than 7" into mm-wireless-dev
Sanket Padawe [Thu, 21 Jan 2016 23:50:46 +0000 (23:50 +0000)]
Merge "Use SimRefreshResponse struct in RIL Versions greater than 7" into mm-wireless-dev

8 years agoUse SimRefreshResponse struct in RIL Versions greater than 7
Sanket Padawe [Thu, 21 Jan 2016 23:49:33 +0000 (15:49 -0800)]
Use SimRefreshResponse struct in RIL Versions greater than 7

Modify condition to use SimRefreshResponse struct in
all RIL Versions greater than 7.

BUG=21075857

Change-Id: Ifde00434bfcaecf3b4c32392fc4964fe3b43f6b5

8 years agoMerge "Initialize the buffer" into mm-wireless-dev
Robert Greenwalt [Thu, 21 Jan 2016 20:36:21 +0000 (20:36 +0000)]
Merge "Initialize the buffer" into mm-wireless-dev

8 years agoMerge "Add WRITE_SMS_TO_SIM and UNSOL_SUPP_SVC_NOTIFICATION" into mm-wireless-dev
Robert Greenwalt [Thu, 21 Jan 2016 20:35:21 +0000 (20:35 +0000)]
Merge "Add WRITE_SMS_TO_SIM and UNSOL_SUPP_SVC_NOTIFICATION" into mm-wireless-dev

8 years agoMerge "Add RIL_REQUEST_LAST_CALL_FAIL_CAUSE to ril" into mm-wireless-dev
Sanket Padawe [Thu, 21 Jan 2016 20:31:18 +0000 (20:31 +0000)]
Merge "Add RIL_REQUEST_LAST_CALL_FAIL_CAUSE to ril" into mm-wireless-dev

8 years agoRilSapSocket: Send response with empty payload
Pavel Zhamaitsiak [Tue, 19 Jan 2016 19:28:30 +0000 (11:28 -0800)]
RilSapSocket: Send response with empty payload

Change-Id: I3e2cf112b95492eb1bc73624104d3a114e8ad0be

8 years agoInitialize the buffer
Ajay Nambi [Fri, 15 Jan 2016 18:57:52 +0000 (10:57 -0800)]
Initialize the buffer

Initialize the char array to null character
as there is a possibility that it is not null
terminated

BUG=21063589

Change-Id: I558a41565b3e5e20aa40b5d0c5e748b204993e26

8 years agoAdd WRITE_SMS_TO_SIM and UNSOL_SUPP_SVC_NOTIFICATION
Ajay Nambi [Tue, 15 Nov 2011 19:19:30 +0000 (11:19 -0800)]
Add WRITE_SMS_TO_SIM and UNSOL_SUPP_SVC_NOTIFICATION

Add WRITE_SMS_TO_SIM and UNSOL_SUPP_SVC_NOTIFICATION in
requestToString method.

Change-Id: I323f276d4048b168b27669a0aebb58cd9decf9bd

8 years agoMerge "Improve RIL versioning." into mm-wireless-dev
Sanket Padawe [Wed, 13 Jan 2016 22:36:09 +0000 (22:36 +0000)]
Merge "Improve RIL versioning." into mm-wireless-dev

8 years agoAdd RIL_REQUEST_LAST_CALL_FAIL_CAUSE to ril
Sooraj Sasindran [Fri, 12 Sep 2014 09:00:03 +0000 (17:00 +0800)]
Add RIL_REQUEST_LAST_CALL_FAIL_CAUSE to ril

Add needed RIL_REQUEST_LAST_CALL_FAIL_CAUSE to ril.h

Change-Id: I479c838bfe96a6d9b80dd4b1a0cbc1debc7a9a2f
BUG=26014382

8 years agoImprove RIL versioning.
Sanket Padawe [Mon, 11 Jan 2016 20:45:43 +0000 (12:45 -0800)]
Improve RIL versioning.

+ Added documentation for new RIL versioning format.
+ Changes associated to new RIl versioning format.

Bug: 25779475
Change-Id: I4e53c6125995064b8ac0cdfc9376ef2cefe69ec8

8 years agoAdd more error codes for RIL_DataCallFailCause
Sanket Padawe [Thu, 7 Jan 2016 22:41:17 +0000 (14:41 -0800)]
Add more error codes for RIL_DataCallFailCause

Bug: 26014382
Change-Id: Iaf3436ea94ebd0aba5fba07037e0ba37287d6444

8 years agoMerge "Use GID "wakelock" to control access to kernel wakelock"
Pavlin Radoslavov [Tue, 29 Dec 2015 01:30:40 +0000 (01:30 +0000)]
Merge "Use GID "wakelock" to control access to kernel wakelock"
am: dfec0a1638

* commit 'dfec0a163814719f38f74a1b71a9d06a22772fd6':
  Use GID "wakelock" to control access to kernel wakelock

8 years agoMerge "Use GID "wakelock" to control access to kernel wakelock"
Pavlin Radoslavov [Tue, 29 Dec 2015 01:24:15 +0000 (01:24 +0000)]
Merge "Use GID "wakelock" to control access to kernel wakelock"

8 years agoUse GID "wakelock" to control access to kernel wakelock
Pavlin Radoslavov [Tue, 24 Nov 2015 03:19:32 +0000 (19:19 -0800)]
Use GID "wakelock" to control access to kernel wakelock

Bug: 25864142
Change-Id: I9c68defed9a47ddb33f70e73e29edcfa713da056

8 years agoUse GID "wakelock" to control access to kernel wakelock
Pavlin Radoslavov [Tue, 24 Nov 2015 03:19:32 +0000 (19:19 -0800)]
Use GID "wakelock" to control access to kernel wakelock

Bug: 25864142
Change-Id: I9c68defed9a47ddb33f70e73e29edcfa713da056

8 years agoMerge "Properly export ril_ex.h"
Colin Cross [Thu, 17 Dec 2015 07:47:36 +0000 (07:47 +0000)]
Merge "Properly export ril_ex.h"
am: 70551f2595

* commit '70551f25952e429666fe2323b0844a51e9ddb091':
  Properly export ril_ex.h

8 years agoMerge "Properly export ril_ex.h"
Colin Cross [Wed, 16 Dec 2015 23:04:21 +0000 (23:04 +0000)]
Merge "Properly export ril_ex.h"

8 years agoProperly export ril_ex.h
Colin Cross [Wed, 16 Dec 2015 22:15:42 +0000 (14:15 -0800)]
Properly export ril_ex.h

Copying headers makes fixing compile errors hard, and breaks dependency
restrictions.  Move ril_ex.h to an exported include directory instead of
copying it.

Bug: 18903857
Change-Id: I4b59a01e442db0d3198def69a5a5ff17b2a41c66

8 years agoFix heap-use-after-free in reference-ril.c found by AddressSaniziter.
Ivan Krasin [Thu, 3 Dec 2015 23:50:10 +0000 (15:50 -0800)]
Fix heap-use-after-free in reference-ril.c found by AddressSaniziter.

BUG=26012424

Change-Id: Ic73f73cd1e2aeadf2d17e039e317b75b69d123c3

8 years agoFix build error with RILC_LOG on
Hyejin [Mon, 14 Sep 2015 23:27:28 +0000 (16:27 -0700)]
Fix build error with RILC_LOG on

Change-Id: Ib724e6db3c7fb4e46e7d62706cf53cc944faf797

8 years agoMerge "rild: add to readproc group"
Nick Kralevich [Thu, 19 Nov 2015 03:23:54 +0000 (03:23 +0000)]
Merge "rild: add to readproc group"
am: 639eff882c

* commit '639eff882cad5b5a194a6d65da2bbe7723bba26e':
  rild: add to readproc group

8 years agorild: add to readproc group
Nick Kralevich [Wed, 18 Nov 2015 01:19:24 +0000 (17:19 -0800)]
rild: add to readproc group

At least on shamu, rild scans through /proc looking for the
netmgr process. Make sure rild is in the appropriate group to
examine /proc entries.

Bug: 25608126
Bug: 23310674
Change-Id: I9d0aecf91bcec326a51c08bd3f08b27d81bb81d6

8 years agoMerge "rild: add to readproc group"
Nick Kralevich [Wed, 18 Nov 2015 01:46:29 +0000 (01:46 +0000)]
Merge "rild: add to readproc group"

8 years agorild: add to readproc group
Nick Kralevich [Wed, 18 Nov 2015 01:19:24 +0000 (17:19 -0800)]
rild: add to readproc group

At least on shamu, rild scans through /proc looking for the
netmgr process. Make sure rild is in the appropriate group to
examine /proc entries.

Bug: 25608126
Bug: 23310674
Change-Id: I9d0aecf91bcec326a51c08bd3f08b27d81bb81d6

8 years agoFix for rild crash becasue of buffer overflow
Ajay Nambi [Wed, 5 Aug 2015 09:23:50 +0000 (14:53 +0530)]
Fix for rild crash becasue of buffer overflow

There is a buffer overflow which causing rild crash. For
appendPrintBuf, "sprintf" is replaced with "snprintf" for
the safe copy operation.

Bug:23289936
Change-Id: I25430a5c6f2a8b19a3271235323499b6ee802746

8 years agoam 8007c7fb: am c06e3c6d: am 7436ac31: Merge "libril: fix a syntax error"
Robert Greenwalt [Fri, 2 Oct 2015 22:12:02 +0000 (22:12 +0000)]
am 8007c7fb: am c06e3c6d: am 7436ac31: Merge "libril: fix a syntax error"

* commit '8007c7fb5e76a2374563bc2a6cc97c21fa757697':
  libril: fix a syntax error

8 years agoam c06e3c6d: am 7436ac31: Merge "libril: fix a syntax error"
Robert Greenwalt [Fri, 2 Oct 2015 22:07:04 +0000 (22:07 +0000)]
am c06e3c6d: am 7436ac31: Merge "libril: fix a syntax error"

* commit 'c06e3c6d08d90e585c75f91ccf2a5d135b26f784':
  libril: fix a syntax error

8 years agoam 7436ac31: Merge "libril: fix a syntax error"
Robert Greenwalt [Fri, 2 Oct 2015 21:59:37 +0000 (21:59 +0000)]
am 7436ac31: Merge "libril: fix a syntax error"

* commit '7436ac31914fcf010d039c725d8810a04e5d6440':
  libril: fix a syntax error

8 years agoMerge "libril: fix a syntax error"
Robert Greenwalt [Fri, 2 Oct 2015 21:55:34 +0000 (21:55 +0000)]
Merge "libril: fix a syntax error"

8 years agolibril: fix a syntax error
Chih-Wei Huang [Fri, 2 Oct 2015 07:09:52 +0000 (15:09 +0800)]
libril: fix a syntax error

The trivial error was hidden since RILC_LOG is disabled.

Change-Id: Ie25fecedb2e8f27da7f19d35ccc4dd1f250cfd9c
Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
8 years agoam 1d31c54f: am 3cf0775d: resolved conflicts for ba95966e to stage-aosp-master
Dan Willemsen [Mon, 28 Sep 2015 21:58:30 +0000 (21:58 +0000)]
am 1d31c54f: am 3cf0775d: resolved conflicts for ba95966e to stage-aosp-master

* commit '1d31c54fb254ec94e9f33e9517d69340ffda564d':
  Prepare to remove ril from global include paths

8 years agoam 3cf0775d: resolved conflicts for ba95966e to stage-aosp-master
Dan Willemsen [Mon, 28 Sep 2015 21:51:02 +0000 (21:51 +0000)]
am 3cf0775d: resolved conflicts for ba95966e to stage-aosp-master

* commit '3cf0775dd1233eb52f3ff21ddff0a5e5e6631d66':
  Prepare to remove ril from global include paths

8 years agoresolved conflicts for ba95966e to stage-aosp-master
Dan Willemsen [Mon, 28 Sep 2015 21:33:14 +0000 (14:33 -0700)]
resolved conflicts for ba95966e to stage-aosp-master

Change-Id: Id468b025222853e5a421300b6e669de999bf737e

8 years agoMerge "Prepare to remove ril from global include paths"
Dan Willemsen [Mon, 28 Sep 2015 21:23:11 +0000 (21:23 +0000)]
Merge "Prepare to remove ril from global include paths"

8 years agoPrepare to remove ril from global include paths
Dan Willemsen [Thu, 24 Sep 2015 23:18:04 +0000 (16:18 -0700)]
Prepare to remove ril from global include paths

Bug: 18903857
Change-Id: I3051dd5d3947dda346406841853eac8213a3eb55

8 years agoam e75f0d55: am d33397be: Fix memory leaks and use of uninitialized pointers.
Pavel Zhamaitsiak [Fri, 28 Aug 2015 22:57:51 +0000 (22:57 +0000)]
am e75f0d55: am d33397be: Fix memory leaks and use of uninitialized pointers.

* commit 'e75f0d55fb5ef52ef1bcfbada934a61534572c60':
  Fix memory leaks and use of uninitialized pointers.

8 years agoam d33397be: Fix memory leaks and use of uninitialized pointers.
Pavel Zhamaitsiak [Fri, 28 Aug 2015 22:46:05 +0000 (22:46 +0000)]
am d33397be: Fix memory leaks and use of uninitialized pointers.

* commit 'd33397bed7bab16991d2a9d83d84d157b1e02b29':
  Fix memory leaks and use of uninitialized pointers.

8 years agoam 8f121fac: am 536a38fe: (-s ours) update bundled rc files to their contents from...
Tom Cherry [Thu, 27 Aug 2015 14:43:19 +0000 (14:43 +0000)]
am 8f121fac: am 536a38fe: (-s ours) update bundled rc files to their contents from rootdir/init.rc

* commit '8f121fac895bcc6a118249d4ce74999d16210deb':
  update bundled rc files to their contents from rootdir/init.rc

8 years agoam 2fb660fe: am 6f230a10: (-s ours) am 45da9118: Merge "bundle init.rc contents with...
Tom Cherry [Thu, 27 Aug 2015 14:43:18 +0000 (14:43 +0000)]
am 2fb660fe: am 6f230a10: (-s ours) am 45da9118: Merge "bundle init.rc contents with its service"

* commit '2fb660fe7da5bf8c26a93ffbf6c8c9cf328503c4':

8 years agoam d835f68a: am e5faca1d: (-s ours) am bdb15a2a: Merge "Use _WIN32 rather than HAVE_W...
Elliott Hughes [Thu, 27 Aug 2015 14:43:18 +0000 (14:43 +0000)]
am d835f68a: am e5faca1d: (-s ours) am bdb15a2a: Merge "Use _WIN32 rather than HAVE_WINSOCK in librilutils."

* commit 'd835f68a18653a4b14619f81d186e708ff1fec5e':

8 years agoam 536a38fe: (-s ours) update bundled rc files to their contents from rootdir/init.rc
Tom Cherry [Thu, 27 Aug 2015 12:07:50 +0000 (12:07 +0000)]
am 536a38fe: (-s ours) update bundled rc files to their contents from rootdir/init.rc

* commit '536a38fe3317047e9b51813a04ae3a74c3df5d60':
  update bundled rc files to their contents from rootdir/init.rc