OSDN Git Service

android-x86/hardware-ril.git
9 years agoMerge "Ril: Fix missing includes"
Andreas Gampe [Mon, 6 Apr 2015 19:47:54 +0000 (19:47 +0000)]
Merge "Ril: Fix missing includes"

9 years agoRil: Fix missing includes
Andreas Gampe [Mon, 6 Apr 2015 19:20:24 +0000 (12:20 -0700)]
Ril: Fix missing includes

umask requires sys/stat.h and sys/types.h.

Change-Id: Idc44976675c0f178bc860773e0bc1b65b392adcc

9 years agoam 4f481a54: Merge "Fix missing extern."
Elliott Hughes [Fri, 20 Feb 2015 19:04:57 +0000 (19:04 +0000)]
am 4f481a54: Merge "Fix missing extern."

* commit '4f481a5442c8269440dfbe99459b554e64071259':
  Fix missing extern.

9 years agoMerge "Fix missing extern."
Elliott Hughes [Fri, 20 Feb 2015 19:00:58 +0000 (19:00 +0000)]
Merge "Fix missing extern."

9 years agoFix missing extern.
Elliott Hughes [Fri, 20 Feb 2015 18:52:14 +0000 (10:52 -0800)]
Fix missing extern.

Change-Id: Iaf7c85b49350e0716d40edb36129714ca47fdb11

9 years agoam cb6cd1fb: Merge "ril.cpp: fix misuse of strncat"
Nick Kralevich [Tue, 10 Feb 2015 16:54:01 +0000 (16:54 +0000)]
am cb6cd1fb: Merge "ril.cpp: fix misuse of strncat"

* commit 'cb6cd1fba71fc8f12907b3c66cc7f5fa4de99589':
  ril.cpp: fix misuse of strncat

9 years agoMerge "ril.cpp: fix misuse of strncat"
Nick Kralevich [Tue, 10 Feb 2015 02:39:34 +0000 (02:39 +0000)]
Merge "ril.cpp: fix misuse of strncat"

9 years agoril.cpp: fix misuse of strncat
Nick Kralevich [Sun, 8 Feb 2015 15:54:16 +0000 (07:54 -0800)]
ril.cpp: fix misuse of strncat

strncat(dest,src,size) appends size+1 bytes to the end of
dest, so sizeof(dest) must be greater than
strlen(dest) + size + 1. Passing the buffer size to strncat
instead of sizeof(dest) - strlen(dest) - 1 is a common
strncat bug. Use strlcat instead, as it has more intuitive
behavior and ensures the buffer is properly null terminated.

Addresses the following compiler warning:

  In file included from system/core/include/cutils/sockets.h:22:0,
                   from hardware/ril/libril/ril.cpp:24:
  In function 'char* strncat(char*, const char*, size_t)',
      inlined from 'void android::RIL_register(const RIL_RadioFunctions*)' at hardware/ril/libril/ril.cpp:4258:62:
  bionic/libc/include/string.h:199:61: warning: call to char* __builtin___strncat_chk(char*, const char*, unsigned int, unsigned int) might overflow destination buffer
       return __builtin___strncat_chk(dest, src, n, __bos(dest));
                                                             ^

(line numbers are from internal master and do not match AOSP)

Even with this change, this code feels weird.
MAX_DEBUG_SOCKET_NAME_LENGTH is 12, and rildebug is initialized to be
SOCKET_NAME_RIL_DEBUG ("rild-debug"), which is 11 bytes including null
terminator. The strlcat call here can append a maximum of 1 byte before
the buffer is full. I don't know if this is intended or not.

Change-Id: I49801ad1ea3aa6173bbc9fd7cf00f3d308693253

9 years agoam d8dcd06e: Merge "Removal of dead code and adding log messages to make it easier...
Nick Kralevich [Sun, 8 Feb 2015 15:45:25 +0000 (15:45 +0000)]
am d8dcd06e: Merge "Removal of dead code and adding log messages to make it easier for debugging"

* commit 'd8dcd06e4703dae1927020cbcbafd85226492946':
  Removal of dead code and adding log messages to make it easier for debugging

9 years agoMerge "Removal of dead code and adding log messages to make it easier for debugging"
Nick Kralevich [Sun, 8 Feb 2015 15:32:53 +0000 (15:32 +0000)]
Merge "Removal of dead code and adding log messages to make it easier for debugging"

9 years agoRemoval of dead code and adding log messages to make it easier
Nanik Tolaram [Tue, 3 Feb 2015 01:50:04 +0000 (12:50 +1100)]
Removal of dead code and adding log messages to make it easier
for debugging

- Add more logging using ALOGD(..) for function dispatchSmsWrite,
dispatchDial, dispatchSIM_IO, dispatchSIM_APDU, dispatchCallForward,
dispatchRaw and dispatchCdmaSmsAck. To make it easier for debugging.

- Remove commented log message inside wakeTimeoutCallback () function
and remove the else clause as it's dead not used for anything.

- Modify log message inside removeFromList and removeWatch using +
and - to make it consistent with the other log message.

