Closed Bug 793189 Opened 12 years ago Closed 12 years ago

MMI Codes: get IMEI

Categories

(Core :: DOM: Device Interfaces, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla19
blocking-basecamp +
Tracking Status
firefox18 --- fixed
firefox19 --- fixed

People

(Reporter: ferjm, Assigned: ferjm)

References

Details

(Whiteboard: [LOE:S])

Attachments

(2 files, 1 obsolete file)

As per device certification requirements we need to support the *#06# MMI code to get the device IMEI code.
Blocks: MMI
blocking-basecamp: --- → ?
Assignee: nobody → ferjmoreno
Is this a P1 blockers or is it a nice-to-have?
Whiteboard: [blocked-on-input philikon]
(In reply to Andrew Overholt [:overholt] from comment #1) > Is this a P1 blockers or is it a nice-to-have? Blocker because device certification requirement.
Whiteboard: [blocked-on-input philikon]
blocking-basecamp: ? → +
Whiteboard: [LOE:S]
I consider this task as LOE:S once bug 793186 lands.
Depends on: 793186
Attached patch Part 1: RIL (deleted) — Splinter Review
Not much to explain. This patch allows the retrieval of the device's IMEI via the *#06# MMI code.
Attachment #669437 - Flags: review?(marshall)
Attached patch Part 2: Test (obsolete) (deleted) — Splinter Review
Attachment #669438 - Flags: review?(marshall)
Attached patch Part 2: Test (deleted) — Splinter Review
Sorry for the spam Marshall, I didn't qref when added the 'error' test.
Attachment #669438 - Attachment is obsolete: true
Attachment #669438 - Flags: review?(marshall)
Attachment #669441 - Flags: review?(marshall)
Priority: -- → P1
Attachment #669437 - Flags: review?(marshall) → review+
Comment on attachment 669437 [details] [diff] [review] Part 1: RIL Review of attachment 669437 [details] [diff] [review]: ----------------------------------------------------------------- Looks good! missed one comment.. ::: dom/system/gonk/RILContentHelper.js @@ +716,5 @@ > case "RIL:SendMMI:Return:OK": > case "RIL:CancelMMI:Return:OK": > request = this.takeRequest(msg.json.requestId); > if (request) { > + Services.DOMRequest.fireSuccess(request, msg.json.result); does this change the semantics for any of the other Send/CancelMMI results? (are we testing these DOM results anywhere?)
Comment on attachment 669441 [details] [diff] [review] Part 2: Test Review of attachment 669441 [details] [diff] [review]: ----------------------------------------------------------------- It might be good to test the actual IMEI of the emulator at some point, but these tests are a good start. Maybe a file a follow up?
Attachment #669441 - Flags: review?(marshall) → review+
Thanks for the review Marshall! :) (In reply to Marshall Culpepper [:marshall_law] from comment #7) > Comment on attachment 669437 [details] [diff] [review] > Part 1: RIL > > Review of attachment 669437 [details] [diff] [review]: > ----------------------------------------------------------------- > > Looks good! missed one comment.. > > ::: dom/system/gonk/RILContentHelper.js > @@ +716,5 @@ > > case "RIL:SendMMI:Return:OK": > > case "RIL:CancelMMI:Return:OK": > > request = this.takeRequest(msg.json.requestId); > > if (request) { > > + Services.DOMRequest.fireSuccess(request, msg.json.result); > > does this change the semantics for any of the other Send/CancelMMI results? > (are we testing these DOM results anywhere?) No, sending 'msg.json' instead of 'msg.json.result' was actually a bug. And no, I am afraid that we are not testing these DOM results anywhere yet. (In reply to Marshall Culpepper [:marshall_law] from comment #8) > Comment on attachment 669441 [details] [diff] [review] > Part 2: Test > > Review of attachment 669441 [details] [diff] [review]: > ----------------------------------------------------------------- > > It might be good to test the actual IMEI of the emulator at some point, but > these tests are a good start. Maybe a file a follow up? Indeed, I have a patch ready with marionette tests (where we also check the DOMRequest.result), but I couldn't run it cause the emulator is not working for me :\. I'll file a follow-up bug for the marionette tests.
Depends on: 802506
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: