OSDN Git Service

android-x86/hardware-ril.git
11 years agoMerge "Fix logging for setup_data_call response"
Wink Saville [Wed, 29 Aug 2012 16:30:25 +0000 (09:30 -0700)]
Merge "Fix logging for setup_data_call response"

11 years agoFix logging for setup_data_call response
Naveen Kalla [Wed, 16 Nov 2011 19:12:37 +0000 (11:12 -0800)]
Fix logging for setup_data_call response

Change-Id: I611d96e7653da4f14d73c6d6f9663365dd983628

11 years agoMerge "Fixed goto into scope."
Wink Saville [Sat, 25 Aug 2012 00:47:52 +0000 (17:47 -0700)]
Merge "Fixed goto into scope."

11 years agoFixed goto into scope.
Kevin Schoedel [Fri, 25 May 2012 21:00:17 +0000 (17:00 -0400)]
Fixed goto into scope.

Two functions contained goto statements entering the scope of
automatic variables; added explicit blocks to limit these scopes.

Change-Id: Ib2d46bdc235089e208ac70bdaf405ea9e5b91ab1
Reviewed-by: Ariel J Bernal <ariel.j.bernal@intel.com>
Author: Kevin Schoedel <kevin.p.schoedel@intel.com>

11 years agoMerge "Workaround for LTE RSRP -ve values in Signal"
Wink Saville [Mon, 13 Aug 2012 18:24:30 +0000 (11:24 -0700)]
Merge "Workaround for LTE RSRP -ve values in Signal"

11 years agoWorkaround for LTE RSRP -ve values in Signal
Uma Maheswari Ramalingam [Thu, 9 Aug 2012 18:59:17 +0000 (11:59 -0700)]
Workaround for LTE RSRP -ve values in Signal

Ril version 6 and below sends negative values
for lte rsrp in signalstrength.
Workaround to maintain backward compatibility
and convert this to positive
values in compliance with ril.h

Support for processing all fields in
SignalStrength in reference-ril

Change-Id: I4d480aa2f607cd617b18681f722de246a7894348

11 years agoMerge "Fix the signal strength errors"
Wink Saville [Thu, 26 Jul 2012 19:07:11 +0000 (12:07 -0700)]
Merge "Fix the signal strength errors"

11 years agoam 5b16efde: Fix rild running in Nakasi.
Wink Saville [Thu, 31 May 2012 20:25:44 +0000 (13:25 -0700)]
am 5b16efde: Fix rild running in Nakasi.

* commit '5b16efdeca04c524df241af9315c8ec3bf774491':
  Fix rild running in Nakasi.

11 years agoFix rild running in Nakasi.
Wink Saville [Wed, 30 May 2012 23:20:55 +0000 (16:20 -0700)]
Fix rild running in Nakasi.

The module rild is telephony specific, since Nakasi has no radio
it shouldn't run rild. Make the rild module optional and add a
cleanstep.

Bug: 6463864
Change-Id: Iaf931082ef96a3f79059cfe55e8a1ec145d95ed3

12 years agoam 527e4e5b: Merge "Add libdl for all platforms"
Andrew Hsieh [Mon, 21 May 2012 07:27:00 +0000 (00:27 -0700)]
am 527e4e5b: Merge "Add libdl for all platforms"

* commit '527e4e5bc0dbd28bc8afa7857df0491412aef24e':
  Add libdl for all platforms

12 years agoMerge "Add libdl for all platforms"
Andrew Hsieh [Mon, 21 May 2012 07:20:32 +0000 (00:20 -0700)]
Merge "Add libdl for all platforms"

12 years agoAdd libdl for all platforms
Haitao Feng [Mon, 21 May 2012 06:49:04 +0000 (02:49 -0400)]
Add libdl for all platforms

Change-Id: I427357aaba4b7089e8ee76d344c21f58fb9fdaab
Signed-off-by: Haitao Feng <haitao.feng@intel.com>
12 years agoFix the signal strength errors
Chih-Wei Huang [Sun, 29 Apr 2012 17:13:27 +0000 (01:13 +0800)]
Fix the signal strength errors

Change the response to RIL_SignalStrength_v6 format.

Change-Id: Id7797969e3433fe422625c902f54c965e806cb16

12 years agoMerge remote-tracking branch 'goog/ics-aah'
Mike Lockwood [Tue, 3 Apr 2012 17:48:14 +0000 (10:48 -0700)]
Merge remote-tracking branch 'goog/ics-aah'

12 years agodisable mock-ril on pdk builds
Colin Cross [Tue, 27 Mar 2012 21:50:46 +0000 (14:50 -0700)]
disable mock-ril on pdk builds

pdk builds cannot compile java, disable the mock-ril for now.

Change-Id: I4d982deb9da7965dcaf27f4fd0190785c4595cb7

12 years agoTelephony: Get_imsi should use strings as per ril.h
Alex Yakavenka [Sat, 10 Dec 2011 00:39:46 +0000 (16:39 -0800)]
Telephony: Get_imsi should use strings as per ril.h

Change-Id: I4f0f84ffb0e4c2387069b4a9149508c2abac032d

12 years agoImplement sim_refresh as per ril v6
Alex Yakavenka [Tue, 31 Jan 2012 19:48:27 +0000 (11:48 -0800)]
Implement sim_refresh as per ril v6

