FileDocCategorySizeDatePackage
Protocol.javaAPI DocAndroid 5.1 API4101Thu Mar 12 22:22:10 GMT 2015com.android.internal.util

Protocol

public class Protocol extends Object
This class defines Message.what base addresses for various protocols that are recognized to be unique by any {@link com.android.internal.util.Statemachine} implementation. This allows for interaction between different StateMachine implementations without a conflict of message codes. As an example, all messages in {@link android.net.wifi.WifiStateMachine} will have message codes with Message.what starting at Protocol.WIFI + 1 and less than or equal to Protocol.WIFI + Protocol.MAX_MESSAGE NOTE: After a value is created and source released a value shouldn't be changed to maintain backwards compatibility. {@hide}

Fields Summary
public static final int
MAX_MESSAGE
public static final int
BASE_SYSTEM_RESERVED
Base reserved for system
public static final int
BASE_SYSTEM_ASYNC_CHANNEL
public static final int
BASE_WIFI
Non system protocols
public static final int
BASE_WIFI_WATCHDOG
public static final int
BASE_WIFI_P2P_MANAGER
public static final int
BASE_WIFI_P2P_SERVICE
public static final int
BASE_WIFI_MONITOR
public static final int
BASE_WIFI_MANAGER
public static final int
BASE_WIFI_CONTROLLER
public static final int
BASE_WIFI_SCANNER
public static final int
BASE_WIFI_SCANNER_SERVICE
public static final int
BASE_WIFI_RTT_MANAGER
public static final int
BASE_WIFI_RTT_SERVICE
public static final int
BASE_WIFI_PASSPOINT_MANAGER
public static final int
BASE_WIFI_PASSPOINT_SERVICE
public static final int
BASE_DHCP
public static final int
BASE_DATA_CONNECTION
public static final int
BASE_DATA_CONNECTION_AC
public static final int
BASE_DATA_CONNECTION_TRACKER
public static final int
BASE_DNS_PINGER
public static final int
BASE_NSD_MANAGER
public static final int
BASE_NETWORK_STATE_TRACKER
public static final int
BASE_CONNECTIVITY_MANAGER
public static final int
BASE_NETWORK_AGENT
public static final int
BASE_NETWORK_MONITOR
public static final int
BASE_NETWORK_FACTORY
Constructors Summary
Methods Summary