Closed
Bug 1110669
Opened 10 years ago
Closed 9 years ago
Use |StreamSocket| for RIL IPC
Categories
(Firefox OS Graveyard :: RIL, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.2 S3 (9jan)
People
(Reporter: tzimmermann, Assigned: tzimmermann)
References
Details
Attachments
(3 files, 2 obsolete files)
3.90 KB,
patch
|
qdot
:
review+
hsinyi
:
feedback+
|
Details | Diff | Splinter Review |
18.86 KB,
patch
|
tzimmermann
:
review+
|
Details | Diff | Splinter Review |
5.73 KB,
patch
|
tzimmermann
:
review+
|
Details | Diff | Splinter Review |
We have reached the limits of what is possible with |UnixSocketConsumer|. The replacement is a combination of |ListenSocket| and |StreamSocket|. All IPC code should be converted to these classes. RIL IPC only requires functionality from |StreamSocket|.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8535534 -
Flags: review?(htsai)
Assignee | ||
Comment 2•10 years ago
|
||
Attachment #8535535 -
Flags: review?(htsai)
Assignee | ||
Comment 3•10 years ago
|
||
Attachment #8535537 -
Flags: review?(htsai)
Assignee | ||
Comment 4•10 years ago
|
||
The first two patches are just cleanups. The final patch changes |RilConsumer| to use |StreamSocket|.
Comment 5•10 years ago
|
||
Comment on attachment 8535534 [details] [diff] [review] [01] Bug 1110669: Fix coding style of |RilConsumer| and it's helpers Review of attachment 8535534 [details] [diff] [review]: ----------------------------------------------------------------- Looks good to me. ::: ipc/ril/Ril.cpp @@ +61,5 @@ > > + if (sRilConsumers.Length() <= mClientId || > + !sRilConsumers[mClientId] || > + sRilConsumers[mClientId]->GetConnectionStatus() != SOCKET_CONNECTED) { > + // Probably shuting down. nit: indention @@ +62,5 @@ > + if (sRilConsumers.Length() <= mClientId || > + !sRilConsumers[mClientId] || > + sRilConsumers[mClientId]->GetConnectionStatus() != SOCKET_CONNECTED) { > + // Probably shuting down. > + delete mRawData; ditto. @@ +67,1 @@ > return NS_OK; ditto.
Attachment #8535534 -
Flags: review?(htsai) → review+
Updated•10 years ago
|
Attachment #8535535 -
Flags: review?(htsai) → review+
Comment 6•10 years ago
|
||
Comment on attachment 8535537 [details] [diff] [review] [03] Bug 1110669: Inherit |RilConsumer| from |StreamSocket| Review of attachment 8535537 [details] [diff] [review]: ----------------------------------------------------------------- Thomas, thanks for the patch. I think qDot should do the formal review for this part though it looks good to me. hi Kyle, could you help take a look at this? Thank you.
Attachment #8535537 -
Flags: review?(kyle)
Attachment #8535537 -
Flags: review?(htsai)
Attachment #8535537 -
Flags: feedback+
Comment 7•10 years ago
|
||
Comment on attachment 8535537 [details] [diff] [review] [03] Bug 1110669: Inherit |RilConsumer| from |StreamSocket| Review of attachment 8535537 [details] [diff] [review]: ----------------------------------------------------------------- lgtm
Attachment #8535537 -
Flags: review?(kyle) → review+
Assignee | ||
Comment 8•9 years ago
|
||
Changes since v1: - rebased onto latest m-c - fixed style issues
Attachment #8535534 -
Attachment is obsolete: true
Attachment #8545165 -
Flags: review+
Assignee | ||
Comment 9•9 years ago
|
||
Changes since v1: - rebased onto [01](v2)
Attachment #8535535 -
Attachment is obsolete: true
Attachment #8545167 -
Flags: review+
Assignee | ||
Comment 10•9 years ago
|
||
Thank you, Hsin-Yi and Kyle. https://hg.mozilla.org/integration/b2g-inbound/rev/9a9147872e5b https://hg.mozilla.org/integration/b2g-inbound/rev/14e25d5825f7 https://hg.mozilla.org/integration/b2g-inbound/rev/9bf521b43c84 https://treeherder.mozilla.org/ui/#/jobs?repo=b2g-inbound&revision=9bf521b43c84
https://hg.mozilla.org/mozilla-central/rev/9a9147872e5b https://hg.mozilla.org/mozilla-central/rev/14e25d5825f7 https://hg.mozilla.org/mozilla-central/rev/9bf521b43c84
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.2 S3 (9jan)
You need to log in
before you can comment on or make changes to this bug.
Description
•