Netd: Add support for quotaReachedAlert event

Handle quotaReachedAlert event from kernel and
notify the limit alert to NMS.

Test : Quota related test cases

Change-Id: I90d2c5769a975bcaffbb2509d59f392811075cc2
CRs-Fixed: 2485528
diff --git a/server/NetlinkHandler.cpp b/server/NetlinkHandler.cpp
index 2bc9c27..df30045 100644
--- a/server/NetlinkHandler.cpp
+++ b/server/NetlinkHandler.cpp
@@ -95,7 +95,16 @@
             notifyInterfaceRemoved(iface);
         } else if (action == NetlinkEvent::Action::kChange) {
             evt->dump();
-            notifyInterfaceChanged("nana", true);
+            const char *alertName = evt->findParam("ALERT_NAME");
+            const char *iface = evt->findParam("INTERFACE");
+            if (alertName != NULL && iface != NULL) {
+                ALOGI("Alertname : %s iface (%s)", alertName, iface);
+                if (!strcmp(alertName, "quotaReachedAlert") && iface) {
+                    notifyQuotaLimitReached(alertName, iface);
+                }
+            } else {
+                notifyInterfaceChanged("nana", true);
+            }
         } else if (action == NetlinkEvent::Action::kLinkUp) {
             notifyInterfaceLinkChanged(iface, true);
         } else if (action == NetlinkEvent::Action::kLinkDown) {