/external/v4l-utils/utils/v4l2-ctl/ |
D | v4l2-ctl-stds.cpp | 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() 295 bt->pixelclock = opt_val; in parse_dv_bt_timings() 298 bt->hfrontporch = opt_val; in parse_dv_bt_timings() [all …]
|
/external/rust/android-crates-io/crates/uefi/src/ |
D | boot.rs | 113 let bt = boot_services_raw_panicking(); in raise_tpl() localVariable 114 let bt = unsafe { bt.as_ref() }; in raise_tpl() localVariable 117 old_tpl: (bt.raise_tpl)(tpl), in raise_tpl() 132 let bt = boot_services_raw_panicking(); in allocate_pages() localVariable 133 let bt = unsafe { bt.as_ref() }; in allocate_pages() localVariable 141 unsafe { (bt.allocate_pages)(ty, mem_ty, count, &mut addr) }.to_result_with_val(|| addr)?; in allocate_pages() 158 let bt = boot_services_raw_panicking(); in free_pages() localVariable 159 let bt = unsafe { bt.as_ref() }; in free_pages() localVariable 162 unsafe { (bt.free_pages)(addr, count) }.to_result() in free_pages() 173 let bt = boot_services_raw_panicking(); in allocate_pool() localVariable [all …]
|
/external/pigweed/pw_bluetooth_sapphire/fuchsia/host/fidl/public/pw_bluetooth_sapphire/fuchsia/host/fidl/ |
D | helpers.h | 46 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< 102 fuchsia::bluetooth::sys::Error HostErrorToFidl(bt::HostError error); 110 const bt::Error<ProtocolErrorCode>& error) { in HostErrorToFidl() 121 const fit::result<bt::Error<ProtocolErrorCode>>& status) { in ResultToFidl() 130 fuchsia::bluetooth::gatt::Error GattErrorToFidl(const bt::att::Error& error); [all …]
|
D | profile_server.h | 34 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 …]
|
D | low_energy_central_server.h | 45 bt::gap::Adapter::WeakPtr adapter, 47 bt::gatt::GATT::WeakPtr gatt); 53 std::optional<bt::gap::LowEnergyConnectionHandle*> FindConnectionForTesting( 54 bt::PeerId identifier); 65 bt::gap::Adapter::WeakPtr adapter, 75 void AddPeers(std::unordered_set<bt::PeerId> peers); 85 bt::gap::Adapter::WeakPtr adapter_; 86 std::unordered_set<bt::PeerId> updated_peers_; 97 bt::gap::Adapter::WeakPtr adapter, 111 void FilterAndAddPeers(std::unordered_set<bt::PeerId> peers); [all …]
|
D | adapter_test_fixture.h | 34 : public bt::testing::TestLoopFixture, 35 public bt::testing::ControllerTest<bt::testing::FakeController> { 38 : bt::testing::ControllerTest<bt::testing::FakeController>( in AdapterTestFixture() 47 void SetUp(bt::testing::FakeController::Settings settings, 52 bt::gap::Adapter::WeakPtr adapter() const { return adapter_->AsWeakPtr(); } in adapter() 53 bt::gatt::testing::FakeLayer* gatt() const { return gatt_.get(); } in gatt() 54 std::unique_ptr<bt::gatt::testing::FakeLayer> take_gatt() { in take_gatt() 57 bt::l2cap::testing::FakeL2cap* l2cap() const { return l2cap_; } in l2cap() 61 std::unique_ptr<bt::gap::Adapter> adapter_; 62 bt::l2cap::testing::FakeL2cap* l2cap_; [all …]
|
D | host_server.h | 43 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 …]
|
D | gatt2_server_server.h | 41 bt::gatt::GATT::WeakPtr gatt, 86 void OnReadRequest(bt::PeerId peer_id, 87 bt::gatt::IdType service_id, 88 bt::gatt::IdType id, 90 bt::gatt::ReadResponder responder); 93 void OnWriteRequest(bt::PeerId peer_id, 94 bt::gatt::IdType service_id, 95 bt::gatt::IdType id, 97 const bt::ByteBuffer& value, 98 bt::gatt::WriteResponder responder); [all …]
|
D | low_energy_peripheral_server.h | 39 bt::gap::Adapter::WeakPtr adapter, 40 bt::gatt::GATT::WeakPtr gatt, 63 const bt::gap::LowEnergyConnectionHandle* FindConnectionForTesting( 64 bt::PeerId id) const; 67 using ConnectionRefPtr = std::unique_ptr<bt::gap::LowEnergyConnectionHandle>; 98 void OnConnected(bt::gap::AdvertisementId advertisement_id, 99 bt::gap::Adapter::LowEnergy::ConnectionResult result); 104 void Register(bt::gap::AdvertisementInstance instance); 117 std::optional<bt::gap::AdvertisementInstance> instance_; 143 zx_status_t Register(bt::gap::AdvertisementInstance instance); [all …]
|
D | gatt_server_server.h | 34 bt::gatt::GATT::WeakPtr gatt, 57 void OnReadRequest(bt::gatt::IdType service_id, 58 bt::gatt::IdType id, 60 bt::gatt::ReadResponder responder); 63 void OnWriteRequest(bt::gatt::IdType service_id, 64 bt::gatt::IdType id, 66 const bt::ByteBuffer& value, 67 bt::gatt::WriteResponder responder); 71 void OnCharacteristicConfig(bt::gatt::IdType service_id, 72 bt::gatt::IdType chrc_id, [all …]
|
/external/pigweed/pw_bluetooth_sapphire/fuchsia/host/fidl/ |
D | gatt2_remote_service_server_test.cc | 34 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 …]
|
D | gatt_remote_service_server_test.cc | 32 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 …]
|
D | gatt2_client_server_test.cc | 27 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 …]
|
D | helpers.cc | 82 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 …]
|
D | helpers_test.cc | 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 = { 109 bt::iso::CisEstablishedParameters::CisUnidirectionalParams kMaxUniParams = { [all …]
|
D | gatt_server_server.cc | 42 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 …]
|
D | gatt2_remote_service_server.cc | 32 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/pigweed/pw_bluetooth_sapphire/fuchsia/bt_hci_virtual/ |
D | README.md | 12 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/python/cpython3/Lib/test/test_gdb/ |
D | test_misc.py | 35 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 …]
|
/external/sdv/vsomeip/third_party/boost/system/test/ |
D | std_interop_test.cpp | 40 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/host/l2cap/ |
D | bredr_dynamic_channel_registry_fuzztest.cc | 25 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/ |
D | peripheral.cc | 32 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/elfutils/tests/ |
D | backtrace-subr.sh | 74 bt=$1 77 check_main $bt $testname 78 check_gsignal $bt $testname 116 tempfiles backtrace.$arch.{bt,err} 118 … -e ./backtrace.$arch.exec --core=./backtrace.$arch.core 1>backtrace.$arch.bt 2>backtrace.$arch.er… 119 cat backtrace.$arch.{bt,err} 121 check_all backtrace.$arch.{bt,err} backtrace.$arch.core 122 check_backtracegen backtrace.$arch.bt backtrace.$arch.core 131 tempfiles $child.{bt,err} 132 …(set +ex; testrun ${abs_builddir}/backtrace --backtrace-exec=${abs_builddir}/$child 1>$child.bt 2>… [all …]
|
D | run-deleted.sh | 31 tempfiles bt bt.err 36 testrun ${abs_top_builddir}/src/stack -p $pid 1>bt 2>bt.err || true 37 cat bt bt.err 40 check_native_unsupported bt.err deleted 41 if grep -q -E ': dwfl_linux_proc_attach pid ([[:digit:]]+): Function not implemented$' bt.err; then 50 grep -qw libfunc bt 52 grep -qw main bt
|
/external/v4l-utils/utils/v4l2-compliance/ |
D | v4l2-test-io-config.cpp | 174 fail_on_test(check_0(timings.bt.reserved, sizeof(timings.bt.reserved))); in checkTimings() 187 fail_on_test(check_0(enumtimings.timings.bt.reserved, in checkTimings() 188 sizeof(enumtimings.timings.bt.reserved))); in checkTimings() 191 memset(enumtimings.timings.bt.reserved, 0xff, in checkTimings() 192 sizeof(enumtimings.timings.bt.reserved)); in checkTimings() 194 fail_on_test(check_0(enumtimings.timings.bt.reserved, in checkTimings() 195 sizeof(enumtimings.timings.bt.reserved))); in checkTimings() 199 fail_on_test(g_timings.bt.width != enumtimings.timings.bt.width); in checkTimings() 200 fail_on_test(g_timings.bt.height != enumtimings.timings.bt.height); in checkTimings() 209 if (enumtimings.timings.bt.interlaced) in checkTimings() [all …]
|