Home
last modified time | relevance | path

Searched refs:BitUtils (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DBitUtilsTests.kt19 import com.android.net.module.util.BitUtils.appendStringRepresentationOfBitMaskToStringBuilder in <lambda>()
20 import com.android.net.module.util.BitUtils.describeDifferences in <lambda>()
21 import com.android.net.module.util.BitUtils.packBits in <lambda>()
22 import com.android.net.module.util.BitUtils.unpackBits in <lambda>()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DIpConnectivityMetricsTest.java54 import com.android.internal.util.BitUtils;
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()
620 for (int t : BitUtils.unpackBits(transports)) { in makeNai()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkRequestStateInfo.java27 import com.android.net.module.util.BitUtils;
85 return (int) BitUtils.packBits(mNetworkRequest.networkCapabilities.getTransportTypes()); in getTransportTypes()
DFullScore.java26 import static com.android.net.module.util.BitUtils.describeDifferences;
/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java20 import static com.android.net.module.util.BitUtils.appendStringRepresentationOfBitMaskToStringBuild…
21 import static com.android.net.module.util.BitUtils.describeDifferences;
44 import com.android.net.module.util.BitUtils;
307 return BitUtils.unpackBits(mEnterpriseId); in getEnterpriseIds()
991 return BitUtils.unpackBits(mNetworkCapabilities); in getCapabilities()
1003 return BitUtils.unpackBits(mForbiddenNetworkCapabilities); in getForbiddenCapabilities()
1015 mNetworkCapabilities = BitUtils.packBits(capabilities); in setCapabilities()
1016 mForbiddenNetworkCapabilities = BitUtils.packBits(forbiddenCapabilities); in setCapabilities()
1161 return capabilityNameOf(BitUtils.unpackBits(nonRequestable)[0]); in describeFirstNonRequestableCapability()
1481 return BitUtils.unpackBits(mTransportTypes); in getTransportTypes()
[all …]
/packages/modules/Connectivity/tests/unit/java/com/android/metrics/
DConnectivitySampleMetricsTest.kt35 import com.android.net.module.util.BitUtils in <lambda>()
59 BitUtils.appendStringRepresentationOfBitMaskToStringBuilder(sb, this.toLong(), in toTransportsString()
63 BitUtils.appendStringRepresentationOfBitMaskToStringBuilder(sb, this.toLong(), in Number()
67 BitUtils.appendStringRepresentationOfBitMaskToStringBuilder(sb, this.toLong(), in Number()
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DNetworkCapabilitiesUtils.java48 import static com.android.net.module.util.BitUtils.packBits;
49 import static com.android.net.module.util.BitUtils.unpackBits;
DBitUtils.java25 public class BitUtils { class
/packages/modules/Connectivity/Tethering/tests/
Djarjar-rules.txt3 rule com.android.internal.util.BitUtils* com.android.networkstack.tethering.util.BitUtils@1
/packages/modules/Connectivity/framework-t/src/android/net/
DNetworkIdentity.java38 import com.android.net.module.util.BitUtils;
176 final int[] bitPositions = BitUtils.unpackBits(oemManaged); in getOemManagedNames()
/packages/modules/Connectivity/tests/common/java/android/net/metrics/
DIpConnectivityLogTest.java22 import static com.android.net.module.util.BitUtils.unpackBits;
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java315 import com.android.net.module.util.BitUtils;
9459 long transportTypes = BitUtils.packBits(agentCaps.getTransportTypes());
9512 newNc.setTransportTypes(BitUtils.unpackBits(transportTypes));