Searched refs:forbiddenCapabilities (Results 1 – 2 of 2) sorted by relevance
695 final int[] forbiddenCapabilities = new int[]{ in testSetCapabilities() local698 nc1.setCapabilities(REQUIRED_CAPABILITIES, forbiddenCapabilities); in testSetCapabilities()700 assertArrayEquals(forbiddenCapabilities, nc1.getForbiddenCapabilities()); in testSetCapabilities()706 for (int cap : forbiddenCapabilities) { in testSetCapabilities()
687 @NetCapability int[] forbiddenCapabilities) { in setCapabilities() argument689 mForbiddenNetworkCapabilities = NetworkCapabilitiesUtils.packBits(forbiddenCapabilities); in setCapabilities()