Closed Bug 699242 Opened 13 years ago Closed 13 years ago

Create JS Parcel subset class for dealing with B2G RIL data

Categories

(Core :: DOM: Device Interfaces, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: qdot, Assigned: qdot)

References

Details

We need to be able to parse Android Parcels in javascript. However, we only really need to be able to parse out values that appear in RIL packets, which are usually integers and 16-bit char strings. Create the minimum needed functionality for parsing all types that happen in RIL packets.
Assignee: nobody → kmachulis
There are relatively few packet types that we need to parse:

- void
- single integer
- single string
- list of integers
- list of strings
- ints/strings together

These can be bound to the packet types. See

https://github.com/cgjones/android-frameworks-base/blob/gingerbread-b2g/telephony/java/com/android/internal/telephony/RIL.java#L2212

and 

https://github.com/cgjones/android-frameworks-base/blob/gingerbread-b2g/telephony/java/com/android/internal/telephony/RIL.java#L2380

for type parsing lists in java.
We won't need this bug any more right?
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
Yeah, since we're going to land the patches through the JS RIL bug, this one is done.
Component: DOM → DOM: Device Interfaces
QA Contact: general → device-interfaces
Version: unspecified → Trunk
You need to log in before you can comment on or make changes to this bug.