/jni/MonoJavaBridge/android/generated/java/net/NetworkInterface.cs

http://github.com/koush/androidmono · C# · 201 lines · 201 code · 0 blank · 0 comment · 16 complexity · 72336728e3bdf90d7c151d1149b53764 MD5 · raw file

  1. namespace java.net
  2. {
  3. [global::MonoJavaBridge.JavaClass()]
  4. public sealed partial class NetworkInterface : java.lang.Object
  5. {
  6. internal new static global::MonoJavaBridge.JniGlobalHandle staticClass;
  7. static NetworkInterface()
  8. {
  9. InitJNI();
  10. }
  11. internal NetworkInterface(global::MonoJavaBridge.JNIEnv @__env) : base(@__env)
  12. {
  13. }
  14. internal static global::MonoJavaBridge.MethodId _equals13703;
  15. public sealed override bool equals(java.lang.Object arg0)
  16. {
  17. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  18. if (!IsClrObject)
  19. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.NetworkInterface._equals13703, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  20. else
  21. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.NetworkInterface.staticClass, global::java.net.NetworkInterface._equals13703, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  22. }
  23. internal static global::MonoJavaBridge.MethodId _toString13704;
  24. public sealed override global::java.lang.String toString()
  25. {
  26. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  27. if (!IsClrObject)
  28. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::java.net.NetworkInterface._toString13704)) as java.lang.String;
  29. else
  30. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.NetworkInterface.staticClass, global::java.net.NetworkInterface._toString13704)) as java.lang.String;
  31. }
  32. internal static global::MonoJavaBridge.MethodId _hashCode13705;
  33. public sealed override int hashCode()
  34. {
  35. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  36. if (!IsClrObject)
  37. return @__env.CallIntMethod(this.JvmHandle, global::java.net.NetworkInterface._hashCode13705);
  38. else
  39. return @__env.CallNonVirtualIntMethod(this.JvmHandle, global::java.net.NetworkInterface.staticClass, global::java.net.NetworkInterface._hashCode13705);
  40. }
  41. internal static global::MonoJavaBridge.MethodId _getName13706;
  42. public global::java.lang.String getName()
  43. {
  44. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  45. if (!IsClrObject)
  46. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::java.net.NetworkInterface._getName13706)) as java.lang.String;
  47. else
  48. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.NetworkInterface.staticClass, global::java.net.NetworkInterface._getName13706)) as java.lang.String;
  49. }
  50. internal static global::MonoJavaBridge.MethodId _getParent13707;
  51. public global::java.net.NetworkInterface getParent()
  52. {
  53. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  54. if (!IsClrObject)
  55. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::java.net.NetworkInterface._getParent13707)) as java.net.NetworkInterface;
  56. else
  57. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.NetworkInterface.staticClass, global::java.net.NetworkInterface._getParent13707)) as java.net.NetworkInterface;
  58. }
  59. internal static global::MonoJavaBridge.MethodId _getDisplayName13708;
  60. public global::java.lang.String getDisplayName()
  61. {
  62. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  63. if (!IsClrObject)
  64. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::java.net.NetworkInterface._getDisplayName13708)) as java.lang.String;
  65. else
  66. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.NetworkInterface.staticClass, global::java.net.NetworkInterface._getDisplayName13708)) as java.lang.String;
  67. }
  68. internal static global::MonoJavaBridge.MethodId _getByName13709;
  69. public static global::java.net.NetworkInterface getByName(java.lang.String arg0)
  70. {
  71. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  72. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallStaticObjectMethod(java.net.NetworkInterface.staticClass, global::java.net.NetworkInterface._getByName13709, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0))) as java.net.NetworkInterface;
  73. }
  74. internal static global::MonoJavaBridge.MethodId _getInetAddresses13710;
  75. public global::java.util.Enumeration getInetAddresses()
  76. {
  77. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  78. if (!IsClrObject)
  79. return global::MonoJavaBridge.JavaBridge.WrapIJavaObject<global::java.util.Enumeration>(@__env.CallObjectMethod(this.JvmHandle, global::java.net.NetworkInterface._getInetAddresses13710)) as java.util.Enumeration;
  80. else
  81. return global::MonoJavaBridge.JavaBridge.WrapIJavaObject<global::java.util.Enumeration>(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.NetworkInterface.staticClass, global::java.net.NetworkInterface._getInetAddresses13710)) as java.util.Enumeration;
  82. }
  83. internal static global::MonoJavaBridge.MethodId _getInterfaceAddresses13711;
  84. public global::java.util.List getInterfaceAddresses()
  85. {
  86. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  87. if (!IsClrObject)
  88. return global::MonoJavaBridge.JavaBridge.WrapIJavaObject<global::java.util.List>(@__env.CallObjectMethod(this.JvmHandle, global::java.net.NetworkInterface._getInterfaceAddresses13711)) as java.util.List;
  89. else
  90. return global::MonoJavaBridge.JavaBridge.WrapIJavaObject<global::java.util.List>(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.NetworkInterface.staticClass, global::java.net.NetworkInterface._getInterfaceAddresses13711)) as java.util.List;
  91. }
  92. internal static global::MonoJavaBridge.MethodId _getSubInterfaces13712;
  93. public global::java.util.Enumeration getSubInterfaces()
  94. {
  95. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  96. if (!IsClrObject)
  97. return global::MonoJavaBridge.JavaBridge.WrapIJavaObject<global::java.util.Enumeration>(@__env.CallObjectMethod(this.JvmHandle, global::java.net.NetworkInterface._getSubInterfaces13712)) as java.util.Enumeration;
  98. else
  99. return global::MonoJavaBridge.JavaBridge.WrapIJavaObject<global::java.util.Enumeration>(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.NetworkInterface.staticClass, global::java.net.NetworkInterface._getSubInterfaces13712)) as java.util.Enumeration;
  100. }
  101. internal static global::MonoJavaBridge.MethodId _getByInetAddress13713;
  102. public static global::java.net.NetworkInterface getByInetAddress(java.net.InetAddress arg0)
  103. {
  104. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  105. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallStaticObjectMethod(java.net.NetworkInterface.staticClass, global::java.net.NetworkInterface._getByInetAddress13713, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0))) as java.net.NetworkInterface;
  106. }
  107. internal static global::MonoJavaBridge.MethodId _getNetworkInterfaces13714;
  108. public static global::java.util.Enumeration getNetworkInterfaces()
  109. {
  110. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  111. return global::MonoJavaBridge.JavaBridge.WrapIJavaObject<global::java.util.Enumeration>(@__env.CallStaticObjectMethod(java.net.NetworkInterface.staticClass, global::java.net.NetworkInterface._getNetworkInterfaces13714)) as java.util.Enumeration;
  112. }
  113. internal static global::MonoJavaBridge.MethodId _isUp13715;
  114. public bool isUp()
  115. {
  116. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  117. if (!IsClrObject)
  118. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.NetworkInterface._isUp13715);
  119. else
  120. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.NetworkInterface.staticClass, global::java.net.NetworkInterface._isUp13715);
  121. }
  122. internal static global::MonoJavaBridge.MethodId _isLoopback13716;
  123. public bool isLoopback()
  124. {
  125. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  126. if (!IsClrObject)
  127. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.NetworkInterface._isLoopback13716);
  128. else
  129. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.NetworkInterface.staticClass, global::java.net.NetworkInterface._isLoopback13716);
  130. }
  131. internal static global::MonoJavaBridge.MethodId _isPointToPoint13717;
  132. public bool isPointToPoint()
  133. {
  134. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  135. if (!IsClrObject)
  136. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.NetworkInterface._isPointToPoint13717);
  137. else
  138. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.NetworkInterface.staticClass, global::java.net.NetworkInterface._isPointToPoint13717);
  139. }
  140. internal static global::MonoJavaBridge.MethodId _supportsMulticast13718;
  141. public bool supportsMulticast()
  142. {
  143. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  144. if (!IsClrObject)
  145. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.NetworkInterface._supportsMulticast13718);
  146. else
  147. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.NetworkInterface.staticClass, global::java.net.NetworkInterface._supportsMulticast13718);
  148. }
  149. internal static global::MonoJavaBridge.MethodId _getHardwareAddress13719;
  150. public byte[] getHardwareAddress()
  151. {
  152. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  153. if (!IsClrObject)
  154. return global::MonoJavaBridge.JavaBridge.WrapJavaArrayObject<byte>(@__env.CallObjectMethod(this.JvmHandle, global::java.net.NetworkInterface._getHardwareAddress13719)) as byte[];
  155. else
  156. return global::MonoJavaBridge.JavaBridge.WrapJavaArrayObject<byte>(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.NetworkInterface.staticClass, global::java.net.NetworkInterface._getHardwareAddress13719)) as byte[];
  157. }
  158. internal static global::MonoJavaBridge.MethodId _getMTU13720;
  159. public int getMTU()
  160. {
  161. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  162. if (!IsClrObject)
  163. return @__env.CallIntMethod(this.JvmHandle, global::java.net.NetworkInterface._getMTU13720);
  164. else
  165. return @__env.CallNonVirtualIntMethod(this.JvmHandle, global::java.net.NetworkInterface.staticClass, global::java.net.NetworkInterface._getMTU13720);
  166. }
  167. internal static global::MonoJavaBridge.MethodId _isVirtual13721;
  168. public bool isVirtual()
  169. {
  170. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  171. if (!IsClrObject)
  172. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.NetworkInterface._isVirtual13721);
  173. else
  174. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.NetworkInterface.staticClass, global::java.net.NetworkInterface._isVirtual13721);
  175. }
  176. private static void InitJNI()
  177. {
  178. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  179. global::java.net.NetworkInterface.staticClass = @__env.NewGlobalRef(@__env.FindClass("java/net/NetworkInterface"));
  180. global::java.net.NetworkInterface._equals13703 = @__env.GetMethodIDNoThrow(global::java.net.NetworkInterface.staticClass, "equals", "(Ljava/lang/Object;)Z");
  181. global::java.net.NetworkInterface._toString13704 = @__env.GetMethodIDNoThrow(global::java.net.NetworkInterface.staticClass, "toString", "()Ljava/lang/String;");
  182. global::java.net.NetworkInterface._hashCode13705 = @__env.GetMethodIDNoThrow(global::java.net.NetworkInterface.staticClass, "hashCode", "()I");
  183. global::java.net.NetworkInterface._getName13706 = @__env.GetMethodIDNoThrow(global::java.net.NetworkInterface.staticClass, "getName", "()Ljava/lang/String;");
  184. global::java.net.NetworkInterface._getParent13707 = @__env.GetMethodIDNoThrow(global::java.net.NetworkInterface.staticClass, "getParent", "()Ljava/net/NetworkInterface;");
  185. global::java.net.NetworkInterface._getDisplayName13708 = @__env.GetMethodIDNoThrow(global::java.net.NetworkInterface.staticClass, "getDisplayName", "()Ljava/lang/String;");
  186. global::java.net.NetworkInterface._getByName13709 = @__env.GetStaticMethodIDNoThrow(global::java.net.NetworkInterface.staticClass, "getByName", "(Ljava/lang/String;)Ljava/net/NetworkInterface;");
  187. global::java.net.NetworkInterface._getInetAddresses13710 = @__env.GetMethodIDNoThrow(global::java.net.NetworkInterface.staticClass, "getInetAddresses", "()Ljava/util/Enumeration;");
  188. global::java.net.NetworkInterface._getInterfaceAddresses13711 = @__env.GetMethodIDNoThrow(global::java.net.NetworkInterface.staticClass, "getInterfaceAddresses", "()Ljava/util/List;");
  189. global::java.net.NetworkInterface._getSubInterfaces13712 = @__env.GetMethodIDNoThrow(global::java.net.NetworkInterface.staticClass, "getSubInterfaces", "()Ljava/util/Enumeration;");
  190. global::java.net.NetworkInterface._getByInetAddress13713 = @__env.GetStaticMethodIDNoThrow(global::java.net.NetworkInterface.staticClass, "getByInetAddress", "(Ljava/net/InetAddress;)Ljava/net/NetworkInterface;");
  191. global::java.net.NetworkInterface._getNetworkInterfaces13714 = @__env.GetStaticMethodIDNoThrow(global::java.net.NetworkInterface.staticClass, "getNetworkInterfaces", "()Ljava/util/Enumeration;");
  192. global::java.net.NetworkInterface._isUp13715 = @__env.GetMethodIDNoThrow(global::java.net.NetworkInterface.staticClass, "isUp", "()Z");
  193. global::java.net.NetworkInterface._isLoopback13716 = @__env.GetMethodIDNoThrow(global::java.net.NetworkInterface.staticClass, "isLoopback", "()Z");
  194. global::java.net.NetworkInterface._isPointToPoint13717 = @__env.GetMethodIDNoThrow(global::java.net.NetworkInterface.staticClass, "isPointToPoint", "()Z");
  195. global::java.net.NetworkInterface._supportsMulticast13718 = @__env.GetMethodIDNoThrow(global::java.net.NetworkInterface.staticClass, "supportsMulticast", "()Z");
  196. global::java.net.NetworkInterface._getHardwareAddress13719 = @__env.GetMethodIDNoThrow(global::java.net.NetworkInterface.staticClass, "getHardwareAddress", "()[B");
  197. global::java.net.NetworkInterface._getMTU13720 = @__env.GetMethodIDNoThrow(global::java.net.NetworkInterface.staticClass, "getMTU", "()I");
  198. global::java.net.NetworkInterface._isVirtual13721 = @__env.GetMethodIDNoThrow(global::java.net.NetworkInterface.staticClass, "isVirtual", "()Z");
  199. }
  200. }
  201. }