OSDN Git Service

android-x86/hardware-ril.git
13 years agomock-ril: fix compiling an issue on Mac OS X
Chih-Wei Huang [Wed, 26 Jan 2011 09:13:56 +0000 (17:13 +0800)]
mock-ril: fix compiling an issue on Mac OS X

The $(src_java) and $(gen_src_java) are empty in mock-ril/Android.mk
if the architecuture is not arm, or the build is non-debug variants.
It results in a "find  -name ..." statement with an empty searching
directory by $(call all-java-files-under,...) of librilproto-java.
The BSD derived find on Mac OS X complains about that.

The patch tried to fix the issue in the ways:

* always defines $(src_java) and $(gen_src_java) no matter what TARGET_ARCH is.
* only defines module librilproto-java in debug variants build.

Change-Id: I8a04657d280abc8df1fc3cf95d7143c2225f6ef5

Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
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 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 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 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 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 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 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 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 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

14 years agomerge from open-source master
The Android Open Source Project [Wed, 12 May 2010 16:31:55 +0000 (09:31 -0700)]
merge from open-source master

Change-Id: I7ce5870268166dffb6fabffb45b325b57dbe6ef0

14 years agoAdd support for EVDO rev B
Naveen Kalla [Wed, 21 Apr 2010 18:10:08 +0000 (11:10 -0700)]
Add support for EVDO rev B

Change-Id: Id81d062e1108c00121cb06d70eef1af9c57a25b7

14 years agoNotify user regarding invalid number during MO call.
Naveen Kalla [Wed, 21 Apr 2010 23:44:37 +0000 (16:44 -0700)]
Notify user regarding invalid number during MO call.

When user dials an invalid number, network returns a failure
as "unobtainable number" (See the Table 10.5.123/3GPP TS 24.008 for
the possible failure causes). Changes done to display message to
indicate user that an invalid number has been dialed.

Change-Id: Ibe191991ee6f24dd683dca47f6af54e400ef17df

14 years agoFor issue #2651381, allow library prelinking.
Dan Bornstein [Thu, 6 May 2010 21:41:14 +0000 (14:41 -0700)]
For issue #2651381, allow library prelinking.

Change-Id: I38bf6d01992aeb64d18551824fc834ffb43e297f

14 years agoAdd RIL_E_ILLEGAL_SIM_OR_ME error code.
John Wang [Tue, 20 Apr 2010 22:11:42 +0000 (15:11 -0700)]
Add RIL_E_ILLEGAL_SIM_OR_ME error code.

It is for bug 2571583 to provide better failure information of network operator selection.

Basically, network selection should return RIL_E_ILLEGAL_SIM_OR_ME when the failure is
permanent and don't need retry, such as illegal SIM, ME,  HRL config, etc.

Change-Id: Idd5337423a3772febfcfe68b4a87eb3cf5a4696e

14 years agoRemove STOP SHIP logs and comments from ril.cpp.
Wink Saville [Wed, 7 Apr 2010 20:29:58 +0000 (13:29 -0700)]
Remove STOP SHIP logs and comments from ril.cpp.

bug: 2577644
Change-Id: I7021a12950b4a562c88c393ae75ad2394df3d655

14 years agoAdd an empty CleanSpec.mk
Jean-Baptiste Queru [Tue, 9 Mar 2010 02:04:54 +0000 (18:04 -0800)]
Add an empty CleanSpec.mk

Change-Id: Ia3388aad9c264d9cb2d6ade6e2800290f68d6dd4

14 years agoam 64f6d1f2: am 358c03ff: reconcile main tree with open-source eclair
The Android Open Source Project [Fri, 5 Feb 2010 22:20:15 +0000 (14:20 -0800)]
am 64f6d1f2: am 358c03ff: reconcile main tree with open-source eclair

Merge commit '64f6d1f2ee0563cb8cffaf3ceeeab7393538cf31'

* commit '64f6d1f2ee0563cb8cffaf3ceeeab7393538cf31':
  android-2.1_r1 snapshot

14 years agoam 358c03ff: reconcile main tree with open-source eclair
The Android Open Source Project [Fri, 5 Feb 2010 16:47:17 +0000 (08:47 -0800)]
am 358c03ff: reconcile main tree with open-source eclair

Merge commit '358c03ff70ce697f4b6d57cc048c0c37b5feb3b8' into eclair-plus-aosp

* commit '358c03ff70ce697f4b6d57cc048c0c37b5feb3b8':
  android-2.1_r1 snapshot

