Remove unused functions in TrafficController
addInterface and hasUpdateDeviceStatsPermission are not used Test: m & flush & boot Bug: 217624062 Change-Id: I8a0f84f607a4f35512bc72e732df8f689b8ed1c9
This commit is contained in:
@@ -45,11 +45,6 @@ class TrafficController {
|
||||
*/
|
||||
netdutils::Status swapActiveStatsMap() EXCLUDES(mMutex);
|
||||
|
||||
/*
|
||||
* Add the interface name and index pair into the eBPF map.
|
||||
*/
|
||||
int addInterface(const char* name, uint32_t ifaceIndex);
|
||||
|
||||
int changeUidOwnerRule(ChildChain chain, const uid_t uid, FirewallRule rule, FirewallType type);
|
||||
|
||||
int removeUidOwnerRule(const uid_t uid);
|
||||
@@ -185,8 +180,6 @@ class TrafficController {
|
||||
// need to call back to system server for permission check.
|
||||
std::set<uid_t> mPrivilegedUser GUARDED_BY(mMutex);
|
||||
|
||||
bool hasUpdateDeviceStatsPermission(uid_t uid) REQUIRES(mMutex);
|
||||
|
||||
// For testing
|
||||
friend class TrafficControllerTest;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user