Home
last modified time | relevance | path

Searched refs:PERMISSION_NONE (Results 1 – 18 of 18) sorted by relevance

/system/netd/include/
DPermission.h39 PERMISSION_NONE = 0x0, enumerator
46 case PERMISSION_NONE: return "NONE"; in permissionToName()
/system/netd/server/
DRouteControllerTest.cpp107 PERMISSION_NONE, true)); in TEST_F()
114 PERMISSION_NONE, false)); in TEST_F()
DRouteController.cpp623 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 …]
DTrafficControllerTest.cpp274 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 …]
DPhysicalNetwork.cpp60 Network(netId), mDelegate(delegate), mPermission(PERMISSION_NONE), mIsDefault(false) { in PhysicalNetwork()
70 if (permission == PERMISSION_NONE) return 0; in destroySocketsLackingPermission()
DSockDiagTest.cpp295 { 42, false, PERMISSION_NONE, },
298 { 42, true, PERMISSION_NONE, },
301 { 43, false, PERMISSION_NONE, },
304 { 43, true, PERMISSION_NONE, },
DNdcDispatcher.cpp113 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()
DFwmarkServer.cpp264 permission = PERMISSION_NONE; in processClient()
DNetworkController.cpp770 return uid < FIRST_APPLICATION_UID ? PERMISSION_SYSTEM : PERMISSION_NONE; in getPermissionForUserLocked()
DNetdNativeService.cpp1099 return Permission::PERMISSION_NONE; in convertPermission()
1120 Permission permission = Permission::PERMISSION_NONE; in networkClearPermissionForUser()
DTrafficController.cpp119 if (permission == INetd::PERMISSION_NONE) { in UidPermissionTypeToString()
/system/netd/tests/
Dbinder_test.cpp547 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/
DINetd.aidl110 const int PERMISSION_NONE = 0; field
/system/netd/server/aidl_api/netd_aidl_interface/2/android/net/
DINetd.aidl131 const int PERMISSION_NONE = 0; field
/system/netd/server/aidl_api/netd_aidl_interface/3/android/net/
DINetd.aidl139 const int PERMISSION_NONE = 0; field
/system/netd/server/aidl_api/netd_aidl_interface/current/android/net/
DINetd.aidl142 const int PERMISSION_NONE = 0; field
/system/netd/server/binder/android/net/
DINetd.aidl885 const int PERMISSION_NONE = 0; field
/system/netd/server/aidl_api/netd_aidl_interface/4/android/net/
DINetd.aidl142 const int PERMISSION_NONE = 0; field