/foundation/communication/dsoftbus/core/connection/common/src/ |
H A D | softbus_socket.c | 47 int ret = SoftBusMutexLock(&g_socketsMutex); in RegistSocketProtocol() local 70 int ret in GetSocketInterface() local 94 int32_t ret = SoftBusMutexInit(&g_socketsMutex, NULL); ConnInitSockets() local 353 int ret = SOFTBUS_TCPCONNECTION_SOCKET_ERR; ConnPreAssignPortBind() local 375 int ret = SoftBusSocketCreate(domain, SOFTBUS_SOCK_STREAM, 0, &socketFd); ConnPreAssignPort() local 506 int32_t ret = getifaddrs(&ifList); GetIfNameByIp() local 543 int32_t ret = GetIfNameByIp(myIp, domain, ifName, ifNameMaxLen); BindToInterface() local [all...] |
/foundation/communication/dsoftbus/core/transmission/trans_channel/manager/src/ |
H A D | trans_lane_manager.c | 258 int32_t ret = SOFTBUS_TRANS_NODE_NOT_FOUND; in TransLaneMgrDelLane() local 480 int32_t ret = CheckParamIsValid(sessionName, sessionId); in TransUpdateSocketChannelInfoBySession() local 507 int32_t ret = CheckParamIsValid(sessionName, sessionId); in TransUpdateSocketChannelLaneInfoBySession() local 534 int32_t ret = CheckParamIsValid(sessionName, sessionId); TransDeleteSocketChannelInfoBySession() local 628 int32_t ret = CheckParamIsValid(sessionName, sessionId); TransSetSocketChannelStateBySession() local 677 int32_t ret = CheckParamIsValid(sessionName, sessionId); TransGetSocketChannelStateBySession() local 707 int32_t ret = CheckParamIsValid(sessionName, sessionId); TransGetSocketChannelLaneInfoBySession() local 769 int32_t ret = CheckParamIsValid(sessionName, sessionId); TransGetPidFromSocketChannelInfoBySession() local [all...] |
/foundation/communication/ipc/ipc/native/c/rpc/src/ |
H A D | rpc_process_skeleton.c | 377 int32_t ret = AttachThreadLockInfo(threadLockInfo); in AddSendThreadInWait() local 397 int ret = pthread_cond_timedwait(&threadLockInfo->condition, &threadLockInfo->mutex, &waitTime); in AddSendThreadInWait() local
|
/foundation/communication/ipc/ipc/test/auxiliary/native/src/ |
H A D | test_capi_skeleton.cpp | 111 int ret = OH_IPCParcel_WriteInterfaceToken(data, NATIVEREMOTESTUBTEST_DESCRIPTOR.c_str()); in SyncAdd() local 162 int ret = OH_IPCRemoteProxy_SendRequest(proxy_, NATIVE_TEST_CMD_ASYNC_ADD, data, nullptr, &option); in ASyncAdd() local 189 int ret = OH_IPCParcel_ReadInt32(data, &val); OnRemoteRequestStubCallBack() local 239 int ret = OH_IPC_SUCCESS; CheckBaseDataReply() local 269 int ret = OH_IPCParcel_ReadFloat(reply, &valFloat); TestBasicDataTypeReply() local 309 int ret = OH_IPCRemoteProxy_SendRequest(proxy_, NATIVE_TEST_CMD_SEND_AND_ECHO_BASE, data, reply, &option); SendAndEchoBase() local 352 int ret = OH_IPCRemoteProxy_SendRequest(proxy_, NATIVE_TEST_CMD_SEND_AND_ECHO_SRING, SendAndEchoString() local 396 int ret = OH_IPCRemoteProxy_SendRequest(proxy_, NATIVE_TEST_CMD_SEND_AND_ECHO_BUFFER, SendAndEchoBuffer() local 451 int ret = OH_IPCRemoteProxy_SendRequest(proxy_, NATIVE_TEST_CMD_SEND_FILE_DESCRIPTOR, data, reply, &option); SendAndEchoFileDescriptor() local 517 int ret = isSync ? SyncAdd() : ASyncAdd(); AddParallel() local 664 int ret = readFunc(data, &value); ReadAndEchoBaseType() local 673 int ret = ReadAndEchoBaseType<int8_t>(this->currentData_, this->currentReply_, SendAndEchoBase() local 725 int ret = OH_IPCParcel_ReadInt32(this->currentData_, &buffLen); SendAndEchoBuffer() local 742 int ret = OH_IPCParcel_ReadFileDescriptor(this->currentData_, &fd); SendAndEchoFileDescriptor() local 755 int ret = OH_IPCParcel_ReadInt32(this->currentData_, &valInt32); SendErrorCode() local [all...] |
/foundation/communication/netmanager_ext/services/networksharemanager/src/ |
H A D | router_advertisement_daemon.cpp | 168 int ret = sendto(socket_, raPacket_, raPacketLength_, 0, (sockaddr *)&dest, sizeof(dest)); in MaybeSendRa() local
|
/foundation/deviceprofile/device_info_manager/old/services/core/src/ |
H A D | distributed_device_profile_stub.cpp | 227 int32_t ret = NotifyAclEventInner(code, data, reply, option); in OnRemoteRequest() local 234 int32_t ret = NotifyOldEventInner(code, data, reply, option); in OnRemoteRequest() local 256 int32_t ret = GetDeviceProfile(udid, serviceId, profile); in GetDeviceProfileInner() local 353 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().PutAccessControlProfile(accessControlProfile); in PutAccessControlProfileInner() local 369 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().UpdateAccessControlProfile(accessControlProfile); in UpdateAccessControlProfileInner() local 383 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().GetTrustDeviceProfile(deviceId, trustDeviceProfile); GetTrustDeviceProfileInner() local 399 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().GetAllTrustDeviceProfile(trustDeviceProfiles); GetAllTrustDeviceProfileInner() local 420 int32_t ret = GetAccessControlProfileInner() local 437 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().GetAllAccessControlProfile(accessControlProfiles); GetAllAccessControlProfileInner() local 454 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().DeleteAccessControlProfile(accessControlId); DeleteAccessControlProfileInner() local 470 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().PutServiceProfile(serviceProfile); PutServiceProfileInner() local 485 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().PutServiceProfileBatch(serviceProfiles); PutServiceProfileBatchInner() local 500 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().PutCharacteristicProfile(charProfile); PutCharacteristicProfileInner() local 515 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().PutCharacteristicProfileBatch(charProfiles); PutCharacteristicProfileBatchInner() local 528 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().GetDeviceProfile(deviceId, deviceProfile); GetDeviceProfileNewInner() local 547 int32_t ret = GetServiceProfileInner() local 569 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().GetCharacteristicProfile(deviceId, serviceName, GetCharacteristicProfileInner() local 588 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().DeleteServiceProfile(deviceId, serviceName); DeleteServiceProfileInner() local 604 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().DeleteCharacteristicProfile(deviceId, serviceName, DeleteCharacteristicProfileInner() local 620 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().SubscribeDeviceProfile(subscribeInfo); SubscribeDeviceProfileInner() local 636 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().UnSubscribeDeviceProfile(subscribeInfo); UnSubscribeDeviceProfileInner() local 652 int32_t ret = SyncDeviceProfileNewInner() local 669 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().SendSubscribeInfos(listenerMap); SendSubscribeInfosInner() local 686 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().SubscribeDeviceProfileInited(saId, SubscribeDeviceProfileInitedInner() local 699 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().UnSubscribeDeviceProfileInited(saId); UnSubscribeDeviceProfileInitedInner() local [all...] |
/foundation/deviceprofile/device_info_manager/old/services/core/src/devicemanager/ |
H A D | dp_device_manager.cpp | 116 int32_t ret = DeviceManager::GetInstance().GetTrustedDeviceList(PKG_NAME, "", deviceList); in GetTrustedDeviceList() local
|
/foundation/communication/netmanager_ext/services/netfirewallmanager/src/ |
H A D | netfirewall_rule_manager.cpp | 60 int32_t ret = CheckRuleConstraint(rule); in AddNetFirewallRule() local 92 int32_t ret = FIREWALL_OK; in AddDefaultNetFirewallRule() local 114 int32_t ret = CheckRuleConstraint(rule); UpdateNetFirewallRule() local 140 int32_t ret = CheckUserExist(userId); DeleteNetFirewallRule() local 169 int32_t ret = NetFirewallDbHelper::GetInstance().DeleteFirewallRuleRecordByUserId(userId); DeleteNetFirewallRuleByUserId() local 190 int32_t ret = NetFirewallDbHelper::GetInstance().DeleteFirewallRuleRecordByAppId(appUid); DeleteNetFirewallRuleByAppId() local 228 int32_t ret = CheckUserExist(userId); GetEnabledNetFirewallRules() local 253 int32_t ret = CheckUserExist(userId); GetNetFirewallRules() local 276 int32_t ret = CheckUserExist(userId); GetNetFirewallRule() local 351 int32_t ret = CheckUserExist(rule->userId); CheckRuleConstraint() local 514 auto ret = AccountSA::OsAccountManager::QueryActiveOsAccountIds(accountIds); GetCurrentAccountId() local 539 int32_t ret = SetRulesToNativeByType(userId, NetFirewallRuleType::RULE_ALL); OpenOrCloseNativeFirewall() local 561 int32_t ret = SetRulesToNativeByType(userId, type); DistributeRulesToNative() local 569 int32_t ret = FIREWALL_SUCCESS; SetRulesToNativeByType() local [all...] |
H A D | netfirewall_service.cpp | 76 auto ret = AccountSA::OsAccountManager::QueryActiveOsAccountIds(accountIds); in GetCurrentAccountId() local 96 int32_t ret = CheckUserExist(userId); in SetNetFirewallPolicy() local 130 int32_t ret = CheckUserExist(userId); GetNetFirewallPolicy() local 173 int32_t ret = CheckUserExist(userId); GetInterceptRecords() local 197 int32_t ret = dprintf(fd, "%s\\n", result.c_str()); Dump() local 336 bool ret = InitUsersOnBoot(); InitQueryUserId() local [all...] |
/foundation/communication/netmanager_ext/test/ethernetmanager/unittest/ethernet_manager_test/ |
H A D | ethernet_manager_test.cpp | 199 int32_t ret = 0; in HWTEST_F() local 232 int32_t ret = DelayedSingleton<EthernetClient>::GetInstance()->SetIfaceConfig(DEV_NAME_1, ic); in HWTEST_F() local 248 int32_t ret = DelayedSingleton<EthernetClient>::GetInstance()->GetIfaceConfig(DEV_NAME, ic); in HWTEST_F() local 266 int32_t ret = DelayedSingleton<EthernetClient>::GetInstance()->GetIfaceConfig(DEV_NAME_1, ic); in HWTEST_F() local 283 int32_t ret in HWTEST_F() local 300 int32_t ret = DelayedSingleton<EthernetClient>::GetInstance()->IsIfaceActive("eth3", activeStatus); HWTEST_F() local 317 int32_t ret = DelayedSingleton<EthernetClient>::GetInstance()->GetAllActiveIfaces(result); HWTEST_F() local 335 int32_t ret = DelayedSingleton<EthernetClient>::GetInstance()->GetMacAddress(mai); HWTEST_F() local 350 int32_t ret = DelayedSingleton<EthernetClient>::GetInstance()->ResetFactory(); HWTEST_F() local 364 int32_t ret = DelayedSingleton<EthernetClient>::GetInstance()->ResetFactory(); HWTEST_F() local 379 int32_t ret = DelayedSingleton<EthernetClient>::GetInstance()->ResetFactory(); HWTEST_F() local 390 int32_t ret = DelayedSingleton<EthernetClient>::GetInstance()->GetInterfaceConfig(DEV_NAME, cfg); HWTEST_F() local 404 int ret = devinterfacestatecallback.OnInterfaceAddressUpdated(addr, ifName, flags, scope); HWTEST_F() local 416 int ret = devinterfacestatecallback.OnInterfaceAddressRemoved(addr, ifName, flags, scope); HWTEST_F() local 425 int ret = devinterfacestatecallback.OnInterfaceAdded(iface); HWTEST_F() local 434 int ret = devinterfacestatecallback.OnInterfaceRemoved(iface); HWTEST_F() local 443 int ret = devinterfacestatecallback.OnInterfaceChanged(iface, true); HWTEST_F() local 452 int ret = devinterfacestatecallback.OnInterfaceLinkStateChanged(ifName, true); HWTEST_F() local 469 int32_t ret = DelayedSingleton<EthernetClient>::GetInstance()->SetInterfaceConfig(DEV_NAME, config); HWTEST_F() local 487 int32_t ret = DelayedSingleton<EthernetClient>::GetInstance()->SetInterfaceConfig(DEV_NAME, config); HWTEST_F() local 502 int32_t ret = DelayedSingleton<EthernetClient>::GetInstance()->GetInterfaceConfig(DEV_NAME, cfg); HWTEST_F() local 521 int32_t ret = DelayedSingleton<EthernetClient>::GetInstance()->GetInterfaceConfig(DEV_NAME, cfg); HWTEST_F() local 586 int32_t ret = ethernetManagement.UpdateDevInterfaceLinkInfo(dhcpResult); HWTEST_F() local 609 int32_t ret = DelayedSingleton<EthernetClient>::GetInstance()->RegisterIfacesStateChanged(nullptr); HWTEST_F() local 617 int32_t ret = DelayedSingleton<EthernetClient>::GetInstance()->RegisterIfacesStateChanged(interfaceCallback); HWTEST_F() local 626 int32_t ret = DelayedSingleton<EthernetClient>::GetInstance()->UnregisterIfacesStateChanged(nullptr); HWTEST_F() local 634 int32_t ret = DelayedSingleton<EthernetClient>::GetInstance()->RegisterIfacesStateChanged(interfaceCallback); HWTEST_F() local 650 int32_t ret = ethernetManagement.GetAllActiveIfaces(activeIfaces); HWTEST_F() local 657 int32_t ret = ethernetManagement.ResetFactory(); HWTEST_F() local 664 int32_t ret = DelayedSingleton<EthernetClient>::GetInstance()->IsIfaceActive(DEV_NAME, activeStatus); HWTEST_F() local 672 int32_t ret = DelayedSingleton<EthernetClient>::GetInstance()->IsIfaceActive(DEV_NAME, activeStatus); HWTEST_F() local 680 int32_t ret = DelayedSingleton<EthernetClient>::GetInstance()->IsIfaceActive(DEV_NAME, activeStatus); HWTEST_F() local 694 int32_t ret = ethernetManagement.UpdateDevInterfaceLinkInfo(dhcpResult); HWTEST_F() local 821 int32_t ret = ethernetManagement.IsIfaceActive(DEV_NAME, activeStatus); HWTEST_F() local 833 int32_t ret = ethernetManagement.GetAllActiveIfaces(activeIfaces); HWTEST_F() local 846 int32_t ret = devCallback.OnInterfaceAdded(IFACE); HWTEST_F() local 857 int32_t ret = ethernetManagement.GetAllActiveIfaces(activeIfaces); HWTEST_F() local 868 int32_t ret = ethernetManagement.GetAllActiveIfaces(activeIfaces); HWTEST_F() local 917 int32_t ret = DelayedSingleton<EthernetClient>::GetInstance()->SetInterfaceUp(iface); HWTEST_F() local 928 int32_t ret = DelayedSingleton<EthernetClient>::GetInstance()->SetInterfaceDown(iface); HWTEST_F() local 938 auto ret = devCallback.OnInterfaceAdded(IFACE); HWTEST_F() local 965 auto ret = ethernetManagement.UpdateDevInterfaceCfg(IFACE, cfg); HWTEST_F() local 1016 bool ret = ethernetManagement.IsIfaceLinkUp(iface); HWTEST_F() local [all...] |
/foundation/communication/netmanager_ext/test/netfirewallmanager/unittest/netfirewallmanager_test/ |
H A D | netfirewall_client_test.cpp | 228 int32_t ret = -1;
in HWTEST_F() local 248 int32_t ret = -1;
in HWTEST_F() local 265 int32_t ret = -1; HWTEST_F() local 292 int32_t ret = -1; HWTEST_F() local 312 int32_t ret = -1; HWTEST_F() local 332 int32_t ret = -1; HWTEST_F() local 360 int32_t ret = -1; HWTEST_F() local 384 int32_t ret = -1; HWTEST_F() local 421 int32_t ret = netfirewallClient_.GetNetFirewallRules(userId, param, info); HWTEST_F() local 438 int32_t ret = -1; HWTEST_F() local 465 int32_t ret = -1; HWTEST_F() local 500 int32_t ret = -1; HWTEST_F() local 517 auto ret = DelayedSingleton<NetFirewallLoadCallback>::GetInstance()->IsFailed(); HWTEST_F() local 526 int32_t ret = netfirewallClient_.GetNetFirewallPolicy(USER_ID1, status); HWTEST_F() local [all...] |
H A D | netfirewall_service_test.cpp | 221 int32_t ret = instance_->OnInit();
in HWTEST_F() local 289 int ret = instance_->AddDefaultNetFirewallRule(instance_->GetCurrentAccountId());
in HWTEST_F() local 300 int ret = instance_->AddDefaultNetFirewallRule(instance_->GetCurrentAccountId());
in HWTEST_F() local 312 int ret = NetFirewallRuleManager::GetInstance().DeleteNetFirewallRuleByUserId(instance_->GetCurrentAccountId());
in HWTEST_F() local 330 int ret = DelayedSingleton<NetFirewallService>::GetInstance()->SetNetFirewallPolicy(userId, status);
in HWTEST_F() local 353 int ret = DelayedSingleton<NetFirewallService>::GetInstance()->SetNetFirewallPolicy(userId, status); HWTEST_F() local 366 int ret = NetFirewallPolicyManager::GetInstance().ClearCurrentFirewallPolicy(); HWTEST_F() local 380 int ret = DelayedSingleton<NetFirewallService>::GetInstance()->GetNetFirewallPolicy(userId, status); HWTEST_F() local 397 int ret = DelayedSingleton<NetFirewallService>::GetInstance()->AddNetFirewallRule(rule, ruleId); HWTEST_F() local 410 int ret = NetFirewallRuleManager::GetInstance().DeleteNetFirewallRuleByAppId(APPID_TEST01); HWTEST_F() local 425 int ret = DelayedSingleton<NetFirewallService>::GetInstance()->AddNetFirewallRule(rule, ruleId); HWTEST_F() local 440 int ret = 0; HWTEST_F() local 478 int ret = DelayedSingleton<NetFirewallService>::GetInstance()->AddNetFirewallRule(rule, ruleId); HWTEST_F() local 497 int ret = DelayedSingleton<NetFirewallService>::GetInstance()->AddNetFirewallRule(rule, ruleId); HWTEST_F() local 516 int ret = DelayedSingleton<NetFirewallService>::GetInstance()->UpdateNetFirewallRule(rule); HWTEST_F() local 531 int ret = DelayedSingleton<NetFirewallService>::GetInstance()->UpdateNetFirewallRule(rule); HWTEST_F() local 544 int ret = DelayedSingleton<NetFirewallService>::GetInstance()->DeleteNetFirewallRule(USER_ID1, ruleId); HWTEST_F() local 563 int ret = DelayedSingleton<NetFirewallService>::GetInstance()->GetNetFirewallRules(userId, param, info); HWTEST_F() local 583 int ret = DelayedSingleton<NetFirewallService>::GetInstance()->GetNetFirewallRules(userId, param, info); HWTEST_F() local 601 int ret = DelayedSingleton<NetFirewallService>::GetInstance()->GetNetFirewallRule(userId, ruleId, rule); HWTEST_F() local 619 int32_t ret = instance_->OnInit(); HWTEST_F() local 630 int32_t ret = PublishChangedEvent(EventFwk::CommonEventSupport::COMMON_EVENT_USER_REMOVED, USER_ID1); HWTEST_F() local 682 int32_t ret = NetFirewallInterceptRecorder::GetInstance()->callback_->OnIntercept(record); HWTEST_F() local 701 int ret = instance_->GetInterceptRecords(userId, param, info); HWTEST_F() local 723 int32_t ret = dbCallBack->OnCreate(*(store_)); HWTEST_F() local 742 int32_t ret = dbCallBack->OnUpgrade(*(store_), OLD_VERSION, NEW_VERSION); HWTEST_F() local 761 int32_t ret = dbCallBack->OnDowngrade(*(store_), OLD_VERSION, NEW_VERSION); HWTEST_F() local 773 int32_t ret = dbInstance_->RollBack(); HWTEST_F() local 787 int32_t ret = NetFirewallDbHelper::GetInstance().QueryEnabledFirewallRules(userId, appUip, rules); HWTEST_F() local 842 int32_t ret = NetFirewallDbHelper::GetInstance().QueryAllFirewallRuleRecord(rules); HWTEST_F() local 908 int ret = NetFirewallPolicyManager::GetInstance().GetCurrentNetFirewallPolicy(policy); HWTEST_F() local 921 int ret = DelayedSingleton<NetFirewallService>::GetInstance()->AddNetFirewallRule(rule, ruleId); HWTEST_F() local 931 std::string ret = DelayedSingleton<NetFirewallService>::GetInstance()->GetLastRulePushTime(); HWTEST_F() local 941 std::string ret = DelayedSingleton<NetFirewallService>::GetInstance()->GetLastRulePushResult(); HWTEST_F() local [all...] |
/foundation/communication/netstack/test/unittest/tls_test/server/ |
H A D | tls_socket_server_branch_test.cpp | 60 bool ret = tlsSocketServer->Send(data, sendCallback); in HWTEST_F() local 99 auto ret = connection->Send(data); HWTEST_F() local 203 auto ret = connection->TlsAcceptToHost(socketFd, options); HWTEST_F() local 220 auto ret = connection->Close(); HWTEST_F() local 284 bool ret = connection->StartTlsAccept(options); HWTEST_F() local [all...] |
/foundation/communication/nfc/services/src/notification/ |
H A D | nfc_notification.cpp | 139 int ret = sprintf_s(buf, MAX_BUFF_LEN, g_resourceMap[KEY_TRANSPORT_CARD_NTF_TEXT].c_str(),
in GetTrafficCardNotificationText() local 153 int ret = sprintf_s(buf, MAX_BUFF_LEN, g_resourceMap[KEY_NFC_WIFI_NTF_TEXT].c_str(), ssid.c_str());
in GetWifiNotificationText() local 167 int ret = sprintf_s(buf, MAX_BUFF_LEN, g_resourceMap[KEY_NFC_BT_NTF_TEXT].c_str(), name.c_str());
in GetBtNotificationText() local 404 int ret = Notification::NotificationHelper::CancelAsBundle(bundle, lastNtfId); PublishNfcNotification() local [all...] |
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper/ |
H A D | ipv6_address.cpp | 319 std::string ret = GetPrefix(); in GetNetwork() local
|
/foundation/deviceprofile/device_info_manager/services/core/test/unittest/ |
H A D | device_profile_manager_test.cpp | 108 int32_t ret = DeviceProfileManager::GetInstance().Init(); in HWTEST_F() local 121 int32_t ret = DeviceProfileManager::GetInstance().UnInit(); in HWTEST_F() local 136 int32_t ret = DeviceProfileManager::GetInstance().UnInit(); in HWTEST_F() local 150 int32_t ret = DeviceProfileManager::GetInstance().ReInit(); in HWTEST_F() local 176 int32_t ret = DeviceProfileManager::GetInstance().PutDeviceProfile(deviceProfile); in HWTEST_F() local 201 int32_t ret = DeviceProfileManager::GetInstance().PutDeviceProfile(deviceProfile); HWTEST_F() local 241 int32_t ret = DeviceProfileManager::GetInstance().PutDeviceProfile(deviceProfile2); HWTEST_F() local 267 int32_t ret = DeviceProfileManager::GetInstance().PutDeviceProfile(deviceProfile10); HWTEST_F() local 295 int32_t ret = DeviceProfileManager::GetInstance().PutDeviceProfile(deviceProfile11); HWTEST_F() local 323 int32_t ret = DeviceProfileManager::GetInstance().PutDeviceProfile(deviceProfile); HWTEST_F() local 341 int32_t ret = DeviceProfileManager::GetInstance().PutServiceProfile(serviceProfile); HWTEST_F() local 358 int32_t ret = DeviceProfileManager::GetInstance().PutServiceProfile(serviceProfile); HWTEST_F() local 382 int32_t ret = DeviceProfileManager::GetInstance().PutServiceProfile(serviceProfile2); HWTEST_F() local 400 int32_t ret = DeviceProfileManager::GetInstance().PutServiceProfile(serviceProfile10); HWTEST_F() local 421 int32_t ret = DeviceProfileManager::GetInstance().PutServiceProfile(serviceProfile11); HWTEST_F() local 441 int32_t ret = DeviceProfileManager::GetInstance().PutServiceProfile(serviceProfile); HWTEST_F() local 460 int32_t ret = DeviceProfileManager::GetInstance().PutServiceProfile(serviceProfile); HWTEST_F() local 486 int32_t ret = DeviceProfileManager::GetInstance().PutServiceProfileBatch(serviceProfiles); HWTEST_F() local 515 int32_t ret = DeviceProfileManager::GetInstance().PutServiceProfileBatch(serviceProfiles); HWTEST_F() local 534 int32_t ret = DeviceProfileManager::GetInstance().PutCharacteristicProfile(charProfile); HWTEST_F() local 552 int32_t ret = DeviceProfileManager::GetInstance().PutCharacteristicProfile(charProfile); HWTEST_F() local 578 int32_t ret = DeviceProfileManager::GetInstance().PutCharacteristicProfile(charProfile2); HWTEST_F() local 598 int32_t ret = DeviceProfileManager::GetInstance().PutCharacteristicProfile(charProfile10); HWTEST_F() local 620 int32_t ret = DeviceProfileManager::GetInstance().PutCharacteristicProfile(charProfile11); HWTEST_F() local 641 int32_t ret = DeviceProfileManager::GetInstance().PutCharacteristicProfile(charProfile); HWTEST_F() local 670 int32_t ret = DeviceProfileManager::GetInstance().PutCharacteristicProfileBatch(charProfiles); HWTEST_F() local 702 int32_t ret = DeviceProfileManager::GetInstance().PutCharacteristicProfileBatch(charProfiles); HWTEST_F() local 732 int32_t ret = DeviceProfileManager::GetInstance().GetDeviceProfile(deviceId, outDeviceProfile); HWTEST_F() local 759 int32_t ret = DeviceProfileManager::GetInstance().GetDeviceProfile(deviceId, outDeviceProfile); HWTEST_F() local 774 int32_t ret = DeviceProfileManager::GetInstance().GetDeviceProfile(deviceId, outDeviceProfile); HWTEST_F() local 791 int32_t ret = DeviceProfileManager::GetInstance().GetDeviceProfile(deviceId, outDeviceProfile); HWTEST_F() local 814 int32_t ret = DeviceProfileManager::GetInstance().GetServiceProfile(deviceId, serviceName, outServiceProfile); HWTEST_F() local 834 int32_t ret = DeviceProfileManager::GetInstance().GetServiceProfile(deviceId, serviceName, outServiceProfile); HWTEST_F() local 855 int32_t ret = DeviceProfileManager::GetInstance().GetServiceProfile(deviceId, serviceName, outServiceProfile); HWTEST_F() local 873 int32_t ret = DeviceProfileManager::GetInstance().GetServiceProfile(deviceId, serviceName, outServiceProfile); HWTEST_F() local 898 int32_t ret = DeviceProfileManager::GetInstance().GetCharacteristicProfile(deviceId, serviceName, HWTEST_F() local 921 int32_t ret = DeviceProfileManager::GetInstance().GetCharacteristicProfile(deviceId, serviceName, HWTEST_F() local 946 int32_t ret = DeviceProfileManager::GetInstance().GetCharacteristicProfile(deviceId, serviceName, HWTEST_F() local 966 int32_t ret = DeviceProfileManager::GetInstance().GetCharacteristicProfile(deviceId, serviceName, HWTEST_F() local 990 int32_t ret = DeviceProfileManager::GetInstance().DeleteServiceProfile(deviceId, serviceName); HWTEST_F() local 1004 int32_t ret = DeviceProfileManager::GetInstance().DeleteServiceProfile(deviceId, serviceName); HWTEST_F() local 1024 int32_t ret = DeviceProfileManager::GetInstance().DeleteServiceProfile(deviceId, serviceName); HWTEST_F() local 1042 int32_t ret = DeviceProfileManager::GetInstance().DeleteServiceProfile(deviceId, serviceName); HWTEST_F() local 1067 int32_t ret = DeviceProfileManager::GetInstance().DeleteCharacteristicProfile(deviceId, serviceName, HWTEST_F() local 1083 int32_t ret = DeviceProfileManager::GetInstance().DeleteCharacteristicProfile(deviceId, serviceName, HWTEST_F() local 1107 int32_t ret = DeviceProfileManager::GetInstance().DeleteCharacteristicProfile(deviceId, serviceName, HWTEST_F() local 1127 int32_t ret = DeviceProfileManager::GetInstance().DeleteCharacteristicProfile(deviceId, serviceName, HWTEST_F() local 1143 int32_t ret = DeviceProfileManager::GetInstance().GetAllDeviceProfile(deviceProfiles); HWTEST_F() local 1157 int32_t ret = DeviceProfileManager::GetInstance().GetAllDeviceProfile(deviceProfiles); HWTEST_F() local 1173 int32_t ret = DeviceProfileManager::GetInstance().GetAllDeviceProfile(deviceProfiles); HWTEST_F() local 1188 int32_t ret = DeviceProfileManager::GetInstance().GetAllServiceProfile(serviceProfiles); HWTEST_F() local 1202 int32_t ret = DeviceProfileManager::GetInstance().GetAllServiceProfile(serviceProfiles); HWTEST_F() local 1218 int32_t ret = DeviceProfileManager::GetInstance().GetAllServiceProfile(serviceProfiles); HWTEST_F() local 1233 int32_t ret = DeviceProfileManager::GetInstance().GetAllCharacteristicProfile(charProfiles); HWTEST_F() local 1247 int32_t ret = DeviceProfileManager::GetInstance().GetAllCharacteristicProfile(charProfiles); HWTEST_F() local 1263 int32_t ret = DeviceProfileManager::GetInstance().GetAllCharacteristicProfile(charProfiles); HWTEST_F() local 1424 bool ret = false; HWTEST_F() local 1502 int32_t ret = DeviceProfileManager::GetInstance().RunloadedFunction(deviceId, syncCb); HWTEST_F() local 1515 int32_t ret = DeviceProfileManager::GetInstance().RunloadedFunction(deviceId, syncCb); HWTEST_F() local 1564 int32_t ret = DeviceProfileManager::GetInstance().GetCharacteristicProfile(deviceId, serviceName3, HWTEST_F() local [all...] |
/foundation/communication/nfc/frameworks/js/napi/controller/ |
H A D | nfc_napi_controller_event.cpp | 131 int ret = uv_queue_work( in EventNotify() local 243 ErrorCode ret = nfcCtrl.RegListener(nfcStateListenerEvent, type); in RegisterNfcStateChangedEvents() local 254 ErrorCode ret = nfcCtrl.UnregListener(type); in UnRegisterNfcEvents() local 423 int32_t ret = samgrProxy->SubscribeSystemAbility(systemAbilityId, this); Init() local [all...] |
/foundation/communication/netstack/test/unittest/tlssocket/server/ |
H A D | tls_socket_server_branch_test.cpp | 60 bool ret = tlsSocketServer->Send(data, sendCallback); in HWTEST_F() local 99 auto ret = connection->Send(data); HWTEST_F() local 203 auto ret = connection->TlsAcceptToHost(socketFd, options); HWTEST_F() local 220 auto ret = connection->Close(); HWTEST_F() local 284 bool ret = connection->StartTlsAccept(options); HWTEST_F() local [all...] |
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_scan_sa/ |
H A D | wifi_scan_stub.cpp | 155 ErrCode ret = SetScanControlInfo(info); in OnSetScanControlInfo() local 169 ErrCode ret = Scan(compatible); in OnScan() local 201 ErrCode ret = AdvanceScan(params); in OnScanByParams() local 213 ErrCode ret in OnIsWifiClosedScan() local 294 ErrCode ret = GetScanInfoList(result, compatible); OnGetScanInfoList() local 312 ErrCode ret = WIFI_OPT_FAILED; OnRegisterCallBack() local 369 int ret = GetSupportedFeatures(features); OnGetSupportedFeatures() local 405 ErrCode ret = GetScanOnlyAvailable(state); OnGetScanOnlyAvailable() local 420 ErrCode ret = StartWifiPnoScan(isStart, periodMs, suspendReason); OnStartWifiPnoScan() local [all...] |
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/ |
H A D | wifi_hdi_wpa_client_test.cpp | 889 WifiErrorNo ret = wifiHdiWpaClient->ReqP2pGetDeviceAddress(result); in HWTEST_F() local 932 WifiErrorNo ret = wifiHdiWpaClient->ReqP2pSetupWpsPin(groupInterface, address, pin, result); in HWTEST_F() local
|
/foundation/deviceprofile/device_info_manager/interfaces/innerkits/core/src/ |
H A D | distributed_device_profile_client.cpp | 68 int32_t ret = samgrProxy->LoadSystemAbility(DISTRIBUTED_DEVICE_PROFILE_SA_ID, loadCallback); in LoadDeviceProfileService() local 432 int32_t ret = DP_SUCCESS; in SubscribeDeviceProfileSA() local 495 int32_t ret = dpService->SubscribeDeviceProfileInited(saId, dpInitedCallback); SubscribeDeviceProfileInited() local 526 int32_t ret = dpService->UnSubscribeDeviceProfileInited(saId); UnSubscribeDeviceProfileInited() local [all...] |
/foundation/communication/netmanager_ext/services/ethernetmanager/src/ |
H A D | ethernet_service.cpp | 78 int32_t ret = dprintf(fd, "%s\n", result.c_str()); in Dump() local 365 int32_t ret = NETMANAGER_EXT_ERR_OPERATION_FAILED; in RegisterMonitorIfaceCallbackAsync() local 388 int32_t ret = NETMANAGER_EXT_ERR_OPERATION_FAILED; in UnregisterMonitorIfaceCallbackAsync() local [all...] |
H A D | dev_interface_state.cpp | 159 int ret = NetManagerCenter::GetInstance().UnregisterNetSupplier(netSupplier_); in RemoteUnregisterNetSupplier() local
|
/foundation/communication/netmanager_ext/test/mdnsmanager/unittest/mdns_manager_test/ |
H A D | mdns_manager_test.cpp | 256 int32_t ret = MDnsClientResume::GetInstance().SaveRegisterService(info, registration); in HWTEST_F() local 442 auto ret = DelayedSingleton<MDnsClient>::GetInstance()->StartDiscoverService(serviceType, callback); HWTEST_F() local [all...] |
/foundation/communication/netmanager_ext/test/vpnmanager/unittest/conn_vpn_manager_test/ |
H A D | net_conn_manager_test.cpp | 168 int32_t ret = NetConnClient::GetInstance().SetGlobalHttpProxy(httpProxy); in GlobalHttpProxyTest() local 717 int32_t ret = NetConnClient::GetInstance().GetGlobalHttpProxy(httpProxy); in HWTEST_F() local 817 auto ret = NetConnClient::GetInstance().GetAllNets(netList); in HWTEST_F() local
|