Fix data type of RIL_UNSOL_RESPONSE_NEW_BROADCAST_SMS

Fixing incorrect data type of RIL_UNSOL_RESPONSE_NEW_BROADCAST_SMS
in Android RIL.

The Android RIL specifies that the unsolicited response signal
RIL_UNSOL_RESPONSE_NEW_BROADCAST_SMS should contain a raw byte array
(ril.h). However, in the implementation of the Java RIL and the C++
RIL daemon, the data is unpacked as a string. This causes data
delivered from the network stack to be garbled.

Changing so that both the C++ RIL deamon in platform/hardware/ril and
the Java RIL in frameworks/base follows the specification.

Change-Id: Ifa1b9907934256a46cba2b77a560873199e761dd
A minimal ril.

This ril loads properly but most methods are just stubs return errors.

Change-Id: Ie98e5ade9ae67956ab94efbcdc3b441818ef7354
Add trivial tests of STLport and protobuf.

Change-Id: Iff79fbb12bdaf9da397734ac732690536e207638
Skip stlport for simulator

The host's stl library conflicts with stlport, so we need to exclude
stlport from inclusion in the build if we're targeting the simulator.

Change-Id: Idde6453687870a4e361d6a537482fe09dc2fdb47
merge from open-source master

Change-Id: Ide06923b072534e0a21dcee54adbdbce92b71a8e
Add testV8.

Change-Id: I26ec3bc964c523fe6f855e8fe3d436064acfb27a
Fix the x86 build.

We're not currently building V8 for x86, and mock-ril was changed to
depend on it.  This updates the makefile to skip building mock-ril on
non-ARM builds (e.g. sim-eng).

Change-Id: I50e1b6859d4d221316c87c2fdd5cb4d29fa5afbf
Make mock-ril optional and remove reference-cdma-sms.

mock-ril is for testing and should not be included
by default on devices.

reference-cdma-sms is vistigual and is not nor ever was used.

Change-Id: I38707499685f62f3413f817635c0b6f3bdcaab02
am dc504536: merge from open-source master

Merge commit 'dc5045360b73de2f4ebba0e212b426e31e59ec06'

* commit 'dc5045360b73de2f4ebba0e212b426e31e59ec06':
  Fix data type of RIL_UNSOL_RESPONSE_NEW_BROADCAST_SMS
Test how to send a "request" to JS and "print" messages to Android log.

Change-Id: Icf56b12c998096c1574c55cdd5bba17b369920a1
Handle the RIL_REQUEST_SCREEN_STATE using v8 object wrapping.

Change-Id: Idc03583a88116aea2a7f71ac70c2da9136f03eee
Add timer delete support to rild

Change-Id: Ia862f4cac116bf1ee98788c004860cdb2c70f356
merge from open-source master

Change-Id: I0628d21b4bf629896dad7b9b5b6a9357021e1278
New RIL command to fetch PSC of current serving cell.

Bug: 2465036
Change-Id: Iccd177747bb78e2cd5ec6d9d22e47aa0e7bfd64b
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
am 9a2f5113: merge from open-source master

Merge commit '9a2f5113fd1db1e1605daad47b16b6f960045582'

* commit '9a2f5113fd1db1e1605daad47b16b6f960045582':
  Add timer delete support to rild
Revert "am 9a2f5113: merge from open-source master"

This reverts commit bb1375f6bdc6cf7d8c3642367cf35565ddb094a8, reversing
changes made to ca5e347ce4b2b51385c4b7395d51c30498c41a6b.
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
merge from open-source froyo

Change-Id: If4c03c5f5492deb0c99925e8097a8670061a3a2e
am 678966d7: merge from open-source froyo

Merge commit '678966d7694d0c69c933bc7ff14886012358c200'

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