| /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
|
| /packages/modules/Bluetooth/tools/pdl/tests/ |
| D | custom_types.py | 25 def parse(span: bytes) -> Tuple['SizedCustomField', bytes]: 28 def parse_all(span: bytes) -> 'SizedCustomField': 43 def parse(span: bytes) -> Tuple['UnsizedCustomField', bytes]: 46 def parse_all(span: bytes) -> 'UnsizedCustomField': 55 def Checksum(span: bytes) -> int:
|
| /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 | 34 def TSC_MMI_iut_send_hci_connect_request(self, test: str, pts_addr: bytes, **kwargs): 92 def TSC_MMI_iut_enter_handle_for_insufficient_authentication(self, pts_addr: bytes, **kwargs): 114 def TSC_MMI_the_security_id_is(self, pts_addr: bytes, passkey: str, **kwargs): 127 def TSC_MMI_iut_send_le_connect_request(self, test: str, pts_addr: bytes, **kwargs): 168 def TSC_MMI_enter_security_id(self, pts_addr: bytes, **kwargs): 186 def TSC_MMI_iut_send_att_service_request(self, pts_addr: bytes, handle: str, **kwargs): 305 def TSC_MMI_iut_start_general_inquiry_found(self, pts_addr: bytes, **kwargs): 320 def TSC_MMI_iut_send_att_read_by_type_request_name_request(self, pts_addr: bytes, **kwargs): 332 def TSC_MMI_iut_confirm_device_discovery(self, test: str, pts_addr: bytes, **kwargs): 438 def TSC_MMI_iut_confirm_general_discovered_device(self, pts_addr: bytes, **kwargs): [all …]
|
| D | hid.py | 22 def TSC_MMI_iut_enable_connection(self, pts_addr: bytes, **kwargs): 34 def TSC_MMI_iut_release_connection(self, pts_addr: bytes, **kwargs): 56 def TSC_MMI_iut_disable_connection(self, pts_addr: bytes, **kwargs): 92 def TSC_HID_MMI_iut_accept_control_channel(self, pts_addr: bytes, **kwargs): 134 def TSC_MMI_host_send_output_report(self, pts_addr: bytes, **kwargs): 158 def TSC_MMI_rf_shield_iut_or_tester(self, pts_addr: bytes, **kwargs): 177 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): 69 def TSC_delete_pairing_iut(self, pts_addr: bytes, **kwargs): 79 def TSC_iut_enable_slc(self, test: str, pts_addr: bytes, **kwargs): 110 def TSC_iut_connect(self, pts_addr: bytes, **kwargs): 138 def TSC_iut_disable_slc(self, test: str, pts_addr: bytes, **kwargs): 227 def TSC_iut_disable_audio(self, test: str, pts_addr: bytes, **kwargs): 254 def TSC_iut_enable_audio(self, test: str, pts_addr: bytes, **kwargs): 272 def TSC_iut_disable_audio_slc_down_ok(self, pts_addr: bytes, **kwargs): 402 def TSC_disable_ag_cellular_network_expect_notification(self, pts_addr: bytes, **kwargs): 591 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 | _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/Connectivity/nearby/service/java/com/android/server/nearby/common/bluetooth/fastpair/ |
| D | Bytes.java | 43 public Value(byte[] bytes, ByteOrder byteOrder) { in Value() 56 static byte[] reverse(byte[] bytes) { in reverse() 65 Bytes(byte[] bytes) { in Bytes() 69 private static String toHexString(byte[] bytes) { in toHexString() 87 static short[] toShorts(ByteOrder byteOrder, byte[] bytes) { in toShorts()
|
| /packages/modules/Bluetooth/system/gd/packet/ |
| D | python3_module.cc | 64 .def(py::init([](std::vector<uint8_t> bytes) { return std::make_unique<RawBuilder>(bytes); })) in PYBIND11_MODULE() 65 .def(py::init([](std::string bytes) { in PYBIND11_MODULE() 87 .def(py::init([](std::vector<uint8_t> bytes) { in PYBIND11_MODULE() 99 …PacketView<!kLittleEndian>>(m, "PacketViewBigEndian").def(py::init([](std::vector<uint8_t> bytes) { in PYBIND11_MODULE()
|
| D | bit_inserter_unittest.cc | 31 std::vector<uint8_t> bytes; in TEST() local 48 std::vector<uint8_t> bytes; in TEST() local
|
| /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/Bluetooth/tools/rootcanal/py/ |
| D | bluetooth.py | 24 def parse(span: bytes) -> Tuple['Address', bytes]: 28 def parse_all(span: bytes) -> 'Address': 55 def parse(span: bytes) -> Tuple['Address', bytes]: 58 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/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/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/modules/Bluetooth/pandora/server/bumble_experimental/ |
| D | asha.py | 64 def on_volume_write(connection: Connection, value: bytes) -> None: 69 def on_audio_control_point_write(connection: Connection, value: bytes) -> None: 151 def on_data(data: bytes) -> None: 228 def on_data(asha_connection: BumbleConnection, data: bytes) -> None:
|
| /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/GeoTZ/s2storage/src/write/java/com/android/timezone/location/storage/io/write/ |
| D | TypedOutputStream.java | 91 public void writeBytes(byte[] bytes) throws IOException { in writeBytes() 98 public void writeBytes(byte[] bytes, int off, int len) throws IOException { in writeBytes() 105 public void writeTinyByteArray(byte[] bytes) throws IOException { in writeTinyByteArray()
|
| /packages/modules/Bluetooth/system/gd/hci/acl_manager/ |
| D | le_impl_test.cc | 120 auto bytes = std::make_shared<std::vector<uint8_t>>(); in Serialize() local 127 T CreateCommandView(std::shared_ptr<std::vector<uint8_t>> bytes) { in CreateCommandView() 132 T CreateAclCommandView(std::shared_ptr<std::vector<uint8_t>> bytes) { in CreateAclCommandView() 137 T CreateLeConnectionManagementCommandView(std::shared_ptr<std::vector<uint8_t>> bytes) { in CreateLeConnectionManagementCommandView() 142 T CreateLeSecurityCommandView(std::shared_ptr<std::vector<uint8_t>> bytes) { in CreateLeSecurityCommandView() 147 T CreateLeEventView(std::shared_ptr<std::vector<uint8_t>> bytes) { in CreateLeEventView() 154 auto bytes = Serialize<hci::CommandCompleteBuilder>(std::move(builder)); in ReturnCommandComplete() local 162 auto bytes = Serialize<hci::CommandStatusBuilder>(std::move(builder)); in ReturnCommandStatus() local 175 auto bytes = std::make_shared<std::vector<uint8_t>>(); in GetPacketView() local 294 auto bytes = std::make_shared<std::vector<uint8_t>>(); in DequeueCommandBytes() local [all …]
|
| /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/system/gd/rust/linux/stack/src/ |
| D | bluetooth_adv.rs | 329 let mut bytes = Vec::<u8>::new(); in make_with() localVariable 632 let mut bytes = Vec::<u8>::new(); in test_append_ad_data_clamped() localVariable 645 let mut bytes = Vec::<u8>::new(); in test_append_ad_data_multiple() localVariable 685 let mut bytes = Vec::<u8>::new(); in test_append_service_uuids() localVariable 693 let mut bytes = Vec::<u8>::new(); in test_append_service_uuids() localVariable 701 let mut bytes = Vec::<u8>::new(); in test_append_service_uuids() localVariable 711 let mut bytes = Vec::<u8>::new(); in test_append_service_uuids() localVariable 719 let mut bytes = Vec::<u8>::new(); in test_append_service_uuids() localVariable 732 let mut bytes = Vec::<u8>::new(); in test_append_solicit_uuids() localVariable 754 let mut bytes = Vec::<u8>::new(); in test_append_service_data_good_id() localVariable [all …]
|
| /packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
| D | NativeUtil.java | 270 public static String bytesToHexOrQuotedString(ArrayList<Byte> bytes) { in bytesToHexOrQuotedString() 324 public static ArrayList<Byte> byteArrayToArrayList(byte[] bytes) { in byteArrayToArrayList() 335 public static byte[] byteArrayFromArrayList(ArrayList<Byte> bytes) { in byteArrayFromArrayList() 363 public static String hexStringFromByteArray(byte[] bytes) { in hexStringFromByteArray()
|
| /packages/apps/TV/src/com/android/tv/data/ |
| D | InternalDataUtils.java | 55 public static void deserializeInternalProviderData(byte[] bytes, ProgramImpl.Builder builder) { in deserializeInternalProviderData() 105 byte[] bytes, RecordedProgram.Builder builder) { in deserializeInternalProviderData()
|