mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge "[Thread] add an override_apex for Thread HAL with simulation RCP" into main
This commit is contained in:
@@ -90,10 +90,20 @@ prebuilt_etc {
|
||||
installable: false,
|
||||
}
|
||||
|
||||
filegroup {
|
||||
name: "com.android.hardware.threadnetwork_manifest",
|
||||
srcs: ["manifest.json"],
|
||||
}
|
||||
|
||||
filegroup {
|
||||
name: "com.android.hardware.threadnetwork_file_contexts",
|
||||
srcs: ["file_contexts"],
|
||||
}
|
||||
|
||||
apex {
|
||||
name: "com.android.hardware.threadnetwork",
|
||||
manifest: "manifest.json",
|
||||
file_contexts: "file_contexts",
|
||||
manifest: ":com.android.hardware.threadnetwork_manifest",
|
||||
file_contexts: ":com.android.hardware.threadnetwork_file_contexts",
|
||||
key: "com.android.hardware.key",
|
||||
certificate: ":com.android.hardware.certificate",
|
||||
updatable: false,
|
||||
@@ -110,3 +120,21 @@ apex {
|
||||
"android.hardware.thread_network.prebuilt.xml", // permission
|
||||
],
|
||||
}
|
||||
|
||||
prebuilt_etc {
|
||||
name: "threadnetwork-service-simulation-rcp.rc",
|
||||
src: "threadnetwork-service-simulation-rcp.rc",
|
||||
installable: false,
|
||||
}
|
||||
|
||||
// Thread HAL service which uses a simulation RCP (i.e. ot-rcp),
|
||||
// typically used in emulator devices.
|
||||
override_apex {
|
||||
name: "com.android.hardware.threadnetwork-simulation-rcp",
|
||||
base: "com.android.hardware.threadnetwork",
|
||||
prebuilts: [
|
||||
"threadnetwork-service-simulation-rcp.rc",
|
||||
"threadnetwork-default.xml",
|
||||
"android.hardware.thread_network.prebuilt.xml",
|
||||
],
|
||||
}
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
service vendor.threadnetwork_hal /apex/com.android.hardware.threadnetwork/bin/hw/android.hardware.threadnetwork-service spinel+hdlc+forkpty:///apex/com.android.hardware.threadnetwork/bin/ot-rcp?forkpty-arg=1
|
||||
class hal
|
||||
user thread_network
|
||||
Reference in New Issue
Block a user