Closed
Bug 882984
Opened 11 years ago
Closed 11 years ago
[B2G] [CDMA] Update nsIDOMMozMobileCellInfo to also report base station id, base station latitude, base station longitude, system id, network id
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
FIXED
mozilla25
People
(Reporter: anshulj, Assigned: edgar)
References
Details
(Whiteboard: [fixed-in-birch])
Attachments
(5 files, 8 obsolete files)
2.56 KB,
patch
|
edgar
:
review+
|
Details | Diff | Splinter Review |
8.75 KB,
patch
|
edgar
:
review+
|
Details | Diff | Splinter Review |
1.56 KB,
patch
|
edgar
:
review+
|
Details | Diff | Splinter Review |
1.37 KB,
patch
|
edgar
:
review+
|
Details | Diff | Splinter Review |
3.59 KB,
patch
|
edgar
:
review+
|
Details | Diff | Splinter Review |
This information would be needed for any clients like GPS.
Updated•11 years ago
|
Assignee: nobody → echen
Assignee | ||
Updated•11 years ago
|
Component: General → DOM: Device Interfaces
OS: All → Gonk (Firefox OS)
Product: Boot2Gecko → Core
Assignee | ||
Comment 1•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Attachment #771190 -
Attachment description: Part 1: Expose CDMA registration information to mozMobileCellInfo → Part 1: Expose CDMA registration information to mozMobileCellInfo, v1
Assignee | ||
Comment 2•11 years ago
|
||
Assignee | ||
Comment 3•11 years ago
|
||
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #771190 -
Attachment is obsolete: true
Assignee | ||
Comment 5•11 years ago
|
||
Comment on attachment 777666 [details] [diff] [review]
Part 1: Expose CDMA registration information to mozMobileCellInfo, v2
I expose cdma registration information to mozMobileCellInfo and also define the value for each field when the information is unavailable. Could you give some feedback, hsinyi
Attachment #777666 -
Flags: feedback?
Assignee | ||
Updated•11 years ago
|
Attachment #777666 -
Flags: feedback? → feedback?(htsai)
Comment 6•11 years ago
|
||
Comment on attachment 777666 [details] [diff] [review]
Part 1: Expose CDMA registration information to mozMobileCellInfo, v2
Review of attachment 777666 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good!
Attachment #777666 -
Flags: feedback?(htsai) → feedback+
Assignee | ||
Comment 7•11 years ago
|
||
Attachment #771191 -
Attachment is obsolete: true
Assignee | ||
Comment 8•11 years ago
|
||
Assignee | ||
Comment 9•11 years ago
|
||
Attachment #771192 -
Attachment is obsolete: true
Assignee | ||
Comment 10•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Attachment #777666 -
Flags: review?(htsai)
Assignee | ||
Updated•11 years ago
|
Attachment #778296 -
Flags: review?(htsai)
Assignee | ||
Updated•11 years ago
|
Attachment #778300 -
Flags: review?(htsai)
Assignee | ||
Updated•11 years ago
|
Attachment #778301 -
Flags: review?(htsai)
Assignee | ||
Comment 11•11 years ago
|
||
Comment on attachment 777666 [details] [diff] [review]
Part 1: Expose CDMA registration information to mozMobileCellInfo, v2
Hi Mounir:
This bug is for exposing cdma registration information which would be needed for GPS clients to MobileCellInfo. Please help to review the interface changes.
Thanks in advance.
Attachment #777666 -
Flags: superreview?(mounir)
Assignee | ||
Comment 12•11 years ago
|
||
Comment on attachment 778298 [details] [diff] [review]
Part 3: GPS changes for MobileCellInfo, v1
Kan-Ru, we change the the type of gsmLocationAreaCode and gsmCellId in this bug, and it is needed to change some codes in GPS as well, could you help to review this? Thanks in advance.
Attachment #778298 -
Flags: review?(kchen)
Comment 13•11 years ago
|
||
Comment on attachment 778298 [details] [diff] [review]
Part 3: GPS changes for MobileCellInfo, v1
Review of attachment 778298 [details] [diff] [review]:
-----------------------------------------------------------------
r=me with following addressed.
::: dom/system/gonk/GonkGPSGeolocationProvider.cpp
@@ +484,5 @@
> + int32_t lac;
> + int64_t cid;
> +
> + cell->GetGsmLocationAreaCode(&lac);
> + if (lac >= 0x0 && lac <= 0xffff) {
Comment the magic number 0xffff. Or use a constant like MAX_GSM_LAC to hold that.
@@ +489,5 @@
> + location.u.cellID.lac = lac;
> + }
> +
> + cell->GetGsmCellId(&cid);
> + if (cid >= 0x0 && cid <= 0xffffffff) {
Ditto.
Attachment #778298 -
Flags: review?(kchen) → review+
Comment 14•11 years ago
|
||
Comment on attachment 778296 [details] [diff] [review]
Part 2: RIL implementation for exposing CDMA registration information, v2
Review of attachment 778296 [details] [diff] [review]:
-----------------------------------------------------------------
Looks great! Thank you :)
Attachment #778296 -
Flags: review?(htsai) → review+
Comment 15•11 years ago
|
||
Comment on attachment 778300 [details] [diff] [review]
Part 4: Fix xpcshell tests, v1
Review of attachment 778300 [details] [diff] [review]:
-----------------------------------------------------------------
Nice!!!
Attachment #778300 -
Flags: review?(htsai) → review+
Comment 16•11 years ago
|
||
Comment on attachment 778301 [details] [diff] [review]
Part 5: Marionette tests for cdma registration information, v1
Review of attachment 778301 [details] [diff] [review]:
-----------------------------------------------------------------
Great!
Would you please file another follow-up bug for cdma marionette tests? Thank you.
Attachment #778301 -
Flags: review?(htsai) → review+
Comment 17•11 years ago
|
||
Comment on attachment 777666 [details] [diff] [review]
Part 1: Expose CDMA registration information to mozMobileCellInfo, v2
Review of attachment 777666 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good!
Attachment #777666 -
Flags: review?(htsai) → review+
Comment 18•11 years ago
|
||
Comment on attachment 777666 [details] [diff] [review]
Part 1: Expose CDMA registration information to mozMobileCellInfo, v2
Review of attachment 777666 [details] [diff] [review]:
-----------------------------------------------------------------
Hsin-Yi's review should be enough here.
Attachment #777666 -
Flags: superreview?(mounir)
Assignee | ||
Comment 19•11 years ago
|
||
(In reply to Mounir Lamouri (:mounir) from comment #18)
> Comment on attachment 777666 [details] [diff] [review]
> Part 1: Expose CDMA registration information to mozMobileCellInfo, v2
>
> Review of attachment 777666 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> Hsin-Yi's review should be enough here.
Got it.
Thanks, Mounir!
Assignee | ||
Comment 20•11 years ago
|
||
Add r=hsinyi after r+.
Attachment #777666 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Attachment #780172 -
Flags: review+
Assignee | ||
Comment 21•11 years ago
|
||
1). Rebase.
2). Add r=hsinyi after r+.
Attachment #778296 -
Attachment is obsolete: true
Attachment #780173 -
Flags: review+
Assignee | ||
Comment 22•11 years ago
|
||
1). Address review comment #13.
2). Add r=kchen after r+.
Attachment #778298 -
Attachment is obsolete: true
Attachment #780174 -
Flags: review+
Assignee | ||
Comment 23•11 years ago
|
||
Add r=hsinyi after r+.
Attachment #778300 -
Attachment is obsolete: true
Attachment #780175 -
Flags: review+
Assignee | ||
Comment 24•11 years ago
|
||
1). Rebase.
2). Add r=hsinyi after r+.
Attachment #778301 -
Attachment is obsolete: true
Attachment #780179 -
Flags: review+
Assignee | ||
Comment 25•11 years ago
|
||
Assignee | ||
Comment 26•11 years ago
|
||
https://hg.mozilla.org/projects/birch/rev/65d019d4162c
https://hg.mozilla.org/projects/birch/rev/59298610ee48
https://hg.mozilla.org/projects/birch/rev/1a6b938e93fd
https://hg.mozilla.org/projects/birch/rev/734ab44f2204
https://hg.mozilla.org/projects/birch/rev/db22940c0cba
Whiteboard: [fixed-in-birch]
Comment 27•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/65d019d4162c
https://hg.mozilla.org/mozilla-central/rev/59298610ee48
https://hg.mozilla.org/mozilla-central/rev/1a6b938e93fd
https://hg.mozilla.org/mozilla-central/rev/734ab44f2204
https://hg.mozilla.org/mozilla-central/rev/db22940c0cba
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in
before you can comment on or make changes to this bug.
Description
•