Searched refs:setUidOnMeteredNetworkList (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkManagementInternalTest.java | 78 mInjector.setUidOnMeteredNetworkList(true, TEST_UID, true); in testIsNetworkRestrictedForUid() 85 mInjector.setUidOnMeteredNetworkList(false, TEST_UID, false); in testIsNetworkRestrictedForUid() 92 mInjector.setUidOnMeteredNetworkList(false, TEST_UID, true); in testIsNetworkRestrictedForUid()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NetworkManagementService.java | 1711 private void setUidOnMeteredNetworkList(int uid, boolean blacklist, boolean enable) { in setUidOnMeteredNetworkList() method in NetworkManagementService 1753 setUidOnMeteredNetworkList(uid, true, enable); in setUidMeteredNetworkBlacklist() 1758 setUidOnMeteredNetworkList(uid, false, enable); in setUidMeteredNetworkWhitelist() 2769 void setUidOnMeteredNetworkList(boolean blacklist, int uid, boolean enable) { in setUidOnMeteredNetworkList() method in NetworkManagementService.Injector
|