Lines Matching refs:ASSERT_EQ

77   ASSERT_EQ(gap_data[0].data_type_, GapDataType::COMPLETE_LOCAL_NAME);  in TEST()
78 ASSERT_EQ(gap_data[0].data_.size(), 10); in TEST()
79 ASSERT_EQ(gap_data[1].data_type_, GapDataType::COMPLETE_LIST_16_BIT_UUIDS); in TEST()
80 ASSERT_EQ(gap_data[1].data_.size(), 24); in TEST()
81 ASSERT_EQ(gap_data[2].data_type_, GapDataType::COMPLETE_LIST_32_BIT_UUIDS); in TEST()
82 ASSERT_EQ(gap_data[2].data_.size(), 0); in TEST()
83 ASSERT_EQ(gap_data[3].data_type_, GapDataType::COMPLETE_LIST_128_BIT_UUIDS); in TEST()
84 ASSERT_EQ(gap_data[3].data_.size(), 128); in TEST()
95 ASSERT_EQ(packet_bytes->at(i), view_bytes->at(i)); in TEST()
111 ASSERT_EQ(LeScanType::ACTIVE, view.GetLeScanType()); in TEST()
112 ASSERT_EQ(0x12, view.GetLeScanInterval()); in TEST()
113 ASSERT_EQ(0x12, view.GetLeScanWindow()); in TEST()
114 ASSERT_EQ(OwnAddressType::RANDOM_DEVICE_ADDRESS, view.GetOwnAddressType()); in TEST()
115 ASSERT_EQ(LeScanningFilterPolicy::ACCEPT_ALL, view.GetScanningFilterPolicy()); in TEST()
126 ASSERT_EQ(Enable::ENABLED, view.GetLeScanEnable()); in TEST()
127 ASSERT_EQ(Enable::DISABLED, view.GetFilterDuplicates()); in TEST()
153 ASSERT_EQ(5, base_capabilities.max_advt_instances_); in TEST()
154 ASSERT_EQ(1, base_capabilities.offloaded_resolution_of_private_address_); in TEST()
155 ASSERT_EQ(1024, base_capabilities.total_scan_results_storage_); in TEST()
156 ASSERT_EQ(128, base_capabilities.max_irk_list_sz_); in TEST()
157 ASSERT_EQ(1, base_capabilities.filtering_support_); in TEST()
158 ASSERT_EQ(16, base_capabilities.max_filter_); in TEST()
159 ASSERT_EQ(1, base_capabilities.activity_energy_info_support_); in TEST()
172 ASSERT_EQ(1, view.GetScanningPhys()); in TEST()
174 ASSERT_EQ(1, params.size()); in TEST()
175 ASSERT_EQ(LeScanType::ACTIVE, params[0].le_scan_type_); in TEST()
176 ASSERT_EQ(18, params[0].le_scan_interval_); in TEST()
177 ASSERT_EQ(18, params[0].le_scan_window_); in TEST()
191 ASSERT_EQ(1, view.GetScanningPhys()); in TEST()
193 ASSERT_EQ(1, params.size()); in TEST()
194 ASSERT_EQ(LeScanType::ACTIVE, params[0].le_scan_type_); in TEST()
195 ASSERT_EQ(6553, params[0].le_scan_interval_); in TEST()
196 ASSERT_EQ(6553, params[0].le_scan_window_); in TEST()
209 ASSERT_EQ(FilterDuplicates::DISABLED, view.GetFilterDuplicates()); in TEST()
210 ASSERT_EQ(Enable::ENABLED, view.GetEnable()); in TEST()
211 ASSERT_EQ(0, view.GetDuration()); in TEST()
212 ASSERT_EQ(0, view.GetPeriod()); in TEST()
226 ASSERT_EQ(FilterDuplicates::ENABLED, view.GetFilterDuplicates()); in TEST()
227 ASSERT_EQ(Enable::DISABLED, view.GetEnable()); in TEST()
228 ASSERT_EQ(0, view.GetDuration()); in TEST()
229 ASSERT_EQ(0, view.GetPeriod()); in TEST()
258 ASSERT_EQ(0, view.GetAdvertisingHandle()); in TEST()
259 ASSERT_EQ(Address(random_address_bytes), view.GetAdvertisingRandomAddress()); in TEST()
273 ASSERT_EQ(0, view.GetAdvertisingHandle()); in TEST()
274 ASSERT_EQ(Operation::COMPLETE_ADVERTISEMENT, view.GetOperation()); in TEST()
275 ASSERT_EQ(FragmentPreference::CONTROLLER_SHOULD_NOT, view.GetFragmentPreference()); in TEST()
279 ASSERT_EQ(advertising_data, view.GetAdvertisingData()); in TEST()
293 ASSERT_EQ(0, view.GetAdvertisingHandle()); in TEST()
294 ASSERT_EQ(400, view.GetPrimaryAdvertisingIntervalMin()); in TEST()
295 ASSERT_EQ(450, view.GetPrimaryAdvertisingIntervalMax()); in TEST()
296 ASSERT_EQ(0x7, view.GetPrimaryAdvertisingChannelMap()); in TEST()
297 ASSERT_EQ(OwnAddressType::RANDOM_DEVICE_ADDRESS, view.GetOwnAddressType()); in TEST()
298 ASSERT_EQ(PeerAddressType::PUBLIC_DEVICE_OR_IDENTITY_ADDRESS, view.GetPeerAddressType()); in TEST()
299 ASSERT_EQ(Address::kEmpty, view.GetPeerAddress()); in TEST()
300 ASSERT_EQ(AdvertisingFilterPolicy::ALL_DEVICES, view.GetAdvertisingFilterPolicy()); in TEST()
301 ASSERT_EQ(1, view.GetAdvertisingSid()); in TEST()
302 ASSERT_EQ(Enable::DISABLED, view.GetScanRequestNotificationEnable()); in TEST()
316 ASSERT_EQ(1, view.GetAdvertisingHandle()); in TEST()
317 ASSERT_EQ(400, view.GetPrimaryAdvertisingIntervalMin()); in TEST()
318 ASSERT_EQ(450, view.GetPrimaryAdvertisingIntervalMax()); in TEST()
319 ASSERT_EQ(0x7, view.GetPrimaryAdvertisingChannelMap()); in TEST()
320 ASSERT_EQ(OwnAddressType::RANDOM_DEVICE_ADDRESS, view.GetOwnAddressType()); in TEST()
321 ASSERT_EQ(PeerAddressType::PUBLIC_DEVICE_OR_IDENTITY_ADDRESS, view.GetPeerAddressType()); in TEST()
322 ASSERT_EQ(Address::kEmpty, view.GetPeerAddress()); in TEST()
323 ASSERT_EQ(AdvertisingFilterPolicy::ALL_DEVICES, view.GetAdvertisingFilterPolicy()); in TEST()
324 ASSERT_EQ(1, view.GetAdvertisingSid()); in TEST()
325 ASSERT_EQ(Enable::DISABLED, view.GetScanRequestNotificationEnable()); in TEST()
336 ASSERT_EQ(static_cast<uint8_t>(-11), view.GetSelectedTxPower()); in TEST()
352 ASSERT_EQ(1, view.GetAdvertisingHandle()); in TEST()
366 ASSERT_EQ(1, disabled_set.size()); in TEST()
367 ASSERT_EQ(1, disabled_set[0].advertising_handle_); in TEST()
375ASSERT_EQ(2 /*opcode*/ + 1 /* parameter size */ + 1 /* data_length */ + 31 /* data */, builder->si… in TEST()
383 ASSERT_EQ(1 /* data_length */ + 31 /* data */, command_view.GetPayload().size()); in TEST()
393ASSERT_EQ(2 /*opcode*/ + 1 /* parameter size */ + 1 /*data_length */ + 31 /* data */, builder->siz… in TEST()
401 ASSERT_EQ(1 /* data_length */ + 31 /* data */, command_view.GetPayload().size()); in TEST()
423 ASSERT_EQ(view.GetAdvertisingData()[0].data_, gap_data.data_); in TEST()
424 ASSERT_EQ(view.GetAdvertisingInstance(), 3); in TEST()
443 ASSERT_EQ(view.GetAdvertisingData()[0].data_, gap_data.data_); in TEST()
444 ASSERT_EQ(view.GetAdvertisingInstance(), 3); in TEST()