Change-Id: Icc620fd191f8542f61bd38e365813753bfedefdf

12 years agoam c09eacf6: (-s ours) Merge changes Ib10d1000,Ibc332506,Ib429c9b5,I9a87ab49,I948ff132
Jean-Baptiste Queru [Wed, 18 Jan 2012 20:30:18 +0000 (12:30 -0800)]
am c09eacf6: (-s ours) Merge changes Ib10d1000,Ibc332506,Ib429c9b5,I9a87ab49,I948ff132

* commit 'c09eacf62df8ab605a07a078258b31cc5caf9019':
  Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)
  Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF)
  Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF)
  Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF)
  Rename LOGV(_IF) to ALOGV(_IF)

12 years agoMerge changes Ib10d1000,Ibc332506,Ib429c9b5,I9a87ab49,I948ff132
Jean-Baptiste Queru [Wed, 18 Jan 2012 16:26:12 +0000 (08:26 -0800)]
Merge changes Ib10d1000,Ibc332506,Ib429c9b5,I9a87ab49,I948ff132

* changes:
  Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)
  Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF)
  Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF)
  Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF)
  Rename LOGV(_IF) to ALOGV(_IF)

12 years agoRename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)
Steve Block [Sun, 8 Jan 2012 13:48:26 +0000 (13:48 +0000)]
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)

Change-Id: Ib10d100087fd0239c075e1dfee9e77a903c00b4a

12 years agoRename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF)
Steve Block [Fri, 6 Jan 2012 10:14:35 +0000 (10:14 +0000)]
Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF)

Change-Id: Ibc3325063e1b34e2eb71eb4643dc6fbfddf8ec96

12 years agoRename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF)
Steve Block [Thu, 5 Jan 2012 00:10:31 +0000 (00:10 +0000)]
Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF)

Change-Id: Ib429c9b5f0eb14786231e203738a8062d718e5b0

12 years agoRename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF)
Steve Block [Tue, 20 Dec 2011 20:47:51 +0000 (20:47 +0000)]
Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF)

Change-Id: I9a87ab49edcee3281e419366ced3cbbb5ead8bc2

12 years agoRename LOGV(_IF) to ALOGV(_IF)
Steve Block [Wed, 26 Oct 2011 10:02:56 +0000 (11:02 +0100)]
Rename LOGV(_IF) to ALOGV(_IF)

Change-Id: I948ff13208ff121d3ef1f6ae8fd9e728259d8c76

12 years agoRename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE
Steve Block [Sun, 8 Jan 2012 13:48:26 +0000 (13:48 +0000)]
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)  DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: Id52de89149d4580873215fafc922ec4bd8d722ed

12 years agoRename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE
Steve Block [Fri, 6 Jan 2012 10:14:35 +0000 (10:14 +0000)]
Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF)  DO NOT MERGE

See https://android-git.corp.google.com/g/157065

Bug: 5449033
Change-Id: Id6f7d536955c731454f1063fd19a51da0c6713a1

12 years agoRename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE
Steve Block [Thu, 5 Jan 2012 00:10:31 +0000 (00:10 +0000)]
Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF)  DO NOT MERGE

See https://android-git.corp.google.com/g/156801

Bug: 5449033
Change-Id: I42dbe6812878b39c75babc1ba95737937f45fdcc

12 years agoRename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE
Steve Block [Tue, 20 Dec 2011 20:47:51 +0000 (20:47 +0000)]
Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF)  DO NOT MERGE

See https://android-git.corp.google.com/g/156016

Bug: 5449033
Change-Id: Ib3eab0b780391f9a0ac9b53282616d66a0154ade

12 years agoSeparate SIM states from Radio States
Naveen Kalla [Thu, 8 Dec 2011 00:22:53 +0000 (16:22 -0800)]
Separate SIM states from Radio States

A UICC can have multiple applications (USIM, CSIM). Both USIM and CSIM may be Ready.
So indicating modem state as SIM_READY/RUIM_READY will be incorrect. RADIO_ON is a more
appropriate Radio State. SIM status can be obtained from the RIL_REQUEST_GET_SIM_STATUS
and RIL_UNSOL_RESPONSE_SIM_STATUS_CHANGED messages.

The change does the following

 - Remove SIM states from RIL_RadioState
 - Add messages to indicate voice radio technology

Change-Id: Ic7b540eefb741169ec22499d0e00961feb22a456

12 years agokeep previous history after reset to mr1 plus aah changes (ics-aah-wip)
Ed Heyl [Fri, 28 Oct 2011 19:05:54 +0000 (19:05 +0000)]
keep previous history after reset to mr1 plus aah changes (ics-aah-wip)

12 years agoundo reset to ics-mr1 until we have a better method
Ed Heyl [Wed, 26 Oct 2011 21:53:25 +0000 (21:53 +0000)]
undo reset to ics-mr1 until we have a better method

12 years agoreset to ics-mr1, but keep history
Ed Heyl [Wed, 26 Oct 2011 18:50:22 +0000 (18:50 +0000)]
reset to ics-mr1, but keep history

12 years agoam eb902b80: (-s ours) Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGE
Steve Block [Wed, 26 Oct 2011 11:48:29 +0000 (04:48 -0700)]
am eb902b80: (-s ours) Rename LOGV(_IF) to ALOGV(_IF)  DO NOT MERGE

* commit 'eb902b80c2b46e59b12b2bded315e7f620f87c7e':
  Rename LOGV(_IF) to ALOGV(_IF)  DO NOT MERGE