Change-Id: Ife0212e6a4724d8b06a1dd767484bfdf98b8e1a6
Signed-off-by: Nanik Tolaram <nanikjava@gmail.com>
9 years agoam 7c306fd5: Merge "rild: enable tombstone on RIL crash"
Nick Kralevich [Fri, 23 Jan 2015 22:18:11 +0000 (22:18 +0000)]
am 7c306fd5: Merge "rild: enable tombstone on RIL crash"

* commit '7c306fd58062476e53d3f424b4b7a5797069c235':
  rild: enable tombstone on RIL crash

9 years agoMerge "rild: enable tombstone on RIL crash"
Nick Kralevich [Fri, 23 Jan 2015 21:45:46 +0000 (21:45 +0000)]
Merge "rild: enable tombstone on RIL crash"

9 years agorild: enable tombstone on RIL crash
Julien Vuillaumier [Thu, 22 Jan 2015 13:42:58 +0000 (13:42 +0000)]
rild: enable tombstone on RIL crash

Since Android L, process dumpable flag is verified in case of
crash before requesting tombstone capture by debuggerd.
As setuid operation clears dumpable flag for a process, reenable
flag in rild after its switch to UID radio (debuggable build only)

Change-Id: Id86b697e2a1e11744ccc50a3c9ef04faf079ed94

9 years agoam 97f1dafc: Merge "Remove makefile cruft."
Elliott Hughes [Fri, 9 Jan 2015 23:52:04 +0000 (23:52 +0000)]
am 97f1dafc: Merge "Remove makefile cruft."

* commit '97f1dafc0cd3de51127477b8a0650883c0e657e8':
  Remove makefile cruft.

9 years agoam bdfdd776: Merge "We have POSIX clocks."
Elliott Hughes [Fri, 9 Jan 2015 23:46:05 +0000 (23:46 +0000)]
am bdfdd776: Merge "We have POSIX clocks."

* commit 'bdfdd7761d9f79c9e55a40f818781a69b01848ad':
  We have POSIX clocks.

9 years agoMerge "Remove makefile cruft."
Elliott Hughes [Fri, 9 Jan 2015 23:42:52 +0000 (23:42 +0000)]
Merge "Remove makefile cruft."

9 years agoMerge "We have POSIX clocks."
Elliott Hughes [Fri, 9 Jan 2015 23:39:28 +0000 (23:39 +0000)]
Merge "We have POSIX clocks."

9 years agoRemove makefile cruft.
Elliott Hughes [Fri, 9 Jan 2015 23:29:59 +0000 (15:29 -0800)]
Remove makefile cruft.

Change-Id: Iec07669cc80de041379716c8daa33acc58f7283e

9 years agoWe have POSIX clocks.
Elliott Hughes [Fri, 9 Jan 2015 23:27:28 +0000 (15:27 -0800)]
We have POSIX clocks.

We're probably not running the RIL on a Mac.

Change-Id: Ib6be56cd26d67e2b72b559cb364b1e34ab613016

9 years agoam 257ba4e3: Merge "Modify RIL_Data_Call_Response to include MTU" into lmp-mr1-dev
Robert Greenwalt [Tue, 9 Dec 2014 00:18:09 +0000 (00:18 +0000)]
am 257ba4e3: Merge "Modify RIL_Data_Call_Response to include MTU" into lmp-mr1-dev

* commit '257ba4e389b21e0b56510017d60e90753cb074c1':
  Modify RIL_Data_Call_Response to include MTU

9 years agoMerge "Modify RIL_Data_Call_Response to include MTU" into lmp-mr1-dev
Robert Greenwalt [Mon, 8 Dec 2014 23:33:48 +0000 (23:33 +0000)]
Merge "Modify RIL_Data_Call_Response to include MTU" into lmp-mr1-dev

9 years agoModify RIL_Data_Call_Response to include MTU
Sukanya Rajkhowa [Mon, 2 Jun 2014 21:03:44 +0000 (14:03 -0700)]
Modify RIL_Data_Call_Response to include MTU

Include MTU as part of RIL Data Call Response so that the
framework uses the dynamic MTU value provided by network
and updates LinkProperties accordingly.

Upping RIL version to 11.

bug:18391670
Change-Id: I8a85d7f58c99d73278646cdcb2aa466b85ae9a81

9 years agoam 496a71cf: Merge "Revert "Revert "STK Call Control feature implementation.""" into...
Amit Mahajan [Mon, 24 Nov 2014 18:06:20 +0000 (18:06 +0000)]
am 496a71cf: Merge "Revert "Revert "STK Call Control feature implementation.""" into lmp-mr1-dev

* commit '496a71cfd58fb10b621a6e1b3205929908bcd86d':
  Revert "Revert "STK Call Control feature implementation.""

9 years agoMerge "Revert "Revert "STK Call Control feature implementation.""" into lmp-mr1-dev
Amit Mahajan [Sun, 23 Nov 2014 23:17:11 +0000 (23:17 +0000)]
Merge "Revert "Revert "STK Call Control feature implementation.""" into lmp-mr1-dev

