mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 04:27:37 +00:00
9c507be8d2
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. |
||
---|---|---|
.. | ||
android | ||
gonk | ||
mac | ||
qt | ||
tests | ||
windows | ||
moz.build | ||
NetworkGeolocationProvider.js | ||
NetworkGeolocationProvider.manifest | ||
nsDeviceSensors.cpp | ||
nsDeviceSensors.h | ||
nsIOSFileConstantsService.idl | ||
OSFileConstants.cpp | ||
OSFileConstants.h |