/system/connectivity/shill/net/ |
D | ieee80211.h | 59 const uint16_t kWPSElementManufacturer = 0x1021; 60 const uint16_t kWPSElementModelName = 0x1023; 61 const uint16_t kWPSElementModelNumber = 0x1024; 62 const uint16_t kWPSElementDeviceName = 0x1011; 70 const uint16_t kRSNCapabilityPreAuth = 0x0001; 71 const uint16_t kRSNCapabilityPairwise = 0x0002; 72 const uint16_t kRSNCapabilityPTKSA = 0x000c; 73 const uint16_t kRSNCapabilityGTKSA = 0x0030; 74 const uint16_t kRSNCapabilityFrameProtectionRequired = 0x0040; 75 const uint16_t kRSNCapabilityFrameProtectionCapable = 0x0080; [all …]
|
D | netlink_message.h | 90 static const uint16_t kIllegalMessageType; 92 explicit NetlinkMessage(uint16_t message_type) : in NetlinkMessage() 106 uint16_t message_type() const { return message_type_; } in message_type() 107 void AddFlag(uint16_t new_flag) { flags_ |= new_flag; } in AddFlag() 109 uint16_t flags() const { return flags_; } in flags() 133 uint16_t flags_; 134 uint16_t message_type_; 155 static const uint16_t kMessageType; 160 static uint16_t GetMessageType() { return kMessageType; } in GetMessageType() 176 static const uint16_t kMessageType; [all …]
|
D | attribute_list_unittest.cc | 43 static const uint16_t kHeaderLength = 4; 44 static const uint16_t kType1 = 1; 45 static const uint16_t kType2 = 2; 46 static const uint16_t kType3 = 3; 48 static ByteString MakeNetlinkAttribute(uint16_t len, in MakeNetlinkAttribute() 49 uint16_t type, in MakeNetlinkAttribute() 58 static ByteString MakePaddedNetlinkAttribute(uint16_t len, in MakePaddedNetlinkAttribute() 59 uint16_t type, in MakePaddedNetlinkAttribute() 84 const uint16_t kLength1 = kHeaderLength + 10 + 2; // 2 bytes padding. in TEST_F() 87 const uint16_t kLength2 = kLength1 + kHeaderLength + 3 + 1; // 1 byte pad. in TEST_F() [all …]
|
/system/core/libziparchive/ |
D | zip_archive_common.h | 40 uint16_t disk_num; 45 uint16_t cd_start_disk; 50 uint16_t num_records_on_disk; 52 uint16_t num_records; 59 uint16_t comment_length; 77 uint16_t version_made_by; 79 uint16_t version_needed; 83 uint16_t gpb_flags; 86 uint16_t compression_method; 88 uint16_t last_mod_time; [all …]
|
/system/connectivity/shill/ |
D | connection_info.h | 33 uint16_t original_source_port, 35 uint16_t original_destination_port, 37 uint16_t reply_source_port, 39 uint16_t reply_destination_port); 64 uint16_t original_source_port() const { return original_source_port_; } in original_source_port() 65 void set_original_source_port(uint16_t original_source_port) { in set_original_source_port() 77 uint16_t original_destination_port() const { in original_destination_port() 80 void set_original_destination_port(uint16_t original_destination_port) { in set_original_destination_port() 92 uint16_t reply_source_port() const { return reply_source_port_; } in reply_source_port() 93 void set_reply_source_port(uint16_t reply_source_port) { in set_reply_source_port() [all …]
|
D | socket_info.h | 63 uint16_t local_port, 65 uint16_t remote_port, 89 uint16_t local_port() const { return local_port_; } in local_port() 90 void set_local_port(uint16_t local_port) { local_port_ = local_port; } in set_local_port() 97 uint16_t remote_port() const { return remote_port_; } in remote_port() 98 void set_remote_port(uint16_t remote_port) { remote_port_ = remote_port; } in set_remote_port() 116 uint16_t local_port_; 118 uint16_t remote_port_;
|
/system/connectivity/shill/wifi/ |
D | scan_session_unittest.cc | 44 static const uint16_t kExpectedFreq5640 = 5640; 45 static const uint16_t kExpectedFreq5600 = 5600; 46 static const uint16_t kExpectedFreq5580 = 5580; 47 static const uint16_t kExpectedFreq5560 = 5560; 48 static const uint16_t kExpectedFreq5620 = 5620; 58 static const uint16_t kExpectedFreq2432 = 2432; 59 static const uint16_t kExpectedFreq2427 = 2427; 60 static const uint16_t kExpectedFreq2422 = 2422; 61 static const uint16_t kExpectedFreq2417 = 2417; 62 static const uint16_t kExpectedFreq2412 = 2412; [all …]
|
/system/bt/hci/include/ |
D | bt_vendor_lib.h | 239 uint16_t handle; 240 uint16_t peer_codec; 241 uint16_t state; 317 typedef uint8_t (*cmd_xmit_cb)(uint16_t opcode, void *p_buf, tINT_CMD_CBACK p_cback); 361 uint16_t xmit_quota; /* Total ACL quota for light stack */ 362 uint16_t acl_data_size; /* Max ACL data size across HCI transport */ 363 uint16_t stream_mtu; 364 uint16_t local_cid; 365 uint16_t remote_cid; 366 uint16_t lm_handle;
|
D | userial.h | 66 uint16_t userial_read(uint16_t msg_id, uint8_t *p_buffer, uint16_t len); 71 uint16_t userial_write(uint16_t msg_id, const uint8_t *p_data, uint16_t len);
|
/system/bt/service/common/bluetooth/ |
D | low_energy_constants.h | 65 const uint16_t kAttributePermissionNone = 0x0; 66 const uint16_t kAttributePermissionRead = 0x1; 67 const uint16_t kAttributePermissionReadEncrypted = 0x2; 68 const uint16_t kAttributePermissionReadEncryptedMITM = 0x4; 69 const uint16_t kAttributePermissionWrite = 0x10; 70 const uint16_t kAttributePermissionWriteEncrypted = 0x20; 71 const uint16_t kAttributePermissionWriteEncryptedMITM = 0x40; 72 const uint16_t kAttributePermissionWriteSigned = 0x80; 73 const uint16_t kAttributePermissionWriteSignedMITM = 0x100;
|
/system/connectivity/apmanager/ |
D | config.h | 45 bool ValidateChannel(Error* error, const uint16_t& value); 49 static bool GetFrequencyFromChannel(uint16_t channel, uint32_t* freq); 73 void SetChannel(uint16_t channel); 74 uint16_t GetChannel() const; 79 void SetServerAddressIndex(uint16_t); 80 uint16_t GetServerAddressIndex() const; 130 static const uint16_t kPropertyDefaultChannel;; 132 static const uint16_t kPropertyDefaultServerAddressIndex; 135 static const uint16_t kBand24GHzChannelLow; 136 static const uint16_t kBand24GHzChannelHigh; [all …]
|
D | fake_config_adaptor.h | 46 void SetChannel(uint16_t channel) override; 47 uint16_t GetChannel() override; 52 void SetServerAddressIndex(uint16_t) override; 53 uint16_t GetServerAddressIndex() override; 67 uint16_t channel_; 68 uint16_t server_address_index_;
|
/system/bt/stack/l2cap/ |
D | l2cap_client.c | 38 uint16_t local_channel_id; 39 uint16_t remote_mtu; 46 static void connect_completed_cb(uint16_t local_channel_id, uint16_t error_code); 47 static void config_request_cb(uint16_t local_channel_id, tL2CAP_CFG_INFO *requested_parameters); 48 static void config_completed_cb(uint16_t local_channel_id, tL2CAP_CFG_INFO *negotiated_parameters); 49 static void disconnect_request_cb(uint16_t local_channel_id, bool ack_required); 50 static void disconnect_completed_cb(uint16_t local_channel_id, uint16_t error_code); 51 static void congestion_cb(uint16_t local_channel_id, bool is_congested); 52 static void read_ready_cb(uint16_t local_channel_id, BT_HDR *packet); 53 static void write_completed_cb(uint16_t local_channel_id, uint16_t packets_completed); [all …]
|
/system/connectivity/shill/shims/ |
D | netfilter_queue_processor.h | 74 uint16_t source_port() const { return source_port_; } in source_port() 75 uint16_t destination_port() const { return destination_port_; } in destination_port() 89 uint16_t source_port, 90 uint16_t destination_port); 98 uint16_t source_port_; 99 uint16_t destination_port_; 113 uint16_t port_in, in ListenerEntry() 125 uint16_t port; 157 uint16_t port, int device_index, uint32_t address); 162 uint16_t port, int device_index, uint32_t destination); [all …]
|
/system/firewalld/ |
D | iptables.h | 36 typedef std::pair<uint16_t, std::string> Hole; 42 bool PunchTcpHole(uint16_t in_port, const std::string& in_interface) override; 43 bool PunchUdpHole(uint16_t in_port, const std::string& in_interface) override; 44 bool PlugTcpHole(uint16_t in_port, const std::string& in_interface) override; 45 bool PlugUdpHole(uint16_t in_port, const std::string& in_interface) override; 64 bool PunchHole(uint16_t port, 68 bool PlugHole(uint16_t port, 74 uint16_t port, 77 uint16_t port, 82 uint16_t port, [all …]
|
/system/bt/device/include/ |
D | controller.h | 59 uint16_t (*get_acl_data_size_classic)(void); 60 uint16_t (*get_acl_data_size_ble)(void); 65 uint16_t (*get_acl_packet_size_classic)(void); 66 uint16_t (*get_acl_packet_size_ble)(void); 68 uint16_t (*get_ble_default_data_packet_length)(void); 71 uint16_t (*get_acl_buffer_count_classic)(void);
|
/system/media/audio_utils/spdif/ |
D | AC3FrameScanner.h | 50 virtual uint16_t convertBytesToLengthCode(uint16_t numBytes) const; 65 static const uint16_t kAC3SampleRateTable[AC3_NUM_SAMPLE_RATE_TABLE_ENTRIES]; 67 static const uint16_t kAC3FrameSizeTable[AC3_NUM_FRAME_SIZE_TABLE_ENTRIES] 70 static const uint16_t kEAC3ReducedSampleRateTable[AC3_NUM_SAMPLE_RATE_TABLE_ENTRIES]; 72 static const uint16_t kEAC3BlocksPerFrameTable[EAC3_NUM_BLOCKS_PER_FRAME_TABLE_ENTRIES];
|
D | SPDIFEncoder.cpp | 65 mBurstBufferSizeBytes = sizeof(uint16_t) in SPDIFEncoder() 71 mBurstBuffer = new uint16_t[mBurstBufferSizeBytes >> 1]; in SPDIFEncoder() 104 void SPDIFEncoder::writeBurstBufferShorts(const uint16_t *buffer, size_t numShorts) in writeBurstBufferShorts() 109 size_t bytesToWrite = numShorts * sizeof(uint16_t); in writeBurstBufferShorts() 135 uint16_t pad = mBurstBuffer[mByteCursor >> 1]; in writeBurstBufferBytes() 155 size_t burstSize = mFramer->getSampleFramesPerSyncFrame() * sizeof(uint16_t) in sendZeroPad() 181 const int preambleSize = 4 * sizeof(uint16_t); in flushBurstBuffer() 184 uint16_t numBytes = (mByteCursor - preambleSize); in flushBurstBuffer() 204 uint16_t preamble[4]; in startDataBurst() 206 uint16_t burstInfo = (mBitstreamNumber << 13) in startDataBurst()
|
D | AC3FrameScanner.cpp | 32 const uint16_t AC3FrameScanner::kAC3SampleRateTable[AC3_NUM_SAMPLE_RATE_TABLE_ENTRIES] 37 const uint16_t AC3FrameScanner::kAC3FrameSizeTable[AC3_NUM_FRAME_SIZE_TABLE_ENTRIES] 79 const uint16_t AC3FrameScanner::kEAC3ReducedSampleRateTable[AC3_NUM_SAMPLE_RATE_TABLE_ENTRIES] 82 const uint16_t 130 uint16_t AC3FrameScanner::convertBytesToLengthCode(uint16_t numBytes) const in convertBytesToLengthCode() 239 mFrameSizeBytes = sizeof(uint16_t) in parseHeader()
|
/system/bt/hci/test/ |
D | packet_fragmenter_test.cpp | 59 static const uint16_t test_handle_start = (0x1992 & 0xCFFF) | 0x2000; 60 static const uint16_t test_handle_continuation = (0x1992 & 0xCFFF) | 0x1000; 66 static BT_HDR *manufacture_packet_for_fragmentation(uint16_t event, const char *data) { in manufacture_packet_for_fragmentation() 67 uint16_t data_length = strlen(data); in manufacture_packet_for_fragmentation() 68 uint16_t size = data_length; in manufacture_packet_for_fragmentation() 89 static void expect_packet_fragmented(uint16_t event, int max_acl_data_size, BT_HDR *packet, const c… in expect_packet_fragmented() 95 uint16_t handle; in expect_packet_fragmented() 96 uint16_t length; in expect_packet_fragmented() 132 static void manufacture_packet_and_then_reassemble(uint16_t event, uint16_t acl_size, const char *d… in manufacture_packet_and_then_reassemble() 133 uint16_t data_length = strlen(data); in manufacture_packet_and_then_reassemble() [all …]
|
/system/connectivity/dhcp_client/ |
D | dhcp_options_parser.cc | 48 if (length != sizeof(uint16_t)) { in GetOption() 52 uint16_t* value_uint16 = static_cast<uint16_t*>(value); in GetOption() 53 *value_uint16 = ntohs(*reinterpret_cast<const uint16_t*>(buffer)); in GetOption() 89 if (length == 0 || length % sizeof(uint16_t)) { in GetOption() 93 int num_int16s = length / sizeof(uint16_t); in GetOption() 94 std::vector<uint16_t>* value_vector = in GetOption() 95 static_cast<std::vector<uint16_t>*>(value); in GetOption() 97 uint16_t content = *reinterpret_cast<const uint16_t*>(buffer); in GetOption() 100 buffer += sizeof(uint16_t); in GetOption()
|
/system/bt/hci/src/ |
D | packet_fragmenter.c | 69 uint16_t event = packet->event & MSG_EVT_MASK; in fragment_and_dispatch() 78 uint16_t max_data_size = in fragment_and_dispatch() 83 uint16_t max_packet_size = max_data_size + HCI_ACL_PREAMBLE_SIZE; in fragment_and_dispatch() 84 uint16_t remaining_length = packet->len; in fragment_and_dispatch() 86 uint16_t continuation_handle; in fragment_and_dispatch() 123 static bool check_uint16_overflow(uint16_t a, uint16_t b) { in check_uint16_overflow() 130 uint16_t handle; in reassemble_and_dispatch() 131 uint16_t l2cap_length; in reassemble_and_dispatch() 132 uint16_t acl_length; in reassemble_and_dispatch() 159 uint16_t full_length = l2cap_length + L2CAP_HEADER_SIZE + HCI_ACL_PREAMBLE_SIZE; in reassemble_and_dispatch() [all …]
|
/system/bt/vendor_libs/test_vendor_lib/include/ |
D | dual_mode_controller.h | 91 uint16_t acl_data_packet_size_; 93 uint16_t num_acl_data_packets_; 94 uint16_t num_sco_data_packets_; 96 uint16_t revision_; 98 uint16_t manufacturer_name_; 99 uint16_t lmp_pal_subversion_; 314 void SendCommandComplete(uint16_t command_opcode, 319 void SendCommandCompleteSuccess(uint16_t command_opcode) const; 322 void SendCommandStatus(uint8_t status, uint16_t command_opcode) const; 325 void SendCommandStatusSuccess(uint16_t command_opcode) const; [all …]
|
/system/core/libpixelflinger/tests/arch-mips64/col32cb16blend/ |
D | col32cb16blend_test.c | 45 uint16_t dst_color; 63 void scanline_col32cb16blend_mips64(uint16_t *dst, uint32_t src, size_t count); 64 void scanline_col32cb16blend_c(uint16_t * dst, uint32_t src, size_t count) in scanline_col32cb16blend_c() 71 uint16_t d = *dst; in scanline_col32cb16blend_c() 81 *dst++ = (uint16_t)((srcR<<11)|(srcG<<5)|srcB); in scanline_col32cb16blend_c() 87 uint16_t dst_c[16], dst_asm[16]; in scanline_col32cb16blend_test()
|
/system/core/libpixelflinger/tests/arch-mips/col32cb16blend/ |
D | col32cb16blend_test.c | 45 uint16_t dst_color; 63 void scanline_col32cb16blend_mips(uint16_t *dst, uint32_t src, size_t count); 64 void scanline_col32cb16blend_c(uint16_t * dst, uint32_t src, size_t count) in scanline_col32cb16blend_c() 71 uint16_t d = *dst; in scanline_col32cb16blend_c() 81 *dst++ = (uint16_t)((srcR<<11)|(srcG<<5)|srcB); in scanline_col32cb16blend_c() 87 uint16_t dst_c[16], dst_asm[16]; in scanline_col32cb16blend_test()
|