/frameworks/base/core/java/android/net/ |
D | DnsPacket.java | 23 import com.android.internal.util.BitUtils; 56 id = BitUtils.uint16(buf.getShort()); in DnsHeader() 57 flags = BitUtils.uint16(buf.getShort()); in DnsHeader() 61 mRecordCount[i] = BitUtils.uint16(buf.getShort()); in DnsHeader() 114 nsType = BitUtils.uint16(buf.getShort()); in DnsRecord() 115 nsClass = BitUtils.uint16(buf.getShort()); in DnsRecord() 118 ttl = BitUtils.uint32(buf.getInt()); in DnsRecord() 119 final int length = BitUtils.uint16(buf.getShort()); in DnsRecord() 144 int b = BitUtils.uint8(label[i]); in labelToString() 168 final int len = BitUtils.uint8(buf.get()); in parseName() [all …]
|
D | ConnectivityMetricsEvent.java | 22 import com.android.internal.util.BitUtils; 89 for (int t : BitUtils.unpackBits(transports)) { in toString()
|
D | NetworkCapabilities.java | 33 import com.android.internal.util.BitUtils; 478 return BitUtils.unpackBits(mNetworkCapabilities); in getCapabilities() 488 return BitUtils.unpackBits(mUnwantedNetworkCapabilities); in getUnwantedCapabilities() 500 mNetworkCapabilities = BitUtils.packBits(capabilities); in setCapabilities() 501 mUnwantedNetworkCapabilities = BitUtils.packBits(unwantedCapabilities); in setCapabilities() 556 return capabilityNameOf(BitUtils.unpackBits(nonRequestable)[0]); in describeFirstNonRequestableCapability() 765 return BitUtils.unpackBits(mTransportTypes); in getTransportTypes() 775 mTransportTypes = BitUtils.packBits(transportTypes); in setTransportTypes() 1402 String before = capabilityNamesOf(BitUtils.unpackBits(oldImmutableCapabilities)); in describeImmutableDifferences() 1403 String after = capabilityNamesOf(BitUtils.unpackBits(newImmutableCapabilities)); in describeImmutableDifferences()
|
D | MacAddress.java | 26 import com.android.internal.util.BitUtils; 277 longAddr = (longAddr << 8) + BitUtils.uint8(b); in longAddrFromByteAddr()
|
/frameworks/base/tests/net/java/com/android/internal/util/ |
D | BitUtilsTest.java | 19 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.uint16; 25 import static com.android.internal.util.BitUtils.uint32; 26 import static com.android.internal.util.BitUtils.uint8;
|
/frameworks/base/core/java/android/net/metrics/ |
D | DefaultNetworkEvent.java | 23 import com.android.internal.util.BitUtils; 66 for (int t : BitUtils.unpackBits(transports)) { in toString()
|
D | DnsEvent.java | 21 import com.android.internal.util.BitUtils; 90 for (int t : BitUtils.unpackBits(transports)) { in toString()
|
D | IpConnectivityLog.java | 31 import com.android.internal.util.BitUtils; 154 ev.transports = BitUtils.packBits(transports); in log()
|
D | ConnectStats.java | 24 import com.android.internal.util.BitUtils; 124 for (int t : BitUtils.unpackBits(transports)) { in toString()
|
D | NetworkMetrics.java | 21 import com.android.internal.util.BitUtils; 147 for (int t : BitUtils.unpackBits(transports)) { in toString()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | IpConnectivityMetricsTest.java | 53 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/core/java/com/android/internal/util/ |
D | BitUtils.java | 34 public final class BitUtils { class 35 private BitUtils() {} in BitUtils() method in BitUtils
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | DefaultNetworkMetrics.java | 24 import com.android.internal.util.BitUtils; 165 ev.transports |= BitUtils.packBits(nai.networkCapabilities.getTransportTypes()); in fillLinkInfo()
|
D | NetdEventListenerService.java | 42 import com.android.internal.util.BitUtils; 387 return BitUtils.packBits(nc.getTransportTypes()); in getTransports()
|
/frameworks/base/core/java/android/net/util/ |
D | DnsUtils.java | 32 import com.android.internal.util.BitUtils; 332 int x = BitUtils.uint8(srcByte[i]) ^ BitUtils.uint8(dstByte[i]); in compareIpv6PrefixMatchLen()
|
/frameworks/base/tests/net/common/java/android/net/metrics/ |
D | IpConnectivityLogTest.java | 34 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/ |
D | JobStore.java | 46 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/ |
D | ScanFilter.java | 27 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/ |
D | AccessibilityEvent.java | 27 import com.android.internal.util.BitUtils; 894 return BitUtils.flagsToString(types, AccessibilityEvent::singleContentChangeTypeToString); in contentChangeTypesToString() 942 return BitUtils.flagsToString(types, AccessibilityEvent::singleWindowChangeTypeToString); in windowChangeTypesToString()
|
D | AccessibilityNodeInfo.java | 19 import static com.android.internal.util.BitUtils.bitAt; 20 import static com.android.internal.util.BitUtils.isBitSet;
|
/frameworks/base/core/java/android/companion/ |
D | BluetoothLeDeviceFilter.java | 38 import com.android.internal.util.BitUtils; 170 || BitUtils.maskedEquals(device.getScanRecord().getBytes(), in matches()
|
/frameworks/base/core/java/com/android/internal/util/function/pooled/ |
D | PooledLambdaImpl.java | 26 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/connectivity/tethering/ |
D | OffloadHardwareInterface.java | 19 import static com.android.internal.util.BitUtils.uint16;
|
/frameworks/base/services/core/java/com/android/server/role/ |
D | RoleManagerService.java | 65 import com.android.internal.util.BitUtils; 286 out.write(BitUtils.toBytes(pkg.getLongVersionCode())); in computeComponentStateHash()
|
/frameworks/base/config/ |
D | preloaded-classes | 5118 com.android.internal.util.BitUtils
|