| /packages/modules/Bluetooth/system/gd/common/ |
| D | byte_array.h | 34 class ByteArray : public packet::CustomFieldFixedSizeInterface<ByteArray<LENGTH>>, 35 public storage::Serializable<ByteArray<LENGTH>> { 38 ByteArray() = default; 39 ByteArray(const uint8_t (&d)[kLength]) { in ByteArray() function 42 ByteArray(std::array<uint8_t, kLength> a) : bytes(std::move(a)) {} in ByteArray() function 55 bool operator<(const ByteArray& rhs) const { 58 bool operator==(const ByteArray& rhs) const { 61 bool operator>(const ByteArray& rhs) const { 64 bool operator<=(const ByteArray& rhs) const { 67 bool operator>=(const ByteArray& rhs) const { [all …]
|
| D | byte_array_test.cc | 23 using bluetooth::common::ByteArray; 32 ByteArray<16> byte_array(data); in TEST() 34 for (size_t i = 0; i < ByteArray<16>::kLength; i++) { in TEST() 40 auto byte_array = ByteArray<16>::FromString(test_bytes); in TEST() 43 for (size_t i = 0; i < ByteArray<16>::kLength; i++) { in TEST() 49 ByteArray<16> byte_array = { in TEST()
|
| /packages/modules/Bluetooth/system/gd/security/record/ |
| D | security_record_storage.cc | 56 common::ByteArray<23> byte_array(peerid); in SetLeData() 74 common::ByteArray<28> byte_array(penc_keys); in SetLeData() 89 common::ByteArray<21> byte_array(psrk_keys); in SetLeData() 145 auto peerid = common::ByteArray<23>::FromString(*device.Le().GetPeerId()); in LoadSecurityRecords() 158 …auto peer_encryption_keys = common::ByteArray<28>::FromString(*device.Le().GetPeerEncryptionKeys()… in LoadSecurityRecords() 172 common::ByteArray<21>::FromString(*device.Le().GetPeerSignatureResolvingKeys()); in LoadSecurityRecords()
|
| /packages/modules/Bluetooth/android/pandora/server/src/com/android/pandora/ |
| D | GattServerManager.kt | 68 ByteArray(negociatedMtu) in onCharacteristicReadRequest() 71 server.sendResponse(device, requestId, BluetoothGatt.GATT_SUCCESS, offset, ByteArray(0)) in onCharacteristicReadRequest() 82 value: ByteArray in onCharacteristicWriteRequest()
|
| D | GattInstance.kt | 104 value: ByteArray, in onCharacteristicRead() 124 value: ByteArray in onDescriptorRead() 316 value: ByteArray in writeCharacteristicBlocking() 337 value: ByteArray in writeDescriptorBlocking()
|
| D | L2cap.kt | 54 suspend fun receive(inStream: InputStream): ByteArray { in receive() 56 val buf = ByteArray(BUFFER_SIZE) in receive()
|
| /packages/modules/NetworkStack/tests/integration/src/android/net/util/ |
| D | NetworkStackUtilsIntegrationTest.kt | 179 private fun assertNextPacketEquals(socket: FileDescriptor, expected: ByteArray, descr: String) { in assertNextPacketEquals() 180 val buffer = ByteArray(TEST_MTU) in assertNextPacketEquals() 189 private fun ByteBuffer.readAsArray(): ByteArray { in readAsArray() 190 val out = ByteArray(remaining()) in readAsArray()
|
| /packages/modules/Connectivity/tests/common/java/android/net/util/ |
| D | SocketUtilsTest.kt | 66 val pkAddress2 = SocketUtils.makePacketSocketAddress(TEST_INDEX, ByteArray(6) { FF_BYTE }) in testMakePacketSocketAddress_Q() 73 ETH_P_ALL, TEST_INDEX, ByteArray(6) { FF_BYTE }) in testMakePacketSocketAddress()
|
| /packages/services/Car/tools/emulator/ |
| D | diagnostic_builder.py | 26 class ByteArray(object): class in DiagnosticEventBuilder 62 self.bitmask = DiagnosticEventBuilder.ByteArray(
|
| /packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/metrics/ |
| D | DataStallStatsUtilsTest.kt | 102 private fun makeTestDnsTimeoutNano(timeoutCount: Int): ByteArray? { in makeTestDnsTimeoutNano() 112 private fun makeTestCellDataNano(): ByteArray? { in makeTestCellDataNano()
|
| /packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
| D | DscpPolicyValue.java | 34 @Field(order = 0, type = Type.ByteArray, arraysize = 16) 37 @Field(order = 1, type = Type.ByteArray, arraysize = 16)
|
| /packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
| D | DscpPolicyTest.kt | 233 fun ByteArray.toHex(): String = joinToString(separator = "") { in <lambda>() method 285 val ipAddr = if (sendV6) ByteArray(16) else ByteArray(4) in <lambda>() 658 private fun ByteBuffer.readAsArray(): ByteArray { in readAsArray() 659 val out = ByteArray(remaining()) in readAsArray()
|
| D | NetworkValidationTest.kt | 206 private fun makeOfferPacket(clientMac: ByteArray, transactionId: Int) = in makeOfferPacket() 216 private fun makeAckPacket(clientMac: ByteArray, transactionId: Int) = in makeOfferPacket()
|
| /packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/ |
| D | DownloadServiceTest.kt | 210 override fun read(b: ByteArray, off: Int, len: Int): Int { in read() 502 val buffer1 = ByteArray(1000) in assertSameContents() 503 val buffer2 = ByteArray(1000) in assertSameContents()
|
| /packages/modules/Bluetooth/system/gd/hci/ |
| D | link_key.h | 24 using LinkKey = common::ByteArray<16>;
|
| /packages/modules/Connectivity/nearby/tests/multidevices/clients/test_service/fastpair_seeker_data_provider/shared/android/nearby/fastpair/seeker/ |
| D | FastPairTestDataCache.kt | 263 private fun String.base64Decode(): ByteArray = BaseEncoding.base64().decode(this) 265 private fun ByteArray.base64Encode(): String = BaseEncoding.base64().encode(this) method
|
| /packages/modules/Connectivity/service-t/src/com/android/server/net/ |
| D | InterfaceMapValue.java | 26 @Field(order = 0, type = Type.ByteArray, arraysize = 16)
|
| /packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
| D | IpReachabilityMonitorTest.kt | 213 private val pendingPackets = ConcurrentLinkedQueue<ByteArray>() 221 fun enqueuePacket(packet: ByteArray) { in createFd() 229 override fun readPacket(fd: FileDescriptor, packetBuffer: ByteArray): Int { in readPacket()
|
| /packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
| D | TetherDownstream6Key.java | 41 @Field(order = 2, type = Type.ByteArray, arraysize = 16)
|
| /packages/modules/Bluetooth/system/gd/storage/ |
| D | adapter_config.h | 73 …GENERATE_PROPERTY_GETTER_SETTER_REMOVER(LeIdentityResolvingKey, common::ByteArray<16>, "LE_LOCAL_K…
|
| /packages/modules/Connectivity/nearby/tests/integration/privileged/src/android/nearby/integration/privileged/ |
| D | NearbyManagerTest.kt | 78 val metadataEncryptionKey = ByteArray(14) in testNearbyManagerStartBroadcastStopBroadcast_fromPrivilegedApp_succeed()
|
| /packages/modules/Connectivity/tests/common/java/android/net/ |
| D | KeepalivePacketDataTest.kt | 57 data: ByteArray = TESTBYTES in address()
|
| D | TcpKeepalivePacketDataTest.kt | 39 data: ByteArray = byteArrayOf(1, 2, 3), in <lambda>()
|
| /packages/modules/Connectivity/nearby/tests/multidevices/clients/test_service/fastpair_seeker_data_provider/src/android/nearby/fastpair/seeker/dataprovider/ |
| D | FastPairTestDataProviderService.kt | 139 private fun ByteArray.bytesToStringLowerCase(): String = in <lambda>() method
|
| /packages/modules/Connectivity/nearby/tests/integration/untrusted/src/android/nearby/integration/untrusted/ |
| D | NearbyManagerTest.kt | 113 val metadataEncryptionKey = ByteArray(14) in testNearbyManagerStartBroadcast_fromUnTrustedApp_throwsException()
|