12 years agoRename LOGV(_IF) to ALOGV(_IF) DO NOT MERGE
Steve Block [Wed, 26 Oct 2011 10:02:56 +0000 (11:02 +0100)]
Rename LOGV(_IF) to ALOGV(_IF)  DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/143865

Bug: 5449033
Change-Id: I9cb91455767731254a8d5bee140ea23474543f02

12 years agoAdd new RIL requests to support SIM data download via SMS over IMS.
Jake Hamby [Mon, 26 Sep 2011 08:01:44 +0000 (01:01 -0700)]
Add new RIL requests to support SIM data download via SMS over IMS.

On an LTE device where incoming SMS messages over IMS are sent to
the framework via RIL_UNSOL_RESPONSE_NEW_SMS responses sent to
the RIL, it may be necessary to process USIM data download SM's
(message class 2). This requires the RIL to implement two new requests.

1) RIL_REQUEST_STK_SEND_ENVELOPE_WITH_STATUS:
   send an ENVELOPE command to the UICC, receiving the SW1 and SW2
   status bytes in addition to the command response.

2) RIL_REQUEST_SMS_ACKNOWLEDGE_WITH_PDU:
   send an RP-ACK or RP-ERROR acknowledgement to the incoming SM,
   including an acknowledgement PDU containing the envelope response.

Change-Id: Id134dd90611b147fdc8aebc8ccdf0e989a6542a9

12 years agoRIL occasionally stopps event loop on phone process crash
Kazuhiro Ondo [Fri, 14 Oct 2011 22:50:58 +0000 (17:50 -0500)]
RIL occasionally stopps event loop on phone process crash

RIL occasionally exits from its event loop due to race condition
upon phone process crash. And there is no recovery mechanism
provided and causing permanent cellular data loss until reset.

The solution is simply to kill rild process to start over when
event loop exits for some reason.

Bug:5428218
Change-Id: I88a9b8e966158f0f943fe3d189d91b1352481d9b

12 years agoChanges to RIL to support IMS features for LTE.
Jake Hamby [Fri, 19 Aug 2011 23:22:18 +0000 (16:22 -0700)]
Changes to RIL to support IMS features for LTE.

- There is a new RIL request, RIL_REQUEST_ISIM_AUTHENTICATION, which is
  used to perform IMS AKA authentication using the algorithm on the ISIM
  application of the UICC. The challenge nonce and response are both encoded
  as Base64 strings.

Change-Id: I072b43d2b66b2013f8e58d3bd8251d75a453f167

12 years agoam d8ad6c98: resolved conflicts for merge of 988d3d71 to honeycomb-plus-aosp
Vladimir Chtchetkine [Wed, 10 Aug 2011 19:21:05 +0000 (12:21 -0700)]
am d8ad6c98: resolved conflicts for merge of 988d3d71 to honeycomb-plus-aosp

* commit 'd8ad6c98086c410243e0e8ad8285f02d6b696bd6':
  Enable QEMUD pipe connection

12 years agoresolved conflicts for merge of 988d3d71 to honeycomb-plus-aosp
Vladimir Chtchetkine [Mon, 8 Aug 2011 21:47:04 +0000 (14:47 -0700)]
resolved conflicts for merge of 988d3d71 to honeycomb-plus-aosp

Change-Id: I85178afbca0b8b51eb3890958b063a70a1b33b96

12 years agoMerge "Enable QEMUD pipe connection"
Vladimir Chtchetkine [Mon, 8 Aug 2011 20:02:49 +0000 (13:02 -0700)]
Merge "Enable QEMUD pipe connection"

12 years agoEnable QEMUD pipe connection
Vladimir Chtchetkine [Thu, 4 Aug 2011 21:03:07 +0000 (14:03 -0700)]
Enable QEMUD pipe connection

Change-Id: I8cdeda261ebaf203310262951e8253cb8a42c8c6

12 years agoam 3c3569d3: am 16157587: Allow suggestedRetryTime to indicate no retry is needed.
Kazuhiro Ondo [Sun, 24 Jul 2011 16:13:55 +0000 (09:13 -0700)]
am 3c3569d3: am 16157587: Allow suggestedRetryTime to indicate no retry is needed.

* commit '3c3569d30c274c5d5ff040d3379427cea3175d06':
  Allow suggestedRetryTime to indicate no retry is needed.

12 years agoam 16157587: Allow suggestedRetryTime to indicate no retry is needed.
Kazuhiro Ondo [Sun, 24 Jul 2011 16:11:31 +0000 (09:11 -0700)]
am 16157587: Allow suggestedRetryTime to indicate no retry is needed.

* commit '16157587c02b83a93f4e02f83a934442aa0e3e6a':
  Allow suggestedRetryTime to indicate no retry is needed.

12 years agoAllow suggestedRetryTime to indicate no retry is needed.
Kazuhiro Ondo [Sun, 24 Jul 2011 14:56:32 +0000 (07:56 -0700)]
Allow suggestedRetryTime to indicate no retry is needed.

If suggestedRetryTime is 0x7fffffff then no retry is needed
and the framework should not initiate a retry.

Bug: 4949208
Change-Id: I6db070c33e3716bc98bb4f9411354b9949fe5f52