9 years agoam 5526d659: Merge "Turn off RILC REQUEST logging" into lmp-mr1-dev
xinhe [Sat, 22 Nov 2014 02:33:36 +0000 (02:33 +0000)]
am 5526d659: Merge "Turn off RILC REQUEST logging" into lmp-mr1-dev

* commit '5526d659ed3fe69d57317044d04438b28286e3b2':
  Turn off RILC REQUEST logging

9 years agoRevert "Revert "STK Call Control feature implementation.""
Amit Mahajan [Sat, 22 Nov 2014 00:54:49 +0000 (00:54 +0000)]
Revert "Revert "STK Call Control feature implementation.""

This reverts commit 6bfaf64c427b4d48a4fb1931eb8b5c0f79ce20f1.

Change-Id: Ib408f7ef0db0e0fd6a6d501d565726733440b156

9 years agoMerge "Turn off RILC REQUEST logging" into lmp-mr1-dev
xinhe [Fri, 21 Nov 2014 23:38:08 +0000 (23:38 +0000)]
Merge "Turn off RILC REQUEST logging" into lmp-mr1-dev

9 years agoTurn off RILC REQUEST logging
xinhe [Fri, 21 Nov 2014 19:16:40 +0000 (11:16 -0800)]
Turn off RILC REQUEST logging

remove the log

Bug:18481571
Change-Id: I8cc27ab3528904113fc4678f2f6c96f702c55ce2

9 years agoam 6bfaf64c: Revert "STK Call Control feature implementation."
Amit Mahajan [Wed, 19 Nov 2014 02:26:56 +0000 (02:26 +0000)]
am 6bfaf64c: Revert "STK Call Control feature implementation."

* commit '6bfaf64c427b4d48a4fb1931eb8b5c0f79ce20f1':
  Revert "STK Call Control feature implementation."

9 years agoRevert "STK Call Control feature implementation."
Amit Mahajan [Wed, 19 Nov 2014 00:06:53 +0000 (00:06 +0000)]
Revert "STK Call Control feature implementation."

This reverts commit 61bedcf4f339fb2eecb2e50bbd5637d0b70a9004.

Change-Id: I257968ecc3c5e18f3b9cd6371e76846676c82447

9 years agoam 61bedcf4: STK Call Control feature implementation.
Preeti Ahuja [Tue, 18 Nov 2014 21:56:16 +0000 (21:56 +0000)]
am 61bedcf4: STK Call Control feature implementation.

* commit '61bedcf4f339fb2eecb2e50bbd5637d0b70a9004':
  STK Call Control feature implementation.

9 years agoam f34ed01f: Merge "Make the implementations of RIL_onUnsolicitedResponse match the...
Chih-hung Hsieh [Tue, 18 Nov 2014 00:41:06 +0000 (00:41 +0000)]
am f34ed01f: Merge "Make the implementations of RIL_onUnsolicitedResponse match the prototypes"

* commit 'f34ed01f1e1935c67e153916ea27dddae4d067dc':
  Make the implementations of RIL_onUnsolicitedResponse match the prototypes

9 years agoMerge "Make the implementations of RIL_onUnsolicitedResponse match the prototypes"
Chih-hung Hsieh [Tue, 18 Nov 2014 00:30:41 +0000 (00:30 +0000)]
Merge "Make the implementations of RIL_onUnsolicitedResponse match the prototypes"

9 years agoMake the implementations of RIL_onUnsolicitedResponse match the prototypes
Bernhard Rosenkränzer [Mon, 17 Nov 2014 19:52:09 +0000 (20:52 +0100)]
Make the implementations of RIL_onUnsolicitedResponse match the prototypes

Prototypes expect the data as a const void*, whereas the implementation
takes a void*.

This causes the build to break with clang and may also have other
unexpected side effects. (I'd expect to see unresolvable references in
some gcc builds.)

Change-Id: Ic34787da20abd2821730a18e49c0a435a82c2613
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
9 years agoSTK Call Control feature implementation.
Preeti Ahuja [Tue, 15 Nov 2011 20:52:06 +0000 (12:52 -0800)]
STK Call Control feature implementation.

Add support for unsols for Stk Call Control
feature.

Bug: 17646476
Change-Id: I65e8e65e514f00e171086496d86b0c825d3d3d3e

9 years agoam 8caf06fd: [DS] Radio Capability Support. New design of capability switch for L.
Legler Wu [Fri, 31 Oct 2014 00:16:40 +0000 (00:16 +0000)]
am 8caf06fd: [DS] Radio Capability Support. New design of capability switch for L.

* commit '8caf06fd90e877e6c0a4cc1e63bb5b5222704abe':
  [DS] Radio Capability Support. New design of capability switch for L.

9 years ago[DS] Radio Capability Support. New design of capability switch for L.
Legler Wu [Wed, 29 Oct 2014 06:02:14 +0000 (14:02 +0800)]
[DS] Radio Capability Support. New design of capability switch for L.

Modify for changing ModemID from int to string.

Change-Id: Ic5ac096c6335658c5557dd94d659f910f42c8ffb

