Home
last modified time | relevance | path

Searched refs:setPermissionForUids (Results 1 – 4 of 4) sorted by relevance

/system/netd/server/
DTrafficControllerTest.cpp269 mTc.setPermissionForUids(INetd::PERMISSION_UPDATE_DEVICE_STATS, privilegedUid); in addPrivilegedUid()
274 mTc.setPermissionForUids(INetd::PERMISSION_NONE, privilegedUid); in removePrivilegedUid()
386 mTc.setPermissionForUids(INetd::PERMISSION_UPDATE_DEVICE_STATS, callingUid); in TEST_F()
397 mTc.setPermissionForUids(INetd::PERMISSION_NONE, callingUid); in TEST_F()
849 mTc.setPermissionForUids(INetd::PERMISSION_INTERNET, appUids); in TEST_F()
859 mTc.setPermissionForUids(INetd::PERMISSION_NONE, appUids); in TEST_F()
868 mTc.setPermissionForUids(INetd::PERMISSION_UPDATE_DEVICE_STATS, appUids); in TEST_F()
873 mTc.setPermissionForUids(INetd::PERMISSION_UNINSTALLED, uidToRemove); in TEST_F()
879 mTc.setPermissionForUids(INetd::PERMISSION_UNINSTALLED, uidRemain); in TEST_F()
889 mTc.setPermissionForUids(INetd::PERMISSION_UPDATE_DEVICE_STATS, appUids); in TEST_F()
[all …]
DTrafficController.h124 void setPermissionForUids(int permission, const std::vector<uid_t>& uids) EXCLUDES(mMutex);
DTrafficController.cpp808 void TrafficController::setPermissionForUids(int permission, const std::vector<uid_t>& uids) { in setPermissionForUids() function in android::net::TrafficController
DNetdNativeService.cpp1148 gCtls->trafficCtrl.setPermissionForUids(permission, intsToUids(uids)); in trafficSetNetPermForUids()