netutils_wrapper: Add support for NDK type in ndc commands
This fixes the following error -
~:/system/bin/ndc-wrapper-1.0 network interface add handle8606370526 r_rmnet_data0
NetUtilsWrapper: Unexpected command: /system/bin/ndc network interface add handle8606370526 r_rmnet_data0
Bug: 36682246
Test: netutils_wrapper_test passes
Change-Id: I0b0bb76ed47cdead672dd97ed0c040330ec0b8de
diff --git a/netutils_wrappers/NetUtilsWrapperTest-1.0.cpp b/netutils_wrappers/NetUtilsWrapperTest-1.0.cpp
index a32cc3b..4f47c78 100644
--- a/netutils_wrappers/NetUtilsWrapperTest-1.0.cpp
+++ b/netutils_wrappers/NetUtilsWrapperTest-1.0.cpp
@@ -47,6 +47,10 @@
{VALID, "/system/bin/ndc network interface add oem10 oem9"},
{INVALID, "/system/bin/ndc network interface add 100 v_oem9"},
{VALID, "/system/bin/ndc network interface add oem10 r_rmnet_data0"},
+ {VALID, "/system/bin/ndc network interface add handle42966108894 v_oem9"},
+ {VALID, "/system/bin/ndc network interface add handle42966108894 oem9"},
+ {VALID, "/system/bin/ndc network interface add handle42966108894 r_rmnet_data0"},
+ {INVALID, "/system/bin/ndc network interface add handle42966108894"},
{VALID, "/system/bin/ip xfrm state"},
};