12 years agoRemove the simulator target from all makefiles.
Jeff Brown [Tue, 12 Jul 2011 05:12:24 +0000 (22:12 -0700)]
Remove the simulator target from all makefiles.
Bug: 5010576

Change-Id: Ifb59ea7e454d8ce832610e0979935e889e7621e2

12 years agoam c35ee118: am 250eb3c8: Initialize new field RIL_Data_Call_Response_v6.suggestedRet...
Wink Saville [Sat, 25 Jun 2011 00:14:59 +0000 (17:14 -0700)]
am c35ee118: am 250eb3c8: Initialize new field RIL_Data_Call_Response_v6.suggestedRetryTime.

* commit 'c35ee11808954fc6cb9e87c1b8f92d7d0efcc7df':
  Initialize new field RIL_Data_Call_Response_v6.suggestedRetryTime.

12 years agoam 250eb3c8: Initialize new field RIL_Data_Call_Response_v6.suggestedRetryTime.
Wink Saville [Thu, 23 Jun 2011 15:19:55 +0000 (08:19 -0700)]
am 250eb3c8: Initialize new field RIL_Data_Call_Response_v6.suggestedRetryTime.

* commit '250eb3c8c3adbbbaf49c30ee09a061268d9a491a':
  Initialize new field RIL_Data_Call_Response_v6.suggestedRetryTime.

12 years agoam 470f53b5: am beb25b58: Added a special retry back-off timer value for call retry
Kazuhiro Ondo [Thu, 23 Jun 2011 14:49:20 +0000 (07:49 -0700)]
am 470f53b5: am beb25b58: Added a special retry back-off timer value for call retry

* commit '470f53b56567df2600163e31164f1273e0a70f9a':
  Added a special retry back-off timer value for call retry

12 years agoInitialize new field RIL_Data_Call_Response_v6.suggestedRetryTime.
Wink Saville [Wed, 22 Jun 2011 16:11:34 +0000 (09:11 -0700)]
Initialize new field RIL_Data_Call_Response_v6.suggestedRetryTime.

Change-Id: Idd3c9665785322a2a3fe013db459d9c8302a48d6

12 years agoam beb25b58: Added a special retry back-off timer value for call retry
Kazuhiro Ondo [Wed, 22 Jun 2011 02:35:24 +0000 (19:35 -0700)]
am beb25b58: Added a special retry back-off timer value for call retry

* commit 'beb25b58dcb48a2cfa2cfe10f5fb15908ff465f8':
  Added a special retry back-off timer value for call retry

12 years agoAdded a special retry back-off timer value for call retry
Kazuhiro Ondo [Fri, 17 Jun 2011 21:26:45 +0000 (16:26 -0500)]
Added a special retry back-off timer value for call retry

Added suggestedRetryTime value in v6 Data_Call_Response
structure so RIL can override retry back-off time
for some special cases.

Bug: 4723641
Change-Id: If5a683be6bcc1f530f0a5512ce3012a6102393d2

12 years agoam b53c6412: am 473adc9b: Update RIL_LTE_SignalStrength comments.
Wink Saville [Mon, 13 Jun 2011 18:40:20 +0000 (11:40 -0700)]
am b53c6412: am 473adc9b: Update RIL_LTE_SignalStrength comments.

* commit 'b53c6412c8420fcb5250fe43af9c3297f818af72':
  Update RIL_LTE_SignalStrength comments.

12 years agoam 473adc9b: Update RIL_LTE_SignalStrength comments.
Wink Saville [Mon, 13 Jun 2011 18:38:59 +0000 (11:38 -0700)]
am 473adc9b: Update RIL_LTE_SignalStrength comments.

* commit '473adc9b38240d180fc1935812ac80473f571f56':
  Update RIL_LTE_SignalStrength comments.

12 years agoUpdate RIL_LTE_SignalStrength comments.
Wink Saville [Mon, 13 Jun 2011 17:24:09 +0000 (10:24 -0700)]
Update RIL_LTE_SignalStrength comments.

Add INT_MAX to denote invalid values and doc references.
Created bug 4575689 to get Xoom LTE ril fixed and the FW updated.

Change-Id: Ib1f7055b469ac8756bb5c0911d180ad7ba849227

13 years agoam b0891447: (-s ours) am 8dbc643b: (-s ours) am 60d10ec9: (-s ours) Merge from ginge...
Lorenzo Colitti [Tue, 3 May 2011 23:20:11 +0000 (16:20 -0700)]
am b0891447: (-s ours) am 8dbc643b: (-s ours) am 60d10ec9: (-s ours) Merge from gingerbread - do not merge

* commit 'b08914475e4e94d8390996d54d87f905979238d8':

13 years agoam 8dbc643b: (-s ours) am 60d10ec9: (-s ours) Merge from gingerbread - do not merge
Lorenzo Colitti [Tue, 3 May 2011 23:14:58 +0000 (16:14 -0700)]
am 8dbc643b: (-s ours) am 60d10ec9: (-s ours) Merge from gingerbread - do not merge

* commit '8dbc643bbc65d89c1fac69f09d02d8ff12b008fb':

13 years agoam 60d10ec9: (-s ours) Merge from gingerbread - do not merge
Lorenzo Colitti [Tue, 3 May 2011 18:22:03 +0000 (11:22 -0700)]
am 60d10ec9: (-s ours) Merge from gingerbread - do not merge

