代码拉取完成,页面将自动刷新
同步操作将从 OpenHarmony/telephony_cellular_data 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# Copyright (C) 2021 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import("//base/telephony/cellular_data/cellular_data_ability_runtime.gni")
import("//base/telephony/core_service/telephony.gni")
import("//build/ohos.gni")
SOURCE_DIR = "//base/telephony/cellular_data"
ohos_shared_library("tel_cellular_data") {
sources = [
"$SOURCE_DIR/services/src/apn_manager/apn_holder.cpp",
"$SOURCE_DIR/services/src/apn_manager/apn_item.cpp",
"$SOURCE_DIR/services/src/apn_manager/apn_manager.cpp",
"$SOURCE_DIR/services/src/apn_manager/connection_retry_policy.cpp",
"$SOURCE_DIR/services/src/cellular_data_controller.cpp",
"$SOURCE_DIR/services/src/cellular_data_handler.cpp",
"$SOURCE_DIR/services/src/cellular_data_rdb_observer.cpp",
"$SOURCE_DIR/services/src/cellular_data_roaming_observer.cpp",
"$SOURCE_DIR/services/src/cellular_data_service.cpp",
"$SOURCE_DIR/services/src/cellular_data_service_stub.cpp",
"$SOURCE_DIR/services/src/cellular_data_setting_observer.cpp",
"$SOURCE_DIR/services/src/data_connection_manager.cpp",
"$SOURCE_DIR/services/src/data_connection_monitor.cpp",
"$SOURCE_DIR/services/src/data_switch_settings.cpp",
"$SOURCE_DIR/services/src/sim_account_callback_proxy.cpp",
"$SOURCE_DIR/services/src/state_machine/activating.cpp",
"$SOURCE_DIR/services/src/state_machine/active.cpp",
"$SOURCE_DIR/services/src/state_machine/cellular_data_state_machine.cpp",
"$SOURCE_DIR/services/src/state_machine/default.cpp",
"$SOURCE_DIR/services/src/state_machine/disconnecting.cpp",
"$SOURCE_DIR/services/src/state_machine/inactive.cpp",
"$SOURCE_DIR/services/src/state_notification.cpp",
"$SOURCE_DIR/services/src/traffic_management.cpp",
"$SOURCE_DIR/services/src/utils/cellular_data_dump_helper.cpp",
"$SOURCE_DIR/services/src/utils/cellular_data_hisysevent.cpp",
"$SOURCE_DIR/services/src/utils/cellular_data_net_agent.cpp",
"$SOURCE_DIR/services/src/utils/cellular_data_rdb_helper.cpp",
"$SOURCE_DIR/services/src/utils/cellular_data_settings_rdb_helper.cpp",
"$SOURCE_DIR/services/src/utils/cellular_data_utils.cpp",
"$SOURCE_DIR/services/src/utils/net_manager_call_back.cpp",
"$SOURCE_DIR/services/src/utils/net_manager_tactics_call_back.cpp",
"$SOURCE_DIR/services/src/utils/network_search_callback.cpp",
]
include_dirs = [
"$SOURCE_DIR/services/include",
"$SOURCE_DIR/services/include/common",
"$SOURCE_DIR/services/include/state_machine",
"$SOURCE_DIR/services/include/utils",
"$SOURCE_DIR/services/include/apn_manager",
"$SOURCE_DIR/interfaces/innerkits",
"//base/telephony/telephony_data/pdp_profile/include",
"${ability_runtime_inner_api_path}/dataobs_manager/include",
]
configs = [ "//base/telephony/core_service/utils:telephony_log_config" ]
deps = [
"${ability_runtime_inner_api_path}/dataobs_manager:dataobs_manager",
"${ability_runtime_path}/frameworks/native/ability/native:abilitykit_native",
"${ability_runtime_path}/frameworks/native/ability/native:data_ability_helper",
"//base/telephony/core_service/interfaces/innerkits:tel_core_service_api",
"//base/telephony/core_service/utils:libtel_common",
]
external_deps = [
"ability_base:want",
"ability_base:zuri",
"c_utils:utils",
"common_event_service:cesfwk_innerkits",
"core_service:tel_core_service_api",
"data_share:datashare_common",
"data_share:datashare_consumer",
"eventhandler:libeventhandler",
"hisysevent_native:libhisysevent",
"hitrace_native:hitrace_meter",
"init:libbegetutil",
"ipc:ipc_core",
"netmanager_base:net_conn_manager_if",
"netmanager_base:net_policy_manager_if",
"netmanager_base:net_stats_manager_if",
"relational_store:native_dataability",
"relational_store:native_rdb",
"safwk:system_ability_fwk",
"samgr:samgr_proxy",
]
defines += [
"TELEPHONY_LOG_TAG = \"CellularData\"",
"LOG_DOMAIN = 0xD001F03",
]
if (is_standard_system) {
external_deps += [ "hiviewdfx_hilog_native:libhilog" ]
} else {
external_deps += [ "hilog:libhilog" ]
}
part_name = "cellular_data"
subsystem_name = "telephony"
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。