14 years agoreconcile main tree with open-source eclair eclair-x86
The Android Open Source Project [Fri, 5 Feb 2010 16:09:38 +0000 (08:09 -0800)]
reconcile main tree with open-source eclair

14 years agoam 2a7411dc: am 5909cf83: Add RIL_UNSOL_RESEND_INCALL_MUTE.
John Wang [Sat, 30 Jan 2010 04:11:50 +0000 (20:11 -0800)]
am 2a7411dc: am 5909cf83: Add RIL_UNSOL_RESEND_INCALL_MUTE.

Merge commit '2a7411dc92f15111e36f72214216f96aab2c51f9'

* commit '2a7411dc92f15111e36f72214216f96aab2c51f9':
  Add RIL_UNSOL_RESEND_INCALL_MUTE.

14 years agoam 5909cf83: Add RIL_UNSOL_RESEND_INCALL_MUTE.
John Wang [Sat, 30 Jan 2010 04:08:37 +0000 (20:08 -0800)]
am 5909cf83: Add RIL_UNSOL_RESEND_INCALL_MUTE.

Merge commit '5909cf831f0d687e93164daaecc43a2ff792cc3a' into eclair-plus-aosp

* commit '5909cf831f0d687e93164daaecc43a2ff792cc3a':
  Add RIL_UNSOL_RESEND_INCALL_MUTE.

14 years agoAdd RIL_UNSOL_RESEND_INCALL_MUTE.
John Wang [Fri, 29 Jan 2010 08:18:54 +0000 (00:18 -0800)]
Add RIL_UNSOL_RESEND_INCALL_MUTE.

For bug 2400052.

Notification requires user resend mute/unmute to get uplink audio in a call.

14 years agoreconcile android-2.1_r1 snapshot
The Android Open Source Project [Fri, 29 Jan 2010 22:09:19 +0000 (14:09 -0800)]
reconcile android-2.1_r1 snapshot

14 years agoam 81898138: am 7f8ded1d: Comments on the extension of registration status.
John Wang [Thu, 28 Jan 2010 18:08:33 +0000 (10:08 -0800)]
am 81898138: am 7f8ded1d: Comments on the extension of registration status.

Merge commit '818981384d43f849264d92b23534a989924604f1'

* commit '818981384d43f849264d92b23534a989924604f1':
  Comments on the extension of registration status.

14 years agoam 7f8ded1d: Comments on the extension of registration status.
John Wang [Fri, 22 Jan 2010 18:24:31 +0000 (10:24 -0800)]
am 7f8ded1d: Comments on the extension of registration status.

Merge commit '7f8ded1d8a337b6860dd7329b8a1be0ade4ea290' into eclair-plus-aosp

* commit '7f8ded1d8a337b6860dd7329b8a1be0ade4ea290':
  Comments on the extension of registration status.

14 years agoComments on the extension of registration status.
John Wang [Thu, 21 Jan 2010 23:07:28 +0000 (15:07 -0800)]
Comments on the extension of registration status.

Add status 10, 12, 13 and 14 to distinguish emergency calls only status from status 0, 2, 3 and 4.

This feature will only be enabled in case setting "ro.ril.emc.mode"=2 in system property.

14 years agoandroid-2.1_r1 snapshot
The Android Open Source Project [Tue, 12 Jan 2010 23:19:05 +0000 (15:19 -0800)]
android-2.1_r1 snapshot

14 years agoFix bug 2353510 "Sholes can't make a call from device".
Wink Saville [Fri, 8 Jan 2010 23:20:12 +0000 (15:20 -0800)]
Fix bug 2353510 "Sholes can't make a call from device".

Some new code in ril.cpp to handle both old and new rils
needed some tweaking so the new and old size was used.

bug: 2353510

14 years agoFix build.
Wink Saville [Thu, 24 Dec 2009 01:09:32 +0000 (17:09 -0800)]
Fix build.

Change-Id: I2b28f321e48865212c3b970e61a86b578d71e89f

14 years agoril interface: Add support for User-User Signaling Information during call setup
Wink Saville [Tue, 22 Dec 2009 23:35:41 +0000 (15:35 -0800)]
ril interface: Add support for User-User Signaling Information during call setup

Define the UUS data structures and add a pointer to it in RIL_Call for
MT Calls and RIL_Dial for MO calls. UUS information can be used to pass
the skypeId on some networks. Make the corresponding changes to
serialize and deserialize the data at the RIL interface.

Change-Id: Ibbd471cd062910fd4c365f76e809cfb224bd34a2

14 years agoam 94ba73d4: merge from open-source master
Jean-Baptiste Queru [Sun, 15 Nov 2009 23:08:03 +0000 (15:08 -0800)]
am 94ba73d4: merge from open-source master