* commit '60d10ec91aa9de6b4699a87557ba8f041bf34be3':
  Port RIL v4 to gingerbread from master.

13 years agoam d0bc13e1: (-s ours) am 60d10ec9: (-s ours) Merge from gingerbread - do not merge
Lorenzo Colitti [Mon, 2 May 2011 19:20:24 +0000 (12:20 -0700)]
am d0bc13e1: (-s ours) am 60d10ec9: (-s ours) Merge from gingerbread - do not merge

* commit 'd0bc13e161401f92c73fa6ba0d4e525b30dac4c8':
  Port RIL v4 to gingerbread from master.

13 years agoam 60d10ec9: (-s ours) Merge from gingerbread - do not merge
Lorenzo Colitti [Mon, 2 May 2011 19:12:00 +0000 (12:12 -0700)]
am 60d10ec9: (-s ours) Merge from gingerbread - do not merge

* commit '60d10ec91aa9de6b4699a87557ba8f041bf34be3':
  Port RIL v4 to gingerbread from master.

13 years agoMerge from gingerbread - do not merge
Lorenzo Colitti [Mon, 2 May 2011 16:43:05 +0000 (09:43 -0700)]
Merge from gingerbread - do not merge

Change-Id: I3529a5f85d93e66aa5fca62ac44c242c4f7e163d

13 years agoam ed82b9ae: am ee274582: Fix debug output.
Wink Saville [Sat, 16 Apr 2011 22:12:31 +0000 (15:12 -0700)]
am ed82b9ae: am ee274582: Fix debug output.

* commit 'ed82b9aea44672386bafe208cf6bf540e95f21f3':
  Fix debug output.

13 years agoam ee274582: Fix debug output.
Wink Saville [Sat, 16 Apr 2011 22:10:00 +0000 (15:10 -0700)]
am ee274582: Fix debug output.

* commit 'ee2745825fae9561c5f83fcf179bbbfa111e5224':
  Fix debug output.

13 years agoFix debug output.
Wink Saville [Sat, 16 Apr 2011 22:05:49 +0000 (15:05 -0700)]
Fix debug output.

Previously I'd fixed the constant RIL_UNSOL_CDMA_SUBSCRIPTION_SOURCE_CHANGED
now I'm fixing the debug output.

Change-Id: I5115ce21141175140645a63d3937c7da21705f11

13 years agoam 16bf23cc: am 29487ef2: Added additional comments to some commands for clarification.
Wink Saville [Fri, 15 Apr 2011 22:20:37 +0000 (15:20 -0700)]
am 16bf23cc: am 29487ef2: Added additional comments to some commands for clarification.

* commit '16bf23cc08e4b240062d9f9a35998cc8de8b5af6':
  Added additional comments to some commands for clarification.

13 years agoam 29487ef2: Added additional comments to some commands for clarification.
Wink Saville [Fri, 15 Apr 2011 22:17:20 +0000 (15:17 -0700)]
am 29487ef2: Added additional comments to some commands for clarification.

* commit '29487ef2685e5ee38f0348ab031cb96a608296ba':
  Added additional comments to some commands for clarification.

13 years agoAdded additional comments to some commands for clarification.
Wink Saville [Fri, 15 Apr 2011 16:15:31 +0000 (09:15 -0700)]
Added additional comments to some commands for clarification.

Change RIL_UNSOL_CDMA_SUBSCRIPTION_CHANGED to
RIL_UNSOL_CDMA_SUBSCRIPTION_SOURCE_CHANGED.

Change-Id: Id946447c6ee9777696c3d7fa1a664ee7dc7deeba

13 years agoam 1e3dfd1b: (-s ours) am a9c18d17: Fix RIL_UNSOL_RIL_CONNECTED to return the vendor...
Jake Hamby [Wed, 13 Apr 2011 06:46:02 +0000 (23:46 -0700)]
am 1e3dfd1b: (-s ours) am a9c18d17: Fix RIL_UNSOL_RIL_CONNECTED to return the vendor RIL version. DO NOT MERGE.

* commit '1e3dfd1b203d85c892b27c9bf32e5fc09c2a6ebc':
  Fix RIL_UNSOL_RIL_CONNECTED to return the vendor RIL version. DO NOT MERGE.

13 years agoam a9c18d17: Fix RIL_UNSOL_RIL_CONNECTED to return the vendor RIL version. DO NOT...
Jake Hamby [Wed, 13 Apr 2011 06:40:34 +0000 (23:40 -0700)]
am a9c18d17: Fix RIL_UNSOL_RIL_CONNECTED to return the vendor RIL version. DO NOT MERGE.

* commit 'a9c18d17769ee475cf4fd5e76e18ddfa4070c7cd':
  Fix RIL_UNSOL_RIL_CONNECTED to return the vendor RIL version. DO NOT MERGE.

13 years agoFix RIL_UNSOL_RIL_CONNECTED to return the vendor RIL version. DO NOT MERGE.
Jake Hamby [Wed, 13 Apr 2011 06:32:08 +0000 (23:32 -0700)]
Fix RIL_UNSOL_RIL_CONNECTED to return the vendor RIL version. DO NOT MERGE.

The new RIL_UNSOL_RIL_CONNECTED call should return the version of
the vendor RIL library and not the version of rild. Fixes data
connectivity on Crespo.

Change-Id: Ib644216677e79b135214a546400372dd61c8d96d

13 years agoFix RIL_UNSOL_RIL_CONNECTED to return the vendor RIL version.
Jake Hamby [Wed, 13 Apr 2011 02:51:28 +0000 (19:51 -0700)]
Fix RIL_UNSOL_RIL_CONNECTED to return the vendor RIL version.

The new RIL_UNSOL_RIL_CONNECTED call should return the version of
the vendor RIL library and not the version of rild. Fixes data
connectivity on Crespo.

Change-Id: I7aeb89d11e6e45de6548254d29d941a537586a37

13 years agoam 6883717c: am 5b9df33c: Add RIL_UNSOL_RIL_CONNECTED.
Wink Saville [Thu, 7 Apr 2011 23:51:50 +0000 (16:51 -0700)]
am 6883717c: am 5b9df33c: Add RIL_UNSOL_RIL_CONNECTED.

* commit '6883717cc1b821cd8362a5e72401a6d8bba0c9e0':
  Add RIL_UNSOL_RIL_CONNECTED.

13 years agoam 5b9df33c: Add RIL_UNSOL_RIL_CONNECTED.
Wink Saville [Thu, 7 Apr 2011 23:50:08 +0000 (16:50 -0700)]
am 5b9df33c: Add RIL_UNSOL_RIL_CONNECTED.

* commit '5b9df33c53682addaebc0b6073901a8b441d82f9':
  Add RIL_UNSOL_RIL_CONNECTED.

13 years agoAdd RIL_UNSOL_RIL_CONNECTED.
Wink Saville [Wed, 6 Apr 2011 23:24:21 +0000 (16:24 -0700)]
Add RIL_UNSOL_RIL_CONNECTED.

Change-Id: Id4cc2aff00ad0398f7a24e7f5a24626e5a63425a

13 years agoam 0f0d20ba: am 714160a7: am ed1ce999: Change mock-ril and reference-ril to use inclu...
Wink Saville [Mon, 21 Mar 2011 17:45:07 +0000 (10:45 -0700)]
am 0f0d20ba: am 714160a7: am ed1ce999: Change mock-ril and reference-ril to use include/telephony/ril.h

* commit '0f0d20bafee53d44b58f2c69c48c047d4390af83':
  Change mock-ril and reference-ril to use include/telephony/ril.h

13 years agoam 714160a7: am ed1ce999: Change mock-ril and reference-ril to use include/telephony...
Wink Saville [Mon, 21 Mar 2011 17:43:44 +0000 (10:43 -0700)]
am 714160a7: am ed1ce999: Change mock-ril and reference-ril to use include/telephony/ril.h

* commit '714160a74890167f888cae048fbdd670ba05747f':
  Change mock-ril and reference-ril to use include/telephony/ril.h

13 years agoam ed1ce999: Change mock-ril and reference-ril to use include/telephony/ril.h
Wink Saville [Mon, 21 Mar 2011 17:42:01 +0000 (10:42 -0700)]
am ed1ce999: Change mock-ril and reference-ril to use include/telephony/ril.h

* commit 'ed1ce9998196ac235b215cb24e624a328e693e5c':
  Change mock-ril and reference-ril to use include/telephony/ril.h

13 years agoam 7da1eaec: am 2c1fb3a4: Change mock-ril and reference-ril to use include/telephony...
Wink Saville [Sat, 19 Mar 2011 20:55:25 +0000 (13:55 -0700)]
am 7da1eaec: am 2c1fb3a4: Change mock-ril and reference-ril to use include/telephony/ril.h

* commit '7da1eaeccf0fc225fd9516eb4b8698cfcd8126e8':
  Change mock-ril and reference-ril to use include/telephony/ril.h

13 years agoam 2c1fb3a4: Change mock-ril and reference-ril to use include/telephony/ril.h
Wink Saville [Sat, 19 Mar 2011 20:50:07 +0000 (13:50 -0700)]
am 2c1fb3a4: Change mock-ril and reference-ril to use include/telephony/ril.h

* commit '2c1fb3a4e7aa8039bdefacceec98aa43cfe5784c':
  Change mock-ril and reference-ril to use include/telephony/ril.h

13 years agoChange mock-ril and reference-ril to use include/telephony/ril.h
Wink Saville [Sat, 19 Mar 2011 20:42:45 +0000 (13:42 -0700)]
Change mock-ril and reference-ril to use include/telephony/ril.h

I've done this by change the copy to a symbolic link, this allows
us to easily change from using the common include/telephony/ril.h
to a separate instance when ril.h is evolving.

Bug: 3457628
Bug: 4132203
Change-Id: Idd8029e57dd0b2afc16c2659dbbc3e587b438f0a

13 years agoChange mock-ril and reference-ril to use include/telephony/ril.h
Wink Saville [Sat, 19 Mar 2011 17:45:46 +0000 (10:45 -0700)]
Change mock-ril and reference-ril to use include/telephony/ril.h

I've done this by change the copy to a symbolic link, this allows
us to easily change from using the common include/telephony/ril.h
to a separate instance when ril.h is evolving.

Bug: 3457628
Bug: 4132203
Change-Id: I0fca1c0409e9bf6381e491ad338d2299ab512405

13 years agohardware/ril: remove LOCAL_PRELINK_MODULE
Iliyan Malchev [Mon, 14 Mar 2011 21:02:16 +0000 (14:02 -0700)]
hardware/ril: remove LOCAL_PRELINK_MODULE

