Commit Graph

1959 Commits

Author SHA1 Message Date
Jessica Jong
d0c33feb10 Bug 939046 - Part 4: changes to test cases after data call enhancement. f=edgar r=hsinyi 2014-05-27 02:09:00 +02:00
Jessica Jong
4062d031e9 Bug 939046 - Part 3: Introduce dataNetworkInterfaces map and DataCall. f=edgar r=hsinyi
First, we change to use dataNetworkInterfaces map. The key of the map
is the apn type and the value is its corresponding RILNetworkInterface.
RILNetworkInterface(s) are created as soon as apn settings are ready and
registered to NetworkManager right away.

Then, we introduce the DataCall object which represents a real
underlying PDP. When RILNetworkInterface is created, a DataCall is
assigned to it. DataCall can be shared between RILNetworkInterfaces
if they consist of the same apn, username and password.

When a RILNetworkInterface is enabled, it requests its DataCall to
be connected; the DataCall, which can be shared, will establish the
data call if it's not already connected. Similarly, DataCall will
disconnect the data call only when no RILNetworkInterface is requesting
it.

Also, we set the CONNECTING/DISCONNECTING state in DataCall instead of
waiting for state change from ril_worker.
2014-05-27 02:08:00 +02:00
Jessica Jong
e06c0ca3e3 Bug 939046 - Part 2.b: use DISCONNECTED state instead of UNKNOWN when data is disconnected. f=edgar r=hsinyi,vicamo
Since we have removed routing stuff in register/unregisterNetworkInterface()
in Part 2.a, we should use DISCONNECTED state so that routes can be properly
removed when data call is deactivated.
2014-05-27 02:04:00 +02:00
Jessica Jong
6ea091cffd Bug 939046 - Part 2.a: remove routing stuff in register/unregisterNetworkInterface. f=edgar r=hsinyi,vicamo
We should handle routing stuff when a network becomes CONNECTED/DISCONNECTED.
2014-05-27 02:03:00 +02:00
Jessica Jong
6c46a8334b Bug 939046 - Part 1.b: use network id in ril to look for networkInterfaces. r=hsinyi,vicamo 2014-05-27 02:03:00 +02:00
Jessica Jong
65ea8fb108 Bug 939046 - Part 1.a: use network id as key in NetworkManager. f=edgar r=hsinyi,vicamo
Network id is composed of a sub-id + '-' + network type. For mobile network
types, sub-id is 'ril' + service id; for non-mobile network types, sub-id
is always 'device'.
2014-05-27 02:01:00 +02:00
Krzysztof Mioduszewski
c3cae8d37e Bug 933595 - Part 1: Gecko code changes to pass error messages to gaia. r=allstars.chh 2014-05-23 09:11:38 +02:00
Birunthan Mohanathas
c4568a7085 Bug 869836 - Part 6: Use EqualsLiteral instead of Equals where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
62570a8716 Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:50 +03:00
Birunthan Mohanathas
51bb570c80 Bug 798033 - Remove 'using namespace' from remaining headers. r=froydnj 2014-05-18 19:34:00 -04:00
Ryan VanderMeulen
a3f0913720 Backed out 7 changesets (bug 824717) for bustage. r=khuey because the webidl hook is dumb
Backed out changeset bd7c604de980 (bug 824717)
Backed out changeset 4c4b8b15da37 (bug 824717)
Backed out changeset fd9e72e50518 (bug 824717)
Backed out changeset d66a08988272 (bug 824717)
Backed out changeset 5eaab20bb1aa (bug 824717)
Backed out changeset c80dbc9a693a (bug 824717)
Backed out changeset 62e12031b8bc (bug 824717)
2014-05-21 08:42:54 -04:00
Carsten "Tomcat" Book
68f3c7307e Merge mozilla-central to b2g-inbound 2014-05-21 14:32:08 +02:00
Carsten "Tomcat" Book
3189a1798c merge b2g-inbound to mozilla-central 2014-05-21 14:08:03 +02:00
Bevis Tseng
0c4d2904a6 Bug 824717 - Part 6: Notify SendMesageFailed with saved DOM Message if available. r=vyang 2014-04-28 13:28:12 +08:00
Szu-Yu Chen [:aknow]
9c60153b36 Bug 1003650 - Dynamically update debug flag. r=hsinyi 2014-05-21 00:50:00 +02:00
Yoshi Huang
f061a92bd6 Bug 981646 - B2G RIL: Cannot read sdn contacts. r=smaug, vicamo 2014-05-16 14:50:00 +08:00
Szu-Yu Chen [:aknow]
a3d37c0265 Bug 1005816 - Part 2: Add telephony request queue. r=hsinyi 2014-05-20 18:36:40 +08:00
Garvan Keeley
d2751bd5be Bug 996998 - GonkGPSGeolocationProvider::NetworkLocationUpdate::Update(). r=dougt 2014-04-28 06:24:00 +02:00
Robert O'Callahan
2e946b1671 Bug 1001320. Part 5: Use #pragma GCC visibility on B2G. r=glandium
--HG--
rename : config/gcc_hidden.h => config/gcc_hidden_dso_handle.h
2014-05-11 23:37:14 -07:00
Bevis Tseng
49b5660747 Bug 1003247 - Ensure to setExtraHostRoute() after setAndConfigureActive() is done. r=vyang 2014-05-13 17:20:09 +08:00
Ed Morley
112b6ca721 Backed out changeset 3dbd84a99ce8 (bug 993282) for causing bug 1008357 2014-05-15 17:01:56 +01:00
Ed Morley
9231f6bf96 Backed out changeset 254616e044b1 (bug 993282) 2014-05-15 17:01:36 +01:00
Edgar Chen
c046016659 Bug 986395 - Part 1: Correct the API behavior of setPreferredNetworkType(). r=hsinyi 2014-05-13 14:36:18 +08:00
Yoshi Huang
1992f66ec0 Bug 1010668 - B2G NFC: Nfc doesn't implement nsIObserver. r=dimi
From 48629f7e966c98e2149eb9ec46fa16120d804413 Mon Sep 17 00:00:00 2001
---
 dom/system/gonk/Nfc.js | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