Merge commit '94ba73d416d5a6f077c9abba4fefa0539a23701a'

* commit '94ba73d416d5a6f077c9abba4fefa0539a23701a':
  eclair snapshot

14 years agomerge from open-source master
Jean-Baptiste Queru [Sun, 15 Nov 2009 22:55:21 +0000 (14:55 -0800)]
merge from open-source master

14 years agomerge from open-source master
Jean-Baptiste Queru [Sun, 15 Nov 2009 22:06:34 +0000 (14:06 -0800)]
merge from open-source master

Merge commit 'goog/stage-korg-master' into HEAD

14 years agomerge from eclair
Jean-Baptiste Queru [Sun, 15 Nov 2009 20:06:41 +0000 (12:06 -0800)]
merge from eclair

14 years agoeclair snapshot
Jean-Baptiste Queru [Fri, 13 Nov 2009 02:46:07 +0000 (18:46 -0800)]
eclair snapshot

14 years agoam d14d79bc: am 36b721c2: ril.h: Change latitude-longitude fields to be compliant...
Naveen Kalla [Thu, 22 Oct 2009 18:15:04 +0000 (11:15 -0700)]
am d14d79bc: am 36b721c2: ril.h: Change latitude-longitude fields to be compliant with 3GPP2 spec.

Merge commit 'd14d79bc5079f898a7f3c0a9096da949e4115e19'

* commit 'd14d79bc5079f898a7f3c0a9096da949e4115e19':
  ril.h: Change latitude-longitude fields to be compliant with 3GPP2 spec.

14 years agoam 36b721c2: ril.h: Change latitude-longitude fields to be compliant with 3GPP2 spec.
Naveen Kalla [Thu, 22 Oct 2009 18:12:40 +0000 (11:12 -0700)]
am 36b721c2: ril.h: Change latitude-longitude fields to be compliant with 3GPP2 spec.

Merge commit '36b721c2fcbc98885a4ccd04ddf50dd690142d5e' into eclair-plus-aosp

* commit '36b721c2fcbc98885a4ccd04ddf50dd690142d5e':
  ril.h: Change latitude-longitude fields to be compliant with 3GPP2 spec.

14 years agoam 36b721c2: ril.h: Change latitude-longitude fields to be compliant with 3GPP2 spec.
Naveen Kalla [Thu, 22 Oct 2009 18:02:05 +0000 (11:02 -0700)]
am 36b721c2: ril.h: Change latitude-longitude fields to be compliant with 3GPP2 spec.

Merge commit '36b721c2fcbc98885a4ccd04ddf50dd690142d5e' into eclair-mr2-plus-aosp

* commit '36b721c2fcbc98885a4ccd04ddf50dd690142d5e':
  ril.h: Change latitude-longitude fields to be compliant with 3GPP2 spec.

14 years agoril.h: Change latitude-longitude fields to be compliant with 3GPP2 spec.
Naveen Kalla [Wed, 14 Oct 2009 01:29:41 +0000 (18:29 -0700)]
ril.h: Change latitude-longitude fields to be compliant with 3GPP2 spec.

Base Station Latitude and Longitude values in the response to the
RIL_REQUEST_REGISTRATION_STATE message need to be changed from
hexadecimal values to decimal values compliant with the 3GPP2 C.S0005-A
specification.

Bug: 2201613
Change-Id: I2591f43bf78b861cf5cadd1eb66866bcf6605a29

14 years agoAdd back a missing shared library used by rild to linker command line. Currently...
Doug Kwan [Tue, 6 Oct 2009 23:24:51 +0000 (16:24 -0700)]
Add back a missing shared library used by rild to linker command line.  Currently this works because the library is linked via dependency of another shared library used by
rild.  This is fragile and not the right thing to do.  The library is used only for
ARM so also need to check the target.

14 years agoRevert "Add missing shared library used by executable in linker command. This execute"
Doug Kwan [Tue, 6 Oct 2009 00:14:19 +0000 (17:14 -0700)]
Revert "Add missing shared library used by executable in linker command.  This execute"

This reverts commit c1550f00857c0770e188566c567c11633077435b.

14 years agoAdd missing shared library used by executable in linker command. This execute
Doug Kwan [Fri, 2 Oct 2009 22:13:33 +0000 (15:13 -0700)]
Add missing shared library used by executable in linker command.  This execute
contains call to a shared library without explicitly linking it.  Currently this
works because the library is linked via dependency of another shared library
used by the executable.  This is fragile and not the right thing to do.