Change-Id: I8a42023d2c228040e2f32067f2eb71842d7d9578
Signed-off-by: Iliyan Malchev <malchev@google.com>
13 years agoMerge "Fix responseSimStatus use of responselen."
Wink Saville [Wed, 9 Mar 2011 05:28:54 +0000 (21:28 -0800)]
Merge "Fix responseSimStatus use of responselen."

13 years agoFix responseSimStatus use of responselen.
Wink Saville [Mon, 7 Mar 2011 20:09:04 +0000 (12:09 -0800)]
Fix responseSimStatus use of responselen.

Previously this code was checking that the responselen was a
multiple of the length of a pointer. I'd changed it to assume
it was supposed to be a pointer. But actually the reference-ril
sets it to the length of the object. So fixing this to assume
its the length of the object.

Change-Id: I90e9fdee89151359041eccab3cfd2d442c7fbcbf

13 years agoresolved conflicts for merge of 08929fd6 to honeycomb-plus-aosp
Ying Wang [Mon, 7 Mar 2011 18:30:29 +0000 (10:30 -0800)]
resolved conflicts for merge of 08929fd6 to honeycomb-plus-aosp

Change-Id: Ic771d69d2824d5ff763313f94acf6125fb9bfb4f

13 years agoMerge "Fix Android.mk"
Ying Wang [Fri, 4 Mar 2011 21:29:02 +0000 (13:29 -0800)]
Merge "Fix Android.mk"

13 years agoFix Android.mk
Ying Wang [Fri, 4 Mar 2011 19:53:04 +0000 (11:53 -0800)]
Fix Android.mk

Use ":=" instead of "=".
The vars should be set outside the if..else.. block, because they are
used outside the block.

Change-Id: I1e57cbef0843841c6ccd7051f068f663863ecee6

13 years agoFix bugs in responseSimStatus and update comments.
Wink Saville [Wed, 23 Feb 2011 00:19:39 +0000 (16:19 -0800)]
Fix bugs in responseSimStatus and update comments.

Change-Id: I4b4e6ab712d2a5da6f9102bf818628e9c3d05f3b

13 years agoChanges for ril.h version 6.
Wink Saville [Fri, 18 Feb 2011 18:14:07 +0000 (10:14 -0800)]
Changes for ril.h version 6.

- Changes to support LTE and EHRPD radio technology
- Support IPv6 in addition to IPv4 on the modems
- Detailed GPRS registration denied causes
- Access to multiple apps on UICC card
- Access to ISIM app on UICC
- Deprecate RIL_REQUEST_LAST_DATA_CALL_FAIL_CAUSE as it can
  causes problems when several PDN contexts are active. Failure reason
  should be returned when setup_data_call returns
- Added RIL_RadioTechnology
- Added RIL_PreferredNetworkType
- Added RIL_CdmaSubscriptionSource
- Added RIL_LTE_SignalStrength
- Added AID to SIM requests as an optional parameter
- Add new error codes for returning disconnect reasons
- RIL_Data_Call_Response_v3/v5
    Added fields to support IPv6 and return status as it will
    now be returned as part of RIL_REQUEST_SETUP_DATA_CALL
- Rename RIL_REQUEST_REGISTRATION_STATE
      to RIL_REQUEST_VOICE_REGISTRATION_STATE
    response[3] return RIL_RadioTechnology for voice calls
    response[13] more error codes
- Rename RIL_REQUEST_GPRS_REGISTRATION_STATE
       to RIL_REQUEST_DATA_REGISTRATION_STATE
    Changed response[3] to be RIL_RadioTechnology for data calls
    Added response[4] error codes for registration being denied
    Added response[5] Max simultaneous data calls
- RIL_REQUEST_SETUP_DATA_CALL
    Changed data[0] to be RIL_RadioTechnology
    Response is now a RIL_Data_Call_Response_v5
- RIL_REQUEST_DATA_CALL_LIST
    Response is now a RIL_Data_Call_Response_v5
- RIL_UNSOL_DATA_CALL_LIST_CHANGED
    Response is now a RIL_Data_Call_Response_v5
- RIL_REQUEST_SET_PREFERRED_NETWORK_TYPE
    Changed data[0] to be RIL_PreferredNetworkType
- RIL_REQUEST_GET_PREFERRED_NETWORK_TYPE
    Changed response[0] to be RIL_PreferredNetworkType
- Rename RIL_REQUEST_SET_CDMA_SUBSCRIPTION
    to RIL_REQUEST_SET_CDMA_SUBSCRIPTION_SOURCE
- Added RIL_REQUEST_GET_CDMA_SUBSCRIPTION_SOURCE
- Added support for AID to RIL_UNSOL_SIM_REFRESH
- Added RIL_UNSOL_CDMA_SUBSCRIPTION_SOURCE_CHANGED
- Added RIL_UNSOL_PRL_CHANGED
- Added RIL_UNSOL_EXIT_EMERGENCY_CALLBACK_MODE
- Rename RIL_UNSOL_RESPONSE_NETWORK_CHANGED
     to RIL_UNSOL_RESPONSE_VOICE_NETWORK_CHANGED

Have refercence-ril and mock-ril use a private copy of
ril.h so the ril may evolve separately from them.

Change-Id: I1b952069f5406f5dc42480d019970d10f0120358

