diff --git a/sa_profile/4809.json b/sa_profile/4809.json
new file mode 100644
index 0000000..6129b94
--- /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 c616e03..0000000
--- 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 0000000..b129022
--- /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 a487ccb..0000000
--- 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 84ed358..2078145 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 5aa5072..55705a1 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,