Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/internal/util/
DBitUtilsTest.java19 import static com.android.internal.util.BitUtils.bytesToBEInt;
20 import static com.android.internal.util.BitUtils.bytesToLEInt;
21 import static com.android.internal.util.BitUtils.getUint16;
22 import static com.android.internal.util.BitUtils.getUint32;
23 import static com.android.internal.util.BitUtils.getUint8;
24 import static com.android.internal.util.BitUtils.packBits;
25 import static com.android.internal.util.BitUtils.uint16;
26 import static com.android.internal.util.BitUtils.uint32;
27 import static com.android.internal.util.BitUtils.uint8;
28 import static com.android.internal.util.BitUtils.unpackBits;
/frameworks/base/core/java/android/net/metrics/
DDefaultNetworkEvent.java23 import com.android.internal.util.BitUtils;
66 for (int t : BitUtils.unpackBits(transports)) { in toString()
DDnsEvent.java21 import com.android.internal.util.BitUtils;
90 for (int t : BitUtils.unpackBits(transports)) { in toString()
DIpConnectivityLog.java31 import com.android.internal.util.BitUtils;
154 ev.transports = BitUtils.packBits(transports); in log()
DConnectStats.java24 import com.android.internal.util.BitUtils;
124 for (int t : BitUtils.unpackBits(transports)) { in toString()
DNetworkMetrics.java21 import com.android.internal.util.BitUtils;
147 for (int t : BitUtils.unpackBits(transports)) { in toString()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DIpConnectivityMetricsTest.java53 import com.android.internal.util.BitUtils;
129 final long cell = BitUtils.packBits(new int[]{NetworkCapabilities.TRANSPORT_CELLULAR}); in testDefaultNetworkEvents()
130 final long wifi = BitUtils.packBits(new int[]{NetworkCapabilities.TRANSPORT_WIFI}); in testDefaultNetworkEvents()
330 final long cell = BitUtils.packBits(new int[]{NetworkCapabilities.TRANSPORT_CELLULAR}); in testEndToEndLogging()
331 final long wifi = BitUtils.packBits(new int[]{NetworkCapabilities.TRANSPORT_WIFI}); in testEndToEndLogging()
592 for (int t : BitUtils.unpackBits(transports)) { in makeNai()
/frameworks/base/packages/Tethering/tests/unit/
Djarjar-rules.txt3 rule com.android.internal.util.BitUtils* com.android.networkstack.tethering.util.BitUtils@1
/frameworks/base/core/java/android/net/
DConnectivityMetricsEvent.java22 import com.android.internal.util.BitUtils;
89 for (int t : BitUtils.unpackBits(transports)) { in toString()
DNetworkCapabilities.java39 import com.android.internal.util.BitUtils;
524 return BitUtils.unpackBits(mNetworkCapabilities); in getCapabilities()
534 return BitUtils.unpackBits(mUnwantedNetworkCapabilities); in getUnwantedCapabilities()
546 mNetworkCapabilities = BitUtils.packBits(capabilities); in setCapabilities()
547 mUnwantedNetworkCapabilities = BitUtils.packBits(unwantedCapabilities); in setCapabilities()
602 return capabilityNameOf(BitUtils.unpackBits(nonRequestable)[0]); in describeFirstNonRequestableCapability()
856 return BitUtils.unpackBits(mTransportTypes); in getTransportTypes()
866 mTransportTypes = BitUtils.packBits(transportTypes); in setTransportTypes()
1630 String before = capabilityNamesOf(BitUtils.unpackBits(oldImmutableCapabilities)); in describeImmutableDifferences()
1631 String after = capabilityNamesOf(BitUtils.unpackBits(newImmutableCapabilities)); in describeImmutableDifferences()
/frameworks/base/packages/Tethering/
Djarjar-rules.txt7 rule com.android.internal.util.BitUtils* com.android.networkstack.tethering.util.BitUtils@1
/frameworks/base/core/java/com/android/internal/util/
DBitUtils.java34 public final class BitUtils { class
35 private BitUtils() {} in BitUtils() method in BitUtils
/frameworks/base/services/core/java/com/android/server/connectivity/
DDefaultNetworkMetrics.java24 import com.android.internal.util.BitUtils;
165 ev.transports |= BitUtils.packBits(nai.networkCapabilities.getTransportTypes()); in fillLinkInfo()
DNetdEventListenerService.java41 import com.android.internal.util.BitUtils;
392 return BitUtils.packBits(nc.getTransportTypes()); in getTransports()
/frameworks/base/core/java/android/net/util/
DDnsUtils.java32 import com.android.internal.util.BitUtils;
335 int x = BitUtils.uint8(srcByte[i]) ^ BitUtils.uint8(dstByte[i]); in compareIpv6PrefixMatchLen()
/frameworks/base/tests/net/common/java/android/net/metrics/
DIpConnectivityLogTest.java34 import com.android.internal.util.BitUtils;
52 private static final int[] FAKE_TRANSPORT_TYPES = BitUtils.unpackBits(TRANSPORT_WIFI);
/frameworks/base/services/core/java/com/android/server/job/
DJobStore.java46 import com.android.internal.util.BitUtils;
530 BitUtils.packBits(network.networkCapabilities.getCapabilities())));
532 BitUtils.packBits(network.networkCapabilities.getUnwantedCapabilities())));
535 BitUtils.packBits(network.networkCapabilities.getTransportTypes())));
964 : BitUtils.packBits(request.networkCapabilities.getUnwantedCapabilities()); in buildConstraintsFromXml()
968 BitUtils.unpackBits(Long.parseLong(netCapabilities)), in buildConstraintsFromXml()
969 BitUtils.unpackBits(unwantedCapabilities)); in buildConstraintsFromXml()
971 BitUtils.unpackBits(Long.parseLong(netTransportTypes))); in buildConstraintsFromXml()
/frameworks/base/core/java/android/bluetooth/le/
DScanFilter.java27 import com.android.internal.util.BitUtils;
401 return BitUtils.maskedEquals(data, uuid, mask); in matchesServiceUuid()
431 return BitUtils.maskedEquals(data, solicitationUuid, solicitationUuidMask); in matchesServiceSolicitationUuid()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityEvent.java27 import com.android.internal.util.BitUtils;
894 return BitUtils.flagsToString(types, AccessibilityEvent::singleContentChangeTypeToString); in contentChangeTypesToString()
942 return BitUtils.flagsToString(types, AccessibilityEvent::singleWindowChangeTypeToString); in windowChangeTypesToString()
DAccessibilityNodeInfo.java19 import static com.android.internal.util.BitUtils.bitAt;
20 import static com.android.internal.util.BitUtils.isBitSet;
/frameworks/base/core/java/android/companion/
DBluetoothLeDeviceFilter.java38 import com.android.internal.util.BitUtils;
172 || BitUtils.maskedEquals(device.getScanRecord().getBytes(), in matches()
/frameworks/base/core/java/com/android/internal/util/function/pooled/
DPooledLambdaImpl.java26 import com.android.internal.util.BitUtils;
212 mFlags |= BitUtils.bitAt(i); in fillInArg()
424 mFlags &= ~BitUtils.bitAt(index); in popArg()
/frameworks/base/services/core/java/com/android/server/role/
DRoleManagerService.java64 import com.android.internal.util.BitUtils;
286 out.write(BitUtils.toBytes(pkg.getLongVersionCode())); in computeComponentStateHash()
/frameworks/base/config/
Dpreloaded-classes5117 com.android.internal.util.BitUtils
Dboot-image-profile.txt24130 HSPLcom/android/internal/util/BitUtils;->packBits([I)J
24131 HSPLcom/android/internal/util/BitUtils;->toBytes(J)[B
24132 HSPLcom/android/internal/util/BitUtils;->unpackBits(J)[I
38087 Lcom/android/internal/util/BitUtils;
43179 HSPLcom/android/internal/util/BitUtils;->maskedEquals(Ljava/util/UUID;Ljava/util/UUID;Ljava/util/UU…
43180 HSPLcom/android/internal/util/BitUtils;->uint16(S)I
43181 HSPLcom/android/internal/util/BitUtils;->uint32(I)J
43182 HSPLcom/android/internal/util/BitUtils;->uint8(B)I