• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2025-2026 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 "urspconfig.h"
17 #include "cellular_data_client.h"
18 #include "hwnetworkslicemanager.h"
19 #include "networkslicemanager.h"
20 #include <parameters.h>
21 namespace OHOS {
22 namespace NetManagerStandard {
GetInstance()23 UrspConfig& UrspConfig::GetInstance()
24 {
25     static UrspConfig instance;
26     return instance;
27 }
28 
UrspConfig()29 UrspConfig::UrspConfig()
30 {
31 }
32 
SliceNetworkSelection(SelectedRouteDescriptor & routeRule,std::string plmn,AppDescriptor appDescriptor)33 bool UrspConfig::SliceNetworkSelection(
34     SelectedRouteDescriptor& routeRule, std::string plmn, AppDescriptor appDescriptor)
35 {
36     return false;
37 }
38 
isIpThreeTuplesInWhiteList(std::string plmn,AppDescriptor appDescriptor)39 bool UrspConfig::isIpThreeTuplesInWhiteList(std::string plmn, AppDescriptor appDescriptor)
40 {
41     return false;
42 }
43 
44 } // namespace NetManagerStandard
45 } // namespace OHOS
46