Home
last modified time | relevance | path

Searched refs:ASSERT (Results 1 – 25 of 108) sorted by relevance

12345

/system/bt/gd/grpc/
Dgrpc_module.cc30 ASSERT(!started_); in Start()
34 ASSERT(!started_); in Stop()
38 ASSERT(!started_); in StartServer()
51 ASSERT(server_ != nullptr); in StartServer()
59 ASSERT(started_); in StopServer()
72 ASSERT(!started_); in Register()
78 ASSERT(!started_); in Unregister()
87 ASSERT(false); in Unregister()
/system/bt/gd/neighbor/
Dinquiry.cc102 ASSERT(command_sync_ != nullptr); in OnCommandCompleteSync()
110 ASSERT(packet.IsValid()); in OnCommandComplete()
111 ASSERT(packet.GetStatus() == hci::ErrorCode::SUCCESS); in OnCommandComplete()
116 ASSERT(packet.IsValid()); in OnCommandComplete()
117 ASSERT(packet.GetStatus() == hci::ErrorCode::SUCCESS); in OnCommandComplete()
122 ASSERT(packet.IsValid()); in OnCommandComplete()
123 ASSERT(packet.GetStatus() == hci::ErrorCode::SUCCESS); in OnCommandComplete()
128 ASSERT(packet.IsValid()); in OnCommandComplete()
129 ASSERT(packet.GetStatus() == hci::ErrorCode::SUCCESS); in OnCommandComplete()
134 ASSERT(packet.IsValid()); in OnCommandComplete()
[all …]
Dpage.cc67 ASSERT(packet.IsValid()); in OnCommandComplete()
68 ASSERT(packet.GetStatus() == hci::ErrorCode::SUCCESS); in OnCommandComplete()
73 ASSERT(packet.IsValid()); in OnCommandComplete()
74 ASSERT(packet.GetStatus() == hci::ErrorCode::SUCCESS); in OnCommandComplete()
81 ASSERT(packet.IsValid()); in OnCommandComplete()
82 ASSERT(packet.GetStatus() == hci::ErrorCode::SUCCESS); in OnCommandComplete()
87 ASSERT(packet.IsValid()); in OnCommandComplete()
88 ASSERT(packet.GetStatus() == hci::ErrorCode::SUCCESS); in OnCommandComplete()
94 ASSERT(packet.IsValid()); in OnCommandComplete()
95 ASSERT(packet.GetStatus() == hci::ErrorCode::SUCCESS); in OnCommandComplete()
[all …]
Dname.cc94 ASSERT(packet.IsValid()); in OnCommandComplete()
95 ASSERT(packet.GetStatus() == hci::ErrorCode::SUCCESS); in OnCommandComplete()
97 ASSERT(cancel_callback_handler_map_.find(address) != cancel_callback_handler_map_.end()); in OnCommandComplete()
107 ASSERT(status.GetStatus() == hci::ErrorCode::SUCCESS); in OnCommandStatus()
112 ASSERT(packet.IsValid()); in OnCommandStatus()
125 ASSERT(packet.IsValid()); in OnEvent()
127 ASSERT(read_callback_handler_map_.find(address) != read_callback_handler_map_.end()); in OnEvent()
206 ASSERT(callback); in ReadRemoteNameRequest()
207 ASSERT(handler != nullptr); in ReadRemoteNameRequest()
221 ASSERT(callback); in CancelRemoteNameRequest()
[all …]
Ddiscoverability.cc70 ASSERT(packet.IsValid()); in OnCommandComplete()
71 ASSERT(packet.GetStatus() == hci::ErrorCode::SUCCESS); in OnCommandComplete()
77 ASSERT(packet.IsValid()); in OnCommandComplete()
78 ASSERT(packet.GetStatus() == hci::ErrorCode::SUCCESS); in OnCommandComplete()
83 ASSERT(packet.IsValid()); in OnCommandComplete()
84 ASSERT(packet.GetStatus() == hci::ErrorCode::SUCCESS); in OnCommandComplete()
94 ASSERT(laps.size() <= num_supported_iac_); in StartDiscoverability()
/system/bt/gd/os/linux_generic/
Dreactor.cc66 ASSERT(control_fd_ != -1); in Reactor()
71 ASSERT(result != -1); in Reactor()
77 ASSERT(result != -1); in ~Reactor()
80 ASSERT(result != -1); in ~Reactor()
83 ASSERT(result != -1); in ~Reactor()
88 ASSERT(!already_running); in Run()
100 ASSERT(count != -1); in Run()
110 ASSERT(event.events != 0u); in Run()
164 ASSERT(control != -1); in Stop()
182 ASSERT(register_fd != -1); in Register()
[all …]
Drepeating_alarm.cc40 ASSERT(fd_ != -1); in RepeatingAlarm()
51 ASSERT(close_status != -1); in ~RepeatingAlarm()
60 ASSERT(result == 0); in Schedule()
69 ASSERT(result == 0); in Cancel()
79 ASSERT(bytes_read == static_cast<ssize_t>(sizeof(uint64_t))); in on_fire()
Dalarm.cc52 ASSERT(close_status != -1); in ~Alarm()
60 ASSERT(result == 0); in Schedule()
69 ASSERT(result == 0); in Cancel()
79 ASSERT(bytes_read == static_cast<ssize_t>(sizeof(uint64_t))); in on_fire()
80 ASSERT(times_invoked == static_cast<uint64_t>(1)); in on_fire()
Dhandler.cc40 ASSERT(fd_ != -1); in Handler()
53 ASSERT(close_status != -1); in ~Handler()
67 ASSERT(write_result != -1); in Post()
88 ASSERT(reactable_ == nullptr); in WaitUntilStopped()
89 ASSERT(thread_->GetReactor()->WaitForUnregisteredReactable(timeout)); in WaitUntilStopped()
Dqueue.tpp29 ASSERT(enqueue_.handler_ == nullptr);
30 ASSERT(enqueue_.reactable_ == nullptr);
45 ASSERT(enqueue_.reactable_ != nullptr);
61 ASSERT(dequeue_.handler_ == nullptr);
62 ASSERT(dequeue_.reactable_ == nullptr);
75 ASSERT(dequeue_.reactable_ != nullptr);
109 ASSERT(data != nullptr);
/system/bt/vendor_libs/test_vendor_lib/model/controller/
Ddual_mode_controller.cc85 ASSERT(Address::FromString("3C:5A:B4:04:05:06", public_address)); in DualModeController()
256 ASSERT(command_view.IsValid()); in SniffSubrating()
281 ASSERT(acl_packet.IsValid()); in HandleAcl()
323 ASSERT(command_packet.IsValid()); in HandleCommand()
390 ASSERT(command_view.IsValid()); in Reset()
402 ASSERT(command_view.IsValid()); in ReadBufferSize()
416 ASSERT(command_view.IsValid()); in ReadEncryptionKeySize()
426 ASSERT(command_view.IsValid()); in HostBufferSize()
435 ASSERT(command_view.IsValid()); in ReadLocalVersionInformation()
456 ASSERT(command_view.IsValid()); in ReadRemoteVersionInformation()
[all …]
/system/bt/gd/l2cap/internal/
Ddynamic_channel_impl.cc36 ASSERT(IsPsmValid(psm_)); in DynamicChannelImpl()
37 ASSERT(cid_ > 0); in DynamicChannelImpl()
38 ASSERT(remote_cid_ > 0); in DynamicChannelImpl()
39 ASSERT(link_ != nullptr); in DynamicChannelImpl()
40 ASSERT(l2cap_handler_ != nullptr); in DynamicChannelImpl()
Ddata_pipeline_manager.cc31 ASSERT(sender_map_.find(cid) == sender_map_.end()); in AttachChannel()
37 ASSERT(sender_map_.find(cid) != sender_map_.end()); in DetachChannel()
49 ASSERT(sender_map_.find(cid) != sender_map_.end()); in OnPacketSent()
54 ASSERT(sender_map_.find(cid) != sender_map_.end()); in UpdateClassicConfiguration()
/system/bt/gd/security/pairing/
Dclassic_pairing_handler.cc27 ASSERT(user_interface_handler_ != nullptr); in NotifyUiDisplayYesNo()
33 ASSERT(user_interface_handler_ != nullptr); in NotifyUiDisplayYesNo()
39 ASSERT(user_interface_handler_ != nullptr); in NotifyUiDisplayPasskey()
45 ASSERT(user_interface_handler_ != nullptr); in NotifyUiDisplayPasskeyInput()
51 ASSERT(user_interface_handler_ != nullptr); in NotifyUiDisplayCancel()
99 ASSERT(packet.IsValid()); in OnReceive()
104 ASSERT(packet.IsValid()); in OnReceive()
109 ASSERT(packet.IsValid()); in OnReceive()
115 ASSERT(packet.IsValid()); in OnReceive()
136 ASSERT(packet.IsValid()); in OnReceive()
[all …]
/system/bt/gd/dumpsys/internal/
Dfilter_internal.cc36 ASSERT(table != nullptr); in ScrubFromTable()
98 ASSERT(objects != nullptr); in FindReflectionObject()
99 ASSERT(name != nullptr); in FindReflectionObject()
110 ASSERT(table != nullptr); in FilterTypeInteger()
111 ASSERT(flatbuffers::IsInteger(field.type()->base_type())); in FilterTypeInteger()
148 ASSERT(table != nullptr); in FilterTypeFloat()
149 ASSERT(flatbuffers::IsFloat(field.type()->base_type())); in FilterTypeFloat()
183 ASSERT(table != nullptr); in FilterTypeString()
184 ASSERT(field.type()->base_type() == reflection::BaseType::String); in FilterTypeString()
193 ASSERT(string != nullptr); in FilterTypeString()
[all …]
/system/bt/main/shim/
Dstack.cc58 ASSERT(stack_manager_.GetInstance<storage::StorageModule>() != nullptr); in StartIdleMode()
88 ASSERT(stack_manager_.GetInstance<storage::StorageModule>() != nullptr); in StartEverything()
89 ASSERT(stack_manager_.GetInstance<shim::L2cap>() != nullptr); in StartEverything()
90 ASSERT(stack_manager_.GetInstance<shim::Dumpsys>() != nullptr); in StartEverything()
136 ASSERT(is_running_); in GetStackManager()
142 ASSERT(is_running_); in GetBtm()
148 ASSERT(is_running_); in GetHandler()
Dconfig.cc47 ASSERT(value != nullptr); in GetInt()
66 ASSERT(value != nullptr); in GetUint64()
86 ASSERT(value != nullptr); in GetStr()
87 ASSERT(size_bytes != nullptr); in GetStr()
119 ASSERT(value != nullptr); in GetBin()
120 ASSERT(length != nullptr); in GetBin()
144 ASSERT(value != nullptr); in SetBin()
/system/bt/gd/l2cap/classic/
Ddynamic_channel_service.h53 ASSERT(IsPsmValid(psm)); in DynamicChannelService()
54 ASSERT(manager_ != nullptr); in DynamicChannelService()
55 ASSERT(l2cap_layer_handler_ != nullptr); in DynamicChannelService()
/system/bt/gd/l2cap/classic/internal/
Dfixed_channel_impl.cc33 ASSERT(link_ != nullptr); in FixedChannelImpl()
34 ASSERT(l2cap_handler_ != nullptr); in FixedChannelImpl()
70 ASSERT(!acquired_); in Acquire()
85 ASSERT(!acquired_); in Release()
/system/bt/gd/l2cap/le/
Ddynamic_channel_service.h53 ASSERT(IsPsmValid(psm)); in DynamicChannelService()
54 ASSERT(manager_ != nullptr); in DynamicChannelService()
55 ASSERT(l2cap_layer_handler_ != nullptr); in DynamicChannelService()
/system/libhwbinder/vts/performance/
DLatency.cpp26 #ifdef ASSERT
27 #undef ASSERT
29 #define ASSERT(cond) \ macro
40 ASSERT(cond); \
171 ASSERT(0); in makeServiceProces()
187 ASSERT(service != nullptr); in clientFx()
189 ASSERT(!service->isRemote()); in clientFx()
191 ASSERT(service->isRemote()); in clientFx()
232 ASSERT(sent >= 0); in clientFx()
250 ASSERT(0); in makeClientProcess()
[all …]
/system/bt/gd/hci/
Dle_scanning_manager.cc249 ASSERT(status_view.IsValid()); in check_status()
250 ASSERT(status_view.GetStatus() == ErrorCode::SUCCESS); in check_status()
254 ASSERT(status_view.IsValid()); in check_status()
255 ASSERT(status_view.GetStatus() == ErrorCode::SUCCESS); in check_status()
259 ASSERT(status_view.IsValid()); in check_status()
260 ASSERT(status_view.GetStatus() == ErrorCode::SUCCESS); in check_status()
264 ASSERT(status_view.IsValid()); in check_status()
265 ASSERT(status_view.GetStatus() == ErrorCode::SUCCESS); in check_status()
269 ASSERT(status_view.IsValid()); in check_status()
270 ASSERT(status_view.GetStatus() == ErrorCode::SUCCESS); in check_status()
/system/bt/gd/
Dmodule.cc59 ASSERT(instance != started_modules_.end()); in Get()
100 ASSERT(instance != started_modules_.end()); in StopAll()
111 ASSERT(instance != started_modules_.end()); in StopAll()
117 ASSERT(started_modules_.empty()); in StopAll()
130 ASSERT(output != nullptr); in DumpState()
138 ASSERT(instance != module_registry_.started_modules_.end()); in DumpState()
/system/bt/gd/l2cap/le/internal/
Dfixed_channel_impl.cc42 ASSERT(link_ != nullptr); in FixedChannelImpl()
43 ASSERT(l2cap_handler_ != nullptr); in FixedChannelImpl()
79 ASSERT(!acquired_); in Acquire()
94 ASSERT(!acquired_); in Release()
/system/bt/gd/storage/
Ddevice.cc97 ASSERT(device_type); in Le()
98 ASSERT(device_type == DeviceType::LE || device_type == DeviceType::DUAL); in Le()
104 ASSERT(device_type); in Classic()
105 ASSERT(device_type == DeviceType::BR_EDR || device_type == DeviceType::DUAL); in Classic()

12345