/**@class android.net.NetworkStack @extends java.lang.Object Constants for client code communicating with the network stack service. @hide */ var NetworkStack = { /** Permission granted only to the NetworkStack APK, defined in NetworkStackStub with signature protection level. @hide */ PERMISSION_MAINLINE_NETWORK_STACK : "android.permission.MAINLINE_NETWORK_STACK", /**If the NetworkStack, MAINLINE_NETWORK_STACK are not allowed for a particular process, throw a {@link SecurityException}. @param {Object {Context}} context {@link android.content.Context} for the process. @hide */ checkNetworkStackPermission : function( ) {}, /**If the NetworkStack, MAINLINE_NETWORK_STACK or other specified permissions are not allowed for a particular process, throw a {@link SecurityException}. @param {Object {Context}} context {@link android.content.Context} for the process. @param {Object {java.lang.String[]}} otherPermissions The set of permissions that could be the candidate permissions , or empty string if none of other permissions needed. @hide */ checkNetworkStackPermissionOr : function( ) {}, };