diff --git a/sa_profile/4809.json b/sa_profile/4809.json new file mode 100644 index 0000000000000000000000000000000000000000..6129b942290697ca04865d5b8e465f4419cbf6d9 --- /dev/null +++ b/sa_profile/4809.json @@ -0,0 +1,12 @@ +{ + "process": "dinput", + "systemability": [ + { + "name": 4809, + "libpath": "libdinput_source.z.so", + "run-on-create": false, + "distributed": true, + "dump_level": 1 + } + ] +} \ No newline at end of file diff --git a/sa_profile/4809.xml b/sa_profile/4809.xml deleted file mode 100644 index c616e0359fc2f21e48ecd7a01665f9e3f757e2f5..0000000000000000000000000000000000000000 --- a/sa_profile/4809.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - dinput - - 4809 - libdinput_source.z.so - - - false - true - 1 - - diff --git a/sa_profile/4810.json b/sa_profile/4810.json new file mode 100644 index 0000000000000000000000000000000000000000..b129022292744b25e4456d4e6441727269f8b066 --- /dev/null +++ b/sa_profile/4810.json @@ -0,0 +1,12 @@ +{ + "process": "dinput", + "systemability": [ + { + "name": 4810, + "libpath": "libdinput_sink.z.so", + "run-on-create": false, + "distributed": true, + "dump_level": 1 + } + ] +} \ No newline at end of file diff --git a/sa_profile/4810.xml b/sa_profile/4810.xml deleted file mode 100644 index a487ccb4d84aafef926e4173e94317a3696dbb58..0000000000000000000000000000000000000000 --- a/sa_profile/4810.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - dinput - - 4810 - libdinput_sink.z.so - - - false - true - 1 - - diff --git a/sa_profile/BUILD.gn b/sa_profile/BUILD.gn index 84ed358b2b7c1ce92f868e64e8321fa3872be5fc..2078145ac859c4a215e948e3641e4d2f029848f1 100644 --- a/sa_profile/BUILD.gn +++ b/sa_profile/BUILD.gn @@ -16,13 +16,13 @@ import("//build/ohos/sa_profile/sa_profile.gni") import("//drivers/hdf_core/adapter/uhdf2/uhdf.gni") ohos_sa_profile("distributed_input_source_sa_profile") { - sources = [ "4809.xml" ] + sources = [ "4809.json" ] part_name = "distributed_input" } ohos_sa_profile("distributed_input_sink_sa_profile") { - sources = [ "4810.xml" ] + sources = [ "4810.json" ] part_name = "distributed_input" } diff --git a/sa_profile/dinput.cfg b/sa_profile/dinput.cfg index 5aa5072ff5afe460dffc43d4c4eb2e1077840973..55705a13cb74617e17ca5448d63639e95c82200a 100644 --- a/sa_profile/dinput.cfg +++ b/sa_profile/dinput.cfg @@ -1,7 +1,7 @@ { "services" : [{ "name" : "dinput", - "path" : ["/system/bin/sa_main", "/system/profile/dinput.xml"], + "path" : ["/system/bin/sa_main", "/system/profile/dinput.json"], "uid" : "dinput", "gid" : ["dinput", "uhid", "input"], "ondemand" : true,