OSDN Git Service

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

13 years agoAdd command to start incoming call. DO NOT MERGE
Xia Wang [Thu, 7 Oct 2010 01:54:58 +0000 (18:54 -0700)]
Add command to start incoming call. DO NOT MERGE

Add start incoming call command,
add ril request: RIL_REQUEST_ANSWER to Mock Ril
Fix: rilRequestHangupWaitingOrBackground should also hang up incoming call

Change-Id: I48b8cc98ced2ee5f449d4cc212a9b8e8413b0cff

13 years agoRevert "Add timer delete support to rild" DO NOT MERGE
Wink Saville [Thu, 7 Oct 2010 23:35:15 +0000 (16:35 -0700)]
Revert "Add timer delete support to rild" DO NOT MERGE

This reverts commit 7edd07c9184a3abfaa3f4a161b74b3da9d7bbd56.
We need to revert here as this change is not in Gingerbread
or later branches.

Change-Id: I1b0d68655e3a91647f455cbc43f421db39f9aa55

13 years agoam 14171dca: Port Mock Ril from master branch to GB. DO NOT MERGE
Xia Wang [Thu, 7 Oct 2010 14:09:28 +0000 (07:09 -0700)]
am 14171dca: Port Mock Ril from master branch to GB. DO NOT MERGE

Merge commit '14171dca025273fb64b239c1ec86ed7d4b677343' into gingerbread-plus-aosp

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

13 years agoPort Mock Ril from master branch to GB. DO NOT MERGE
Xia Wang [Wed, 6 Oct 2010 02:29:48 +0000 (19:29 -0700)]
Port Mock Ril from master branch to GB. DO NOT MERGE

- Replace functions in protobuf_v8.cpp, node_buffer.cpp with those in v8 version of GB:
  replace Object::Get(uint32_t index) with Object::Get(Handle<Value> key)
  replace As function with Object::Cast();
- Modify Android.mk file
  Add "LOCAL_MODULE_TAGS" for librilproto-java
  Tag modules as "debug" so that it can be build in userdebug build

Change-Id: I1523786a63ef66b263b80e069dfcab865cab348f

13 years agoAdd RIL_REQUEST_SEPARATE_CONNECTION and fix bugs
Xia Wang [Wed, 15 Sep 2010 22:55:32 +0000 (15:55 -0700)]
Add RIL_REQUEST_SEPARATE_CONNECTION and fix bugs

. Fix connection indexing: limit the connection index to [1, 7]
. Fix conference call: the maximum number of connections within a call is 5.

Change-Id: I261454c5c37b544da3f3d29f96f3f69a11b2a969

13 years agoAdd RIL_REQUEST_CONFERENCE support to mock ril
Xia Wang [Tue, 14 Sep 2010 23:50:24 +0000 (16:50 -0700)]
Add RIL_REQUEST_CONFERENCE support to mock ril

Change-Id: I91980e8a7cde04dbae8006c892ef85af04dbc7b9

13 years agoMerge ". Add call hold support in Mock Ril . Fix issue: send unsolicited call state...
Xia Wang [Tue, 14 Sep 2010 18:48:35 +0000 (11:48 -0700)]
Merge ". Add call hold support in Mock Ril . Fix issue: send unsolicited call state change after RIL_REQUEST_HANGUP_WAITING_OR_BACKGROUND,   RIL_REQUEST_HANGUP_FOREGROUND_RESUME_BACKGROUND, and   RIL_REQUEST_SWITCH_WAITING_OR_HOLDING_AND_ACTIVE return. . Rename command handler to make the name consistent"

13 years ago. Add call hold support in Mock Ril
Xia Wang [Sun, 12 Sep 2010 22:19:02 +0000 (15:19 -0700)]
. Add call hold support in Mock Ril
. Fix issue: send unsolicited call state change after RIL_REQUEST_HANGUP_WAITING_OR_BACKGROUND,
  RIL_REQUEST_HANGUP_FOREGROUND_RESUME_BACKGROUND, and
  RIL_REQUEST_SWITCH_WAITING_OR_HOLDING_AND_ACTIVE return.
. Rename command handler to make the name consistent

Change-Id: I136c329e8a404e190262871280099c15958b1c9f

13 years agoMerge "Add MockRil support for: RIL_REQUEST_HANGUP_FOREGROUND_RESUME_BACKGROUND Chang...
Xia Wang [Tue, 14 Sep 2010 01:42:14 +0000 (18:42 -0700)]
Merge "Add MockRil support for: RIL_REQUEST_HANGUP_FOREGROUND_RESUME_BACKGROUND Change calls in mockril so it starts with index "1" (According to GsmCallTracker DriverCall)"

13 years agoFix dispatchDataCall parcel length for v4 RILs.
Lorenzo Colitti [Mon, 13 Sep 2010 19:23:50 +0000 (12:23 -0700)]
Fix dispatchDataCall parcel length for v4 RILs.

Bug: 2995438
Change-Id: I31400ae2a79c3a6e7cb82158ab529dfddbb7144e

