/**@class android.net.DhcpStateMachine @extends android.net.BaseDhcpStateMachine StateMachine that interacts with the native DHCP client and can talk to a controller that also needs to be a StateMachine The DhcpStateMachine provides the following features: - Wakeup and renewal using the native DHCP client (which will not renew on its own when the device is in suspend state and this can lead to device holding IP address beyond expiry) - A notification right before DHCP request or renewal is started. This can be used for any additional setup before DHCP. For example, wifi sets BT-Wifi coex settings right before DHCP is initiated @hide */ var DhcpStateMachine = { /***/ CMD_START_DHCP : "196609", /***/ CMD_STOP_DHCP : "196610", /***/ CMD_RENEW_DHCP : "196611", /***/ CMD_PRE_DHCP_ACTION : "196612", /***/ CMD_POST_DHCP_ACTION : "196613", /***/ CMD_ON_QUIT : "196614", /***/ CMD_PRE_DHCP_ACTION_COMPLETE : "196615", /***/ DHCP_SUCCESS : "1", /***/ DHCP_FAILURE : "2", /** */ makeDhcpStateMachine : function( ) {}, /**This sends a notification right before DHCP request/renewal so that the controller can do certain actions before DHCP packets are sent out. When the controller is ready, it sends a CMD_PRE_DHCP_ACTION_COMPLETE message to indicate DHCP can continue This is used by Wifi at this time for the purpose of doing BT-Wifi coex handling during Dhcp */ registerForPreDhcpNotification : function( ) {}, /**Quit the DhcpStateMachine. @hide */ doQuit : function( ) {}, };