Home
last modified time | relevance | path

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

/system/netd/server/
DTrafficController.cpp731 auto oldConfiguration = mConfigurationMap.readValue(key); in toggleUidOwnerMap() local
732 if (!oldConfiguration.ok()) { in toggleUidOwnerMap()
734 oldConfiguration.error().message().c_str()); in toggleUidOwnerMap()
735 return -oldConfiguration.error().code(); in toggleUidOwnerMap()
754 enable ? (oldConfiguration.value() | match) : (oldConfiguration.value() & (~match)); in toggleUidOwnerMap()
774 auto oldConfiguration = mConfigurationMap.readValue(key); in swapActiveStatsMap() local
775 if (!oldConfiguration.ok()) { in swapActiveStatsMap()
777 oldConfiguration.error().message().c_str()); in swapActiveStatsMap()
778 return Status(oldConfiguration.error().code(), oldConfiguration.error().message()); in swapActiveStatsMap()
784 uint8_t newConfigure = (oldConfiguration.value() == SELECT_MAP_A) ? SELECT_MAP_B : SELECT_MAP_A; in swapActiveStatsMap()