13 years agoAdd MockRil support for: RIL_REQUEST_HANGUP_FOREGROUND_RESUME_BACKGROUND
Xia Wang [Sat, 11 Sep 2010 01:24:19 +0000 (18:24 -0700)]
Add MockRil support for: RIL_REQUEST_HANGUP_FOREGROUND_RESUME_BACKGROUND
Change calls in mockril so it starts with index "1" (According to GsmCallTracker DriverCall)

Change-Id: I4e693134e6acbea14139f9f654218f0c92a6197e

13 years agoMerge "Properly handle version 3 vendor RILs."
Lorenzo Colitti [Sat, 11 Sep 2010 02:00:53 +0000 (19:00 -0700)]
Merge "Properly handle version 3 vendor RILs."

13 years agoProperly handle version 3 vendor RILs.
Lorenzo Colitti [Sat, 11 Sep 2010 01:27:11 +0000 (18:27 -0700)]
Properly handle version 3 vendor RILs.

Change-Id: I5a876aaebc17287a763eb243e2f2cdaff676c90b

13 years agoAdd icc application status in simulated_icc
Xia Wang [Fri, 10 Sep 2010 00:46:54 +0000 (17:46 -0700)]
Add icc application status in simulated_icc

Change-Id: I926db934a2f09b03df6100dc0fcfbdd4b470ca9a

13 years agoAdd RIL_REQUEST_SET_MUTE
Xia Wang [Tue, 7 Sep 2010 22:02:17 +0000 (15:02 -0700)]
Add RIL_REQUEST_SET_MUTE
Make the change in simulated_icc: pass the correct scope for function call
Remove extra space for function declaration in simulated_radio.

Change-Id: I408bec6e6866b60e18b8317ff83639c8418184f4

13 years agoMerge "RIL changes for IPv6 / IPv4v6 data calls."
Lorenzo Colitti [Wed, 8 Sep 2010 16:29:59 +0000 (09:29 -0700)]
Merge "RIL changes for IPv6 / IPv4v6 data calls."

13 years agoRIL changes for IPv6 / IPv4v6 data calls.
Lorenzo Colitti [Thu, 2 Sep 2010 02:38:57 +0000 (19:38 -0700)]
RIL changes for IPv6 / IPv4v6 data calls.

- Add a PDP type parameter to REQUEST_SETUP_DATA_CALL.
  Make this backwards compatible: if we're called with a PDP type parameter and
  the RIL doesn't support it, remove the parameter from the request so the RIL
  never sees it.
- Change the description of the address field in the RIL_Data_Call_Response
  structure and in the response to RIL_REQUEST_SETUP_DATA_CALL from an address
  to a space-separated list of addresses. This preserves both source and binary
  compatibility but allows new RILs to return both an IPv4 and an IPv6 address
  for dual-stack data calls.

Change-Id: I0a77fc57c042bedfd18068c7faf7637a46f476d5

13 years agoAdd ril request support in simulated_radio
Xia Wang [Sat, 4 Sep 2010 01:59:40 +0000 (18:59 -0700)]
Add ril request support in simulated_radio
Fix issue: pass the correct scope for function call in simulated radio

Change-Id: Ie926fba2cb17e3ace79f61af3326d31893ffe5f1

13 years agoSerialize the requests beforing inserting into the queue
Xia Wang [Wed, 25 Aug 2010 02:37:54 +0000 (19:37 -0700)]
Serialize the requests beforing inserting into the queue
Use buffer for request queue instead of data
Add RIL_REQUEST_DIAL (not in simulated_radio yet)

Change-Id: Ibc824f7fb27b8ffea4edb61b0c3b870cb93e6de6

13 years agoAdd mock ril to send unsolicited signal strength periodically
Xia Wang [Mon, 23 Aug 2010 17:13:11 +0000 (10:13 -0700)]
Add mock ril to send unsolicited signal strength  periodically

Issue: simulatedRadio.REQUEST_DELAY_TEST will return undefined.
Define REQUEST_DELAY_TEST and REQUEST_UNSOL_SIGNAL_STRENGTH
as global vars.

Change-Id: I7c0e8714db06a5f242c70a0d5f7302830ef5e19f

13 years agoAdd RIL_REQUEST_SIGNAL_STRENGTH
Xia Wang [Thu, 12 Aug 2010 23:13:53 +0000 (16:13 -0700)]
Add RIL_REQUEST_SIGNAL_STRENGTH
and setSignalStrength in simulated_radio.js

Change-Id: I11b63c6b478f9c64620c2142a8161f2a57ab373e

13 years agoMove setRadioState command to simulated radio
Xia Wang [Fri, 13 Aug 2010 23:02:46 +0000 (16:02 -0700)]
Move setRadioState command to simulated radio
Define commands in ril_var.js

Change-Id: I1c3133c0d828caae7ffbe52a8915349b94ad3069

