Home
last modified time | relevance | path

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

/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DBitUtils.java52 return packBits(bits); in packBitList()
64 public static long packBits(int[] bits) { in packBits() method in BitUtils
DNetworkCapabilitiesUtils.java48 import static com.android.net.module.util.BitUtils.packBits;
163 return inferRestrictedCapability(packBits(nc.getCapabilities())); in inferRestrictedCapability()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DBitUtilsTests.kt21 import com.android.net.module.util.BitUtils.packBits in <lambda>()
42 assertEquals(packedBits, packBits(bits)) in <lambda>()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DIpConnectivityMetricsTest.java153 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()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkRequestStateInfo.java85 return (int) BitUtils.packBits(mNetworkRequest.networkCapabilities.getTransportTypes()); in getTransportTypes()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java1015 mNetworkCapabilities = BitUtils.packBits(capabilities); in setCapabilities()
1016 mForbiddenNetworkCapabilities = BitUtils.packBits(forbiddenCapabilities); in setCapabilities()
1503 mTransportTypes = BitUtils.packBits(transportTypes); in setTransportTypes()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java9459 long transportTypes = BitUtils.packBits(agentCaps.getTransportTypes());