1 /* 2 * Copyright (c) 2022 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 #include "net_adj_service.h" 17 18 namespace OHOS { 19 namespace NetManagerStandard { AddNetAdjIface(const sptr<NetAdjIfaceInfo> & adjIface)20int32_t NetAdjService::AddNetAdjIface(const sptr<NetAdjIfaceInfo> &adjIface) 21 { 22 return ERR_NONE; 23 } 24 RemoveNetAdjIface(const std::string & ifaceName)25int32_t NetAdjService::RemoveNetAdjIface(const std::string &ifaceName) 26 { 27 return ERR_NONE; 28 } 29 RegisterAdjIfaceCallback(const sptr<INetAdjCallback> & callback)30int32_t NetAdjService::RegisterAdjIfaceCallback(const sptr<INetAdjCallback> &callback) 31 { 32 return ERR_NONE; 33 } 34 UnregisterAdjIfaceCallback(const sptr<INetAdjCallback> & callback)35int32_t NetAdjService::UnregisterAdjIfaceCallback(const sptr<INetAdjCallback> &callback) 36 { 37 return ERR_NONE; 38 } 39 UpdateNetAdjInfo(const std::string & iface,const sptr<NetAdjIfaceInfo> & adjIfaceINfo)40int32_t NetAdjService::UpdateNetAdjInfo(const std::string &iface, const sptr<NetAdjIfaceInfo> &adjIfaceINfo) 41 { 42 return ERR_NONE; 43 } 44 } // namespace NetManagerStandard 45 } // namespace OHOS 46