9 years agoam 60dbcee8: am 760123fc: Fixing the comment for RIL_REQUEST_SIM_OPEN_CHANNEL.
Shishir Agrawal [Mon, 27 Oct 2014 04:21:14 +0000 (04:21 +0000)]
am 60dbcee8: am 760123fc: Fixing the comment for RIL_REQUEST_SIM_OPEN_CHANNEL.

* commit '60dbcee88f599e4ca48d7a4ef4d3ce940f0826cd':

9 years agoam 0efd5b9c: am 33bbe435: Reference-ril: Send sms using RIL_REQUEST_SEND_SMS_EXPECT_MORE
Chaitanya Saggurthi [Mon, 27 Oct 2014 04:21:13 +0000 (04:21 +0000)]
am 0efd5b9c: am 33bbe435: Reference-ril: Send sms using RIL_REQUEST_SEND_SMS_EXPECT_MORE

* commit '0efd5b9c0672d12054e37d7a28520ffc5d6f9808':

9 years agoam b5c0bcbb: am 11e8b232: Control radio restart on PDP_FAIL_REGULAR_DEACTIVATION...
Hui Wang [Mon, 27 Oct 2014 04:21:13 +0000 (04:21 +0000)]
am b5c0bcbb: am 11e8b232: Control radio restart on PDP_FAIL_REGULAR_DEACTIVATION by a config variable

* commit 'b5c0bcbb5e464db8f8b812a58d696a15ff9c8b65':

9 years agoam f191bb2e: Merge "Update the profile id and the comments to handle RIL_REQUEST_SET_...
Amit Mahajan [Mon, 20 Oct 2014 22:24:10 +0000 (22:24 +0000)]
am f191bb2e: Merge "Update the profile id and the comments to handle RIL_REQUEST_SET_DATA_PROFILE" into lmp-mr1-dev

* commit 'f191bb2ef67b882daa31251e3c6511c818e50cf5':
  Update the profile id and the comments to handle RIL_REQUEST_SET_DATA_PROFILE

9 years agoMerge "Update the profile id and the comments to handle RIL_REQUEST_SET_DATA_PROFILE...
Amit Mahajan [Mon, 20 Oct 2014 22:17:40 +0000 (22:17 +0000)]
Merge "Update the profile id and the comments to handle RIL_REQUEST_SET_DATA_PROFILE" into lmp-mr1-dev

9 years agoam 8b4e4f7e: Radio Capability Support.
Wink Saville [Mon, 20 Oct 2014 21:34:31 +0000 (21:34 +0000)]
am 8b4e4f7e: Radio Capability Support.

* commit '8b4e4f7e5ddcb8b7450bcded4d0395f02b340bbe':
  Radio Capability Support.

9 years agoUpdate the profile id and the comments to handle RIL_REQUEST_SET_DATA_PROFILE
Hui Wang [Thu, 16 Oct 2014 19:59:27 +0000 (14:59 -0500)]
Update the profile id and the comments to handle RIL_REQUEST_SET_DATA_PROFILE

Change-Id: I6a5651d2b9dc3682996b2a919d5c1c8201e5660b

9 years agoRadio Capability Support.
Wink Saville [Fri, 17 Oct 2014 22:01:45 +0000 (15:01 -0700)]
Radio Capability Support.

New design of capability switch for L.
Add new RIL requests:
     RIL_REQUEST_GET_RADIO_CAPABILITY
     RIL_REQUEST_SET_RADIO_CAPABILITY
     RIL_UNSOL_RADIO_CAPABILITY

These commands allow the framework to communicate what the Radio
Capabilities for each logical modem has or should be using.

It can support 2/3/4G switch and has flexible architecture to support
future technology.

Change-Id: Iedf7f608d2ba3c06a883500f2d85abb98e69d9c1

9 years agoam 760123fc: Fixing the comment for RIL_REQUEST_SIM_OPEN_CHANNEL.
Shishir Agrawal [Wed, 15 Oct 2014 02:08:38 +0000 (02:08 +0000)]
am 760123fc: Fixing the comment for RIL_REQUEST_SIM_OPEN_CHANNEL.

* commit '760123fc26b00aacf7a9e75eb681e7b9ce4e6560':
  Fixing the comment for RIL_REQUEST_SIM_OPEN_CHANNEL.

9 years agoam 760123fc: Fixing the comment for RIL_REQUEST_SIM_OPEN_CHANNEL.
Shishir Agrawal [Tue, 14 Oct 2014 21:57:55 +0000 (21:57 +0000)]
am 760123fc: Fixing the comment for RIL_REQUEST_SIM_OPEN_CHANNEL.

* commit '760123fc26b00aacf7a9e75eb681e7b9ce4e6560':
  Fixing the comment for RIL_REQUEST_SIM_OPEN_CHANNEL.

9 years agoFixing the comment for RIL_REQUEST_SIM_OPEN_CHANNEL.
Shishir Agrawal [Tue, 14 Oct 2014 16:14:57 +0000 (09:14 -0700)]
Fixing the comment for RIL_REQUEST_SIM_OPEN_CHANNEL.

