Lines Matching refs:view

236 …auto view = WriteExtendedInquiryResponseView::Create(CommandPacketView::Create(packet_bytes_view));  in TEST()  local
237 ASSERT_TRUE(view.IsValid()); in TEST()
238 auto gap_data = view.GetExtendedInquiryResponse(); in TEST()
250 auto builder = WriteExtendedInquiryResponseBuilder::Create(view.GetFecRequired(), no_padding); in TEST()
271 auto view = in TEST() local
274 ASSERT_TRUE(view.IsValid()); in TEST()
275 ASSERT_EQ(LeScanType::ACTIVE, view.GetLeScanType()); in TEST()
276 ASSERT_EQ(0x12, view.GetLeScanInterval()); in TEST()
277 ASSERT_EQ(0x12, view.GetLeScanWindow()); in TEST()
278 ASSERT_EQ(AddressType::RANDOM_DEVICE_ADDRESS, view.GetOwnAddressType()); in TEST()
279 ASSERT_EQ(LeScanningFilterPolicy::ACCEPT_ALL, view.GetScanningFilterPolicy()); in TEST()
289 …auto view = LeSetScanEnableView::Create(LeScanningCommandView::Create(CommandPacketView::Create(pa… in TEST() local
291 ASSERT_TRUE(view.IsValid()); in TEST()
292 ASSERT_EQ(Enable::ENABLED, view.GetLeScanEnable()); in TEST()
293 ASSERT_EQ(Enable::DISABLED, view.GetFilterDuplicates()); in TEST()
305 auto view = in TEST() local
308 ASSERT_TRUE(view.IsValid()); in TEST()
319 auto view = LeGetVendorCapabilitiesCompleteView::Create( in TEST() local
322 ASSERT_TRUE(view.IsValid()); in TEST()
323 auto base_capabilities = view.GetBaseVendorCapabilities(); in TEST()
341 auto view = LeSetExtendedScanParametersView::Create( in TEST() local
344 ASSERT_TRUE(view.IsValid()); in TEST()
345 ASSERT_EQ(1, view.GetScanningPhys()); in TEST()
346 auto params = view.GetParameters(); in TEST()
360 auto view = LeSetExtendedScanParametersView::Create( in TEST() local
363 ASSERT_TRUE(view.IsValid()); in TEST()
364 ASSERT_EQ(1, view.GetScanningPhys()); in TEST()
365 auto params = view.GetParameters(); in TEST()
386 auto view = in TEST() local
389 ASSERT_TRUE(view.IsValid()); in TEST()
390 ASSERT_EQ(FilterDuplicates::DISABLED, view.GetFilterDuplicates()); in TEST()
391 ASSERT_EQ(Enable::ENABLED, view.GetEnable()); in TEST()
392 ASSERT_EQ(0, view.GetDuration()); in TEST()
393 ASSERT_EQ(0, view.GetPeriod()); in TEST()
403 auto view = in TEST() local
406 ASSERT_TRUE(view.IsValid()); in TEST()
407 ASSERT_EQ(FilterDuplicates::ENABLED, view.GetFilterDuplicates()); in TEST()
408 ASSERT_EQ(Enable::DISABLED, view.GetEnable()); in TEST()
409 ASSERT_EQ(0, view.GetDuration()); in TEST()
410 ASSERT_EQ(0, view.GetPeriod()); in TEST()
431 auto view = LeExtendedCreateConnectionView::Create( in TEST() local
433 ASSERT_TRUE(view.IsValid()); in TEST()
444 auto view = LeSetExtendedAdvertisingRandomAddressView::Create( in TEST() local
446 ASSERT_TRUE(view.IsValid()); in TEST()
448 ASSERT_EQ(0, view.GetAdvertisingHandle()); in TEST()
449 ASSERT_EQ(Address(random_address_bytes), view.GetAdvertisingRandomAddress()); in TEST()
467 auto view = LeSetExtendedAdvertisingDataRawView::Create( in TEST() local
469 ASSERT_TRUE(view.IsValid()); in TEST()
470 ASSERT_EQ(0, view.GetAdvertisingHandle()); in TEST()
471 ASSERT_EQ(Operation::COMPLETE_ADVERTISEMENT, view.GetOperation()); in TEST()
472 ASSERT_EQ(FragmentPreference::CONTROLLER_SHOULD_NOT, view.GetFragmentPreference()); in TEST()
476 ASSERT_EQ(advertising_data, view.GetAdvertisingData()); in TEST()
494 auto view = LeSetExtendedAdvertisingLegacyParametersView::Create( in TEST() local
496 ASSERT_TRUE(view.IsValid()); in TEST()
497 ASSERT_EQ(0, view.GetAdvertisingHandle()); in TEST()
498 ASSERT_EQ(400, view.GetPrimaryAdvertisingIntervalMin()); in TEST()
499 ASSERT_EQ(450, view.GetPrimaryAdvertisingIntervalMax()); in TEST()
500 ASSERT_EQ(0x7, view.GetPrimaryAdvertisingChannelMap()); in TEST()
501 ASSERT_EQ(OwnAddressType::RANDOM_DEVICE_ADDRESS, view.GetOwnAddressType()); in TEST()
502 ASSERT_EQ(PeerAddressType::PUBLIC_DEVICE_OR_IDENTITY_ADDRESS, view.GetPeerAddressType()); in TEST()
503 ASSERT_EQ(Address::kEmpty, view.GetPeerAddress()); in TEST()
504 ASSERT_EQ(AdvertisingFilterPolicy::ALL_DEVICES, view.GetAdvertisingFilterPolicy()); in TEST()
505 ASSERT_EQ(1, view.GetAdvertisingSid()); in TEST()
506 ASSERT_EQ(Enable::DISABLED, view.GetScanRequestNotificationEnable()); in TEST()
517 auto view = LeSetExtendedAdvertisingLegacyParametersView::Create( in TEST() local
519 ASSERT_TRUE(view.IsValid()); in TEST()
520 ASSERT_EQ(1, view.GetAdvertisingHandle()); in TEST()
521 ASSERT_EQ(400, view.GetPrimaryAdvertisingIntervalMin()); in TEST()
522 ASSERT_EQ(450, view.GetPrimaryAdvertisingIntervalMax()); in TEST()
523 ASSERT_EQ(0x7, view.GetPrimaryAdvertisingChannelMap()); in TEST()
524 ASSERT_EQ(OwnAddressType::RANDOM_DEVICE_ADDRESS, view.GetOwnAddressType()); in TEST()
525 ASSERT_EQ(PeerAddressType::PUBLIC_DEVICE_OR_IDENTITY_ADDRESS, view.GetPeerAddressType()); in TEST()
526 ASSERT_EQ(Address::kEmpty, view.GetPeerAddress()); in TEST()
527 ASSERT_EQ(AdvertisingFilterPolicy::ALL_DEVICES, view.GetAdvertisingFilterPolicy()); in TEST()
528 ASSERT_EQ(1, view.GetAdvertisingSid()); in TEST()
529 ASSERT_EQ(Enable::DISABLED, view.GetScanRequestNotificationEnable()); in TEST()
540 auto view = LeSetExtendedAdvertisingParametersCompleteView::Create( in TEST() local
542 ASSERT_TRUE(view.IsValid()); in TEST()
543 ASSERT_EQ(static_cast<uint8_t>(-11), view.GetSelectedTxPower()); in TEST()
559 auto view = LeRemoveAdvertisingSetView::Create( in TEST() local
561 ASSERT_TRUE(view.IsValid()); in TEST()
562 ASSERT_EQ(1, view.GetAdvertisingHandle()); in TEST()
579 auto view = LeSetExtendedAdvertisingDisableView::Create( in TEST() local
581 ASSERT_TRUE(view.IsValid()); in TEST()
582 auto disabled_set = view.GetDisabledSets(); in TEST()
610 auto view = LeSetAdvertisingDataView::Create(command_view); in TEST() local
611 ASSERT_TRUE(view.IsValid()); in TEST()
629 auto view = LeSetScanResponseDataView::Create(command_view); in TEST() local
630 ASSERT_TRUE(view.IsValid()); in TEST()
649 auto view = LeMultiAdvtSetDataView::Create(command_view); in TEST() local
650 ASSERT_TRUE(view.IsValid()); in TEST()
669 auto view = LeMultiAdvtSetScanRespView::Create(command_view); in TEST() local
670 ASSERT_TRUE(view.IsValid()); in TEST()