14 years agoam 43265610: Update description for RIL_REQUEST_SET_LOCATION_UPDATES to include CDMA.
jsh [Thu, 1 Oct 2009 04:14:32 +0000 (21:14 -0700)]
am 43265610: Update description for RIL_REQUEST_SET_LOCATION_UPDATES to include CDMA.

Merge commit '432656105ccc2f4f891fbe8fb5b636f2428f1f4e' into eclair-plus-aosp

* commit '432656105ccc2f4f891fbe8fb5b636f2428f1f4e':
  Update description for RIL_REQUEST_SET_LOCATION_UPDATES to include CDMA.

14 years agoUpdate description for RIL_REQUEST_SET_LOCATION_UPDATES to include CDMA.
jsh [Wed, 30 Sep 2009 00:46:11 +0000 (17:46 -0700)]
Update description for RIL_REQUEST_SET_LOCATION_UPDATES to include CDMA.

14 years agoam 03c1edf2: ril.h: Add a failure cause for CDMA call failures, rename RIL_REQUEST_CD...
Naveen Kalla [Tue, 29 Sep 2009 22:54:25 +0000 (15:54 -0700)]
am 03c1edf2: ril.h: Add a failure cause for CDMA call failures, rename RIL_REQUEST_CDMA_VALIDATE_AKEY and minor clarifications in the interface definitions.

Merge commit '03c1edf23e76a83b95ac6847e333cb1329bbfa1d' into eclair-plus-aosp

* commit '03c1edf23e76a83b95ac6847e333cb1329bbfa1d':
  ril.h: Add a failure cause for CDMA call failures, rename

14 years agoril.h: Add a failure cause for CDMA call failures, rename
Naveen Kalla [Wed, 23 Sep 2009 18:18:35 +0000 (11:18 -0700)]
ril.h: Add a failure cause for CDMA call failures, rename
RIL_REQUEST_CDMA_VALIDATE_AKEY and minor clarifications
in the interface definitions.

Add failure cause for CDMA call failures due to access blocked by the
network. Specify the fields in RIL_REQUEST_REGISTRATION_STATE response
that are applicable to EVDO. Rename RIL_REQUEST_CDMA_VALIDATE_AKEY to
RIL_REQUEST_VALIDATE_AND_WRITE_AKEY. Elaborate the meaning of Akey in the
RIL_REQUEST_CDMA_VALIDATE_AND_WRITE_AKEY message.

14 years agoam 5d621da5: Add UNSOL_CALL_RINGBACK_TONE to ril.
John Wang [Sun, 20 Sep 2009 20:57:25 +0000 (13:57 -0700)]
am 5d621da5: Add UNSOL_CALL_RINGBACK_TONE to ril.

Merge commit '5d621da539abea83309d77317ede40126f47d5f0' into eclair-plus-aosp

* commit '5d621da539abea83309d77317ede40126f47d5f0':
  Add UNSOL_CALL_RINGBACK_TONE to ril.

14 years agoAdd UNSOL_CALL_RINGBACK_TONE to ril.
John Wang [Sat, 19 Sep 2009 00:17:48 +0000 (17:17 -0700)]
Add UNSOL_CALL_RINGBACK_TONE to ril.

Some networks may not play ring back tone, RIL will send UNSOL ringback notification.

It indicates to play tone to user for receiving ALERTING message.

14 years agoam e0ba6a98: Update comment of Neighboring Cell.
johnwang [Sun, 20 Sep 2009 17:14:58 +0000 (10:14 -0700)]
am e0ba6a98: Update comment of Neighboring Cell.

Merge commit 'e0ba6a98408e1efd3d1d1043d75f0ab53daddaaa' into eclair-plus-aosp

* commit 'e0ba6a98408e1efd3d1d1043d75f0ab53daddaaa':
  Update comment of Neighboring Cell.

14 years agoUpdate comment of Neighboring Cell.
johnwang [Sat, 12 Sep 2009 02:14:52 +0000 (19:14 -0700)]
Update comment of Neighboring Cell.

14 years agoam bfb151ba: Update comment for CDMA_SEND_SMS in ril.h
johnwang [Fri, 11 Sep 2009 23:02:13 +0000 (16:02 -0700)]
am bfb151ba: Update comment for CDMA_SEND_SMS in ril.h

Merge commit 'bfb151ba844bb97d8b21e827c0cb1556082151fa' into eclair-plus-aosp

* commit 'bfb151ba844bb97d8b21e827c0cb1556082151fa':
  Update comment for CDMA_SEND_SMS in ril.h