The comment was not fixed when we extended the command to optionally include
the select response.

Bug: 17983857
Change-Id: I6245a7c8de1d35bb421ad06c5fefa9619aac1167

9 years agoam 33bbe435: Reference-ril: Send sms using RIL_REQUEST_SEND_SMS_EXPECT_MORE
Chaitanya Saggurthi [Thu, 2 Oct 2014 19:44:16 +0000 (19:44 +0000)]
am 33bbe435: Reference-ril: Send sms using RIL_REQUEST_SEND_SMS_EXPECT_MORE

* commit '33bbe435b41e4eead73b775346ecb0e5e8b6c8a9':
  Reference-ril: Send sms using RIL_REQUEST_SEND_SMS_EXPECT_MORE

9 years agoam 33bbe435: Reference-ril: Send sms using RIL_REQUEST_SEND_SMS_EXPECT_MORE
Chaitanya Saggurthi [Thu, 2 Oct 2014 18:14:02 +0000 (18:14 +0000)]
am 33bbe435: Reference-ril: Send sms using RIL_REQUEST_SEND_SMS_EXPECT_MORE

* commit '33bbe435b41e4eead73b775346ecb0e5e8b6c8a9':
  Reference-ril: Send sms using RIL_REQUEST_SEND_SMS_EXPECT_MORE

9 years agoReference-ril: Send sms using RIL_REQUEST_SEND_SMS_EXPECT_MORE
Chaitanya Saggurthi [Tue, 24 Sep 2013 10:46:21 +0000 (16:16 +0530)]
Reference-ril: Send sms using RIL_REQUEST_SEND_SMS_EXPECT_MORE

Add support for RIL_REQUEST_SEND_SMS_EXPECT_MORE in reference-ril

Bug: 17570854
Change-Id: Ie8f42ea6fdf69ac73a02708de8f274d9ac38fbca

9 years agoam 11e8b232: Control radio restart on PDP_FAIL_REGULAR_DEACTIVATION by a config variable
Hui Wang [Fri, 19 Sep 2014 23:52:06 +0000 (23:52 +0000)]
am 11e8b232: Control radio restart on PDP_FAIL_REGULAR_DEACTIVATION by a config variable

* commit '11e8b23202a67ea1f82e5db6a113087c54be480b':
  Control radio restart on PDP_FAIL_REGULAR_DEACTIVATION by a config variable

9 years agoam 11e8b232: Control radio restart on PDP_FAIL_REGULAR_DEACTIVATION by a config variable
Hui Wang [Fri, 19 Sep 2014 23:36:57 +0000 (23:36 +0000)]
am 11e8b232: Control radio restart on PDP_FAIL_REGULAR_DEACTIVATION by a config variable

* commit '11e8b23202a67ea1f82e5db6a113087c54be480b':
  Control radio restart on PDP_FAIL_REGULAR_DEACTIVATION by a config variable

9 years agoControl radio restart on PDP_FAIL_REGULAR_DEACTIVATION by a config variable
Hui Wang [Fri, 19 Sep 2014 21:40:17 +0000 (16:40 -0500)]
Control radio restart on PDP_FAIL_REGULAR_DEACTIVATION by a config variable

Bug: 1756765116308209
Change-Id: Ie5d8f5fc1227950634a746e7d3f911b5a8c5d96e

9 years agoam a65a16a2: Add RIL_REQUEST_SHUTDOWN to notify RIL that device is shutting down
Naveen Kalla [Thu, 21 Aug 2014 15:27:39 +0000 (15:27 +0000)]
am a65a16a2: Add RIL_REQUEST_SHUTDOWN to notify RIL that device is shutting down

* commit 'a65a16a2e81b11762fd9e4233e1a212effcfee82':
  Add RIL_REQUEST_SHUTDOWN to notify RIL that device is shutting down

9 years agoAdd RIL_REQUEST_SHUTDOWN to notify RIL that device is shutting down
Naveen Kalla [Thu, 31 Jul 2014 23:48:31 +0000 (16:48 -0700)]
Add RIL_REQUEST_SHUTDOWN to notify RIL that device is shutting down

When device is in airplane mode, SIM card and modem may be powered on.
RIL can use RIL_REQUEST_SHUTDOWN to shutdown the modem and SIM card
gracefully.

Bug: 9773278
Change-Id: I6afa9e810cefc7855f7ae42e51f39cc51fa2aa6e

9 years agoresolved conflicts for merge of 6e5a42e6 to lmp-dev-plus-aosp
Vince Harron [Fri, 15 Aug 2014 05:59:12 +0000 (22:59 -0700)]
resolved conflicts for merge of 6e5a42e6 to lmp-dev-plus-aosp

Change-Id: I118c05111ded541c8b4cf3c5533c5a3de3b89322

9 years agoam c796e22c: Revert "Revert "add apn setting parameters, and set apn parameters to...
Amit Mahajan [Fri, 15 Aug 2014 03:57:40 +0000 (03:57 +0000)]
am c796e22c: Revert "Revert "add apn setting parameters, and set apn parameters to bp""

