| /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; 41 ByteArray<N> byte_array(data); in simple_constructor_test() 42 for (size_t i = 0; i < ByteArray<N>::kLength; i++) { in simple_constructor_test() 49 const ByteArray<N> byte_array(data); in simple_const_constructor_test() 50 for (size_t i = 0; i < ByteArray<N>::kLength; i++) { in simple_const_constructor_test() 60 ByteArray<N> byte_array(array_of_bytes); in simple_array_constructor_test() 61 for (size_t i = 0; i < ByteArray<N>::kLength; i++) { in simple_array_constructor_test() 68 auto byte_array = ByteArray<N>::FromString(byte_string); in simple_from_string_test() 71 for (size_t i = 0; i < ByteArray<N>::kLength; i++) { in simple_from_string_test() 78 const ByteArray<N> byte_array(data); in simple_to_string_test() [all …]
|
| /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() 76 ByteArray(512 - offset) in onCharacteristicReadRequest() 88 value: ByteArray in onCharacteristicWriteRequest()
|
| D | GattInstance.kt | 105 value: ByteArray, in onCharacteristicRead() 125 value: ByteArray in onDescriptorRead() 163 value: ByteArray in onCharacteristicChanged() 336 value: ByteArray in writeCharacteristicBlocking() 357 value: ByteArray in writeDescriptorBlocking()
|
| D | Host.kt | 70 public fun getUShortAt(input: ByteArray, index: Int): UShort { in getUShortAt() 75 public fun getShortAt(input: ByteArray, index: Int): Short { in getShortAt() 79 public fun getUIntAt(input: ByteArray, index: Int): UInt { in getUIntAt() 86 public fun getIntAt(input: ByteArray, index: Int): Int { in getIntAt() 90 public fun getUInt24At(input: ByteArray, index: Int): UInt { in getUInt24At() 96 public fun getInt24At(input: ByteArray, index: Int): Int { in getInt24At()
|
| D | L2cap.kt | 54 suspend fun receive(inStream: InputStream): ByteArray { in receive() 56 val buf = ByteArray(BUFFER_SIZE) in receive()
|
| /packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/viewmodel/ |
| D | FingerprintSettingsNavigationViewModel.kt | 37 tokenInit: ByteArray?, 105 fun onEnrollFirst(theToken: ByteArray?, theChallenge: Long?) { in onEnrollFirst() 170 private val token: ByteArray?,
|
| D | NextStepViewModel.kt | 29 val challengeToken: ByteArray?, 34 val challengeToken: ByteArray?,
|
| /packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/integration/ |
| D | DefaultDataTypeDescriptorSet.kt | 66 FieldType.ByteArray, in <lambda>() 89 FieldType.ByteArray -> ByteArray::class.java in <lambda>()
|
| /packages/apps/Settings/tests/unit/src/com/android/settings/fingerprint2/domain/interactor/ |
| D | FakeFingerprintManagerInteractor.kt | 33 var challengeToGenerate: Pair<Long, ByteArray> = Pair(-1L, byteArrayOf()) 53 override suspend fun generateChallenge(gateKeeperPasswordHandle: Long): Pair<Long, ByteArray> { in generateChallenge()
|
| /packages/modules/Connectivity/common/src/com/android/net/module/util/bpf/ |
| D | Tether4Key.java | 42 @Field(order = 3, type = Type.ByteArray, arraysize = 4) 45 @Field(order = 4, type = Type.ByteArray, arraysize = 4)
|
| D | Tether4Value.java | 47 @Field(order = 5, type = Type.ByteArray, arraysize = 16) 50 @Field(order = 6, type = Type.ByteArray, arraysize = 16)
|
| /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/integration/signature/android/net/util/ |
| D | NetworkStackUtilsIntegrationTest.kt | 195 private fun assertNextPacketEquals(socket: FileDescriptor, expected: ByteArray, descr: String) { in assertNextPacketEquals() 196 val buffer = ByteArray(TEST_MTU) in assertNextPacketEquals() 324 private fun ByteBuffer.readAsArray(): ByteArray { in readAsArray() 325 val out = ByteArray(remaining()) in readAsArray()
|
| /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/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/binder/ |
| D | FingerprintSettingsViewBinder.kt | 56 challengeToken: ByteArray? in <lambda>() 60 fun launchAddFingerprint(userId: Int, challengeToken: ByteArray?) in <lambda>()
|
| /packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/domain/interactor/ |
| D | FingerprintManagerInteractor.kt | 61 suspend fun generateChallenge(gateKeeperPasswordHandle: Long): Pair<Long, ByteArray> in <lambda>() 99 override suspend fun generateChallenge(gateKeeperPasswordHandle: Long): Pair<Long, ByteArray> = in generateChallenge()
|
| /packages/modules/Bluetooth/system/gd/hci/ |
| D | link_key.h | 24 using LinkKey = common::ByteArray<16>;
|
| /packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
| D | DscpPolicyTest.kt | 294 fun ByteArray.toHex(): String = joinToString(separator = "") { in <lambda>() method 359 val ipAddr = if (sendV6) ByteArray(16) else ByteArray(4) in <lambda>() 746 private fun ByteBuffer.readAsArray(): ByteArray { in readAsArray() 747 val out = ByteArray(remaining()) in readAsArray()
|
| /packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/ |
| D | DownloadServiceTest.kt | 193 override fun read(b: ByteArray, off: Int, len: Int): Int { in read() 496 val buffer1 = ByteArray(1000) in assertSameContents() 497 val buffer2 = ByteArray(1000) in assertSameContents()
|
| /packages/apps/Settings/tests/unit/src/com/android/settings/fingerprint2/viewmodel/ |
| D | FingerprintSettingsNavigationViewModelTest.kt | 193 val byteArray = ByteArray(1) { 3 } in firstEnrollmentSucceeds_noKeyChallenge() 211 val byteArray = ByteArray(1) { 3 } in firstEnrollment_succeeds()
|
| /packages/modules/Connectivity/service-t/src/com/android/server/net/ |
| D | InterfaceMapValue.java | 28 @Field(order = 0, type = Type.ByteArray, arraysize = 16)
|