14 years agoUpdate comment for CDMA_SEND_SMS in ril.h
johnwang [Fri, 11 Sep 2009 22:20:38 +0000 (15:20 -0700)]
Update comment for CDMA_SEND_SMS in ril.h

Update the comment of error class in CDMA_SEND_SMS to better document possible errors.

14 years agoam 8e3a2cad: Document CDMA messageRef value.
Tammo Spalink [Fri, 11 Sep 2009 06:03:27 +0000 (23:03 -0700)]
am 8e3a2cad: Document CDMA messageRef value.

Merge commit '8e3a2cad4ed875394c833124df98255b1fd18a77' into eclair-plus-aosp

* commit '8e3a2cad4ed875394c833124df98255b1fd18a77':
  Document CDMA messageRef value.

14 years agoDocument CDMA messageRef value.
Tammo Spalink [Fri, 11 Sep 2009 03:26:30 +0000 (11:26 +0800)]
Document CDMA messageRef value.

Change-Id: Iad417c2449a8b3d5b8bce7f42ff698ab62988e47

14 years agomerge from open-source master
Jean-Baptiste Queru [Tue, 1 Sep 2009 15:28:16 +0000 (08:28 -0700)]
merge from open-source master

14 years agoAdd comment to RIL_UNSOL_CALL_RING.
Wink Saville [Fri, 28 Aug 2009 18:16:03 +0000 (11:16 -0700)]
Add comment to RIL_UNSOL_CALL_RING.

Document the expected behavior and the new system properties
ro.telephony.call_ring.multiple and ro.telephony.call_ring.delay.

Change-Id: I600358ea29a31cafba99c58492003b7c2c6f77ed

14 years agoHSDPA/HSUPA/HSPA support in ril.
Li Zhe [Tue, 4 Aug 2009 05:14:34 +0000 (13:14 +0800)]
HSDPA/HSUPA/HSPA support in ril.

HSDPA: High-Speed Downlink Packet Access
HSUPA: High-Speend Uplink Packet Access
HSPA: High-Speed Packet Access

Changes include:
1) add HSDPA/HSUPA/HSPA in response of RIL_REQUEST_REGISTRATION_STATE
2) rdd HSDPA/HSUPA/HSPA in response of RIL_REQUEST_GPRS_REGISTRATION_STATE

14 years agoRelease mutex locks on error conditions.
Jaikumar Ganesh [Tue, 18 Aug 2009 23:40:29 +0000 (16:40 -0700)]
Release mutex locks on error conditions.

14 years agofix return value check issue in sendResponseRaw function
Kenny [Wed, 12 Aug 2009 16:45:53 +0000 (00:45 +0800)]
fix return value check issue in sendResponseRaw function

14 years agofix return value check issue in sendResponseRaw function
Kenny [Wed, 12 Aug 2009 16:45:53 +0000 (00:45 +0800)]
fix return value check issue in sendResponseRaw function

14 years agomerge from open-source master
Jean-Baptiste Queru [Tue, 4 Aug 2009 16:00:28 +0000 (09:00 -0700)]
merge from open-source master

14 years agomerge from donut
Jean-Baptiste Queru [Mon, 3 Aug 2009 14:45:46 +0000 (07:45 -0700)]
merge from donut

14 years agoam 309ac294: Clean RIL_SIM_* in ril.h
John Wang [Thu, 30 Jul 2009 23:07:42 +0000 (16:07 -0700)]
am 309ac294: Clean RIL_SIM_* in ril.h

Merge commit '309ac294bd529ff5a71f1c1e62cd493df1010271'

* commit '309ac294bd529ff5a71f1c1e62cd493df1010271':
  Clean RIL_SIM_* in ril.h

14 years agoClean RIL_SIM_* in ril.h
John Wang [Thu, 30 Jul 2009 21:53:23 +0000 (14:53 -0700)]
Clean RIL_SIM_* in ril.h

GET_SIM_STATUS returns structure RIL_CardStatus instead of an integer of RIL_SIM_*. Update reference-ril for RIL_CardStatus and cleanup RIL_SIM_*.

modified:   include/telephony/ril.h
modified:   reference-ril/reference-ril.c

14 years agoUpdate comments on SID/NID format.
johnwang [Thu, 30 Jul 2009 06:34:48 +0000 (23:34 -0700)]
Update comments on SID/NID format.

modified:   include/telephony/ril.h

14 years agomerge from donut
Jean-Baptiste Queru [Wed, 29 Jul 2009 21:57:05 +0000 (14:57 -0700)]
merge from donut

14 years agoreconcile korg/master into goog/master
Jean-Baptiste Queru [Sun, 26 Jul 2009 18:43:55 +0000 (11:43 -0700)]
reconcile korg/master into goog/master