* commit 'c796e22cf8402452b325ffbf9686a4c985a611e3':
  Revert "Revert "add apn setting parameters, and set apn parameters to bp""

9 years agoRevert "Revert "add apn setting parameters, and set apn parameters to bp""
Amit Mahajan [Wed, 13 Aug 2014 16:54:01 +0000 (16:54 +0000)]
Revert "Revert "add apn setting parameters, and set apn parameters to bp""

This reverts commit 87540b6318016540030421a5c2bc41b759bf33cd.

Change-Id: I7f6043ad55299ecc01cbcadc81c281b133755b86

9 years agoMerge "Allow dlopen to find libreference-ril.so on 64 bit platform" into lmp-dev
Vince Harron [Thu, 14 Aug 2014 17:52:54 +0000 (17:52 +0000)]
Merge "Allow dlopen to find libreference-ril.so on 64 bit platform" into lmp-dev

9 years agoAllow dlopen to find libreference-ril.so on 64 bit platform
Vince Harron [Thu, 14 Aug 2014 06:12:37 +0000 (23:12 -0700)]
Allow dlopen to find libreference-ril.so on 64 bit platform

libreference-ril.so is located in /system/lib64 on 64 bit targets.
The incorrect path caused the ril-daemon to crash, which also blocked
the network on emulator image.

Bug: 16321274
Change-Id: I53a455f51a96de28c8dd0b9e1ffe5b7475b2baf1

9 years agoam 87540b63: Revert "add apn setting parameters, and set apn parameters to bp"
Amit Mahajan [Tue, 12 Aug 2014 05:35:35 +0000 (05:35 +0000)]
am 87540b63: Revert "add apn setting parameters, and set apn parameters to bp"

* commit '87540b6318016540030421a5c2bc41b759bf33cd':
  Revert "add apn setting parameters, and set apn parameters to bp"

9 years agoRevert "add apn setting parameters, and set apn parameters to bp"
Amit Mahajan [Tue, 12 Aug 2014 05:14:07 +0000 (05:14 +0000)]
Revert "add apn setting parameters, and set apn parameters to bp"

This reverts commit 6be060de61b99ed29ad67ebfa19271bbe0a475fe.

Change-Id: Idc7d6cfc97ca6fadd93d85e96b12cb46e33f35c6

9 years agoam 6be060de: add apn setting parameters, and set apn parameters to bp
Hui Wang [Tue, 12 Aug 2014 02:19:06 +0000 (02:19 +0000)]
am 6be060de: add apn setting parameters, and set apn parameters to bp

* commit '6be060de61b99ed29ad67ebfa19271bbe0a475fe':
  add apn setting parameters, and set apn parameters to bp

9 years agoadd apn setting parameters, and set apn parameters to bp
Hui Wang [Sat, 9 Aug 2014 14:42:42 +0000 (09:42 -0500)]
add apn setting parameters, and set apn parameters to bp

Change-Id: I779b28996fafcacdefb63072b7dcc6bd90a532be

9 years agoam 858ab4ee: Merge "Fix comment for RIL_SIM_IO_Response in ril.h" into lmp-dev
Amit Mahajan [Wed, 6 Aug 2014 17:12:45 +0000 (17:12 +0000)]
am 858ab4ee: Merge "Fix comment for RIL_SIM_IO_Response in ril.h" into lmp-dev

* commit '858ab4ee350262e4097c9e8c4ced5808bae71f4d':
  Fix comment for RIL_SIM_IO_Response in ril.h

9 years agoMerge "Fix comment for RIL_SIM_IO_Response in ril.h" into lmp-dev
Amit Mahajan [Wed, 6 Aug 2014 17:04:55 +0000 (17:04 +0000)]
Merge "Fix comment for RIL_SIM_IO_Response in ril.h" into lmp-dev

9 years agoFix comment for RIL_SIM_IO_Response in ril.h
Amit Mahajan [Wed, 6 Aug 2014 17:03:15 +0000 (10:03 -0700)]
Fix comment for RIL_SIM_IO_Response in ril.h

Change-Id: Id4ebf5f40dda3e3751146b97cefd42cd15d43e75

9 years agoam 6c607594: Fix crash by checking for NULL token at the beginning of RIL_onRequestCo...
Jayachandran C [Mon, 4 Aug 2014 23:41:07 +0000 (23:41 +0000)]
am 6c607594: Fix crash by checking for NULL token at the beginning of RIL_onRequestComplete

* commit '6c6075946589d61d3bc051dd1986d0bbf0c88da7':
  Fix crash by checking for NULL token at the beginning of RIL_onRequestComplete

9 years agoFix crash by checking for NULL token at the beginning of RIL_onRequestComplete
Jayachandran C [Mon, 4 Aug 2014 22:48:01 +0000 (15:48 -0700)]
Fix crash by checking for NULL token at the beginning of RIL_onRequestComplete

 - RILD crashes when token is NULL because no NULL check at the beginning

9 years agoam 52500160: Change to parse DATA_CALL_LIST correctly based on version.
Amit Mahajan [Wed, 30 Jul 2014 22:19:41 +0000 (22:19 +0000)]
am 52500160: Change to parse DATA_CALL_LIST correctly based on version.

