Lines Matching refs:CHECK
88 CHECK(!pending_id_); in BeginServiceDeclaration()
89 CHECK(!pending_decl_); in BeginServiceDeclaration()
90 CHECK(!pending_end_decl_cb_); in BeginServiceDeclaration()
93 CHECK(service_id); in BeginServiceDeclaration()
126 CHECK(char_id); in AddCharacteristic()
185 CHECK(!pending_id_); in EndServiceDeclaration()
189 CHECK(pending_decl_->num_handles > 0); in EndServiceDeclaration()
190 CHECK(!pending_decl_->attributes.empty()); in EndServiceDeclaration()
193 CHECK(service_id->IsService()); in EndServiceDeclaration()
194 CHECK(*service_id == pending_decl_->service_id); in EndServiceDeclaration()
235 CHECK(pending_decl_); in GetIdForCharacteristic()
250 CHECK(pending_decl_->service_id.IsService()); in GetIdForCharacteristic()
258 CHECK(pending_decl_); in GetIdForDescriptor()
263 CHECK(!pending_decl_->attributes.empty()); in GetIdForDescriptor()
509 CHECK(pending_id_); in ServiceAddedCallback()
510 CHECK(*gatt_id == *pending_id_); in ServiceAddedCallback()
511 CHECK(*gatt_id == pending_decl_->service_id); in ServiceAddedCallback()
512 CHECK(pending_id_->IsService()); in ServiceAddedCallback()
526 CHECK(-1 == pending_decl_->service_handle); in ServiceAddedCallback()
543 CHECK(pending_decl_); in CharacteristicAddedCallback()
544 CHECK(pending_decl_->service_handle == service_handle); in CharacteristicAddedCallback()
545 CHECK(pending_id_); in CharacteristicAddedCallback()
546 CHECK(pending_id_->IsCharacteristic()); in CharacteristicAddedCallback()
547 CHECK(pending_id_->characteristic_uuid() == UUID(uuid)); in CharacteristicAddedCallback()
576 CHECK(pending_decl_); in DescriptorAddedCallback()
577 CHECK(pending_decl_->service_handle == service_handle); in DescriptorAddedCallback()
578 CHECK(pending_id_); in DescriptorAddedCallback()
579 CHECK(pending_id_->IsDescriptor()); in DescriptorAddedCallback()
580 CHECK(pending_id_->descriptor_uuid() == UUID(uuid)); in DescriptorAddedCallback()
607 CHECK(pending_id_); in ServiceStartedCallback()
608 CHECK(pending_decl_); in ServiceStartedCallback()
609 CHECK(pending_decl_->service_handle == service_handle); in ServiceStartedCallback()
822 CHECK(pending_end_decl_cb_); in NotifyEndCallbackAndClearData()
844 CHECK(pending_decl_); in HandleNextEntry()
845 CHECK(gatt_iface); in HandleNextEntry()
934 CHECK(pending_decl_); in PopNextEntry()