13 years agoAdd copying *tests.js to /sdcard/data/
Wink Saville [Thu, 12 Aug 2010 23:34:07 +0000 (16:34 -0700)]
Add copying *tests.js to /sdcard/data/

Change-Id: I73b86a9a5e28fedd491eec6f095ccd2c56c6d556

13 years agoSeparate tests from normal code.
Wink Saville [Thu, 12 Aug 2010 22:39:10 +0000 (15:39 -0700)]
Separate tests from normal code.

Change-Id: I07e377bfdf3e04cc76010e1008d74ee2d7753944

13 years agoAdd support sending a message after delaying a number of milli-seconds.
Wink Saville [Thu, 12 Aug 2010 21:59:30 +0000 (14:59 -0700)]
Add support sending a message after delaying a number of milli-seconds.

Added WorkerQueue::AddDelayed and WorkerV8#AddDelayed, which is visible
as addDelayed to javascript.

Change-Id: I1e8306f2dd25d8782a9d374ed08aff063dc1f654

13 years agoMerge "Change varilables in ril_vars.js to be consistent in ril.proto Add setRadioSta...
Xia Wang [Wed, 11 Aug 2010 17:23:46 +0000 (10:23 -0700)]
Merge "Change varilables in ril_vars.js to be consistent in ril.proto Add setRadioState command to control server"

13 years agoChange handling of bad enum values.
Wink Saville [Wed, 11 Aug 2010 14:18:24 +0000 (07:18 -0700)]
Change handling of bad enum values.

Now the protobuf_v8 code will throw an exception which
may cause a crash but enough information is printed
to diagnose the problem.

Change-Id: I4bdf0cd1c5ec350207ec5abc90502bbc240cb4ac

13 years agoChange varilables in ril_vars.js to be consistent in ril.proto
Xia Wang [Mon, 9 Aug 2010 22:02:42 +0000 (15:02 -0700)]
Change varilables in ril_vars.js to be consistent in ril.proto
Add setRadioState command to control server

Change-Id: I39df3a0405872cc7f2d3fdc4d93a2c80797c14c1

13 years agoMerge "Add RIL_REQUEST_GET_CURRENT_CALLS to mock-ril"
Wink Saville [Mon, 9 Aug 2010 19:22:47 +0000 (12:22 -0700)]
Merge "Add RIL_REQUEST_GET_CURRENT_CALLS to mock-ril"

13 years agoAdd RIL_REQUEST_GET_CURRENT_CALLS to mock-ril
Wink Saville [Sat, 7 Aug 2010 04:44:53 +0000 (21:44 -0700)]
Add RIL_REQUEST_GET_CURRENT_CALLS to mock-ril

Change-Id: Idfafdb5b404f2c4daeef66e38192266afaad31b8

13 years agoam 128ef9cb: am f44700c4: Support for fetching PSC of serving cell.
jsh [Thu, 5 Aug 2010 18:46:15 +0000 (11:46 -0700)]
am 128ef9cb: am f44700c4: Support for fetching PSC of serving cell.

Merge commit '128ef9cba5b604d9cbc7b77a0588e7c6d73cb22d'

* commit '128ef9cba5b604d9cbc7b77a0588e7c6d73cb22d':
  Support for fetching PSC of serving cell.

13 years agoam f44700c4: Support for fetching PSC of serving cell.
jsh [Wed, 4 Aug 2010 21:33:42 +0000 (14:33 -0700)]
am f44700c4: Support for fetching PSC of serving cell.

Merge commit 'f44700c40c612f73b7ef3264828efb8923906f8a' into gingerbread-plus-aosp

* commit 'f44700c40c612f73b7ef3264828efb8923906f8a':
  Support for fetching PSC of serving cell.

13 years agocleanup mock-ril.
Wink Saville [Wed, 4 Aug 2010 13:49:23 +0000 (06:49 -0700)]
cleanup mock-ril.

Remove old generated code and change Android.mk to not use
the old generated code.

Make enum RADIO_STATE_XXX more consistent with other enum
naming and name it RADIOSTATE_XXX.

Add the ril.h command numbers to the comments in ril.proto.

Change Request in mock_ril.js to use this instead of making a new object.

Regenerate the proto output files.

Change-Id: I077cd8c7168cf779ab76d9eef1fdf46beca898bc

13 years agoAdd RIL_REQUEST_GET_IMSI to mock_ril.
Wink Saville [Tue, 3 Aug 2010 23:35:34 +0000 (16:35 -0700)]
Add RIL_REQUEST_GET_IMSI to mock_ril.

Also, fix indentation issue and ignore vim ".swp" files.

Change-Id: I3d87bc8d0ddfa44afeadaf7d7276ab4860ee0955

13 years agoAdd RIL_REQUEST_SET_NETWORK_SELECTION_AUTOMATIC.
Wink Saville [Tue, 3 Aug 2010 22:11:55 +0000 (15:11 -0700)]
Add RIL_REQUEST_SET_NETWORK_SELECTION_AUTOMATIC.

Change-Id: Idccf3d9a63eb828b75f98d8806c054fa506ccea5