* commit '52500160ca3efd2e7e90df27be0eaded16185642':
  Change to parse DATA_CALL_LIST correctly based on version.

9 years agoChange to parse DATA_CALL_LIST correctly based on version.
Amit Mahajan [Wed, 30 Jul 2014 00:36:48 +0000 (17:36 -0700)]
Change to parse DATA_CALL_LIST correctly based on version.

Bug: 16242255
Change-Id: I9c6dfb41f074da9558f721ca0432f40edc2d4d22

9 years agoam eb2a9345: Merge "Link to the corresponding libril-reference.so on 64 bit platform"
Elliott Hughes [Wed, 23 Jul 2014 02:39:01 +0000 (02:39 +0000)]
am eb2a9345: Merge "Link to the corresponding libril-reference.so on 64 bit platform"

* commit 'eb2a93458204a928edfe36f043ddb48cf5575143':
  Link to the corresponding libril-reference.so on 64 bit platform

9 years agoMerge "Link to the corresponding libril-reference.so on 64 bit platform"
Elliott Hughes [Wed, 23 Jul 2014 02:31:12 +0000 (02:31 +0000)]
Merge "Link to the corresponding libril-reference.so on 64 bit platform"

9 years agoLink to the corresponding libril-reference.so on 64 bit platform
Jun Tian [Tue, 22 Jul 2014 01:58:49 +0000 (09:58 +0800)]
Link to the corresponding libril-reference.so on 64 bit platform

The REFERENCE_RIL_PATH should point to the corresponding path.
Linked to 32 bit library on 64 bit platfrom caused the ril-daemon
crashes, which also blocked the network on emulator image.

Change-Id: I3a928178a2f0fe71b9782cb600b88c6da973826a

9 years agoam 5d0cb9ee: Always #include <sys/...>, not <linux/...>.
Elliott Hughes [Sun, 20 Jul 2014 18:02:19 +0000 (18:02 +0000)]
am 5d0cb9ee: Always #include <sys/...>, not <linux/...>.

* commit '5d0cb9ee42b4f192b039dd6b6c58dcb40c830a14':
  Always #include <sys/...>, not <linux/...>.

9 years agoAlways #include <sys/...>, not <linux/...>.
Elliott Hughes [Sat, 19 Jul 2014 00:55:52 +0000 (17:55 -0700)]
Always #include <sys/...>, not <linux/...>.

(cherry picked from commit 817721ac4c3f843e1f1e973ca3140c61701a511a)

Change-Id: Ie8801e15996ebea16bf70a98c73e4e70fb3a3340

9 years agoam 1d6bf5d7: Merge "Always #include <sys/...>, not <linux/...>."
Elliott Hughes [Sat, 19 Jul 2014 01:04:42 +0000 (01:04 +0000)]
am 1d6bf5d7: Merge "Always #include <sys/...>, not <linux/...>."

* commit '1d6bf5d7729fcd476aab218c8eec29adffef3d35':
  Always #include <sys/...>, not <linux/...>.

9 years agoChanges to correctly process EAP-SIM req parameters in ril
Amit Mahajan [Tue, 1 Jul 2014 22:54:08 +0000 (15:54 -0700)]
Changes to correctly process EAP-SIM req parameters in ril

Change-Id: I393c18f878fe3e5efcd81543a9a38a4c353b6e03

9 years agoMerge "Always #include <sys/...>, not <linux/...>."
Elliott Hughes [Sat, 19 Jul 2014 00:56:24 +0000 (00:56 +0000)]
Merge "Always #include <sys/...>, not <linux/...>."

9 years agoAlways #include <sys/...>, not <linux/...>.
Elliott Hughes [Sat, 19 Jul 2014 00:55:52 +0000 (17:55 -0700)]
Always #include <sys/...>, not <linux/...>.

Change-Id: Id6e846ff01bebf65828da78ae673233bcaeb3d40

9 years agoAdd switch case for '-c' in reference-ril
Sandeep Gutta [Wed, 9 Jul 2014 23:30:25 +0000 (05:00 +0530)]
Add switch case for '-c' in reference-ril

Currently reference-ril not handling the '-c' option
that RILD is sending as part of "RIL_Init" arguments and
due to that reference-ril initialisation failing for emulator.

To fix this add switch case statement to handle '-c' option.

Change-Id: Ia2430cb1df91b42d51af7bf820ff42b8ce2b5066

9 years agoAdd support for retrieving real time data connection information.
Wink Saville [Sun, 13 Jul 2014 12:17:28 +0000 (05:17 -0700)]
Add support for retrieving real time data connection information.

To be able to reduce power consumption caused by the mobile radio being
in a high power state, the radio will report its power state in real
time.

Bug: 8233234
Change-Id: Ia4195211c380efc04a65c6f1f6e4d29095a1bc35

9 years agoEAP-SIM RIL command name change.
Amit Mahajan [Thu, 26 Jun 2014 21:20:11 +0000 (14:20 -0700)]
EAP-SIM RIL command name change.

