Searched refs:forbiddenCapabilities (Results 1 – 2 of 2) sorted by relevance
681 final int[] forbiddenCapabilities = new int[]{ in testSetCapabilities() local684 nc1.setCapabilities(REQUIRED_CAPABILITIES, forbiddenCapabilities); in testSetCapabilities()686 assertArrayEquals(forbiddenCapabilities, nc1.getForbiddenCapabilities()); in testSetCapabilities()692 for (int cap : forbiddenCapabilities) { in testSetCapabilities()
1014 @NetCapability int[] forbiddenCapabilities) { in setCapabilities() argument1016 mForbiddenNetworkCapabilities = BitUtils.packBits(forbiddenCapabilities); in setCapabilities()