OSDN Git Service

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

13 years agoSupport for fetching PSC of serving cell.
jsh [Thu, 24 Jun 2010 04:53:24 +0000 (21:53 -0700)]
Support for fetching PSC of serving cell.

Instead of adding a new RIL command, just extend RIL_REQUEST_REGISTRATION_STATE.

Bug: 2465036
Change-Id: I8f42bb8da65ec7d2f7627b14d7506c38b71ad83d

13 years agoMerge "Add rilRequestGetImei and rilRequestGetImeisv."
Wink Saville [Sat, 31 Jul 2010 13:58:12 +0000 (06:58 -0700)]
Merge "Add rilRequestGetImei and rilRequestGetImeisv."

13 years agoam 2e977068: (-s ours) am 060f053e: DO NOT MERGE
Xia Wang [Fri, 30 Jul 2010 20:48:08 +0000 (13:48 -0700)]
am 2e977068: (-s ours) am 060f053e: DO NOT MERGE

Merge commit '2e977068a167ea597b6514501d2221c5a4e22574'

* commit '2e977068a167ea597b6514501d2221c5a4e22574':
  DO NOT MERGE

13 years agoam 060f053e: DO NOT MERGE
Xia Wang [Fri, 30 Jul 2010 20:46:14 +0000 (13:46 -0700)]
am 060f053e: DO NOT MERGE

Merge commit '060f053e816137fb4f5e03c15b5122c92219ed52' into gingerbread-plus-aosp

* commit '060f053e816137fb4f5e03c15b5122c92219ed52':
  DO NOT MERGE

13 years agoAdd rilRequestGetImei and rilRequestGetImeisv.
Wink Saville [Fri, 30 Jul 2010 04:28:52 +0000 (21:28 -0700)]
Add rilRequestGetImei and rilRequestGetImeisv.

Also, moved the mock_ril.js dispatchTable to the bottom of the file to
make it easier to edit.

Change-Id: Ib636975d02cdd92d77b9a0c36912d2ff6947d833

13 years agoDO NOT MERGE
Xia Wang [Wed, 28 Jul 2010 00:26:55 +0000 (17:26 -0700)]
DO NOT MERGE

Fix index error in the radiooptions enable/disable QXDM Log

Change-Id: I6118742f76f6c90d47a9512c48ae2bacb03f93e9

13 years agoAdd rilRequestBaseBandVersion, RspString and cleaned up some debug output.
Wink Saville [Thu, 29 Jul 2010 23:59:50 +0000 (16:59 -0700)]
Add rilRequestBaseBandVersion, RspString and cleaned up some debug output.

Also missed reordering in SimulatedRadio and SimulatedIcc in the previous
change so did that in this change.

Change-Id: I18c51a5ac175166301df97ef7517b8a706140754

13 years agoReorder dispatch tables to be numeric.
Wink Saville [Thu, 29 Jul 2010 22:56:08 +0000 (15:56 -0700)]
Reorder dispatch tables to be numeric.

Change-Id: I0c79797bf997e33adde4383496102e7ccbee2ab4

13 years agoRename the global state varaibles to "gXxxx"
Wink Saville [Thu, 29 Jul 2010 22:18:58 +0000 (15:18 -0700)]
Rename the global state varaibles to "gXxxx"

Change-Id: I0aa8b4104750dc15bafd1f959f927cc84d826ce9

13 years agoReorganize files.
Wink Saville [Wed, 28 Jul 2010 23:44:10 +0000 (16:44 -0700)]
Reorganize files.

Separate generated from normal files and segrate the normal
files by their type.

Change-Id: I9c50b18e07f599fd32c61ae5610499ef94f999d3

13 years agoMerge "Refactor mock-ril and some renaming in responses and requests."
Wink Saville [Wed, 28 Jul 2010 22:40:44 +0000 (15:40 -0700)]
Merge "Refactor mock-ril and some renaming in responses and requests."

13 years agoRefactor mock-ril and some renaming in responses and requests.
Wink Saville [Wed, 28 Jul 2010 21:40:48 +0000 (14:40 -0700)]
Refactor mock-ril and some renaming in responses and requests.

Also support for several more requests/responses.

Change-Id: If165745d86d979820fff888e2594200cdf78ba77

13 years agoFix index error in the radiooptions enable/disable QXDM Log
Xia Wang [Wed, 28 Jul 2010 00:26:55 +0000 (17:26 -0700)]
Fix index error in the radiooptions enable/disable QXDM Log

Change-Id: I7eb2ac166ccee106751ba5cdb6400e37e8750063

13 years agoAlways make librilproto-java.
Wink Saville [Tue, 27 Jul 2010 16:29:33 +0000 (09:29 -0700)]
Always make librilproto-java.

Second attempt to fix the sim-eng build.

Change-Id: I968e30aeaef02a23a3c9509d01c450277feb0fa9

