Searched refs:packBits (Results 1 – 7 of 7) sorted by relevance
52 return packBits(bits); in packBitList()64 public static long packBits(int[] bits) { in packBits() method in BitUtils
48 import static com.android.net.module.util.BitUtils.packBits;163 return inferRestrictedCapability(packBits(nc.getCapabilities())); in inferRestrictedCapability()
21 import com.android.net.module.util.BitUtils.packBits in <lambda>()42 assertEquals(packedBits, packBits(bits)) in <lambda>()
153 final long cell = BitUtils.packBits(new int[]{NetworkCapabilities.TRANSPORT_CELLULAR}); in testDefaultNetworkEvents()154 final long wifi = BitUtils.packBits(new int[]{NetworkCapabilities.TRANSPORT_WIFI}); in testDefaultNetworkEvents()346 final long cell = BitUtils.packBits(new int[]{NetworkCapabilities.TRANSPORT_CELLULAR}); in testEndToEndLogging()347 final long wifi = BitUtils.packBits(new int[]{NetworkCapabilities.TRANSPORT_WIFI}); in testEndToEndLogging()
85 return (int) BitUtils.packBits(mNetworkRequest.networkCapabilities.getTransportTypes()); in getTransportTypes()
1015 mNetworkCapabilities = BitUtils.packBits(capabilities); in setCapabilities()1016 mForbiddenNetworkCapabilities = BitUtils.packBits(forbiddenCapabilities); in setCapabilities()1503 mTransportTypes = BitUtils.packBits(transportTypes); in setTransportTypes()
9459 long transportTypes = BitUtils.packBits(agentCaps.getTransportTypes());