Bug 1185802 - Part 1: support fota apn type (idl). r=hsinyi

--HG--
extra : commitid : GKfkeOkpB7P
This commit is contained in:
Jessica Jong 2015-07-24 10:41:04 +08:00
Родитель 12edfc7c01
Коммит 8bf60277ba
3 изменённых файлов: 5 добавлений и 3 удалений

Просмотреть файл

@ -5,7 +5,7 @@
#include "nsISupports.idl"
#include "nsINetworkManager.idl"
[scriptable, uuid(e48d290b-ea3b-4987-9333-2e01f64c92ba)]
[scriptable, uuid(b8ce8528-fce8-4b5e-9d0a-c3247296ccaf)]
interface nsIRilNetworkInterface : nsINetworkInterface
{
readonly attribute unsigned long serviceId;

Просмотреть файл

@ -20,13 +20,14 @@ interface nsINetworkInterfaceList : nsISupports
nsINetworkInterface getInterface(in long interfaceIndex);
};
[scriptable, uuid(ee0e7cd7-1baa-44fd-86cb-f70acb549163)]
[scriptable, uuid(21d7fc8b-28c4-4a4f-a15e-1f9defbc2cec)]
interface nsINetworkInterfaceListService : nsISupports
{
const long LIST_NOT_INCLUDE_MMS_INTERFACES = (1 << 0);
const long LIST_NOT_INCLUDE_SUPL_INTERFACES = (1 << 1);
const long LIST_NOT_INCLUDE_IMS_INTERFACES = (1 << 2);
const long LIST_NOT_INCLUDE_DUN_INTERFACES = (1 << 3);
const long LIST_NOT_INCLUDE_FOTA_INTERFACES = (1 << 4);
/**
* Obtain a list of network interfaces that satisfy the specified condition.

Просмотреть файл

@ -7,7 +7,7 @@
/**
* Information about networks that is exposed to network manager API consumers.
*/
[scriptable, uuid(cb62ae03-6bda-43ff-9560-916d60203d33)]
[scriptable, uuid(12da2bfd-0801-40d9-9c2e-768868526065)]
interface nsINetworkInterface : nsISupports
{
const long NETWORK_STATE_UNKNOWN = -1;
@ -32,6 +32,7 @@ interface nsINetworkInterface : nsISupports
const long NETWORK_TYPE_WIFI_P2P = 4;
const long NETWORK_TYPE_MOBILE_IMS = 5;
const long NETWORK_TYPE_MOBILE_DUN = 6;
const long NETWORK_TYPE_MOBILE_FOTA = 7;
/**
* Network type. One of the NETWORK_TYPE_* constants.