/system/netd/include/ |
D | Permission.h | 39 PERMISSION_NONE = 0x0, enumerator 46 case PERMISSION_NONE: return "NONE"; in permissionToName()
|
/system/netd/server/ |
D | RouteControllerTest.cpp | 107 PERMISSION_NONE, true)); in TEST_F() 114 PERMISSION_NONE, false)); in TEST_F()
|
D | RouteController.cpp | 623 fwmark.permission = PERMISSION_NONE; in modifyImplicitNetworkRule() 624 mask.permission = PERMISSION_NONE; in modifyImplicitNetworkRule() 684 if (int ret = modifyExplicitNetworkRule(localNetId, ROUTE_TABLE_LOCAL_NETWORK, PERMISSION_NONE, in addLocalNetworkRules() 716 if ((ret = modifyOutputInterfaceRules(interface, table, PERMISSION_NONE, in configureDummyNetwork() 745 if (int ret = modifyIncomingPacketMark(netId, interface, PERMISSION_NONE, add)) { in modifyLocalNetwork() 748 return modifyOutputInterfaceRules(interface, ROUTE_TABLE_LOCAL_NETWORK, PERMISSION_NONE, in modifyLocalNetwork() 792 if (permission == PERMISSION_NONE) { in modifyPhysicalNetwork() 827 if (int ret = modifyExplicitNetworkRule(netId, table, PERMISSION_NONE, range.start, in modifyVirtualNetwork() 831 if (int ret = modifyOutputInterfaceRules(interface, table, PERMISSION_NONE, range.start, in modifyVirtualNetwork() 838 if (int ret = modifyIncomingPacketMark(netId, interface, PERMISSION_NONE, add)) { in modifyVirtualNetwork() [all …]
|
D | TrafficControllerTest.cpp | 274 mTc.setPermissionForUids(INetd::PERMISSION_NONE, privilegedUid); in removePrivilegedUid() 397 mTc.setPermissionForUids(INetd::PERMISSION_NONE, callingUid); in TEST_F() 859 mTc.setPermissionForUids(INetd::PERMISSION_NONE, appUids); in TEST_F() 860 expectUidPermissionMapValues(appUids, INetd::PERMISSION_NONE); in TEST_F() 893 mTc.setPermissionForUids(INetd::PERMISSION_NONE, appUids); in TEST_F() 895 expectUidPermissionMapValues(appUids, INetd::PERMISSION_NONE); in TEST_F() 907 mTc.setPermissionForUids(INetd::PERMISSION_NONE, uidToRemove); in TEST_F() 912 mTc.setPermissionForUids(INetd::PERMISSION_NONE, uidRemain); in TEST_F() 921 mTc.setPermissionForUids(INetd::PERMISSION_NONE, appUids); in TEST_F() 923 expectUidPermissionMapValues(appUids, INetd::PERMISSION_NONE); in TEST_F() [all …]
|
D | PhysicalNetwork.cpp | 60 Network(netId), mDelegate(delegate), mPermission(PERMISSION_NONE), mIsDefault(false) { in PhysicalNetwork() 70 if (permission == PERMISSION_NONE) return 0; in destroySocketsLackingPermission()
|
D | SockDiagTest.cpp | 295 { 42, false, PERMISSION_NONE, }, 298 { 42, true, PERMISSION_NONE, }, 301 { 43, false, PERMISSION_NONE, }, 304 { 43, true, PERMISSION_NONE, },
|
D | NdcDispatcher.cpp | 113 return INetd::PERMISSION_NONE; in stringToINetdPermission() 1059 int permission = INetd::PERMISSION_NONE; in runCommand() 1062 if (permission == INetd::PERMISSION_NONE) { in runCommand() 1123 int permission = INetd::PERMISSION_NONE; in runCommand() 1126 if (permission == INetd::PERMISSION_NONE) { in runCommand()
|
D | FwmarkServer.cpp | 264 permission = PERMISSION_NONE; in processClient()
|
D | NetworkController.cpp | 770 return uid < FIRST_APPLICATION_UID ? PERMISSION_SYSTEM : PERMISSION_NONE; in getPermissionForUserLocked()
|
D | NetdNativeService.cpp | 1099 return Permission::PERMISSION_NONE; in convertPermission() 1120 Permission permission = Permission::PERMISSION_NONE; in networkClearPermissionForUser()
|
D | TrafficController.cpp | 119 if (permission == INetd::PERMISSION_NONE) { in UidPermissionTypeToString()
|
/system/netd/tests/ |
D | binder_test.cpp | 547 EXPECT_TRUE(mNetd->networkCreatePhysical(TEST_NETID1, INetd::PERMISSION_NONE).isOk()); in TEST_F() 548 EXPECT_EQ(EEXIST, mNetd->networkCreatePhysical(TEST_NETID1, INetd::PERMISSION_NONE) in TEST_F() 1258 EXPECT_TRUE(mNetd->networkCreatePhysical(TEST_NETID1, INetd::PERMISSION_NONE).isOk()); in TEST_F() 1420 EXPECT_TRUE(mNetd->networkCreatePhysical(TEST_NETID1, INetd::PERMISSION_NONE).isOk()); in TEST_F() 1422 EXPECT_TRUE(mNetd->networkCreatePhysical(TEST_NETID2, INetd::PERMISSION_NONE).isOk()); in TEST_F() 1555 EXPECT_TRUE(mNetd->networkCreatePhysical(TEST_NETID1, INetd::PERMISSION_NONE).isOk()); in TEST_F() 1573 EXPECT_TRUE(mNetd->networkCreatePhysical(TEST_NETID1, INetd::PERMISSION_NONE).isOk()); in TEST_F() 1716 case INetd::PERMISSION_NONE: in expectNetworkPermissionIpRuleExists() 1755 case INetd::PERMISSION_NONE: in expectNetworkPermissionIptablesRuleExists() 1807 EXPECT_TRUE(mNetd->networkCreatePhysical(TEST_NETID1, INetd::PERMISSION_NONE).isOk()); in TEST_F() [all …]
|
/system/netd/server/aidl_api/netd_aidl_interface/1/android/net/ |
D | INetd.aidl | 110 const int PERMISSION_NONE = 0; field
|
/system/netd/server/aidl_api/netd_aidl_interface/2/android/net/ |
D | INetd.aidl | 131 const int PERMISSION_NONE = 0; field
|
/system/netd/server/aidl_api/netd_aidl_interface/3/android/net/ |
D | INetd.aidl | 139 const int PERMISSION_NONE = 0; field
|
/system/netd/server/aidl_api/netd_aidl_interface/current/android/net/ |
D | INetd.aidl | 142 const int PERMISSION_NONE = 0; field
|
/system/netd/server/binder/android/net/ |
D | INetd.aidl | 885 const int PERMISSION_NONE = 0; field
|
/system/netd/server/aidl_api/netd_aidl_interface/4/android/net/ |
D | INetd.aidl | 142 const int PERMISSION_NONE = 0; field
|