Modified the name to match what was in QCRIL.
Added structures for req/resp in ril.h

Change-Id: I41abfacb7bacd4cfa0d4543100ac9960c97184f9

9 years agoMerge kwd to master
Etan Cohen [Fri, 20 Jun 2014 15:28:44 +0000 (08:28 -0700)]
Merge kwd to master

Change-Id: Id33008507cbafc88288b6483c7691d6db34cc5c3

10 years agomerge in master-release history after reset to 38a3f7de2450fcffd4bd88cc869329f3d17a9996
The Android Automerger [Thu, 22 May 2014 14:22:11 +0000 (07:22 -0700)]
merge in master-release history after reset to 38a3f7de2450fcffd4bd88cc869329f3d17a9996

10 years agomerge in master-release history after reset to 38a3f7de2450fcffd4bd88cc869329f3d17a9996
The Android Automerger [Thu, 22 May 2014 12:50:33 +0000 (05:50 -0700)]
merge in master-release history after reset to 38a3f7de2450fcffd4bd88cc869329f3d17a9996

10 years agomerge in master-release history after reset to 38a3f7de2450fcffd4bd88cc869329f3d17a9996
The Android Automerger [Wed, 21 May 2014 12:50:27 +0000 (05:50 -0700)]
merge in master-release history after reset to 38a3f7de2450fcffd4bd88cc869329f3d17a9996

10 years agomerge in master-release history after reset to 38a3f7de2450fcffd4bd88cc869329f3d17a9996
The Android Automerger [Tue, 20 May 2014 12:50:19 +0000 (05:50 -0700)]
merge in master-release history after reset to 38a3f7de2450fcffd4bd88cc869329f3d17a9996

10 years agomerge in master-release history after reset to 38a3f7de2450fcffd4bd88cc869329f3d17a9996
The Android Automerger [Mon, 19 May 2014 12:49:58 +0000 (05:49 -0700)]
merge in master-release history after reset to 38a3f7de2450fcffd4bd88cc869329f3d17a9996

10 years agomerge in master-release history after reset to 38a3f7de2450fcffd4bd88cc869329f3d17a9996
The Android Automerger [Sun, 18 May 2014 12:49:58 +0000 (05:49 -0700)]
merge in master-release history after reset to 38a3f7de2450fcffd4bd88cc869329f3d17a9996

10 years agomerge in master-release history after reset to 38a3f7de2450fcffd4bd88cc869329f3d17a9996
The Android Automerger [Sat, 17 May 2014 12:51:11 +0000 (05:51 -0700)]
merge in master-release history after reset to 38a3f7de2450fcffd4bd88cc869329f3d17a9996

10 years agomerge in master-release history after reset to 38a3f7de2450fcffd4bd88cc869329f3d17a9996
The Android Automerger [Thu, 15 May 2014 12:50:57 +0000 (05:50 -0700)]
merge in master-release history after reset to 38a3f7de2450fcffd4bd88cc869329f3d17a9996

10 years agomerge in master-release history after reset to 38a3f7de2450fcffd4bd88cc869329f3d17a9996
The Android Automerger [Wed, 14 May 2014 12:50:56 +0000 (05:50 -0700)]
merge in master-release history after reset to 38a3f7de2450fcffd4bd88cc869329f3d17a9996

10 years agomerge in master-release history after reset to 38a3f7de2450fcffd4bd88cc869329f3d17a9996
The Android Automerger [Tue, 13 May 2014 12:50:33 +0000 (05:50 -0700)]
merge in master-release history after reset to 38a3f7de2450fcffd4bd88cc869329f3d17a9996

10 years agomerge in master-release history after reset to 38a3f7de2450fcffd4bd88cc869329f3d17a9996
The Android Automerger [Mon, 12 May 2014 12:49:50 +0000 (05:49 -0700)]
merge in master-release history after reset to 38a3f7de2450fcffd4bd88cc869329f3d17a9996

10 years agomerge in master-release history after reset to 38a3f7de2450fcffd4bd88cc869329f3d17a9996
The Android Automerger [Sun, 11 May 2014 12:49:55 +0000 (05:49 -0700)]
merge in master-release history after reset to 38a3f7de2450fcffd4bd88cc869329f3d17a9996

10 years agomerge in master-release history after reset to 38a3f7de2450fcffd4bd88cc869329f3d17a9996
The Android Automerger [Sat, 10 May 2014 12:50:41 +0000 (05:50 -0700)]
merge in master-release history after reset to 38a3f7de2450fcffd4bd88cc869329f3d17a9996

10 years agoam 16d99d6d: am f3a5fb23: am 8e7ff420: Merge "Remove unused LOCAL_LDLIBS."
Ying Wang [Thu, 8 May 2014 18:24:00 +0000 (18:24 +0000)]
am 16d99d6d: am f3a5fb23: am 8e7ff420: Merge "Remove unused LOCAL_LDLIBS."

* commit '16d99d6d5334b5079732c651eaf1cb434084862f':
  Remove unused LOCAL_LDLIBS.