2014-05-15 12:11:51 +08:00
Dave Hylands
9f231b0a6c Bug 1007053 - Pt1 - Fix shadowing of IsFake attribute in the Child Volume cache. r=qDot 2014-05-13 15:48:04 -07:00
Edgar Chen
d2cbb41be8 Bug 898445 - Part 7: RIL xpcshell test changes. r=hsinyi 2014-05-12 13:00:14 +08:00
Edgar Chen
3043b2fb78 Bug 898445 - Part 5: RIL implementation changes for MobileConnection webidl. r=hsinyi 2014-04-08 14:28:54 +08:00
Edgar Chen
83b12968df Bug 898445 - Part 4: GPS changes for MobileConnection webidl. r=kchen 2014-02-26 16:00:39 +08:00
Edgar Chen
77fe35f3f0 Bug 898445 - Part 1-5: Internal interface changes for MobileConnection webidl. r=hsinyi 2014-04-24 18:34:10 +08:00
Ryan VanderMeulen
fec4f55a1d Merge inbound to m-c. 2014-05-12 16:32:53 -04:00
Edgar Chen
5ad92e1691 Bug 942740 - Carry serviceId information in ussd system message. r=hsinyi 2014-05-08 11:47:24 +08:00
Carsten "Tomcat" Book
dcb042fa6e merge b2g-inbound to mozilla-central 2014-05-09 14:13:29 +02:00
Hsin-Yi Tsai
76a53a8c80 Bug 1007538 - [B2G][RIL] fix error handling of REQUEST_QUERY_FACILITY_LOCK. r=edgar 2014-05-08 18:13:44 +08:00
Ryan VanderMeulen
3f683963c8 Merge m-c to inbound on a CLOSED TREE. 2014-05-08 16:05:45 -04:00
Fabrice Desré
d71b55a0e9 Bug 993282 - Lazy load more js modules - Part 3: RIL r=gene 2014-05-07 15:53:17 -07:00
Fabrice Desré
b655114689 Bug 993282 - Lazy load more js modules - part 1: NFC r=psiddh 2014-05-07 15:53:16 -07:00
Marco Castelluccio
2ac1a1eda2 Bug 1001948 - Attempt to remove files more than once in the Windows cleanup functions in toolkit/webapps/ tests. r=myk,Yoric,tabraldes 2014-05-08 20:06:26 +02:00
Hsin-Yi Tsai
ae9fba4506 Bug 997584 - part 1 - remove kPrefClirModePreference. r=vicamo 2014-04-18 16:11:40 +08:00
Wes Kocher
fae8204d08 Backed out 3 changesets (bug 993282) for b2g emulator mochitest 3 failures
Backed out changeset 30e0991d49e0 (bug 993282)
Backed out changeset 6b9c8d6ab401 (bug 993282)
Backed out changeset 96e1a542bb45 (bug 993282)
2014-05-07 18:47:17 -07:00
Wes Kocher
25ca30c10d Merge m-c to b2g-inbound 2014-05-07 17:39:54 -07:00
Wes Kocher
635606fa38 merge inbound to m-c 2014-05-07 17:06:22 -07:00
Fabrice Desré
fa84ad104d Bug 993282 - Lazy load more js modules - Part 3: RIL r=gene 2014-05-07 15:53:17 -07:00
Fabrice Desré
365d7ca756 Bug 993282 - Lazy load more js modules - part 1: NFC r=psiddh 2014-05-07 15:53:16 -07:00
Edgar Chen
c59008cd8f Bug 1001352 - Set data subscrption for flame dsds mode. r=hsinyi 2014-05-05 15:12:14 +08:00
David Rajchenbach-Teller
985067ff31 Bug 994951 - Activate OS.File xpcshell tests on B2G. r=froydnj 2014-05-05 06:53:00 -04:00
Edgar Chen
0194124153 Bug 1003011 - Part 2: Need to enable uicc subscription for flame dsds mode. r=hsinyi 2014-04-30 16:32:07 +08:00
Edgar Chen
9c12bfb372 Bug 1003011 - Part 1: Cleanup RIL parcel. r=hsinyi 2014-04-30 12:04:51 +08:00
Chris Peterson
47a58d1945 Bug 990764 - Replace MOZ_ASSUME_UNREACHABLE in dom. r=smaug 2014-04-20 00:36:40 -07:00
Garner Lee
a2b170177a Bug 959059: [NFC] CheckP2PRegistration should return error if sessionToken doesn't exist. r=allstars.chh 2014-04-30 10:18:00 +02:00
Vicamo Yang
710c3fadc7 Bug 999458 - 2.c/2: 0 <= gsmLocationAreaCode <= 65535. r=echen 2014-05-02 00:24:12 +08:00