13 years agoMove the ril.h in mock-ril to src/cpp where it should be.
Wink Saville [Wed, 16 Feb 2011 01:40:16 +0000 (17:40 -0800)]
Move the ril.h in mock-ril to src/cpp where it should be.

Change-Id: I1e65936c648f6ca6a8b47851f3a0636b332d56ec

13 years agoUse local copy of ril.h for reference-ril and mock-ril.
Wink Saville [Wed, 16 Feb 2011 01:13:10 +0000 (17:13 -0800)]
Use local copy of ril.h for reference-ril and mock-ril.

This allows for greater stability while we're changing the ril
interface, as defined by ril.h. An example is that the emulator
will continue to run using an older ril while we upgrade to
newer rils.

After the new ril has stabilized and these modules updated the
changes should be reverted and we should use
include/telephony/ril.h

Change-Id: If5011ccbe64bcb65f98b02060165f899b6d4b5f9

13 years agoUse the correct syntax
Ying Wang [Wed, 9 Feb 2011 21:43:06 +0000 (13:43 -0800)]
Use the correct syntax

To fix x86 build.

Change-Id: I31015c255e8bf441d83dd314003d614c2c2aaa97

13 years agoril: Fix telephony under emulation.
David 'Digit' Turner [Fri, 4 Feb 2011 12:36:47 +0000 (13:36 +0100)]
ril: Fix telephony under emulation.

This patch fixes several regressions that were introduced in
a recent rewrite of the native RIL support code, and which
prevent networking from working under emulation.

- 'apn' and 'type' were incorrectly swapped in the
   AT+CGDCONT= command string, so the command was
   never executed properly by the emulated modem.

- The PDP context type was not properly written to the
  parcel in responseDataCallList() in libril/ril.cpp.
  Due to this the Java RIL code ignored the response.

- The dns list returned by requestOrSendDataCallList()
  was an empty string, which caused the Java RIL code to
  fail with a "unknown host" exception when trying to setup
  net.dns1

Change-Id: I7f4e6f6f45d197960ecb20e7e8592272921fe694
Note: You also need to apply this emulator patch to verify
      this one: http://review.source.android.com//#change,20965

      The code in requestOrSendDataCallList() assumes that
      AT+CGACT? and AT+CGDCONT? will have answers with exactly
      the same number of lines (this wasn't the case before
      the emulator fix).

13 years agoFix build break in RIL
Glenn Kasten [Thu, 3 Feb 2011 01:44:18 +0000 (17:44 -0800)]
Fix build break in RIL

Change-Id: Idcdb06734231d04d159718ac98ca2b431915a13c

13 years agoAdd HSPA+ net type to the ril.
Robert Greenwalt [Wed, 2 Feb 2011 22:40:15 +0000 (14:40 -0800)]
Add HSPA+ net type to the ril.

Change-Id: Iade9b3478420456c5d8437e6455c72a72b8d24e1

13 years agoam 7c914185: (-s ours) am ce6d7de4: Fix the comment for RIL_Data_Call_Response as...
Lorenzo Colitti [Tue, 1 Feb 2011 04:38:35 +0000 (20:38 -0800)]
am 7c914185: (-s ours) am ce6d7de4: Fix the comment for RIL_Data_Call_Response as well.

* commit '7c914185a4e19c1a3216867c13a7ce90a63d182c':
  Fix the comment for RIL_Data_Call_Response as well.

13 years agoam 52279edb: (-s ours) am 805093a8: Update comment for SETUP_DATA_CALL response.
Wink Saville [Tue, 1 Feb 2011 04:25:27 +0000 (20:25 -0800)]
am 52279edb: (-s ours) am 805093a8: Update comment for SETUP_DATA_CALL response.

* commit '52279edb31c3656100479c803e74a8eca725660a':
  Update comment for SETUP_DATA_CALL response.

13 years agoam ce6d7de4: Fix the comment for RIL_Data_Call_Response as well.
Lorenzo Colitti [Tue, 1 Feb 2011 02:31:57 +0000 (18:31 -0800)]
am ce6d7de4: Fix the comment for RIL_Data_Call_Response as well.

* commit 'ce6d7de475fe64ddb51002491eef5e64b16ddcff':
  Fix the comment for RIL_Data_Call_Response as well.

13 years agoam 805093a8: Update comment for SETUP_DATA_CALL response.
Wink Saville [Tue, 1 Feb 2011 02:31:17 +0000 (18:31 -0800)]
am 805093a8: Update comment for SETUP_DATA_CALL response.

* commit '805093a80f6e3136583b78b392d47b18b28e3f60':
  Update comment for SETUP_DATA_CALL response.

13 years agoPort RIL v4 to gingerbread from master.
Lorenzo Colitti [Wed, 29 Dec 2010 23:50:50 +0000 (15:50 -0800)]
Port RIL v4 to gingerbread from master.

Version 4 is backwards compatible with versions 2 and 3, so
this will not affect passion.

Bug: 3333633
Change-Id: If2e48e9dd37e17e9955563d2cd2cb94ccb2a8efe

13 years agoFix the comment for RIL_Data_Call_Response as well.
Lorenzo Colitti [Tue, 1 Feb 2011 00:55:38 +0000 (16:55 -0800)]
Fix the comment for RIL_Data_Call_Response as well.

Bug: 3409252
Change-Id: I07aabee13f7ffc3854efc32ef661a7e09027a5c7