13 years agoTry to fix sim-eng build.
Wink Saville [Tue, 27 Jul 2010 06:22:15 +0000 (23:22 -0700)]
Try to fix sim-eng build.

We need to build librilproto-java as its needed for framework telephony tests.

Change-Id: Ief91b689098b49c30178e340fcfc7b8e7e41eac8

13 years agoAdd a java library and change so the message header is a protobuf.
Wink Saville [Tue, 27 Jul 2010 00:00:34 +0000 (17:00 -0700)]
Add a java library and change so the message header is a protobuf.

Change-Id: Ie41b671089dce1081b2e535351d15aed7af2382f

13 years agoMerge "Create a very initial mock_ril.js and supporting code."
Wink Saville [Tue, 20 Jul 2010 05:54:36 +0000 (22:54 -0700)]
Merge "Create a very initial mock_ril.js and supporting code."

13 years agoCreate a very initial mock_ril.js and supporting code.
Wink Saville [Tue, 20 Jul 2010 03:37:44 +0000 (20:37 -0700)]
Create a very initial mock_ril.js and supporting code.

Change-Id: I742c413f33d99e8fe8e5a320dab067174b560e98

13 years agoFix reference ril to pass correct interface name
Robert Greenwalt [Fri, 16 Jul 2010 01:54:53 +0000 (18:54 -0700)]
Fix reference ril to pass correct interface name

Restores connectivity to emulator.

Change-Id: I95e2026b16c78ebf70f5fd22ff2554751f90f0c9

13 years agoam 678966d7: merge from open-source froyo
The Android Open Source Project [Wed, 14 Jul 2010 18:41:04 +0000 (11:41 -0700)]
am 678966d7: merge from open-source froyo

Merge commit '678966d7694d0c69c933bc7ff14886012358c200'

* commit '678966d7694d0c69c933bc7ff14886012358c200':
  Keep also the CAP_NET_RAW capability

13 years agomerge from open-source froyo
The Android Open Source Project [Wed, 14 Jul 2010 18:38:12 +0000 (11:38 -0700)]
merge from open-source froyo

Change-Id: If4c03c5f5492deb0c99925e8097a8670061a3a2e

13 years agoKeep also the CAP_NET_RAW capability
Pal Szasz [Thu, 8 Apr 2010 07:24:09 +0000 (09:24 +0200)]
Keep also the CAP_NET_RAW capability

This capability is used to open a packet connection, needed by
do_dhcp -> dhcp_init_ifc -> open_raw_socket in libnetutils.

Change-Id: Ib9fcabccea0bef551f93edf6d7f58f31ca748763

13 years agoRevert "am 9a2f5113: merge from open-source master"
Dianne Hackborn [Fri, 25 Jun 2010 23:50:46 +0000 (16:50 -0700)]
Revert "am 9a2f5113: merge from open-source master"

This reverts commit bb1375f6bdc6cf7d8c3642367cf35565ddb094a8, reversing
changes made to ca5e347ce4b2b51385c4b7395d51c30498c41a6b.

13 years agoam 9a2f5113: merge from open-source master
The Android Open Source Project [Fri, 25 Jun 2010 21:21:13 +0000 (14:21 -0700)]
am 9a2f5113: merge from open-source master

Merge commit '9a2f5113fd1db1e1605daad47b16b6f960045582'

* commit '9a2f5113fd1db1e1605daad47b16b6f960045582':
  Add timer delete support to rild

13 years agoSupport for fetching PSC of serving cell.
jsh [Thu, 24 Jun 2010 04:53:24 +0000 (21:53 -0700)]
Support for fetching PSC of serving cell.

Instead of adding a new RIL command, just extend RIL_REQUEST_REGISTRATION_STATE.

Bug: 2465036
Change-Id: I36c3a7b730cace66621fc513773ec97c453ea619

13 years agoNew RIL command to fetch PSC of current serving cell.
jsh [Tue, 8 Jun 2010 23:52:24 +0000 (16:52 -0700)]
New RIL command to fetch PSC of current serving cell.

Bug: 2465036
Change-Id: Iccd177747bb78e2cd5ec6d9d22e47aa0e7bfd64b

13 years agomerge from open-source master
The Android Open Source Project [Tue, 22 Jun 2010 21:18:59 +0000 (14:18 -0700)]
merge from open-source master

Change-Id: I0628d21b4bf629896dad7b9b5b6a9357021e1278

13 years agoAdd timer delete support to rild
Naveen Kalla [Tue, 22 Jun 2010 01:54:47 +0000 (18:54 -0700)]
Add timer delete support to rild

Change-Id: Ia862f4cac116bf1ee98788c004860cdb2c70f356

13 years agoHandle the RIL_REQUEST_SCREEN_STATE using v8 object wrapping.
Wink Saville [Fri, 18 Jun 2010 04:23:21 +0000 (21:23 -0700)]
Handle the RIL_REQUEST_SCREEN_STATE using v8 object wrapping.

Change-Id: Idc03583a88116aea2a7f71ac70c2da9136f03eee