14 years agoMerge korg/donut into korg/master
Jean-Baptiste Queru [Sun, 26 Jul 2009 00:48:03 +0000 (17:48 -0700)]
Merge korg/donut into korg/master

14 years agoAdd comments for CDMA_SUBSCRIPTION
johnwang [Thu, 23 Jul 2009 22:51:21 +0000 (15:51 -0700)]
Add comments for CDMA_SUBSCRIPTION

The SID and NID in CDMA_SUBSCRIPTION are represented in hexadecimal format (See bug # 1997056).

modified:   ril.h

14 years agoam 29be25c1: Minor tweak to RIL_REQUEST_CDMA_SUBSCRIPTION
jsh [Thu, 16 Jul 2009 01:15:21 +0000 (18:15 -0700)]
am 29be25c1: Minor tweak to RIL_REQUEST_CDMA_SUBSCRIPTION

Merge commit '29be25c17885e6c7c32b6aea293d689d5b9fb463'

* commit '29be25c17885e6c7c32b6aea293d689d5b9fb463':
  Minor tweak to RIL_REQUEST_CDMA_SUBSCRIPTION

14 years agoMinor tweak to RIL_REQUEST_CDMA_SUBSCRIPTION
jsh [Wed, 15 Jul 2009 03:18:59 +0000 (20:18 -0700)]
Minor tweak to RIL_REQUEST_CDMA_SUBSCRIPTION

H_SID and H_NID now returned as comma separated lists instead of single
value, since the home network may be comprised of more than one SID/NID.

Also update description of registration denied cause and manual network
selection.

14 years agoam 602f80f9: (Hopefully) final updates to ril.h for donut.
jsh [Sun, 12 Jul 2009 13:06:58 +0000 (06:06 -0700)]
am 602f80f9: (Hopefully) final updates to ril.h for donut.

Merge commit '602f80f98a06a8ed009a6c9b9aa3e0bcfc4afb23'

* commit '602f80f98a06a8ed009a6c9b9aa3e0bcfc4afb23':
  (Hopefully) final updates to ril.h for donut.

14 years ago(Hopefully) final updates to ril.h for donut.
jsh [Fri, 10 Jul 2009 22:44:37 +0000 (15:44 -0700)]
(Hopefully) final updates to ril.h for donut.

Some new error values; additional parameters for BURST_DTMF.

14 years agoam 6f189a6a: Fix bug 1687659 - cell id in reference ril.
John Wang [Thu, 2 Jul 2009 00:27:43 +0000 (17:27 -0700)]
am 6f189a6a: Fix bug 1687659 - cell id in reference ril.

Merge commit '6f189a6a1b53adfa9570cf5911c3f81ef1b1fcf8'

* commit '6f189a6a1b53adfa9570cf5911c3f81ef1b1fcf8':
  Fix bug 1687659 - cell id in reference ril.

14 years agoFix bug 1687659 - cell id in reference ril.
John Wang [Tue, 30 Jun 2009 20:12:53 +0000 (13:12 -0700)]
Fix bug 1687659 - cell id in reference ril.

The LAC and CID of RIL_REQUEST_REGISTRATION_STATE should be in the hex format. The valid LAC are from 0x0000 to 0xffff and Valid CID are from 0x00000000 to 0xffffffff. reference-ril should return hex value instead of decimal one.

modified:   reference-ril/reference-ril.c

14 years agoam 593c910c: Update comments for PIN/PUK commands.
jsh [Thu, 25 Jun 2009 00:39:08 +0000 (17:39 -0700)]
am 593c910c: Update comments for PIN/PUK commands.

Merge commit '593c910c9a98973ff1be5afe39987bafaa546170'

* commit '593c910c9a98973ff1be5afe39987bafaa546170':
  Update comments for PIN/PUK commands.

14 years agoUpdate comments for PIN/PUK commands.
jsh [Wed, 24 Jun 2009 23:13:44 +0000 (16:13 -0700)]
Update comments for PIN/PUK commands.

These now have a response value.

14 years agoam 09a68ba3: Add remaining retry count to response for PIN/PUK commands.
jsh [Mon, 22 Jun 2009 17:05:29 +0000 (10:05 -0700)]
am 09a68ba3: Add remaining retry count to response for PIN/PUK commands.

Merge commit '09a68ba315ca3d6b092fd8078cc42b93b7934a1a'

* commit '09a68ba315ca3d6b092fd8078cc42b93b7934a1a':
  Add remaining retry count to response for PIN/PUK commands.

14 years agoAdd remaining retry count to response for PIN/PUK commands.
jsh [Wed, 10 Jun 2009 18:56:38 +0000 (11:56 -0700)]
Add remaining retry count to response for PIN/PUK commands.

RIL_REQUEST_ENTER_SIM_PIN
RIL_REQUEST_ENTER_SIM_PUK
RIL_REQUEST_ENTER_SIM_PIN2
RIL_REQUEST_ENTER_SIM_PUK2
RIL_REQUEST_CHANGE_SIM_PIN
RIL_REQUEST_CHANGE_SIM_PIN2
RIL_REQUEST_SET_FACILITY_LOCK
RIL_ENTER_NETWORK_DEPERSONALIZATION

Also add requestToString entry for REPORT_SMS_MEMORY_STATUS.

14 years agoam d6aa2e32: Add PDP failure cause.
Jaikumar Ganesh [Tue, 16 Jun 2009 17:28:57 +0000 (10:28 -0700)]
am d6aa2e32: Add PDP failure cause.

Merge commit 'd6aa2e32a44f883b008b9bb12b322f5b7e8dced4'

* commit 'd6aa2e32a44f883b008b9bb12b322f5b7e8dced4':
  Add PDP failure cause.

14 years agoAdd PDP failure cause.
Jaikumar Ganesh [Mon, 4 May 2009 18:09:46 +0000 (11:09 -0700)]
Add PDP failure cause.

The RIL API LAST_PDP_FAIL_CAUSE, gives us the error
codes for PDP falure. Add these to ril.h.

14 years agoam 920c78f1: Add authType to SETUP_DATA_CALL, errorCode to RIL_SMS_Response.
Jaikumar Ganesh [Wed, 10 Jun 2009 18:37:21 +0000 (11:37 -0700)]
am 920c78f1: Add authType to SETUP_DATA_CALL, errorCode to RIL_SMS_Response.

Merge commit '920c78f166e787dc799bf5df7d6be30034ac0e77'

* commit '920c78f166e787dc799bf5df7d6be30034ac0e77':
  Add authType to SETUP_DATA_CALL, errorCode to RIL_SMS_Response.

14 years agoAdd authType to SETUP_DATA_CALL, errorCode to RIL_SMS_Response.
Jaikumar Ganesh [Thu, 4 Jun 2009 17:53:15 +0000 (10:53 -0700)]
Add authType to SETUP_DATA_CALL, errorCode to RIL_SMS_Response.

1.Add an additional parameter to specify the
authType (PAP / CHAP) to SETUP_DATA_CALL.
2.Add errorCode to RIL_SMS_Response

14 years agoam 7f856808: Cleanup whitespace.
Wink Saville [Wed, 10 Jun 2009 01:10:02 +0000 (18:10 -0700)]
am 7f856808: Cleanup whitespace.

Merge commit '7f8568086f2ea14885b0091c793e14c2656f0da2'

* commit '7f8568086f2ea14885b0091c793e14c2656f0da2':
  Cleanup whitespace.

14 years agoCleanup whitespace.
Wink Saville [Tue, 9 Jun 2009 17:23:37 +0000 (10:23 -0700)]
Cleanup whitespace.

14 years agoam 2641d5b8: Add RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING.
Wink Saville [Tue, 9 Jun 2009 06:05:24 +0000 (23:05 -0700)]
am 2641d5b8: Add RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING.

Merge commit '2641d5b8426beb86870611e5bc7c4eb0a877025b'

* commit '2641d5b8426beb86870611e5bc7c4eb0a877025b':
  Add RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING.

14 years agoAdd RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING.
Wink Saville [Tue, 9 Jun 2009 00:40:42 +0000 (17:40 -0700)]
Add RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING.

Also add RIL_REQUEST_REPORT_SMS_MEMORY_STATUS which was missing from ril_commands.h.

14 years agoam d4ee7dc0: Add a fifth response string to RIL_REQUEST_CDMA_SUBSCRIPTION which has...
Wink Saville [Sat, 6 Jun 2009 04:17:47 +0000 (21:17 -0700)]
am d4ee7dc0: Add a fifth response string to RIL_REQUEST_CDMA_SUBSCRIPTION which has the PRL version.

Merge commit 'd4ee7dc0e98de1aa990e6c8a63f639779f9a86e9'

* commit 'd4ee7dc0e98de1aa990e6c8a63f639779f9a86e9':
  Add a fifth response string to RIL_REQUEST_CDMA_SUBSCRIPTION which has the PRL version.

14 years agoAdd a fifth response string to RIL_REQUEST_CDMA_SUBSCRIPTION which has the PRL version.
Wink Saville [Fri, 5 Jun 2009 22:11:30 +0000 (15:11 -0700)]
Add a fifth response string to RIL_REQUEST_CDMA_SUBSCRIPTION which has the PRL version.

14 years agoam b2a6184e: Allow response payload on RIL_REQUEST error
johnwang [Wed, 3 Jun 2009 01:21:50 +0000 (18:21 -0700)]
am b2a6184e: Allow response payload on RIL_REQUEST error

Merge commit 'b2a6184ec942c4c1728cbac723db90fbed4f85c5'

* commit 'b2a6184ec942c4c1728cbac723db90fbed4f85c5':
  Allow response payload on RIL_REQUEST error

14 years agoAllow response payload on RIL_REQUEST error
johnwang [Tue, 2 Jun 2009 21:55:45 +0000 (14:55 -0700)]
Allow response payload on RIL_REQUEST error

Enable response payload while RIL_REQUEST returns error. RIL must explicitly pass NULL
for the response parameter if there is no response payload.

modified:   ril.cpp

14 years agoam b60444ef: Support for SMS error reporting to the network.
jsh [Fri, 29 May 2009 22:17:26 +0000 (15:17 -0700)]
am b60444ef: Support for SMS error reporting to the network.

Merge commit 'b60444ef2fe63b372e13f3d38ebf8448d6c127f5'

* commit 'b60444ef2fe63b372e13f3d38ebf8448d6c127f5':
  Support for SMS error reporting to the network.

14 years agoSupport for SMS error reporting to the network.
jsh [Fri, 29 May 2009 18:09:17 +0000 (11:09 -0700)]
Support for SMS error reporting to the network.

- Update RIL_REQUEST_SMS_ACKNOWLDGE to report fail cause.
- Update comments for RIL_CMDA_SMS_Ack.
- Add RIL_REQUEST_REPORT_SMS_MEMORY_STATUS.

14 years agoam a592eebc: Cleanup and changes of responseCdmaInformationReocrds, Broadcast SMS...
Wink Saville [Fri, 29 May 2009 03:30:43 +0000 (20:30 -0700)]
am a592eebc: Cleanup and changes of responseCdmaInformationReocrds, Broadcast SMS configuration and reponseRilSignalStrength.

Merge commit 'a592eebc476a3d234f47f93e58252f8c822fc772'

* commit 'a592eebc476a3d234f47f93e58252f8c822fc772':
  Cleanup and changes of responseCdmaInformationReocrds, Broadcast SMS

14 years agoCleanup and changes of responseCdmaInformationReocrds, Broadcast SMS
Wink Saville [Fri, 22 May 2009 20:26:36 +0000 (13:26 -0700)]
Cleanup and changes of responseCdmaInformationReocrds, Broadcast SMS
configuration and reponseRilSignalStrength.

From Motorola, change reponseCdmaInformationRecords to use string for
marshalling and simplify by removing duplicate code.

Change Broadcast SMS configuration adding some some new fields
for Gsm Broadcast configuration and some name changes to be
more coherent.

Cleanup responseRilSignalStrength, includes some code refactoring
and removing the sending of the number of intergers. Now it is assumed
that a RIL_SignalStrength structure being sent so it is not necessary to
send the length. There is a corresponding change in
frameworks/base/telephony/java/com/android/internal/telephony/RIL.java.

14 years agoam fdf825f9: Enable new libhtc_ril which supporting new CDMA ril interface.
johnwang [Tue, 26 May 2009 21:55:36 +0000 (14:55 -0700)]
am fdf825f9: Enable new libhtc_ril which supporting new CDMA ril interface.

Merge commit 'fdf825f9d0dc639787b8523638bb61874ed0b540'

* commit 'fdf825f9d0dc639787b8523638bb61874ed0b540':
  Enable new libhtc_ril which supporting new CDMA ril interface.

14 years agoEnable new libhtc_ril which supporting new CDMA ril interface.
johnwang [Fri, 22 May 2009 22:50:34 +0000 (15:50 -0700)]
Enable new libhtc_ril which supporting new CDMA ril interface.

1) Enable new libhtc_ril and support new RIL_Call structure 2) Remove "#define NEWRIL".

15 years agomove libbinder's header files under includes/binder
Mathias Agopian [Wed, 20 May 2009 02:11:50 +0000 (19:11 -0700)]
move libbinder's header files under includes/binder

15 years agoadd libbinder deps where needed
Mathias Agopian [Wed, 20 May 2009 00:29:08 +0000 (17:29 -0700)]
add libbinder deps where needed