Closed Bug 833142 Opened 13 years ago Closed 13 years ago

[Cost Control]DataUsage is not updated.

Categories

(Firefox OS Graveyard :: Gaia::Cost Control, defect)

ARM
Gonk (Firefox OS)
defect
Not set
blocker

Tracking

(blocking-b2g:leo+)

RESOLVED WORKSFORME
blocking-b2g leo+

People

(Reporter: leo.bugzilla.gecko, Assigned: albert)

References

Details

DataUsage of 'Cost Control' is not updated. Although I use PS application(Browser), both 3G & Wi-Fi total data usage count don't increase. NetworkManager reads correctly tx rx bytes through Netd. 01-20 20:13:27.329 I/Gecko ( 115): -*- NetworkManager: NetworkManager received message from worker: {"cmd":"getNetworkInterfaceStats","ifname":"wlan0","connType":0,"report":true,"isAsync":true,"id":"","rxBytes":2561751,"txBytes":356729,"date":"2013-01-21T07:13:27.324Z","resultCode":217,"resultReason":"356729\u0000"} There is no tx&rx bytes at data field in result from NetwrokStatsmanager. 01-20 20:13:27.559 I/Gecko ( 340): -*- NetworkStatsManager: result: {"connectionType":"wifi","start":"2013-01-20T11:00:00.000Z","end":"2013-01-20T11:00:00.000Z","data":[{"date":"2013-01-20T11:00:00.000Z"}]}
blocking-b2g: --- → leo?
Asking for qa confirmation. Jason, did you implement the NetworkStatsManager api?
Keywords: qawanted
blocking-b2g: leo? → leo+
Philikon reviewed the NetworkStatsManager code--ccing. Acperez last touched the code AFAICT. > did you implement the NetworkStatsManager api? No. IIRC we decided for v1 to get network stat info from a phone-specific API, as hooking all of necko would be too much work (and we'd still have inaccurate #s since we don't account for SSL and TCP overhead in byte counts).
> NetworkManager reads correctly tx rx bytes through Netd. Right, so this is probably the JS above that. Throwing to philikon to fix or find a fixer.
Assignee: nobody → philipp
(In reply to Jason Duell (:jduell) from comment #3) > Philikon reviewed the NetworkStatsManager code--ccing. Acperez last touched > the code AFAICT. Last change I was involved in as a reviewer was bug 827198 which was verified by QA, although bug 838023 has since arisen -- which seems to contradict with this bug quite a bit. Assigning to acperez as the owning engineer. I can help troubleshoot and review if need be.
Assignee: philipp → acperez
I am using a prepaid O2 SIM here in London and I am getting no data usage logged. Is the cost control app carrier-specific?
Cost control is not carrier specific although some parts of the app are intended to work only for VIVO (a Brazilian OEM) SIM cards. Just in case, I´ve retested with a Movistar SIM in todays buils (Gecko-71b4f53.Gaia-9f5a4a9) and is tracking my 3G data consumption.
Please, can we have an update about this?
Flags: needinfo?(carlos.martinez)
Tested again in todays build and is working fine (Gecko-70c8f2c.Gaia-ecca2ee). Closing as worksforme.
Status: NEW → RESOLVED
Closed: 13 years ago
Flags: needinfo?(carlos.martinez)
Resolution: --- → WORKSFORME
As Carlos already commented, removing qawanted
Keywords: qawanted
You need to log in before you can comment on or make changes to this bug.