Lines Matching defs:ret
514 int32_t ret = samgrProxy->LoadSystemAbility(BLUETOOTH_HOST_SYS_ABILITY_ID, loadCallback);
515 if (ret != ERR_OK) {
633 bool ret = OHOS::EventFwk::CommonEventManager::PublishCommonEvent(data, publishInfo);
634 if (!ret) {
646 int ret = pimpl->switchModule_->ProcessBluetoothSwitchEvent(BluetoothSwitchEvent::DISABLE_BLUETOOTH);
647 if (ret != BT_NO_ERROR) {
648 return ret;
650 ret = pimpl->switchModule_->ProcessBluetoothSwitchEvent(BluetoothSwitchEvent::ENABLE_BLUETOOTH_TO_RESTRICE_MODE);
651 return ret;
705 int ret = proxy->GetBtState(state);
707 return ret;
722 int ret = SetParameter(BLUETOOTH_FACTORY_RESET_KEY, "true");
723 CHECK_AND_RETURN_LOG_RET(ret == 0, BT_ERR_INTERNAL_ERROR, "SetParameter failed");
874 int ret = proxy->GetBtConnectionState(state);
876 return ret;
1060 int32_t ret = proxy->GetPairedDevices(pairedAddr);
1066 return ret;