Closed Bug 1222935 Opened 9 years ago Closed 9 years ago

Support REQUEST_SEND_USSD command

Categories

(Firefox OS Graveyard :: Emulator, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(firefox45 fixed)

RESOLVED FIXED
Tracking Status
firefox45 --- fixed

People

(Reporter: hsinyi, Assigned: pelloux)

References

Details

Attachments

(2 files, 1 obsolete file)

      No description provided.
Blocks: 1083688
The scope of this bug is only to get the promise returned from telephony.dial() being resolved.

Implementing session support or emulating ussd network is not needed (yet).
Assignee: nobody → pierre-eric
Attached file reference-ril patch
Attachment #8688952 - Flags: review?(htsai)
Attached patch update gecko test (obsolete) — Splinter Review
Attachment #8688953 - Flags: review?(htsai)
Comment on attachment 8688953 [details] [diff] [review]
update gecko test

Review of attachment 8688953 [details] [diff] [review]:
-----------------------------------------------------------------

Thank you so much! r=me with comment addressed.

b.t.w. as the emulator patch is going to land on emulator-kk only, we'd make sure this test is running on only emulator-kk. Please add one line right below [1],
i.e. 
[test_mmi_ussd.js]
skip-if = android_version < '19'


[1] https://dxr.mozilla.org/mozilla-central/source/dom/telephony/test/marionette/manifest.ini#50
Comment on attachment 8688952 [details] [review]
reference-ril patch

Ultimately we will want to send AT command to modem and then wait for a response from modem for more plausible ussd session emulation. However, let's simply target the scope of comment 1 here as the first step. Since we will always return success for now, it's totally okay to simply return in reference-ril layer IMO. Thanks!

b.t.w. before asking for "checkin-needed" please attach a try result to let Sheriff knows your patch is ready and causing no other issues. I could help you to push your patches to try server this time, but you will still want a Mozilla hg account [1] for being able to use try service afterwards.
Attachment #8688952 - Flags: review?(htsai) → review+
(In reply to Hsin-Yi Tsai [:hsinyi] from comment #6)
> Comment on attachment 8688952 [details] [review]
> reference-ril patch
> 
> Ultimately we will want to send AT command to modem and then wait for a
> response from modem for more plausible ussd session emulation. However,
> let's simply target the scope of comment 1 here as the first step. Since we
> will always return success for now, it's totally okay to simply return in
> reference-ril layer IMO. Thanks!
> 
> b.t.w. before asking for "checkin-needed" please attach a try result to let
> Sheriff knows your patch is ready and causing no other issues. I could help
> you to push your patches to try server this time, but you will still want a
> Mozilla hg account [1] for being able to use try service afterwards.

[1] try server instructions: https://wiki.mozilla.org/ReleaseEngineering/TryServer
(In reply to Hsin-Yi Tsai [:hsinyi] from comment #6)
> Comment on attachment 8688952 [details] [review]
> reference-ril patch
> 
> Ultimately we will want to send AT command to modem and then wait for a
> response from modem for more plausible ussd session emulation. However,
> let's simply target the scope of comment 1 here as the first step. Since we
> will always return success for now, it's totally okay to simply return in
> reference-ril layer IMO. Thanks!
> 
> b.t.w. before asking for "checkin-needed" please attach a try result to let
> Sheriff knows your patch is ready and causing no other issues. I could help
> you to push your patches to try server this time, but you will still want a
> Mozilla hg account [1] for being able to use try service afterwards.

I left some comments on github, please take a look.

I realized that the try failures [1] result from your out-dated platform_hardware_ril branch. You will need to rebase your branch on the latest upstream.

[1] https://treeherder.allizom.org/#/jobs?repo=try&revision=0cc9bf5961ad
Attachment #8688953 - Attachment is obsolete: true
Attachment #8691265 - Flags: review?(htsai)
(In reply to Hsin-Yi Tsai [:hsinyi] from comment #8)
> I realized that the try failures [1] result from your out-dated
> platform_hardware_ril branch. You will need to rebase your branch on the
> latest upstream.

What branch is 'the latest upstream'? master? b2g-kitkat?
Attachment #8691265 - Flags: review?(htsai) → review+
(In reply to pierre-eric from comment #10)
> (In reply to Hsin-Yi Tsai [:hsinyi] from comment #8)
> > I realized that the try failures [1] result from your out-dated
> > platform_hardware_ril branch. You will need to rebase your branch on the
> > latest upstream.
> 
> What branch is 'the latest upstream'? master? b2g-kitkat?

b2g-kitkat
(In reply to Hsin-Yi Tsai [:hsinyi] from comment #11)
> (In reply to pierre-eric from comment #10)
> > (In reply to Hsin-Yi Tsai [:hsinyi] from comment #8)
> > > I realized that the try failures [1] result from your out-dated
> > > platform_hardware_ril branch. You will need to rebase your branch on the
> > > latest upstream.
> > 
> > What branch is 'the latest upstream'? master? b2g-kitkat?
> 
> b2g-kitkat

More explanations:
b2g-kitkat is the right branch, and your Phoxygen/platform_hardware_ril/commits/bug_1222935 branch is based on b2g/b2g-kitkat correctly. However, if you carefully look at the commits of your branch bug_1222935 and https://github.com/mozilla-b2g/platform_hardware_ril/commits/b2g-kitkat (the right and latest upstream), you will see that your bug_1222935 is missing one commit from bevis-tseng that I believe is the root cause of the try failure. So, make sure your bug_1222935 contains all the commits on the right upstream.
(In reply to Hsin-Yi Tsai [:hsinyi] from comment #13)
> A new try commit based on updated branch:
> https://treeherder.allizom.org/#/jobs?repo=try&revision=ecc5d2ff2b65

Mnw is green, ready to land!
Keywords: leave-open
Hi Edgar,
could you help merge the hardware/ril branch? Thank you!
Flags: needinfo?(echen)
https://hg.mozilla.org/mozilla-central/rev/2b1a10c95815
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: