| /packages/modules/NetworkStack/tests/unit/src/android/net/dhcp6/ |
| D | Dhcp6PacketTest.kt | 44 val bytes = HexDump.hexStringToByteArray(solicitHex) in testDecodeDhcp6SolicitPacket() constant 62 val bytes = HexDump.hexStringToByteArray(solicitHex) in testDecodeDhcp6SolicitPacket_incorrectOptionLength() constant 81 val bytes = HexDump.hexStringToByteArray(solicitHex) in testDecodeDhcp6SolicitPacket_lastTruncatedOption() constant 100 val bytes = HexDump.hexStringToByteArray(solicitHex) in testDecodeDhcp6SolicitPacket_middleTruncatedOption() constant 121 val bytes = HexDump.hexStringToByteArray(advertiseHex) in testDecodeDhcp6AdvertisePacket() constant 143 val bytes = HexDump.hexStringToByteArray(advertiseHex) in testDecodeDhcp6SolicitPacket_unsupportedOption() constant 172 val bytes = HexDump.hexStringToByteArray(replyHex) in testDecodeDhcp6ReplyPacket() constant 202 val bytes = HexDump.hexStringToByteArray(replyHex) in testGetMinimalPreferredValidLifetime() constant 230 val bytes = HexDump.hexStringToByteArray(replyHex) in testStatusCodeOptionWithStatusMessage() constant 258 val bytes = HexDump.hexStringToByteArray(replyHex) in testStatusCodeOptionWithoutStatusMessage() constant [all …]
|
| /packages/modules/Bluetooth/system/gd/hci/acl_manager/ |
| D | classic_impl_test.cc | 64 auto bytes = std::make_shared<std::vector<uint8_t>>(); in Serialize() local 71 T CreateCommandView(std::shared_ptr<std::vector<uint8_t>> bytes) { in CreateCommandView() 76 T CreateAclCommandView(std::shared_ptr<std::vector<uint8_t>> bytes) { in CreateAclCommandView() 81 T CreateConnectionManagementCommandView(std::shared_ptr<std::vector<uint8_t>> bytes) { in CreateConnectionManagementCommandView() 86 T CreateSecurityCommandView(std::shared_ptr<std::vector<uint8_t>> bytes) { in CreateSecurityCommandView() 91 T CreateEventView(std::shared_ptr<std::vector<uint8_t>> bytes) { in CreateEventView() 100 auto bytes = Serialize<hci::CommandCompleteBuilder>(std::move(builder)); in ReturnCommandComplete() local 110 auto bytes = Serialize<hci::CommandStatusBuilder>(std::move(builder)); in ReturnCommandStatus() local 145 auto bytes = std::make_shared<std::vector<uint8_t>>(); in GetPacketView() local 214 auto bytes = std::make_shared<std::vector<uint8_t>>(); in HciDownEndDequeue() local [all …]
|
| D | le_impl_test.cc | 118 auto bytes = std::make_shared<std::vector<uint8_t>>(); in Serialize() local 140 T CreateLeEventView(std::shared_ptr<std::vector<uint8_t>> bytes) { in CreateLeEventView() 147 auto bytes = Serialize<hci::CommandCompleteBuilder>(std::move(builder)); in ReturnCommandComplete() local 155 auto bytes = Serialize<hci::CommandStatusBuilder>(std::move(builder)); in ReturnCommandStatus() local 355 auto bytes = std::make_shared<std::vector<uint8_t>>(); in HciDownEndDequeue() local 446 auto bytes = Serialize<LeEnhancedConnectionCompleteBuilder>(std::move(command)); in SetUp() local 1017 auto bytes = Serialize<LeConnectionCompleteBuilder>(std::move(command)); in TEST_F() local 1036 auto bytes = Serialize<LeConnectionCompleteBuilder>(std::move(command)); in TEST_F() local 1057 auto bytes = Serialize<LeEnhancedConnectionCompleteBuilder>(std::move(command)); in TEST_F() local 1078 auto bytes = Serialize<LeEnhancedConnectionCompleteBuilder>(std::move(command)); in TEST_F() local [all …]
|
| /packages/modules/Uwb/service/java/com/android/server/uwb/util/ |
| D | DataTypeConversionUtil.java | 99 public static short byteArrayToI16(byte[] bytes) { in byteArrayToI16() 109 public static int byteArrayToI32(byte[] bytes) { in byteArrayToI32() 119 public static int arbitraryByteArrayToI32(byte[] bytes) { in arbitraryByteArrayToI32() 148 public static long macAddressByteArrayToLong(byte[] bytes) { in macAddressByteArrayToLong() 169 public static byte[] convertShortMacAddressBytesToExtended(byte[] bytes) { in convertShortMacAddressBytesToExtended() 181 private static boolean isExtendedMSBZeroedOut(byte[] bytes) { in isExtendedMSBZeroedOut()
|
| D | Hex.java | 51 public static String encode(byte[] bytes) { in encode() 56 public static String encodeUpper(byte[] bytes) { in encodeUpper() 95 private static String doEncode(byte[] bytes, char[] alphabet) { in doEncode()
|
| /packages/modules/Bluetooth/android/pandora/mmi2grpc/mmi2grpc/ |
| D | gap.py | 50 def test_started(self, test: str, description: str, pts_addr: bytes): 69 def TSC_MMI_iut_send_hci_connect_request(self, test: str, pts_addr: bytes, **kwargs): 140 def TSC_MMI_iut_enter_handle_for_insufficient_authentication(self, pts_addr: bytes, **kwargs): 162 def TSC_MMI_the_security_id_is(self, pts_addr: bytes, passkey: str, **kwargs): 175 def TSC_MMI_iut_send_le_connect_request(self, test: str, pts_addr: bytes, **kwargs): 222 def TSC_MMI_enter_security_id(self, pts_addr: bytes, **kwargs): 240 def TSC_MMI_iut_send_att_service_request(self, pts_addr: bytes, handle: str, **kwargs): 366 def TSC_MMI_iut_start_general_inquiry_found(self, pts_addr: bytes, **kwargs): 381 def TSC_MMI_iut_send_att_read_by_type_request_name_request(self, pts_addr: bytes, **kwargs): 393 def TSC_MMI_iut_confirm_device_discovery(self, test: str, pts_addr: bytes, **kwargs): [all …]
|
| D | hid.py | 35 def TSC_MMI_iut_enable_connection(self, pts_addr: bytes, **kwargs): 47 def TSC_MMI_iut_release_connection(self, pts_addr: bytes, **kwargs): 69 def TSC_MMI_iut_disable_connection(self, pts_addr: bytes, **kwargs): 105 def TSC_HID_MMI_iut_accept_control_channel(self, pts_addr: bytes, **kwargs): 147 def TSC_MMI_host_send_output_report(self, pts_addr: bytes, **kwargs): 171 def TSC_MMI_rf_shield_iut_or_tester(self, pts_addr: bytes, **kwargs): 190 def TSC_MMI_iut_auto_connection(self, pts_addr: bytes, **kwargs):
|
| D | hfp.py | 63 def test_started(self, test: str, pts_addr: bytes, **kwargs): 70 def TSC_delete_pairing_iut(self, pts_addr: bytes, **kwargs): 80 def TSC_iut_enable_slc(self, test: str, pts_addr: bytes, **kwargs): 111 def TSC_iut_connect(self, pts_addr: bytes, **kwargs): 139 def TSC_iut_disable_slc(self, test: str, pts_addr: bytes, **kwargs): 228 def TSC_iut_disable_audio(self, test: str, pts_addr: bytes, **kwargs): 255 def TSC_iut_enable_audio(self, test: str, pts_addr: bytes, **kwargs): 273 def TSC_iut_disable_audio_slc_down_ok(self, pts_addr: bytes, **kwargs): 403 def TSC_disable_ag_cellular_network_expect_notification(self, pts_addr: bytes, **kwargs): 592 def TSC_prepare_iut_for_vra(self, pts_addr: bytes, test: str, **kwargs): [all …]
|
| D | opp.py | 42 def TSC_OBEX_MMI_iut_accept_connect_OPP(self, pts_addr: bytes, **kwargs): 87 def TSC_OBEX_MMI_iut_accept_slc_connect_l2cap(self, pts_addr: bytes, **kwargs): 120 def TSC_OBEX_MMI_iut_initiate_slc_connect_rfcomm(self, pts_addr: bytes, **kwargs): 130 def TSC_OBEX_MMI_iut_initiate_slc_connect_l2cap(self, pts_addr: bytes, **kwargs):
|
| D | vcp.py | 39 def test_started(self, test: str, description: str, pts_addr: bytes): 45 def IUT_INITIATE_CONNECTION(self, pts_addr: bytes, **kwargs): 63 def _mmi_2004(self, pts_addr: bytes, passkey: str, **kwargs):
|
| D | _proxy.py | 28 def interact(self, test: str, mmi_name: str, mmi_description: str, pts_addr: bytes): 54 def test_started(self, test: str, description: str, pts_addr: bytes):
|
| /packages/modules/Bluetooth/framework/java/android/bluetooth/ |
| D | UidTraffic.java | 57 public void setRxBytes(long bytes) { in setRxBytes() 62 public void setTxBytes(long bytes) { in setTxBytes() 67 public void addRxBytes(long bytes) { in addRxBytes() 72 public void addTxBytes(long bytes) { in addTxBytes()
|
| /packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/data/ |
| D | Converters.java | 113 public static HashCode bytesToHashCode(byte[] bytes) { in bytesToHashCode() 135 public static SystemProfile bytesToSystemProfile(byte[] bytes) { in bytesToSystemProfile() 161 public static AggregateValue bytesToAggregateValue(byte[] bytes) { in bytesToAggregateValue() 188 public static UnencryptedObservationBatch bytesToUnencryptedObservationBatch(byte[] bytes) { in bytesToUnencryptedObservationBatch()
|
| /packages/modules/Bluetooth/tools/rootcanal/py/ |
| D | bluetooth.py | 38 def parse(span: bytes) -> Tuple['Address', bytes]: 42 def parse_all(span: bytes) -> 'Address': 70 def parse(span: bytes) -> Tuple['Address', bytes]: 74 def parse_all(span: bytes) -> 'Address':
|
| /packages/modules/Bluetooth/system/blueberry/utils/ |
| D | bluetooth.py | 27 def parse(span: bytes) -> Tuple['Address', bytes]: 31 def parse_all(span: bytes) -> 'Address': 60 def parse(span: bytes) -> Tuple['ClassOfDevice', bytes]: 64 def parse_all(span: bytes) -> 'ClassOfDevice':
|
| /packages/modules/GeoTZ/s2storage/src/write/java/com/android/storage/io/write/ |
| D | TypedOutputStream.java | 92 public void writeBytes(byte[] bytes) throws IOException { in writeBytes() 99 public void writeBytes(byte[] bytes, int off, int len) throws IOException { in writeBytes() 106 public void writeTinyByteArray(byte[] bytes) throws IOException { in writeTinyByteArray() 114 public void writeByteArray(byte[] bytes) throws IOException { in writeByteArray()
|
| /packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/util/ |
| D | Hex.java | 35 public static String bytesToStringLowercase(byte[] bytes) { in bytesToStringLowercase() 49 public static String bytesToStringUppercase(byte[] bytes) { in bytesToStringUppercase() 54 public static String bytesToStringUppercase(byte[] bytes, boolean zeroTerminated) { in bytesToStringUppercase()
|
| /packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/ |
| D | MdnsPacketTest.kt | 44 val bytes = HexDump.hexStringToByteArray(packetHex) in makeFlags() constant 81 val bytes = HexDump.hexStringToByteArray(packetWithErrorHex) in testParseQueryWithLabelLoop_ThrowsParseException() constant
|
| /packages/apps/CertInstaller/src/com/android/certinstaller/ |
| D | Util.java | 45 static <T> T fromBytes(byte[] bytes) { in fromBytes() 57 static String toMd5(byte[] bytes) { in toMd5() 70 private static String toHexString(byte[] bytes, String separator) { in toHexString()
|
| /packages/apps/Dialer/java/com/android/voicemail/impl/imap/ |
| D | VoicemailPayload.java | 22 private final byte[] bytes; field in VoicemailPayload 24 public VoicemailPayload(String mimeType, byte[] bytes) { in VoicemailPayload()
|
| /packages/modules/Bluetooth/pandora/server/bumble_experimental/ |
| D | asha.py | 65 def on_volume_write(connection: Connection, value: bytes) -> None: 70 def on_audio_control_point_write(connection: Connection, value: bytes) -> None: 152 def on_data(data: bytes) -> None: 235 def on_data(asha_connection: BumbleConnection, data: bytes) -> None:
|
| /packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/xfrm/ |
| D | StructXfrmLifetimeCur.java | 45 public final BigInteger bytes; field in StructXfrmLifetimeCur 56 public StructXfrmLifetimeCur( in StructXfrmLifetimeCur()
|
| /packages/modules/Connectivity/common/src/com/android/net/module/util/bpf/ |
| D | ClatIngress6Value.java | 37 public final long bytes; // Sum of post-translation skb->len field in ClatIngress6Value 40 final long bytes) { in ClatIngress6Value()
|
| /packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/ |
| D | ResultPayloadUtils.java | 38 public static <T> T unmarshall(byte[] bytes, Parcelable.Creator<T> creator) { in unmarshall() 46 private static Parcel unmarshall(byte[] bytes) { in unmarshall()
|
| /packages/modules/Bluetooth/floss/hcidoc/packets/ |
| D | lib.rs | 16 let bytes = u64::to_le_bytes(self.0); in fmt() localVariable 35 let bytes = u64::to_le_bytes(addr); in from() localVariable
|