Closed
Bug 1139063
Opened 10 years ago
Closed 10 years ago
[Secure Element] RILContentHelper.handleIccOpenChannel should notify error if channel not available
Categories
(Firefox OS Graveyard :: RIL, defect)
Tracking
(firefox39 fixed)
RESOLVED
FIXED
2.2 S8 (20mar)
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: tauzen, Assigned: tauzen)
References
Details
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
edgar
:
review+
|
Details | Diff | Splinter Review |
Test cases and complicated scenarios which involve opening more than one logical channel at the same time are failing. These problems weren't present on Flame 2.1 with QCRIL.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → kmioduszewski
Blocks: b2g-secure-element
Assignee | ||
Comment 1•10 years ago
|
||
I've raised a separate bug for dealing with the errors from RIL Bug 1139835.
RILContentHelper in |handleIccOpenChannel| does check only the |message.errorMsg| from ril_worker. If it is not present it calls |callback.notifyOpenChannelSuccess(message.channel)|. In the problematic scenario, errorMsg is not present but channel is undefined. In such situation |callback.notifyError| should be called.
Depends on: 1139835
Summary: [Secure Element] Investigate problems with opening multiple channels on Nexus 5 → [Secure Element] RILContentHelper.handleIccOpenChannel should notify error if channel not available
Assignee | ||
Comment 2•10 years ago
|
||
Hi Edgar, please see comment 1 for more details. Could you review this?
Attachment #8573351 -
Flags: review?(echen)
Updated•10 years ago
|
Component: NFC → RIL
OS: Mac OS X → Gonk (Firefox OS)
Hardware: x86 → ARM
Updated•10 years ago
|
Comment 3•10 years ago
|
||
Comment on attachment 8573351 [details] [diff] [review]
0001-Bug-1139063-Secure-Element-RILContentHelper.handleIc.patch
Review of attachment 8573351 [details] [diff] [review]:
-----------------------------------------------------------------
From the log provided in bug 1139835, modem/rild did report error code 16 [1] to notify error, but ril_consts.js leaks the define for error code 16 [2]. :(
So what we should do is defining the proper errorMsg in ril_consts.js for error code 16, then RILContentHelper could notify error correctly.
Thank you. :)
[1] https://github.com/android/platform_hardware_ril/blob/lollipop-release/include/telephony/ril.h#L101
[2] https://dxr.mozilla.org/mozilla-central/source/dom/system/gonk/ril_consts.js#216-302
Attachment #8573351 -
Flags: review?(echen)
Assignee | ||
Comment 4•10 years ago
|
||
As discussed on IRC, since the missing error message for error code 16 is breaking the SE API tests, this is a quick patch adding "MissingResource" error message.
Attachment #8573351 -
Attachment is obsolete: true
Attachment #8573846 -
Flags: review?(echen)
Comment 5•10 years ago
|
||
Comment on attachment 8573846 [details] [diff] [review]
0001-Bug-1139063-RIL-Adding-MissingResource-error-msg-no-.patch
Review of attachment 8573846 [details] [diff] [review]:
-----------------------------------------------------------------
Thank you. :)
Attachment #8573846 -
Flags: review?(echen) → review+
Assignee | ||
Comment 6•10 years ago
|
||
Had to retrigger some of the tests. Still some are failing, but I assume that they are not related to this patch: https://treeherder.mozilla.org/#/jobs?repo=try&revision=504f8aac5aa2
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Updated•10 years ago
|
Comment 7•10 years ago
|
||
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 2.2 S8 (20mar)
You need to log in
before you can comment on or make changes to this bug.
Description
•