OSDN Git Service

android-x86/hardware-ril.git
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

13 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

13 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.

13 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.

13 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

13 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

13 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

13 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

13 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.

13 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.

13 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

13 years agoUpdate comment for SETUP_DATA_CALL response.
Wink Saville [Mon, 31 Jan 2011 23:18:00 +0000 (15:18 -0800)]
Update comment for SETUP_DATA_CALL response.

Clarify that for version 4 rils there are two behaviors depending
upon the platform.

bug: 3409252
Change-Id: I69208600b63195c1d755e34ea4c8db96f7e5d9a4

13 years agoam f1da3813: (-s ours) am b58c9bfe: Add two more parameters too RIL_REQUEST_SETUP_DAT...
Wink Saville [Fri, 21 Jan 2011 01:27:59 +0000 (17:27 -0800)]
am f1da3813: (-s ours) am b58c9bfe: Add two more parameters too RIL_REQUEST_SETUP_DATA_CALL, DO NOT MERGE.

* commit 'f1da381330d6d2369d948b69ada0a110abb4e1ad':
  Add two more parameters too RIL_REQUEST_SETUP_DATA_CALL, DO NOT MERGE.

13 years agoam b58c9bfe: Add two more parameters too RIL_REQUEST_SETUP_DATA_CALL, DO NOT MERGE.
Wink Saville [Fri, 21 Jan 2011 01:02:47 +0000 (17:02 -0800)]
am b58c9bfe: Add two more parameters too RIL_REQUEST_SETUP_DATA_CALL, DO NOT MERGE.

* commit 'b58c9bfe09830442088f8ddd4d8742e8be84c308':
  Add two more parameters too RIL_REQUEST_SETUP_DATA_CALL, DO NOT MERGE.

13 years agoAdd two more parameters too RIL_REQUEST_SETUP_DATA_CALL, DO NOT MERGE.
Wink Saville [Thu, 20 Jan 2011 06:37:56 +0000 (22:37 -0800)]
Add two more parameters too RIL_REQUEST_SETUP_DATA_CALL, DO NOT MERGE.

Add DNS and gateway as parameters to RIL_REQUEST_SETUP_DATA_CALL so that
system properties aren't used for passing these to the ril. System
properties that are read right after a write doesn't always see the
result of the write. Another words writing system properties are not
not sequentially consistent.

Bug: 3364487
Change-Id: I408e56cd8cf943dfb5d71a21a274fcfd14571b7b

13 years agoMerge "RIL v5 RIL_REQUEST_SETUP_DATA_CALL."
Wink Saville [Fri, 14 Jan 2011 14:35:56 +0000 (06:35 -0800)]
Merge "RIL v5 RIL_REQUEST_SETUP_DATA_CALL."

13 years agoRIL v5 RIL_REQUEST_SETUP_DATA_CALL.
Wink Saville [Fri, 14 Jan 2011 01:39:51 +0000 (17:39 -0800)]
RIL v5 RIL_REQUEST_SETUP_DATA_CALL.

Change-Id: I30531e103416b1b817b9370304e3301a1c641cf5

13 years agoam 9ed40f35: am d663d381: Merge "Add a missing MUTEX_RELEASE() in ril_event_del"
Wink Saville [Thu, 13 Jan 2011 18:26:15 +0000 (10:26 -0800)]
am 9ed40f35: am d663d381: Merge "Add a missing MUTEX_RELEASE() in ril_event_del"

* commit '9ed40f355a9a3172d1f4428e2f009840a54d0283':
  Add a missing MUTEX_RELEASE() in ril_event_del

13 years agoam c83d92e8: am 29d9e18b: Merge "Modifying description for RIL_UNSOL_RESPONSE_NEW_BRO...
Jake Hamby [Thu, 13 Jan 2011 01:58:35 +0000 (17:58 -0800)]
am c83d92e8: am 29d9e18b: Merge "Modifying description for RIL_UNSOL_RESPONSE_NEW_BROADCAST_SMS."

* commit 'c83d92e834422b8f5f1b309b5cba189647ebbe0f':
  Modifying description for RIL_UNSOL_RESPONSE_NEW_BROADCAST_SMS.

13 years agoam d663d381: Merge "Add a missing MUTEX_RELEASE() in ril_event_del"
Wink Saville [Wed, 12 Jan 2011 23:23:21 +0000 (15:23 -0800)]
am d663d381: Merge "Add a missing MUTEX_RELEASE() in ril_event_del"

* commit 'd663d3811f1de756bf4caaa31d5a5dda1f53966c':
  Add a missing MUTEX_RELEASE() in ril_event_del

13 years agoMerge "Add a missing MUTEX_RELEASE() in ril_event_del"
Wink Saville [Wed, 12 Jan 2011 20:44:39 +0000 (12:44 -0800)]
Merge "Add a missing MUTEX_RELEASE() in ril_event_del"

13 years agoam 29d9e18b: Merge "Modifying description for RIL_UNSOL_RESPONSE_NEW_BROADCAST_SMS."
Jake Hamby [Tue, 11 Jan 2011 21:21:36 +0000 (13:21 -0800)]
am 29d9e18b: Merge "Modifying description for RIL_UNSOL_RESPONSE_NEW_BROADCAST_SMS."

* commit '29d9e18b4323f6a3b097bf5a1800492ed1aff244':
  Modifying description for RIL_UNSOL_RESPONSE_NEW_BROADCAST_SMS.

13 years agoMerge "Modifying description for RIL_UNSOL_RESPONSE_NEW_BROADCAST_SMS."
Jake Hamby [Tue, 11 Jan 2011 21:09:44 +0000 (13:09 -0800)]
Merge "Modifying description for RIL_UNSOL_RESPONSE_NEW_BROADCAST_SMS."

13 years agoAdd a missing MUTEX_RELEASE() in ril_event_del
Axel Lin [Wed, 29 Dec 2010 07:34:56 +0000 (15:34 +0800)]
Add a missing MUTEX_RELEASE() in ril_event_del

In the case of (ev->index < 0 || ev->index >= MAX_FD_EVENTS),
we must call MUTEX_RELEASE() before return.

Change-Id: Ic0b21a8e1fbc940c4bfcc1fc8b606536e2484c71

13 years agoModifying description for RIL_UNSOL_RESPONSE_NEW_BROADCAST_SMS.
Henrik Hall [Thu, 25 Nov 2010 09:20:56 +0000 (10:20 +0100)]
Modifying description for RIL_UNSOL_RESPONSE_NEW_BROADCAST_SMS.

Allowing for both GSM and UMTS format CBS message pdus.

Change-Id: I0f920d2c1affe930a0da4c0ba5fce6d03f488146

13 years agoam 6c407c5d: am aea7d5be: fix umask
Nick Kralevich [Mon, 13 Dec 2010 20:32:06 +0000 (12:32 -0800)]
am 6c407c5d: am aea7d5be: fix umask

* commit '6c407c5da42d0c34a118f01ae0a48c9036298443':
  fix umask

13 years agoam aea7d5be: fix umask
Nick Kralevich [Mon, 13 Dec 2010 19:43:16 +0000 (11:43 -0800)]
am aea7d5be: fix umask

* commit 'aea7d5beb2d2cc4d49954f9d5158b8a53c3d7d31':
  fix umask

13 years agofix umask
Nick Kralevich [Fri, 10 Dec 2010 23:53:02 +0000 (15:53 -0800)]
fix umask

Don't create files / directories that are world writable.

Bug: 3214214

Change-Id: I6b6caede4446e9e952bffdb2b14e429b2699c69b

13 years agoAdded reason field in RIL_REQUEST_DEACTIVATE_DATA_CALL request.
Kazuhiro Ondo [Thu, 2 Dec 2010 19:22:35 +0000 (13:22 -0600)]
Added reason field in RIL_REQUEST_DEACTIVATE_DATA_CALL request.

Change-Id: I24bcefe444d7799c283059e0f8816e9570a7314c

13 years agoam 8973c8bd: am 06bae4bc: Add comments for HANGUP request.
John Wang [Thu, 2 Dec 2010 01:36:41 +0000 (17:36 -0800)]
am 8973c8bd: am 06bae4bc: Add comments for HANGUP request.

* commit '8973c8bd091b4689f3e9967addb11c886556aba8':
  Add comments for HANGUP request.

13 years agoam 06bae4bc: Add comments for HANGUP request.
John Wang [Thu, 2 Dec 2010 01:35:09 +0000 (17:35 -0800)]
am 06bae4bc: Add comments for HANGUP request.

* commit '06bae4bcdc941fb1165fbf79cf6f2cb34e57e51d':
  Add comments for HANGUP request.

13 years agoAdd comments for HANGUP request.
John Wang [Fri, 19 Nov 2010 00:37:09 +0000 (16:37 -0800)]
Add comments for HANGUP request.

For bug #3136179

Clarify RIL should NOT report active connection for GET_CURRENT_CALLS

after HANGUP request returns.

Change-Id: Icf9cc14b7d9cbfee6552cf51a648432caac28ab1

13 years agoSome additional changes necessary so the Makefile works.
Wink Saville [Tue, 9 Nov 2010 03:18:30 +0000 (19:18 -0800)]
Some additional changes necessary so the Makefile works.

We only need to manually build ".desc" and ".py" files.

Change-Id: Ifd2f925ae985b80a1be3a7d512277870946702e5

13 years agoUse the build system rules to compile the .proto files.
Ying Wang [Wed, 3 Nov 2010 01:45:27 +0000 (18:45 -0700)]
Use the build system rules to compile the .proto files.

Change-Id: If5f98e50a40fdca88c69e889e952adc9f4170d77

13 years agoam 54ff2635: am 230e5a78: Disable response for CMD_UNSOL_CALL_RING in mock ril
Xia Wang [Wed, 13 Oct 2010 22:59:26 +0000 (15:59 -0700)]
am 54ff2635: am 230e5a78: Disable response for CMD_UNSOL_CALL_RING in mock ril

Merge commit '54ff26352fc6a8550e77265cb7c6409547935a2c'

* commit '54ff26352fc6a8550e77265cb7c6409547935a2c':
  Disable response for CMD_UNSOL_CALL_RING in mock ril

