Create JS Parcel subset class for dealing with B2G RIL data

RESOLVED WONTFIX

Status

()

Core
DOM: Device Interfaces
RESOLVED WONTFIX
6 years ago
6 years ago

People

(Reporter: qdot, Assigned: qdot)

Tracking

Trunk
All
Gonk (Firefox OS)
Points:
---

Firefox Tracking Flags

(Not tracked)

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
Blocks: 699235
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.

Comment 2

6 years ago
We won't need this bug any more right?
Status: NEW → RESOLVED
Last Resolved: 6 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.