diff --git a/README.md b/README.md index fc2e5ec8..e9db649c 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ The figure below shows the architecture and dependencies of DeviceManager: ## Directory Structure ``` -foundation/distributedhardware/devicemanager +foundation/distributedhardware/device_manager ├── common # Header files of common capabilities │ └── include │ └── ipc diff --git a/README_zh.md b/README_zh.md index 86b85887..20e209e3 100644 --- a/README_zh.md +++ b/README_zh.md @@ -11,7 +11,7 @@ DeviceManager组件在OpenHarmony上提供账号无关的分布式设备的认 ## 目录 ``` -foundation/distributedhardware/devicemanager +foundation/distributedhardware/device_manager ├── common #公共能力头文件存放目录 │   └── include │   └── ipc diff --git a/bundle.json b/bundle.json index 2a456dfe..082cdd9c 100644 --- a/bundle.json +++ b/bundle.json @@ -6,7 +6,7 @@ "repository": "https://gitee.com/openharmony/device_manager", "publishAs": "code-segment", "segment": { - "destPath": "foundation/distributedhardware/devicemanager" + "destPath": "foundation/distributedhardware/device_manager" }, "dirs": {}, "scripts": {}, @@ -42,12 +42,12 @@ }, "build": { "sub_component": [ - "//foundation/distributedhardware/devicemanager:device_manager" + "//foundation/distributedhardware/device_manager:device_manager" ], "inner_kits": [ { "type": "so", - "name": "//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp:devicemanagersdk", + "name": "//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp:devicemanagersdk", "header": { "header_files": [ "device_manager.h", @@ -55,12 +55,12 @@ "dm_device_info.h", "dm_subscribe_info.h" ], - "header_base": "//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp/include" + "header_base": "//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/include" } } ], "test": [ - "//foundation/distributedhardware/devicemanager:device_manager_test" + "//foundation/distributedhardware/device_manager:device_manager_test" ] } } diff --git a/common/include/show_confirm_dialog/dialog_ui/js/BUILD.gn b/common/include/show_confirm_dialog/dialog_ui/js/BUILD.gn index 8c643188..2cf52362 100644 --- a/common/include/show_confirm_dialog/dialog_ui/js/BUILD.gn +++ b/common/include/show_confirm_dialog/dialog_ui/js/BUILD.gn @@ -12,10 +12,10 @@ # limitations under the License. import("//foundation/arkui/ace_engine/build/ace_gen_sa_dialog_js.gni") -import("//foundation/distributedhardware/devicemanager/devicemanager.gni") +import("//foundation/distributedhardware/device_manager/devicemanager.gni") gen_sa_dialog_js("dialog_js_files_etc") { - project_path = "//foundation/distributedhardware/devicemanager/common/include/show_confirm_dialog/dialog_ui/js" + project_path = "//foundation/distributedhardware/device_manager/common/include/show_confirm_dialog/dialog_ui/js" dialog_name = "config_dialog_service" part_name = "device_manager" subsystem_name = "distributedhardware" diff --git a/devicemanager.gni b/devicemanager.gni index 788feca3..450accdf 100644 --- a/devicemanager.gni +++ b/devicemanager.gni @@ -12,7 +12,7 @@ # limitations under the License. #------------------------device manager------------------------------# -devicemanager_path = "//foundation/distributedhardware/devicemanager" +devicemanager_path = "//foundation/distributedhardware/device_manager" common_path = "${devicemanager_path}/common" utils_path = "${devicemanager_path}/utils" diff --git a/ext/BUILD.gn b/ext/BUILD.gn index 303a7ac7..f2b8fb6d 100644 --- a/ext/BUILD.gn +++ b/ext/BUILD.gn @@ -12,7 +12,7 @@ # limitations under the License. import("//build/ohos.gni") -import("//foundation/distributedhardware/devicemanager/devicemanager.gni") +import("//foundation/distributedhardware/device_manager/devicemanager.gni") group("ext_modules") { deps = [] diff --git a/ext/no_interaction_auth/BUILD.gn b/ext/no_interaction_auth/BUILD.gn index a58c2892..cb56ca81 100644 --- a/ext/no_interaction_auth/BUILD.gn +++ b/ext/no_interaction_auth/BUILD.gn @@ -17,7 +17,7 @@ if (defined(ohos_lite)) { import("//build/ohos.gni") } -import("//foundation/distributedhardware/devicemanager/devicemanager.gni") +import("//foundation/distributedhardware/device_manager/devicemanager.gni") if (defined(ohos_lite)) { } else { @@ -70,7 +70,7 @@ if (defined(ohos_lite)) { "${innerkits_path}/native_cpp:devicemanagersdk", "${utils_path}:devicemanagerutils", "//base/security/deviceauth/services:deviceauth_sdk", - "//foundation/distributedhardware/devicemanager/services/devicemanagerservice:devicemanagerservice", + "//foundation/distributedhardware/device_manager/services/devicemanagerservice:devicemanagerservice", "//utils/native/base:utils", ] diff --git a/ext/pin_auth/BUILD.gn b/ext/pin_auth/BUILD.gn index 9bb8d113..1cc64a6f 100644 --- a/ext/pin_auth/BUILD.gn +++ b/ext/pin_auth/BUILD.gn @@ -16,7 +16,7 @@ if (defined(ohos_lite)) { } else { import("//build/ohos.gni") } -import("//foundation/distributedhardware/devicemanager/devicemanager.gni") +import("//foundation/distributedhardware/device_manager/devicemanager.gni") if (defined(ohos_lite)) { shared_library("devicemanagerext_pin_auth") { @@ -142,7 +142,7 @@ if (defined(ohos_lite)) { "${utils_path}:devicemanagerutils", "//base/security/deviceauth/services:deviceauth_sdk", "//foundation/arkui/ace_engine/interfaces/inner_api/ui_service_manager:ui_service_mgr", - "//foundation/distributedhardware/devicemanager/services/devicemanagerservice:devicemanagerservice", + "//foundation/distributedhardware/device_manager/services/devicemanagerservice:devicemanagerservice", "//utils/native/base:utils", ] diff --git a/ext/pin_auth/input_pin_dialog/dialog_ui/js/BUILD.gn b/ext/pin_auth/input_pin_dialog/dialog_ui/js/BUILD.gn index bb880d09..5889b7a6 100644 --- a/ext/pin_auth/input_pin_dialog/dialog_ui/js/BUILD.gn +++ b/ext/pin_auth/input_pin_dialog/dialog_ui/js/BUILD.gn @@ -12,10 +12,10 @@ # limitations under the License. import("//foundation/arkui/ace_engine/build/ace_gen_sa_dialog_js.gni") -import("//foundation/distributedhardware/devicemanager/devicemanager.gni") +import("//foundation/distributedhardware/device_manager/devicemanager.gni") gen_sa_dialog_js("dialog_js_files_etc") { - project_path = "//foundation/distributedhardware/devicemanager/ext/pin_auth/input_pin_dialog/dialog_ui/js" + project_path = "//foundation/distributedhardware/device_manager/ext/pin_auth/input_pin_dialog/dialog_ui/js" dialog_name = "input_pin_service" part_name = "device_manager" subsystem_name = "distributedhardware" diff --git a/ext/pin_auth/show_pin_dialog/dialog_ui/js/BUILD.gn b/ext/pin_auth/show_pin_dialog/dialog_ui/js/BUILD.gn index 1cb69770..808d1a30 100644 --- a/ext/pin_auth/show_pin_dialog/dialog_ui/js/BUILD.gn +++ b/ext/pin_auth/show_pin_dialog/dialog_ui/js/BUILD.gn @@ -12,11 +12,11 @@ # limitations under the License. import("//foundation/arkui/ace_engine/build/ace_gen_sa_dialog_js.gni") -import("//foundation/distributedhardware/devicemanager/devicemanager.gni") +import("//foundation/distributedhardware/device_manager/devicemanager.gni") gen_sa_dialog_js("dialog_js_files_etc") { if (!device_manager_no_interaction_auth) { - project_path = "//foundation/distributedhardware/devicemanager/ext/pin_auth/show_pin_dialog/dialog_ui/js" + project_path = "//foundation/distributedhardware/device_manager/ext/pin_auth/show_pin_dialog/dialog_ui/js" } dialog_name = "show_pin_service" part_name = "device_manager" diff --git a/ext/profile/BUILD.gn b/ext/profile/BUILD.gn index b863b17d..35a053d4 100644 --- a/ext/profile/BUILD.gn +++ b/ext/profile/BUILD.gn @@ -17,7 +17,7 @@ if (defined(ohos_lite)) { import("//build/ohos.gni") } -import("//foundation/distributedhardware/devicemanager/devicemanager.gni") +import("//foundation/distributedhardware/device_manager/devicemanager.gni") if (defined(ohos_lite)) { } else { diff --git a/interfaces/inner_kits/native_cpp/BUILD.gn b/interfaces/inner_kits/native_cpp/BUILD.gn index 502490d3..37a031c6 100644 --- a/interfaces/inner_kits/native_cpp/BUILD.gn +++ b/interfaces/inner_kits/native_cpp/BUILD.gn @@ -16,7 +16,7 @@ if (defined(ohos_lite)) { } else { import("//build/ohos.gni") } -import("//foundation/distributedhardware/devicemanager/devicemanager.gni") +import("//foundation/distributedhardware/device_manager/devicemanager.gni") if (defined(ohos_lite)) { if (ohos_kernel_type == "liteos_m") { diff --git a/interfaces/kits/js/BUILD.gn b/interfaces/kits/js/BUILD.gn index 46f8dfc9..10a0619e 100644 --- a/interfaces/kits/js/BUILD.gn +++ b/interfaces/kits/js/BUILD.gn @@ -12,7 +12,7 @@ # limitations under the License. import("//build/ohos.gni") -import("//foundation/distributedhardware/devicemanager/devicemanager.gni") +import("//foundation/distributedhardware/device_manager/devicemanager.gni") ohos_shared_library("devicemanager") { include_dirs = [ @@ -38,7 +38,7 @@ ohos_shared_library("devicemanager") { deps = [ "${utils_path}:devicemanagerutils", "//foundation/arkui/napi:ace_napi", - "//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp:devicemanagersdk", + "//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp:devicemanagersdk", "//utils/native/base:utils", ] diff --git a/interfaces/kits/js_mini/BUILD.gn b/interfaces/kits/js_mini/BUILD.gn index 9f23c769..b16419ef 100644 --- a/interfaces/kits/js_mini/BUILD.gn +++ b/interfaces/kits/js_mini/BUILD.gn @@ -17,7 +17,7 @@ if (defined(ohos_lite)) { import("//build/ohos.gni") } -import("//foundation/distributedhardware/devicemanager/devicemanager.gni") +import("//foundation/distributedhardware/device_manager/devicemanager.gni") innerkits_path_mini = "${devicemanager_path}/interfaces/inner_kits" kits_path = "${devicemanager_path}/interfaces/kits" diff --git a/services/devicemanagerservice/BUILD.gn b/services/devicemanagerservice/BUILD.gn index c563e24c..0d3217cd 100755 --- a/services/devicemanagerservice/BUILD.gn +++ b/services/devicemanagerservice/BUILD.gn @@ -17,7 +17,7 @@ if (defined(ohos_lite)) { import("//build/ohos.gni") } -import("//foundation/distributedhardware/devicemanager/devicemanager.gni") +import("//foundation/distributedhardware/device_manager/devicemanager.gni") if (defined(ohos_lite)) { if (ohos_kernel_type == "liteos_m") { @@ -68,7 +68,7 @@ if (defined(ohos_lite)) { "//foundation/communication/dsoftbus/interfaces/kits/discovery", "//foundation/communication/dsoftbus/interfaces/kits/transport", "//foundation/communication/dsoftbus/interfaces/inner_kits/transport", - "//foundation/distributedhardware/devicemanager/services/devicemanagerservice/include/dependency/multipleuser", + "//foundation/distributedhardware/device_manager/services/devicemanagerservice/include/dependency/multipleuser", "//foundation/distributedschedule/samgr_lite/interfaces/kits/samgr", "//foundation/distributedschedule/samgr/interfaces/innerkits/samgr_proxy/include", ] diff --git a/test/benchmarktest/BUILD.gn b/test/benchmarktest/BUILD.gn index 4897663f..ac645075 100644 --- a/test/benchmarktest/BUILD.gn +++ b/test/benchmarktest/BUILD.gn @@ -11,7 +11,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -import("//foundation/distributedhardware/devicemanager/devicemanager.gni") +import("//foundation/distributedhardware/device_manager/devicemanager.gni") group("benchmarktest") { testonly = true diff --git a/test/benchmarktest/device_manager_fa_test/BUILD.gn b/test/benchmarktest/device_manager_fa_test/BUILD.gn index 0bd25e47..3e5fffef 100644 --- a/test/benchmarktest/device_manager_fa_test/BUILD.gn +++ b/test/benchmarktest/device_manager_fa_test/BUILD.gn @@ -12,7 +12,7 @@ # limitations under the License. import("//build/test.gni") -import("//foundation/distributedhardware/devicemanager/devicemanager.gni") +import("//foundation/distributedhardware/device_manager/devicemanager.gni") module_output_path = "device_manager/devicemanager" @@ -34,7 +34,7 @@ ohos_benchmarktest("DeviceManagerFaTest") { "${utils_path}:devicemanagerutils", "${utils_path}:devicemanagerutils", "//foundation/arkui/napi:ace_napi", - "//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp:devicemanagersdk", + "//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp:devicemanagersdk", "//third_party/benchmark:benchmark", "//third_party/bounds_checking_function:libsec_shared", "//third_party/googletest:gtest_main", diff --git a/test/benchmarktest/device_manager_test/BUILD.gn b/test/benchmarktest/device_manager_test/BUILD.gn index 12370b20..3567a319 100644 --- a/test/benchmarktest/device_manager_test/BUILD.gn +++ b/test/benchmarktest/device_manager_test/BUILD.gn @@ -12,7 +12,7 @@ # limitations under the License. import("//build/test.gni") -import("//foundation/distributedhardware/devicemanager/devicemanager.gni") +import("//foundation/distributedhardware/device_manager/devicemanager.gni") module_output_path = "device_manager/devicemanager" @@ -31,7 +31,7 @@ ohos_benchmarktest("DeviceManagerTest") { "${utils_path}:devicemanagerutils", "${utils_path}:devicemanagerutils", "//foundation/arkui/napi:ace_napi", - "//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp:devicemanagersdk", + "//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp:devicemanagersdk", "//third_party/benchmark:benchmark", "//third_party/bounds_checking_function:libsec_shared", "//third_party/googletest:gtest_main", diff --git a/test/fuzztest/devicemanagerimpl_fuzzer/BUILD.gn b/test/fuzztest/devicemanagerimpl_fuzzer/BUILD.gn index 4239dc05..693b9166 100644 --- a/test/fuzztest/devicemanagerimpl_fuzzer/BUILD.gn +++ b/test/fuzztest/devicemanagerimpl_fuzzer/BUILD.gn @@ -14,12 +14,12 @@ #####################hydra-fuzz################### import("//build/config/features.gni") import("//build/test.gni") -import("//foundation/distributedhardware/devicemanager/devicemanager.gni") +import("//foundation/distributedhardware/device_manager/devicemanager.gni") ##############################fuzztest########################################## ohos_fuzztest("DeviceManagerImplFuzzTest") { module_out_path = "device_manager/devicemanager" - fuzz_config_file = "//foundation/distributedhardware/devicemanager/test/fuzztest/devicemanagerimpl_fuzzer" + fuzz_config_file = "//foundation/distributedhardware/device_manager/test/fuzztest/devicemanagerimpl_fuzzer" include_dirs = [ "${utils_path}/include", @@ -55,12 +55,12 @@ ohos_fuzztest("DeviceManagerImplFuzzTest") { "//foundation/communication/dsoftbus/interfaces/kits/common", "//foundation/communication/dsoftbus/interfaces/kits/discovery", "//foundation/communication/dsoftbus/interfaces/inner_kits/transport", - "//foundation/distributedhardware/devicemanager/test/unittest/mock", + "//foundation/distributedhardware/device_manager/test/unittest/mock", "//foundation/distributedschedule/safwk/interfaces/innerkits/safwk", - "//foundation/distributedhardware/devicemanager/ext/mini/services/devicemanagerservice/include/dispatch", - "//foundation/distributedhardware/devicemanager/ext/profile/include", + "//foundation/distributedhardware/device_manager/ext/mini/services/devicemanagerservice/include/dispatch", + "//foundation/distributedhardware/device_manager/ext/profile/include", "//foundation/deviceprofile/device_profile_core/interfaces/innerkits/core/include", - "//foundation/distributedhardware/devicemanager/ext/mini/common/include", + "//foundation/distributedhardware/device_manager/ext/mini/common/include", "//base/security/deviceauth/interfaces/innerkits", "${services_path}/include/ability", "${services_path}/include/config", @@ -76,7 +76,7 @@ ohos_fuzztest("DeviceManagerImplFuzzTest") { "//third_party/jsframework/runtime/main/extend/systemplugin", "//third_party/node/benchmark", "//third_party/libuv/include", - "//foundation/distributedhardware/devicemanager/interfaces/kits/js/include", + "//foundation/distributedhardware/device_manager/interfaces/kits/js/include", "//third_party/node/src", "//foundation/arkui/napi/native_engine", "//foundation/arkui/napi/interfaces/kits", @@ -93,7 +93,7 @@ ohos_fuzztest("DeviceManagerImplFuzzTest") { deps = [ "${utils_path}:devicemanagerutils", "//foundation/arkui/napi:ace_napi", - "//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp:devicemanagersdk", + "//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp:devicemanagersdk", "//utils/native/base:utils", ] diff --git a/test/fuzztest/devicemanagernotify_fuzzer/BUILD.gn b/test/fuzztest/devicemanagernotify_fuzzer/BUILD.gn index 1a956066..46b40045 100644 --- a/test/fuzztest/devicemanagernotify_fuzzer/BUILD.gn +++ b/test/fuzztest/devicemanagernotify_fuzzer/BUILD.gn @@ -14,12 +14,12 @@ #####################hydra-fuzz################### import("//build/config/features.gni") import("//build/test.gni") -import("//foundation/distributedhardware/devicemanager/devicemanager.gni") +import("//foundation/distributedhardware/device_manager/devicemanager.gni") ##############################fuzztest########################################## ohos_fuzztest("DeviceManagerNotifyFuzzTest") { module_out_path = "device_manager/devicemanager" - fuzz_config_file = "//foundation/distributedhardware/devicemanager/test/fuzztest/devicemanagernotify_fuzzer" + fuzz_config_file = "//foundation/distributedhardware/device_manager/test/fuzztest/devicemanagernotify_fuzzer" include_dirs = [ "//utils/native/base/include", @@ -53,12 +53,12 @@ ohos_fuzztest("DeviceManagerNotifyFuzzTest") { "//foundation/communication/dsoftbus/interfaces/kits/common", "//foundation/communication/dsoftbus/interfaces/kits/discovery", "//foundation/communication/dsoftbus/interfaces/inner_kits/transport", - "//foundation/distributedhardware/devicemanager/test/unittest/mock", + "//foundation/distributedhardware/device_manager/test/unittest/mock", "//foundation/distributedschedule/safwk/interfaces/innerkits/safwk", - "//foundation/distributedhardware/devicemanager/ext/mini/services/devicemanagerservice/include/dispatch", - "//foundation/distributedhardware/devicemanager/ext/profile/include", + "//foundation/distributedhardware/device_manager/ext/mini/services/devicemanagerservice/include/dispatch", + "//foundation/distributedhardware/device_manager/ext/profile/include", "//foundation/deviceprofile/device_profile_core/interfaces/innerkits/core/include", - "//foundation/distributedhardware/devicemanager/ext/mini/common/include", + "//foundation/distributedhardware/device_manager/ext/mini/common/include", "//base/security/deviceauth/interfaces/innerkits", "${services_path}/include/ability", "${services_path}/include/config", @@ -72,8 +72,8 @@ ohos_fuzztest("DeviceManagerNotifyFuzzTest") { sources = [ "device_manager_notify_fuzzer.cpp" ] deps = [ - "//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp:devicemanagersdk", - "//foundation/distributedhardware/devicemanager/services/devicemanagerservice:devicemanagerservice", + "//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp:devicemanagersdk", + "//foundation/distributedhardware/device_manager/services/devicemanagerservice:devicemanagerservice", ] defines = [ diff --git a/test/fuzztest/devicemanagerservice_fuzzer/BUILD.gn b/test/fuzztest/devicemanagerservice_fuzzer/BUILD.gn index 80bb4cfb..c261e999 100644 --- a/test/fuzztest/devicemanagerservice_fuzzer/BUILD.gn +++ b/test/fuzztest/devicemanagerservice_fuzzer/BUILD.gn @@ -14,12 +14,12 @@ #####################hydra-fuzz################### import("//build/config/features.gni") import("//build/test.gni") -import("//foundation/distributedhardware/devicemanager/devicemanager.gni") +import("//foundation/distributedhardware/device_manager/devicemanager.gni") ##############################fuzztest########################################## ohos_fuzztest("DeviceManagerServiceFuzzTest") { module_out_path = "device_manager/devicemanager" - fuzz_config_file = "//foundation/distributedhardware/devicemanager/test/fuzztest/devicemanagerservice_fuzzer" + fuzz_config_file = "//foundation/distributedhardware/device_manager/test/fuzztest/devicemanagerservice_fuzzer" include_dirs = [ "//utils/native/base/include", @@ -53,12 +53,12 @@ ohos_fuzztest("DeviceManagerServiceFuzzTest") { "//foundation/communication/dsoftbus/interfaces/kits/common", "//foundation/communication/dsoftbus/interfaces/kits/discovery", "//foundation/communication/dsoftbus/interfaces/inner_kits/transport", - "//foundation/distributedhardware/devicemanager/test/unittest/mock", + "//foundation/distributedhardware/device_manager/test/unittest/mock", "//foundation/distributedschedule/safwk/interfaces/innerkits/safwk", - "//foundation/distributedhardware/devicemanager/ext/mini/services/devicemanagerservice/include/dispatch", - "//foundation/distributedhardware/devicemanager/ext/profile/include", + "//foundation/distributedhardware/device_manager/ext/mini/services/devicemanagerservice/include/dispatch", + "//foundation/distributedhardware/device_manager/ext/profile/include", "//foundation/deviceprofile/device_profile_core/interfaces/innerkits/core/include", - "//foundation/distributedhardware/devicemanager/ext/mini/common/include", + "//foundation/distributedhardware/device_manager/ext/mini/common/include", "//base/security/deviceauth/interfaces/innerkits", "${services_path}/include/ability", "${services_path}/include/config", @@ -72,8 +72,8 @@ ohos_fuzztest("DeviceManagerServiceFuzzTest") { sources = [ "device_manager_service_fuzzer.cpp" ] deps = [ - "//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp:devicemanagersdk", - "//foundation/distributedhardware/devicemanager/services/devicemanagerservice:devicemanagerservice", + "//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp:devicemanagersdk", + "//foundation/distributedhardware/device_manager/services/devicemanagerservice:devicemanagerservice", ] defines = [ diff --git a/test/fuzztest/ipcclientmanager_fuzzer/BUILD.gn b/test/fuzztest/ipcclientmanager_fuzzer/BUILD.gn index 9666f31a..bacdc2b3 100644 --- a/test/fuzztest/ipcclientmanager_fuzzer/BUILD.gn +++ b/test/fuzztest/ipcclientmanager_fuzzer/BUILD.gn @@ -14,16 +14,16 @@ #####################hydra-fuzz################### import("//build/config/features.gni") import("//build/test.gni") -import("//foundation/distributedhardware/devicemanager/devicemanager.gni") +import("//foundation/distributedhardware/device_manager/devicemanager.gni") ##############################fuzztest########################################## ohos_fuzztest("IpcClientManagerFuzzTest") { module_out_path = "device_manager/devicemanager" - fuzz_config_file = "//foundation/distributedhardware/devicemanager/test/fuzztest/ipcclientmanager_fuzzer" + fuzz_config_file = "//foundation/distributedhardware/device_manager/test/fuzztest/ipcclientmanager_fuzzer" include_dirs = [ - "//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp/include", - "//foundation/distributedhardware/devicemanager/interfaces/kits/js/include", + "//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/include", + "//foundation/distributedhardware/device_manager/interfaces/kits/js/include", "//third_party/node/src", "//foundation/arkui/napi/native_engine", "//foundation/arkui/napi/interfaces/kits", @@ -54,12 +54,12 @@ ohos_fuzztest("IpcClientManagerFuzzTest") { "//foundation/communication/dsoftbus/interfaces/kits/common", "//foundation/communication/dsoftbus/interfaces/kits/discovery", "//foundation/communication/dsoftbus/interfaces/inner_kits/transport", - "//foundation/distributedhardware/devicemanager/test/unittest/mock", + "//foundation/distributedhardware/device_manager/test/unittest/mock", "//foundation/distributedschedule/safwk/interfaces/innerkits/safwk", - "//foundation/distributedhardware/devicemanager/ext/mini/services/devicemanagerservice/include/dispatch", - "//foundation/distributedhardware/devicemanager/ext/profile/include", + "//foundation/distributedhardware/device_manager/ext/mini/services/devicemanagerservice/include/dispatch", + "//foundation/distributedhardware/device_manager/ext/profile/include", "//foundation/deviceprofile/device_profile_core/interfaces/innerkits/core/include", - "//foundation/distributedhardware/devicemanager/ext/mini/common/include", + "//foundation/distributedhardware/device_manager/ext/mini/common/include", "//base/security/deviceauth/interfaces/innerkits", "${services_path}/include/ability", "${services_path}/include/config", @@ -93,8 +93,8 @@ ohos_fuzztest("IpcClientManagerFuzzTest") { "${utils_path}:devicemanagerutils", "//base/account/os_account/frameworks/osaccount/native:os_account_innerkits", "//base/security/deviceauth/services:deviceauth_sdk", - "//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp:devicemanagersdk", - "//foundation/distributedhardware/devicemanager/services/devicemanagerservice:devicemanagerservice", + "//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp:devicemanagersdk", + "//foundation/distributedhardware/device_manager/services/devicemanagerservice:devicemanagerservice", ] defines = [ @@ -124,7 +124,7 @@ ohos_fuzztest("IpcClientManagerFuzzTest") { "${innerkits_path}/native_cpp:devicemanagersdk", "${utils_path}:devicemanagerutils", "//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core", - "//foundation/distributedhardware/devicemanager/interfaces/kits/js:devicemanager", + "//foundation/distributedhardware/device_manager/interfaces/kits/js:devicemanager", "//foundation/distributedschedule/samgr/interfaces/innerkits/samgr_proxy:samgr_proxy", "//third_party/googletest:gmock", "//third_party/googletest:gtest", diff --git a/test/fuzztest/ipccmdregister_fuzzer/BUILD.gn b/test/fuzztest/ipccmdregister_fuzzer/BUILD.gn index ea9bf29a..39a3bb1d 100644 --- a/test/fuzztest/ipccmdregister_fuzzer/BUILD.gn +++ b/test/fuzztest/ipccmdregister_fuzzer/BUILD.gn @@ -14,16 +14,16 @@ #####################hydra-fuzz################### import("//build/config/features.gni") import("//build/test.gni") -import("//foundation/distributedhardware/devicemanager/devicemanager.gni") +import("//foundation/distributedhardware/device_manager/devicemanager.gni") ##############################fuzztest########################################## ohos_fuzztest("IpcCmdRegisterFuzzTest") { module_out_path = "device_manager/devicemanager" - fuzz_config_file = "//foundation/distributedhardware/devicemanager/test/fuzztest/ipccmdregister_fuzzer" + fuzz_config_file = "//foundation/distributedhardware/device_manager/test/fuzztest/ipccmdregister_fuzzer" include_dirs = [ - "//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp/include", - "//foundation/distributedhardware/devicemanager/interfaces/kits/js/include", + "//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/include", + "//foundation/distributedhardware/device_manager/interfaces/kits/js/include", "//third_party/node/src", "//foundation/arkui/napi/native_engine", "//foundation/arkui/napi/interfaces/kits", @@ -54,12 +54,12 @@ ohos_fuzztest("IpcCmdRegisterFuzzTest") { "//foundation/communication/dsoftbus/interfaces/kits/common", "//foundation/communication/dsoftbus/interfaces/kits/discovery", "//foundation/communication/dsoftbus/interfaces/inner_kits/transport", - "//foundation/distributedhardware/devicemanager/test/unittest/mock", + "//foundation/distributedhardware/device_manager/test/unittest/mock", "//foundation/distributedschedule/safwk/interfaces/innerkits/safwk", - "//foundation/distributedhardware/devicemanager/ext/mini/services/devicemanagerservice/include/dispatch", - "//foundation/distributedhardware/devicemanager/ext/profile/include", + "//foundation/distributedhardware/device_manager/ext/mini/services/devicemanagerservice/include/dispatch", + "//foundation/distributedhardware/device_manager/ext/profile/include", "//foundation/deviceprofile/device_profile_core/interfaces/innerkits/core/include", - "//foundation/distributedhardware/devicemanager/ext/mini/common/include", + "//foundation/distributedhardware/device_manager/ext/mini/common/include", "//base/security/deviceauth/interfaces/innerkits", "${services_path}/include/ability", "${services_path}/include/config", @@ -77,7 +77,7 @@ ohos_fuzztest("IpcCmdRegisterFuzzTest") { "//third_party/jsframework/runtime/main/extend/systemplugin", "//third_party/node/benchmark", "//third_party/libuv/include", - "//foundation/distributedhardware/devicemanager/services/devicemanagerservice/include/ipc/lite", + "//foundation/distributedhardware/device_manager/services/devicemanagerservice/include/ipc/lite", ] cflags = [ "-g", @@ -94,8 +94,8 @@ ohos_fuzztest("IpcCmdRegisterFuzzTest") { "${utils_path}:devicemanagerutils", "//base/account/os_account/frameworks/osaccount/native:os_account_innerkits", "//base/security/deviceauth/services:deviceauth_sdk", - "//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp:devicemanagersdk", - "//foundation/distributedhardware/devicemanager/services/devicemanagerservice:devicemanagerservice", + "//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp:devicemanagersdk", + "//foundation/distributedhardware/device_manager/services/devicemanagerservice:devicemanagerservice", ] defines = [ @@ -125,7 +125,7 @@ ohos_fuzztest("IpcCmdRegisterFuzzTest") { "${innerkits_path}/native_cpp:devicemanagersdk", "${utils_path}:devicemanagerutils", "//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core", - "//foundation/distributedhardware/devicemanager/interfaces/kits/js:devicemanager", + "//foundation/distributedhardware/device_manager/interfaces/kits/js:devicemanager", "//foundation/distributedschedule/samgr/interfaces/innerkits/samgr_proxy:samgr_proxy", "//third_party/googletest:gmock", "//third_party/googletest:gtest", diff --git a/test/fuzztest/ipcserverclientproxy_fuzzer/BUILD.gn b/test/fuzztest/ipcserverclientproxy_fuzzer/BUILD.gn index 2a8a8528..ea13cb86 100644 --- a/test/fuzztest/ipcserverclientproxy_fuzzer/BUILD.gn +++ b/test/fuzztest/ipcserverclientproxy_fuzzer/BUILD.gn @@ -14,16 +14,16 @@ #####################hydra-fuzz################### import("//build/config/features.gni") import("//build/test.gni") -import("//foundation/distributedhardware/devicemanager/devicemanager.gni") +import("//foundation/distributedhardware/device_manager/devicemanager.gni") ##############################fuzztest########################################## ohos_fuzztest("IpcServerClientProxyFuzzTest") { module_out_path = "device_manager/devicemanager" - fuzz_config_file = "//foundation/distributedhardware/devicemanager/test/fuzztest/ipcserverclientproxy_fuzzer" + fuzz_config_file = "//foundation/distributedhardware/device_manager/test/fuzztest/ipcserverclientproxy_fuzzer" include_dirs = [ - "//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp/include", - "//foundation/distributedhardware/devicemanager/interfaces/kits/js/include", + "//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/include", + "//foundation/distributedhardware/device_manager/interfaces/kits/js/include", "//third_party/node/src", "//foundation/arkui/napi/native_engine", "//foundation/arkui/napi/interfaces/kits", @@ -54,12 +54,12 @@ ohos_fuzztest("IpcServerClientProxyFuzzTest") { "//foundation/communication/dsoftbus/interfaces/kits/common", "//foundation/communication/dsoftbus/interfaces/kits/discovery", "//foundation/communication/dsoftbus/interfaces/inner_kits/transport", - "//foundation/distributedhardware/devicemanager/test/unittest/mock", + "//foundation/distributedhardware/device_manager/test/unittest/mock", "//foundation/distributedschedule/safwk/interfaces/innerkits/safwk", - "//foundation/distributedhardware/devicemanager/ext/mini/services/devicemanagerservice/include/dispatch", - "//foundation/distributedhardware/devicemanager/ext/profile/include", + "//foundation/distributedhardware/device_manager/ext/mini/services/devicemanagerservice/include/dispatch", + "//foundation/distributedhardware/device_manager/ext/profile/include", "//foundation/deviceprofile/device_profile_core/interfaces/innerkits/core/include", - "//foundation/distributedhardware/devicemanager/ext/mini/common/include", + "//foundation/distributedhardware/device_manager/ext/mini/common/include", "//base/security/deviceauth/interfaces/innerkits", "${services_path}/include/ability", "${services_path}/include/config", @@ -93,8 +93,8 @@ ohos_fuzztest("IpcServerClientProxyFuzzTest") { "${utils_path}:devicemanagerutils", "//base/account/os_account/frameworks/osaccount/native:os_account_innerkits", "//base/security/deviceauth/services:deviceauth_sdk", - "//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp:devicemanagersdk", - "//foundation/distributedhardware/devicemanager/services/devicemanagerservice:devicemanagerservice", + "//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp:devicemanagersdk", + "//foundation/distributedhardware/device_manager/services/devicemanagerservice:devicemanagerservice", ] defines = [ @@ -124,7 +124,7 @@ ohos_fuzztest("IpcServerClientProxyFuzzTest") { "${innerkits_path}/native_cpp:devicemanagersdk", "${utils_path}:devicemanagerutils", "//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core", - "//foundation/distributedhardware/devicemanager/interfaces/kits/js:devicemanager", + "//foundation/distributedhardware/device_manager/interfaces/kits/js:devicemanager", "//foundation/distributedschedule/samgr/interfaces/innerkits/samgr_proxy:samgr_proxy", "//third_party/googletest:gmock", "//third_party/googletest:gtest", diff --git a/test/fuzztest/ipcserverlistener_fuzzer/BUILD.gn b/test/fuzztest/ipcserverlistener_fuzzer/BUILD.gn index 73192543..17eb0259 100644 --- a/test/fuzztest/ipcserverlistener_fuzzer/BUILD.gn +++ b/test/fuzztest/ipcserverlistener_fuzzer/BUILD.gn @@ -14,16 +14,16 @@ #####################hydra-fuzz################### import("//build/config/features.gni") import("//build/test.gni") -import("//foundation/distributedhardware/devicemanager/devicemanager.gni") +import("//foundation/distributedhardware/device_manager/devicemanager.gni") ##############################fuzztest########################################## ohos_fuzztest("IpcServerListenerFuzzTest") { module_out_path = "device_manager/devicemanager" - fuzz_config_file = "//foundation/distributedhardware/devicemanager/test/fuzztest/ipcserverlistener_fuzzer" + fuzz_config_file = "//foundation/distributedhardware/device_manager/test/fuzztest/ipcserverlistener_fuzzer" include_dirs = [ - "//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp/include", - "//foundation/distributedhardware/devicemanager/interfaces/kits/js/include", + "//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/include", + "//foundation/distributedhardware/device_manager/interfaces/kits/js/include", "//third_party/node/src", "//foundation/arkui/napi/native_engine", "//foundation/arkui/napi/interfaces/kits", @@ -54,12 +54,12 @@ ohos_fuzztest("IpcServerListenerFuzzTest") { "//foundation/communication/dsoftbus/interfaces/kits/common", "//foundation/communication/dsoftbus/interfaces/kits/discovery", "//foundation/communication/dsoftbus/interfaces/inner_kits/transport", - "//foundation/distributedhardware/devicemanager/test/unittest/mock", + "//foundation/distributedhardware/device_manager/test/unittest/mock", "//foundation/distributedschedule/safwk/interfaces/innerkits/safwk", - "//foundation/distributedhardware/devicemanager/ext/mini/services/devicemanagerservice/include/dispatch", - "//foundation/distributedhardware/devicemanager/ext/profile/include", + "//foundation/distributedhardware/device_manager/ext/mini/services/devicemanagerservice/include/dispatch", + "//foundation/distributedhardware/device_manager/ext/profile/include", "//foundation/deviceprofile/device_profile_core/interfaces/innerkits/core/include", - "//foundation/distributedhardware/devicemanager/ext/mini/common/include", + "//foundation/distributedhardware/device_manager/ext/mini/common/include", "//base/security/deviceauth/interfaces/innerkits", "${services_path}/include/ability", "${services_path}/include/config", @@ -93,8 +93,8 @@ ohos_fuzztest("IpcServerListenerFuzzTest") { "${utils_path}:devicemanagerutils", "//base/account/os_account/frameworks/osaccount/native:os_account_innerkits", "//base/security/deviceauth/services:deviceauth_sdk", - "//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp:devicemanagersdk", - "//foundation/distributedhardware/devicemanager/services/devicemanagerservice:devicemanagerservice", + "//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp:devicemanagersdk", + "//foundation/distributedhardware/device_manager/services/devicemanagerservice:devicemanagerservice", ] defines = [ @@ -124,7 +124,7 @@ ohos_fuzztest("IpcServerListenerFuzzTest") { "${innerkits_path}/native_cpp:devicemanagersdk", "${utils_path}:devicemanagerutils", "//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core", - "//foundation/distributedhardware/devicemanager/interfaces/kits/js:devicemanager", + "//foundation/distributedhardware/device_manager/interfaces/kits/js:devicemanager", "//foundation/distributedschedule/samgr/interfaces/innerkits/samgr_proxy:samgr_proxy", "//third_party/googletest:gmock", "//third_party/googletest:gtest", diff --git a/test/fuzztest/ipcserverstub_fuzzer/BUILD.gn b/test/fuzztest/ipcserverstub_fuzzer/BUILD.gn index b6712558..1ea8c37d 100644 --- a/test/fuzztest/ipcserverstub_fuzzer/BUILD.gn +++ b/test/fuzztest/ipcserverstub_fuzzer/BUILD.gn @@ -14,16 +14,16 @@ #####################hydra-fuzz################### import("//build/config/features.gni") import("//build/test.gni") -import("//foundation/distributedhardware/devicemanager/devicemanager.gni") +import("//foundation/distributedhardware/device_manager/devicemanager.gni") ##############################fuzztest########################################## ohos_fuzztest("IpcServerStubFuzzTest") { module_out_path = "device_manager/devicemanager" - fuzz_config_file = "//foundation/distributedhardware/devicemanager/test/fuzztest/ipcserverstub_fuzzer" + fuzz_config_file = "//foundation/distributedhardware/device_manager/test/fuzztest/ipcserverstub_fuzzer" include_dirs = [ - "//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp/include", - "//foundation/distributedhardware/devicemanager/interfaces/kits/js/include", + "//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/include", + "//foundation/distributedhardware/device_manager/interfaces/kits/js/include", "//third_party/node/src", "//foundation/arkui/napi/native_engine", "//foundation/arkui/napi/interfaces/kits", @@ -54,12 +54,12 @@ ohos_fuzztest("IpcServerStubFuzzTest") { "//foundation/communication/dsoftbus/interfaces/kits/common", "//foundation/communication/dsoftbus/interfaces/kits/discovery", "//foundation/communication/dsoftbus/interfaces/inner_kits/transport", - "//foundation/distributedhardware/devicemanager/test/unittest/mock", + "//foundation/distributedhardware/device_manager/test/unittest/mock", "//foundation/distributedschedule/safwk/interfaces/innerkits/safwk", - "//foundation/distributedhardware/devicemanager/ext/mini/services/devicemanagerservice/include/dispatch", - "//foundation/distributedhardware/devicemanager/ext/profile/include", + "//foundation/distributedhardware/device_manager/ext/mini/services/devicemanagerservice/include/dispatch", + "//foundation/distributedhardware/device_manager/ext/profile/include", "//foundation/deviceprofile/device_profile_core/interfaces/innerkits/core/include", - "//foundation/distributedhardware/devicemanager/ext/mini/common/include", + "//foundation/distributedhardware/device_manager/ext/mini/common/include", "//base/security/deviceauth/interfaces/innerkits", "${services_path}/include/ability", "${services_path}/include/config", @@ -93,8 +93,8 @@ ohos_fuzztest("IpcServerStubFuzzTest") { "${utils_path}:devicemanagerutils", "//base/account/os_account/frameworks/osaccount/native:os_account_innerkits", "//base/security/deviceauth/services:deviceauth_sdk", - "//foundation/distributedhardware/devicemanager/interfaces/inner_kits/native_cpp:devicemanagersdk", - "//foundation/distributedhardware/devicemanager/services/devicemanagerservice:devicemanagerservice", + "//foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp:devicemanagersdk", + "//foundation/distributedhardware/device_manager/services/devicemanagerservice:devicemanagerservice", ] defines = [ @@ -124,7 +124,7 @@ ohos_fuzztest("IpcServerStubFuzzTest") { "${innerkits_path}/native_cpp:devicemanagersdk", "${utils_path}:devicemanagerutils", "//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core", - "//foundation/distributedhardware/devicemanager/interfaces/kits/js:devicemanager", + "//foundation/distributedhardware/device_manager/interfaces/kits/js:devicemanager", "//foundation/distributedschedule/samgr/interfaces/innerkits/samgr_proxy:samgr_proxy", "//third_party/googletest:gmock", "//third_party/googletest:gtest", diff --git a/test/unittest/BUILD.gn b/test/unittest/BUILD.gn index a92ee0ae..dd2ca11d 100644 --- a/test/unittest/BUILD.gn +++ b/test/unittest/BUILD.gn @@ -12,7 +12,7 @@ # limitations under the License. import("//build/test.gni") -import("//foundation/distributedhardware/devicemanager/devicemanager.gni") +import("//foundation/distributedhardware/device_manager/devicemanager.gni") module_out_path = "device_manager/component_loader_test" group("unittest") { @@ -152,8 +152,8 @@ ohos_unittest("UTTest_softbus_connector") { "${services_path}/src/device_manager_service_listener.cpp", "${services_path}/src/devicestate/dm_device_state_manager.cpp", "${services_path}/src/discovery/dm_discovery_manager.cpp", - "//foundation/distributedhardware/devicemanager/test/unittest/mock/ipc_server_listener.cpp", - "//foundation/distributedhardware/devicemanager/test/unittest/mock/parameter.cpp", + "//foundation/distributedhardware/device_manager/test/unittest/mock/ipc_server_listener.cpp", + "//foundation/distributedhardware/device_manager/test/unittest/mock/parameter.cpp", "UTTest_softbus_connector.cpp", ] @@ -353,8 +353,8 @@ ohos_unittest("UTTest_dm_device_state_manager") { "${services_path}/src/device_manager_service_listener.cpp", "${services_path}/src/devicestate/dm_device_state_manager.cpp", "${services_path}/src/discovery/dm_discovery_manager.cpp", - "//foundation/distributedhardware/devicemanager/test/unittest/mock/ipc_server_listener.cpp", - "//foundation/distributedhardware/devicemanager/test/unittest/mock/parameter.cpp", + "//foundation/distributedhardware/device_manager/test/unittest/mock/ipc_server_listener.cpp", + "//foundation/distributedhardware/device_manager/test/unittest/mock/parameter.cpp", "UTTest_dm_device_state_manager.cpp", ] @@ -369,7 +369,7 @@ ohos_unittest("UTTest_device_manager_service_listener") { sources = [ "${services_path}/src/device_manager_service_listener.cpp", - "//foundation/distributedhardware/devicemanager/test/unittest/mock/ipc_server_listener.cpp", + "//foundation/distributedhardware/device_manager/test/unittest/mock/ipc_server_listener.cpp", "UTTest_device_manager_service_listener.cpp", ] @@ -442,8 +442,8 @@ ohos_unittest("UTTest_dm_discovery_manager") { "${services_path}/src/dependency/timer/dm_timer.cpp", "${services_path}/src/device_manager_service_listener.cpp", "${services_path}/src/discovery/dm_discovery_manager.cpp", - "//foundation/distributedhardware/devicemanager/test/unittest/mock/ipc_server_listener.cpp", - "//foundation/distributedhardware/devicemanager/test/unittest/mock/parameter.cpp", + "//foundation/distributedhardware/device_manager/test/unittest/mock/ipc_server_listener.cpp", + "//foundation/distributedhardware/device_manager/test/unittest/mock/parameter.cpp", "UTTest_dm_discovery_manager.cpp", ] @@ -486,12 +486,12 @@ config("device_manager_test_common_public_config") { "//foundation/communication/dsoftbus/interfaces/kits/common", "//foundation/communication/dsoftbus/interfaces/kits/discovery", "//foundation/communication/dsoftbus/interfaces/inner_kits/transport", - "//foundation/distributedhardware/devicemanager/test/unittest/mock", + "//foundation/distributedhardware/device_manager/test/unittest/mock", "//foundation/distributedschedule/safwk/interfaces/innerkits/safwk", - "//foundation/distributedhardware/devicemanager/ext/mini/services/devicemanagerservice/include/dispatch", - "//foundation/distributedhardware/devicemanager/ext/profile/include", + "//foundation/distributedhardware/device_manager/ext/mini/services/devicemanagerservice/include/dispatch", + "//foundation/distributedhardware/device_manager/ext/profile/include", "//foundation/deviceprofile/device_profile_core/interfaces/innerkits/core/include", - "//foundation/distributedhardware/devicemanager/ext/mini/common/include", + "//foundation/distributedhardware/device_manager/ext/mini/common/include", "//base/security/deviceauth/interfaces/innerkits", "${services_path}/include/ability", "${services_path}/include/config", @@ -524,8 +524,8 @@ ohos_static_library("device_manager_test_common") { "${services_path}:devicemanagerservice", "${utils_path}:devicemanagerutils", "//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core", - "//foundation/distributedhardware/devicemanager/ext/profile:devicemanagerext_profile", - "//foundation/distributedhardware/devicemanager/interfaces/kits/js:devicemanager", + "//foundation/distributedhardware/device_manager/ext/profile:devicemanagerext_profile", + "//foundation/distributedhardware/device_manager/interfaces/kits/js:devicemanager", "//foundation/distributedschedule/samgr/interfaces/innerkits/samgr_proxy:samgr_proxy", "//third_party/googletest:gmock", "//third_party/googletest:gtest", @@ -562,7 +562,7 @@ config("device_manager_test_common_public") { "${services_path}/include/discovery", "${services_path}/include/deviceinfo/", "${services_path}/include/devicestate", - "//foundation/distributedhardware/devicemanager/test/unittest/mock/", + "//foundation/distributedhardware/device_manager/test/unittest/mock/", "${services_path}/include/ability", "${services_path}/include/config", "//foundation/communication/dsoftbus/interfaces/kits/bus_center", @@ -612,7 +612,7 @@ ohos_static_library("device_manager_test") { "${innerkits_path}/native_cpp:devicemanagersdk", "${utils_path}:devicemanagerutils", "//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core", - "//foundation/distributedhardware/devicemanager/interfaces/kits/js:devicemanager", + "//foundation/distributedhardware/device_manager/interfaces/kits/js:devicemanager", "//foundation/distributedschedule/samgr/interfaces/innerkits/samgr_proxy:samgr_proxy", "//third_party/googletest:gmock", "//third_party/googletest:gtest", diff --git a/utils/BUILD.gn b/utils/BUILD.gn index f2c9627d..1d14ba64 100644 --- a/utils/BUILD.gn +++ b/utils/BUILD.gn @@ -17,7 +17,7 @@ if (defined(ohos_lite)) { import("//build/ohos.gni") } -import("//foundation/distributedhardware/devicemanager/devicemanager.gni") +import("//foundation/distributedhardware/device_manager/devicemanager.gni") if (defined(ohos_lite)) { if (ohos_kernel_type == "liteos_m") {