Home
last modified time | relevance | path

Searched full:bt (Results 1 – 25 of 3328) sorted by relevance

12345678910>>...134

/external/pigweed/pw_bluetooth_sapphire/fuchsia/bt_hci_virtual/
DREADME.md12 DFv2 to create a virtual driver node (bt-hci-virtual) that can then have
23 1. `ffx emu start` creates bt-hci-emulator device
24 2. VirtualController driver binds to bt-hci-emulator device (specified in
25 [bt-hci-virtual.bind](//src/connectivity/bluetooth/hci/virtual/bt-hci-virtual.bind))
27 4. VirtualController is added as a device node (bt-hci-virtual) to the node
29 5. RootCanal detects bt-hci-virtual in `/dev/sys/platform/00:00:30` and calls
31 6. bt-hci-virtual uses the LoopbackDevice class to add a device node (loopback)
32 to the node graph inside `/dev/class/bt-hci`
33 7. bt-init detects the LoopbackDevice in `/dev/class/bt-hci` and creates a new
34 bt-host component
[all …]
/external/v4l-utils/utils/v4l2-ctl/
Dv4l2-ctl-stds.cpp31 " --set-dv-bt-timings\n" in stds_usage()
55 " set the digital video timings according to the BT 656/1120\n" in stds_usage()
208 struct v4l2_bt_timings *bt) in get_cvt_gtf_timings() argument
251 interlaced, reduced_fps, bt); in get_cvt_gtf_timings()
254 interlaced, bt); in get_cvt_gtf_timings()
265 struct v4l2_bt_timings *bt = &dv_timings->bt; in parse_dv_bt_timings() local
283 bt->width = opt_val; in parse_dv_bt_timings()
286 bt->height = opt_val; in parse_dv_bt_timings()
289 bt->interlaced = opt_val; in parse_dv_bt_timings()
292 bt->polarities = opt_val; in parse_dv_bt_timings()
[all …]
/external/pigweed/pw_bluetooth_sapphire/fuchsia/host/fidl/public/pw_bluetooth_sapphire/fuchsia/host/fidl/
Dhelpers.h46 namespace bt::hci {
48 } // namespace bt::hci
57 std::optional<bt::PeerId> PeerIdFromString(const std::string& id);
62 bt::HostError host_error);
69 const fit::result<bt::Error<ProtocolErrorCode>>& result,
80 [&error](bt::HostError c) {
84 if constexpr (bt::Error<
89 PW_CRASH("Protocol branch visited by bt::Error<NoProtocolError>");
98 // Convert a bt::HostError to fuchsia.bluetooth.sys.Error. This function does
99 // only deals with bt::HostError types and does not support Bluetooth
[all …]
Dprofile_server.h34 bt::gap::Adapter::WeakPtr adapter,
51 bt::l2cap::Channel::WeakPtr channel) in L2capParametersExt()
56 bt::l2cap::Channel::UniqueId unique_id() const { return unique_id_; } in unique_id()
65 bt::l2cap::Channel::UniqueId unique_id_;
66 bt::l2cap::Channel::WeakPtr channel_;
76 bt::l2cap::Channel::WeakPtr channel, in AudioOffloadExt()
77 bt::gap::Adapter::WeakPtr adapter) in AudioOffloadExt()
91 bt::l2cap::Channel::UniqueId unique_id() const { return unique_id_; } in unique_id()
97 std::unique_ptr<bt::l2cap::A2dpOffloadManager::Configuration>
103 bt::l2cap::Channel::UniqueId unique_id_;
[all …]
Dhost_server.h43 public bt::gap::PairingDelegate {
46 const bt::gap::Adapter::WeakPtr& adapter,
47 bt::gatt::GATT::WeakPtr gatt);
122 bt::gap::PeerCache* peer_cache,
127 void OnPeerUpdated(const bt::gap::Peer& peer);
130 void OnPeerRemoved(bt::PeerId identifier);
144 std::unordered_set<bt::PeerId> updated_;
145 std::unordered_set<bt::PeerId> removed_;
147 bt::gap::PeerCache* peer_cache_;
150 bt::gap::PeerCache::CallbackId peer_updated_callback_id_;
[all …]
/external/pigweed/pw_bluetooth_sapphire/fuchsia/host/fidl/
Dgatt2_remote_service_server_test.cc34 constexpr bt::PeerId kPeerId(1);
36 constexpr bt::att::Handle kServiceStartHandle = 0x0001;
37 constexpr bt::att::Handle kServiceEndHandle = 0xFFFE;
38 const bt::UUID kServiceUuid(uint16_t{0x180D});
39 const bt::UUID kCharacteristicUuid(uint16_t{0x180E});
40 const bt::UUID kDescriptorUuid(uint16_t{0x180F});
42 class Gatt2RemoteServiceServerTest : public bt::fidl::testing::FakeGattFixture {
51 bt::gatt::ServiceData(bt::gatt::ServiceKind::PRIMARY, in SetUp()
70 bt::fidl::testing::FakeGattFixture::TearDown(); in TearDown()
76 const bt::gatt::testing::FakeClient::WeakPtr& fake_client() const { in fake_client()
[all …]
Dhelpers.cc82 bt::StaticPacket<android_emb::A2dpScmsTEnableWriter> FidlToScmsTEnable( in FidlToScmsTEnable()
84 bt::StaticPacket<android_emb::A2dpScmsTEnableWriter> scms_t_enable_struct; in FidlToScmsTEnable()
140 bt::StaticPacket<android_emb::SbcCodecInformationWriter>
144 bt::StaticPacket<android_emb::SbcCodecInformationWriter> sbc; in FidlToEncoderSettingsSbc()
213 bt::StaticPacket<android_emb::AacCodecInformationWriter>
217 bt::StaticPacket<android_emb::AacCodecInformationWriter> aac; in FidlToEncoderSettingsAac()
234 std::optional<bt::sdp::DataElement> FidlToDataElement( in FidlToDataElement()
236 bt::sdp::DataElement out; in FidlToDataElement()
239 return bt::sdp::DataElement(fidl.int8()); in FidlToDataElement()
241 return bt::sdp::DataElement(fidl.int16()); in FidlToDataElement()
[all …]
Dhelpers_test.cc62 // Constants as BT stack types
63 const bt::UInt128 kTestKeyValue{
65 const bt::sm::SecurityProperties kTestSecurity(
66 bt::sm::SecurityLevel::kSecureAuthenticated,
69 const bt::sm::LTK kTestLtk(kTestSecurity,
70 bt::hci_spec::LinkKey(kTestKeyValue, 0, 0));
71 const bt::sm::Key kTestKey(kTestSecurity, kTestKeyValue);
83 const bt::DeviceAddress kTestPeerAddr(bt::DeviceAddress::Type::kBREDR,
85 const bt::DeviceAddress kLePublicAddress(bt::DeviceAddress::Type::kLEPublic,
100 bt::iso::CisEstablishedParameters::CisUnidirectionalParams kMinUniParams = {
[all …]
Dgatt_remote_service_server_test.cc32 constexpr bt::PeerId kPeerId(1);
34 constexpr bt::att::Handle kServiceStartHandle = 0x0021;
35 constexpr bt::att::Handle kServiceEndHandle = 0x002C;
36 const bt::UUID kServiceUuid(uint16_t{0x180D});
38 class GattRemoteServiceServerTest : public bt::fidl::testing::FakeGattFixture {
47 bt::gatt::ServiceData(bt::gatt::ServiceKind::PRIMARY, in SetUp()
66 bt::fidl::testing::FakeGattFixture::TearDown(); in TearDown()
70 const bt::gatt::testing::FakeClient::WeakPtr& fake_client() const { in fake_client()
81 bt::gatt::RemoteService::WeakPtr service_;
82 bt::gatt::testing::FakeClient::WeakPtr fake_client_;
[all …]
Dgatt2_client_server_test.cc27 constexpr bt::PeerId kPeerId(1);
28 constexpr bt::UUID kTestServiceUuid0(uint16_t{0xdead});
29 constexpr bt::UUID kTestServiceUuid1(uint16_t{0xbeef});
30 constexpr bt::UUID kTestServiceUuid3(uint16_t{0xbaad});
32 class Gatt2ClientServerTest : public bt::fidl::testing::FakeGattFixture {
72 const bt::att::Handle kSvcStartHandle0(1); in TEST_F()
73 const bt::att::Handle kSvcEndHandle0(kSvcStartHandle0); in TEST_F()
74 bt::gatt::ServiceData svc_data_0(bt::gatt::ServiceKind::PRIMARY, in TEST_F()
100 EXPECT_EQ(bt::UUID(updated[0].type().value), kTestServiceUuid0); in TEST_F()
121 const bt::att::Handle kSvcStartHandle1(2); in TEST_F()
[all …]
Dgatt_server_server.cc42 fit::result<bt::att::ErrorCode> GattStatusFromFidl(GattErrorCode error_code, in GattStatusFromFidl()
48 return fit::error(bt::att::ErrorCode::kInvalidOffset); in GattStatusFromFidl()
50 return fit::error(bt::att::ErrorCode::kInvalidAttributeValueLength); in GattStatusFromFidl()
53 return fit::error(bt::att::ErrorCode::kReadNotPermitted); in GattStatusFromFidl()
54 return fit::error(bt::att::ErrorCode::kWriteNotPermitted); in GattStatusFromFidl()
58 return fit::error(bt::att::ErrorCode::kUnlikelyError); in GattStatusFromFidl()
61 bt::att::AccessRequirements ParseSecurityRequirements( in ParseSecurityRequirements()
64 return bt::att::AccessRequirements(); in ParseSecurityRequirements()
66 return bt::att::AccessRequirements(reqs->encryption_required, in ParseSecurityRequirements()
88 using DescriptorResult = MaybeResult<bt::gatt::DescriptorPtr>;
[all …]
Dgatt_remote_service_server.cc32 using bt::ByteBuffer;
33 using bt::MutableBufferView;
34 using bt::gatt::CharacteristicData;
35 using bt::gatt::CharacteristicHandle;
36 using bt::gatt::DescriptorData;
37 using bt::gatt::DescriptorHandle;
70 void NopStatusCallback(bt::att::Result<>) {} in NopStatusCallback()
75 bt::gatt::RemoteService::WeakPtr service, in GattRemoteServiceServer()
76 bt::gatt::GATT::WeakPtr gatt, in GattRemoteServiceServer()
77 bt::PeerId peer_id, in GattRemoteServiceServer()
[all …]
Dgatt2_remote_service_server.cc32 bt::att::ResultFunction<> MakeStatusCallback( in MakeStatusCallback()
33 bt::PeerId peer_id, in MakeStatusCallback()
38 bt::att::Result<> status) { in MakeStatusCallback()
56 const bt::gatt::CharacteristicData& characteristic, in CharacteristicToFidl()
57 const std::map<bt::gatt::DescriptorHandle, bt::gatt::DescriptorData>& in CharacteristicToFidl()
71 bt::gatt::ExtendedProperty::kReliableWrite) { in CharacteristicToFidl()
75 bt::gatt::ExtendedProperty::kWritableAuxiliaries) { in CharacteristicToFidl()
99 ReadResultToFidl(bt::PeerId peer_id, in ReadResultToFidl()
101 bt::att::Result<> status, in ReadResultToFidl()
102 const bt::ByteBuffer& value, in ReadResultToFidl()
[all …]
/external/sdv/vsomeip/third_party/boost/system/test/
Dstd_interop_test.cpp40 boost::system::error_category const & bt = boost::system::generic_category(); in test_generic_category() local
41 std::error_category const & st = bt; in test_generic_category()
43 BOOST_TEST_CSTR_EQ( bt.name(), st.name() ); in test_generic_category()
47 BOOST_TEST_EQ( bt.message( ev ), st.message( ev ) ); in test_generic_category()
50 boost::system::error_code bc( ev, bt ); in test_generic_category()
53 BOOST_TEST_EQ( &bc.category(), &bt ); in test_generic_category()
62 boost::system::error_condition bn = bt.default_error_condition( ev ); in test_generic_category()
65 BOOST_TEST_EQ( &bn.category(), &bt ); in test_generic_category()
67 BOOST_TEST( bt.equivalent( ev, bn ) ); in test_generic_category()
80 boost::system::error_category const & bt = boost::system::system_category(); in test_system_category() local
[all …]
/external/pigweed/pw_bluetooth_sapphire/
Dperipheral.cc32 bt::UUID UuidFrom(const pw::bluetooth::Uuid& uuid) { in UuidFrom()
33 return bt::UUID(bt::BufferView(pw::as_bytes(uuid.As128BitSpan()))); in UuidFrom()
36 pw::expected<bt::AdvertisingData, AdvertiseError> AdvertisingDataFrom( in AdvertisingDataFrom()
38 bt::AdvertisingData data_out; in AdvertisingDataFrom()
55 bt::BufferView(service_data.data))) { in AdvertisingDataFrom()
63 bt::BufferView(manufacturer_data.data))) { in AdvertisingDataFrom()
76 bt::DeviceAddress::Type DeviceAddressTypeFrom( in DeviceAddressTypeFrom()
82 return bt::DeviceAddress::Type::kLEPublic; in DeviceAddressTypeFrom()
84 return bt::DeviceAddress::Type::kLERandom; in DeviceAddressTypeFrom()
86 return bt::DeviceAddress::Type::kLERandom; in DeviceAddressTypeFrom()
[all …]
/external/python/cpython3/Lib/test/test_gdb/
Dtest_misc.py35 bt = self.get_stack_trace(script=SAMPLE_SCRIPT,
46 bt)
50 bt = self.get_stack_trace(script=SAMPLE_SCRIPT,
57 bt)
61 bt = self.get_stack_trace(script=SAMPLE_SCRIPT,
67 bt)
93 bt = self.get_stack_trace(source=SAMPLE_WITH_C_CALL,
95 self.assertMultilineMatches(bt,
104 bt = self.get_stack_trace(script=SAMPLE_SCRIPT,
106 self.assertEndsWith(bt,
[all …]
Dtest_backtrace.py17 'Verify that the "py-bt" command works'
18 bt = self.get_stack_trace(script=SAMPLE_SCRIPT,
19 cmds_after_breakpoint=['py-bt'])
20 self.assertMultilineMatches(bt,
37 'Verify that the "py-bt-full" command works'
38 bt = self.get_stack_trace(script=SAMPLE_SCRIPT,
39 cmds_after_breakpoint=['py-bt-full'])
40 self.assertMultilineMatches(bt,
55 'Verify that "py-bt" indicates threads that are waiting for the GIL'
76 # Verify with "py-bt":
[all …]
/external/pigweed/pw_bluetooth_sapphire/host/sm/
DREADME.md24bt-host/sm/security_manager.h) abstract class. Each Bluetooth connection is expected to instantiat…
28 **Security upgrade** - While most of the code in [this library](/src/connectivity/bluetooth/core/bt
30bt-host`](/src/connectivity/bluetooth/core/bt-host/README.md) driver is device-agnostic, so SM can…
32 …r` takes a pointer to [`hci::Connection`](/src/connectivity/bluetooth/core/bt-host/hci/connection.…
48 - [`SecurityManager`](/src/connectivity/bluetooth/core/bt-host/sm/security_manager.h)
49 - [`PairingChannel`](/src/connectivity/bluetooth/core/bt-host/sm/pairing_channel.h)
50 - [`SecurityRequestPhase`](/src/connectivity/bluetooth/core/bt-host/sm/security_request_phase.h)
51 - [`Phase1`](/src/connectivity/bluetooth/core/bt-host/sm/phase_1.h)
52 - [`Phase2Legacy`](/src/connectivity/bluetooth/core/bt-host/sm/phase_2_legacy.h)
53 …- [`Phase2SecureConnections`](/src/connectivity/bluetooth/core/bt-host/sm/phase_2_secure_connectio…
[all …]
/external/pdfium/testing/resources/
Dsplit_streams.in46 q 0 0 0 rg /FXE2 gs BT 1 0 0 1 120 100 Tm /FXF1 9 Tf (Test 1) Tj ET Q
48 BT 0.995597 -0.341789 0.341789 0.995597 119.912 93.1642
51 BT 0.872208 -0.678867 0.678867 0.872208 117.444 86.4227
54 BT 0.633308 -0.969351 0.969351 0.633308 112.666 80.613
57 BT 0.297167 -1.17348 1.17348 0.297167 105.943 76.5303
60 BT -0.104311 -1.25884 1.25884 -0.104311 97.9138 74.8231
63 BT -0.528547 -1.20496 1.20496 -0.528547 89.4291 75.9007
66 BT -0.926806 -1.00678 1.00678 -0.926806 81.4639 79.8644
69 BT -1.24978 -0.676346 0.676346 -1.24978 75.0044 86.4731
72 BT -1.45359 -0.24256 0.24256 -1.45359 70.9283 95.1488
[all …]
Dtext_in_page_marked.in47 q 0 0 0 rg /FXE2 gs BT 1 0 0 1 120 100 Tm /FXF1 9 Tf (Test 1) Tj ET Q
51 BT 0.995597 -0.341789 0.341789 0.995597 119.912 93.1642
54 BT 0.872208 -0.678867 0.678867 0.872208 117.444 86.4227
59 BT 0.633308 -0.969351 0.969351 0.633308 112.666 80.613
64 BT 0.297167 -1.17348 1.17348 0.297167 105.943 76.5303
68 BT -0.104311 -1.25884 1.25884 -0.104311 97.9138 74.8231
72 BT -0.528547 -1.20496 1.20496 -0.528547 89.4291 75.9007
76 BT -0.926806 -1.00678 1.00678 -0.926806 81.4639 79.8644
80 BT -1.24978 -0.676346 0.676346 -1.24978 75.0044 86.4731
84 BT -1.45359 -0.24256 0.24256 -1.45359 70.9283 95.1488
[all …]
Dtext_in_page_marked_indirect.in50 q 0 0 0 rg /FXE2 gs BT 1 0 0 1 120 100 Tm /FXF1 9 Tf (Test 1) Tj ET Q
54 BT 0.995597 -0.341789 0.341789 0.995597 119.912 93.1642
57 BT 0.872208 -0.678867 0.678867 0.872208 117.444 86.4227
62 BT 0.633308 -0.969351 0.969351 0.633308 112.666 80.613
67 BT 0.297167 -1.17348 1.17348 0.297167 105.943 76.5303
71 BT -0.104311 -1.25884 1.25884 -0.104311 97.9138 74.8231
75 BT -0.528547 -1.20496 1.20496 -0.528547 89.4291 75.9007
79 BT -0.926806 -1.00678 1.00678 -0.926806 81.4639 79.8644
83 BT -1.24978 -0.676346 0.676346 -1.24978 75.0044 86.4731
87 BT -1.45359 -0.24256 0.24256 -1.45359 70.9283 95.1488
[all …]
/external/pigweed/pw_bluetooth_sapphire/host/l2cap/
Dbredr_dynamic_channel_registry_fuzztest.cc25 constexpr static bt::hci_spec::ConnectionHandle kTestHandle = 0x0001;
27 bt::l2cap::ChannelParameters ConsumeChannelParameters( in ConsumeChannelParameters()
29 bt::l2cap::ChannelParameters params; in ConsumeChannelParameters()
37 ? bt::l2cap::RetransmissionAndFlowControlMode::kBasic in ConsumeChannelParameters()
38 : bt::l2cap::RetransmissionAndFlowControlMode:: in ConsumeChannelParameters()
47 bt::set_random_generator(&rng); in LLVMFuzzerTestOneInput()
52 auto fake_chan = std::make_unique<bt::l2cap::testing::FakeChannel>( in LLVMFuzzerTestOneInput()
53 bt::l2cap::kSignalingChannelId, in LLVMFuzzerTestOneInput()
54 bt::l2cap::kSignalingChannelId, in LLVMFuzzerTestOneInput()
56 bt::LinkType::kACL); in LLVMFuzzerTestOneInput()
[all …]
/external/pigweed/pw_bluetooth_sapphire/fuchsia/bt_host/
Dmain.cc78 bt_log(WARN, "bt-host", "Receiver interface disconnected"); in on_fidl_error()
86 "bt-host", in handle_unknown_event()
102 bt_log(DEBUG, "bt-host", "Setting role %s", role_name.c_str()); in SetHandleRole()
110 "bt-host", in SetHandleRole()
116 bt_log(INFO, "bt-host", "Set role %s successfully.", role_name.c_str()); in SetHandleRole()
120 bt_log(DEBUG, "bt-host", "Connecting to RoleManager"); in SetRoles()
124 "bt-host", in SetRoles()
132 bt_log(DEBUG, "bt-host", "Cloning self thread"); in SetRoles()
144 "bt-host", in SetRoles()
149 bt_log(DEBUG, "bt-host", "Cloning root vmar"); in SetRoles()
[all …]
/external/llvm/lib/Target/Hexagon/
DBitTracker.cpp46 // BitTracker BT(TSE, MF);
47 // BT.run();
50 // RegisterCell RC = BT.get(Reg);
69 typedef BitTracker BT; typedef
88 raw_ostream &operator<<(raw_ostream &OS, const BT::BitValue &BV) { in operator <<()
90 case BT::BitValue::Top: in operator <<()
93 case BT::BitValue::Zero: in operator <<()
96 case BT::BitValue::One: in operator <<()
99 case BT::BitValue::Ref: in operator <<()
106 raw_ostream &operator<<(raw_ostream &OS, const BT::RegisterCell &RC) { in operator <<()
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/Hexagon/
DBitTracker.cpp45 // BitTracker BT(TSE, MF);
46 // BT.run();
49 // RegisterCell RC = BT.get(Reg);
73 using BT = BitTracker; typedef
97 raw_ostream &operator<<(raw_ostream &OS, const BT::BitValue &BV) { in operator <<()
99 case BT::BitValue::Top: in operator <<()
102 case BT::BitValue::Zero: in operator <<()
105 case BT::BitValue::One: in operator <<()
108 case BT::BitValue::Ref: in operator <<()
115 raw_ostream &operator<<(raw_ostream &OS, const BT::RegisterCell &RC) { in operator <<()
[all …]

12345678910>>...134