Home
last modified time | relevance | path

Searched refs:PERMISSION_SYSTEM (Results 1 – 9 of 9) sorted by relevance

/system/netd/include/
DPermission.h39 PERMISSION_SYSTEM = 0x3, // Includes PERMISSION_NETWORK. enumerator
46 case PERMISSION_SYSTEM: return "SYSTEM"; in permissionToName()
57 return PERMISSION_SYSTEM; in stringToPermission()
/system/netd/server/
DFwmarkServer.cpp94 if ((permission & PERMISSION_SYSTEM) != PERMISSION_SYSTEM) { in processClient()
235 if ((permission & PERMISSION_SYSTEM) != PERMISSION_SYSTEM) { in processClient()
DNetdHwService.cpp68 Permission permission = PERMISSION_SYSTEM; in createOemNetwork()
77 fwmark.permission = PERMISSION_SYSTEM; in createOemNetwork()
DNetworkController.cpp195 fwmark.permission = PERMISSION_SYSTEM; in getNetworkForDns()
550 return ((getPermissionForUserLocked(uid) & PERMISSION_SYSTEM) == PERMISSION_SYSTEM) || in canProtect()
628 return uid < FIRST_APPLICATION_UID ? PERMISSION_SYSTEM : PERMISSION_NONE; in getPermissionForUserLocked()
643 if ((userPermission & PERMISSION_SYSTEM) == PERMISSION_SYSTEM) { in checkUserNetworkAccessLocked()
678 if ((getPermissionForUser(uid) & PERMISSION_SYSTEM) == PERMISSION_SYSTEM) { in modifyRoute()
DSockDiagTest.cpp294 { 42, false, PERMISSION_SYSTEM, },
297 { 42, true, PERMISSION_SYSTEM, },
300 { 43, false, PERMISSION_SYSTEM, },
303 { 43, true, PERMISSION_SYSTEM, },
425 return permission != PERMISSION_NETWORK && permission != PERMISSION_SYSTEM; in shouldHaveClosedSocket()
DClatdController.cpp78 fwmark.permission = PERMISSION_SYSTEM; in startClatd()
DTetherController.cpp186 fwmark.permission = PERMISSION_SYSTEM; in startTethering()
261 fwmark.permission = PERMISSION_SYSTEM; in setDnsForwarders()
DRouteController.cpp502 fwmark.permission = PERMISSION_SYSTEM; in modifyVpnSystemPermissionRule()
503 mask.permission = PERMISSION_SYSTEM; in modifyVpnSystemPermissionRule()
633 fwmark.permission = PERMISSION_SYSTEM; in addLegacyRouteRules()
634 mask.permission = PERMISSION_SYSTEM; in addLegacyRouteRules()
/system/netd/server/dns/
DDnsTlsTransport.cpp390 fwmark.permission = PERMISSION_SYSTEM; in validateDnsTlsServer()