13 years agoam 230e5a78: Disable response for CMD_UNSOL_CALL_RING in mock ril
Xia Wang [Tue, 12 Oct 2010 01:37:44 +0000 (18:37 -0700)]
am 230e5a78: Disable response for CMD_UNSOL_CALL_RING in mock ril

Merge commit '230e5a78415e41e7e41f087e369a589ca8d9c83e' into gingerbread-plus-aosp

* commit '230e5a78415e41e7e41f087e369a589ca8d9c83e':
  Disable response for CMD_UNSOL_CALL_RING in mock ril

13 years agoam c4412dec: am 2b7b0f7d: Add control commands for Mock Ril
Xia Wang [Tue, 12 Oct 2010 00:41:34 +0000 (17:41 -0700)]
am c4412dec: am 2b7b0f7d: Add control commands for Mock Ril

Merge commit 'c4412dec705db8db6a580358612ade0c7c3e0203'

* commit 'c4412dec705db8db6a580358612ade0c7c3e0203':
  Add control commands for Mock Ril

13 years agoDisable response for CMD_UNSOL_CALL_RING in mock ril
Xia Wang [Mon, 11 Oct 2010 21:54:05 +0000 (14:54 -0700)]
Disable response for CMD_UNSOL_CALL_RING in mock ril

change incomingCallIsAnswered -> incomingCallIsProcessed:
Stop sending out UNSOL_CALL_RING if the incoming call is answered or hangup.

Change-Id: Icccadc1d55e682f0705020d6af580979f200a755

13 years agoam 53d4ce86: (-s ours) am bf40f252: Add command to start incoming call. DO NOT MERGE
Xia Wang [Mon, 11 Oct 2010 00:47:06 +0000 (17:47 -0700)]
am 53d4ce86: (-s ours) am bf40f252: Add command to start incoming call. DO NOT MERGE

Merge commit '53d4ce860eac78385dad5e93aee7770ce0fc418e'

* commit '53d4ce860eac78385dad5e93aee7770ce0fc418e':
  Add command to start incoming call. DO NOT MERGE

13 years agoam 2b7b0f7d: Add control commands for Mock Ril
Xia Wang [Sun, 10 Oct 2010 21:36:56 +0000 (14:36 -0700)]
am 2b7b0f7d: Add control commands for Mock Ril

Merge commit '2b7b0f7d61dd1ee99722e27b51810fe51de92f0f' into gingerbread-plus-aosp

* commit '2b7b0f7d61dd1ee99722e27b51810fe51de92f0f':
  Add control commands for Mock Ril

13 years agoAdd control commands for Mock Ril
Xia Wang [Fri, 8 Oct 2010 07:35:00 +0000 (00:35 -0700)]
Add control commands for Mock Ril

- Hangup a call remotely for the given cause.
- Set call transition flag
- set call to alert
- set call to active
- add a dialing call (this is for testing purpose

Add ril request support: RIL_REQUEST_LAST_CALL_FAIL_CAUSE

Change-Id: I56d0a10a7bff31eb11f4f9b64b53acf7931e6cb7

13 years agoam 2932f312: (-s ours) Revert "Add timer delete support to rild" DO NOT MERGE
Wink Saville [Sun, 10 Oct 2010 19:55:37 +0000 (12:55 -0700)]
am 2932f312: (-s ours) Revert "Add timer delete support to rild" DO NOT MERGE

Merge commit '2932f31296822b86ed945e09cadaabf2a453843c'

* commit '2932f31296822b86ed945e09cadaabf2a453843c':
  Revert "Add timer delete support to rild" DO NOT MERGE

13 years agoSync with GB change: 72592
Xia Wang [Sat, 9 Oct 2010 00:57:06 +0000 (17:57 -0700)]
Sync with GB change: 72592

Add command to start incoming call.

Add start incoming call command
Add ril request: RIL_REQUEST_ANSWER to mock ril

Change-Id: I91b1a4ec81e7bd6fccbd96c4c51c5b8e99a473fd

13 years agoam a4f9cab8: (-s ours) am 14171dca: Port Mock Ril from master branch to GB. DO NOT...
Xia Wang [Fri, 8 Oct 2010 21:36:51 +0000 (14:36 -0700)]
am a4f9cab8: (-s ours) am 14171dca: Port Mock Ril from master branch to GB. DO NOT MERGE

Merge commit 'a4f9cab81d7a97e6489f1a1629d5c40ce6058477'

* commit 'a4f9cab81d7a97e6489f1a1629d5c40ce6058477':
  Port Mock Ril from master branch to GB. DO NOT MERGE

13 years agoam bf40f252: Add command to start incoming call. DO NOT MERGE
Xia Wang [Fri, 8 Oct 2010 21:14:58 +0000 (14:14 -0700)]
am bf40f252: Add command to start incoming call. DO NOT MERGE

Merge commit 'bf40f252c66f13c51fb113c343e1728f8a86662a' into gingerbread-plus-aosp

* commit 'bf40f252c66f13c51fb113c343e1728f8a86662a':
  Add command to start incoming call. DO NOT MERGE