mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Merge "Add authgraph HAL APEX" into main
This commit is contained in:
@@ -46,11 +46,11 @@ rust_binary {
|
|||||||
name: "android.hardware.security.authgraph-service.nonsecure",
|
name: "android.hardware.security.authgraph-service.nonsecure",
|
||||||
relative_install_path: "hw",
|
relative_install_path: "hw",
|
||||||
vendor: true,
|
vendor: true,
|
||||||
init_rc: ["authgraph.rc"],
|
installable: false, // install com.android.hardware.security.authgraph
|
||||||
vintf_fragments: ["authgraph.xml"],
|
|
||||||
defaults: [
|
defaults: [
|
||||||
"authgraph_use_latest_hal_aidl_rust",
|
"authgraph_use_latest_hal_aidl_rust",
|
||||||
],
|
],
|
||||||
|
prefer_rlib: true,
|
||||||
rustlibs: [
|
rustlibs: [
|
||||||
"libandroid_logger",
|
"libandroid_logger",
|
||||||
"libauthgraph_hal",
|
"libauthgraph_hal",
|
||||||
@@ -80,3 +80,34 @@ rust_fuzz {
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
prebuilt_etc {
|
||||||
|
name: "authgraph.xml",
|
||||||
|
src: "authgraph.xml",
|
||||||
|
sub_dir: "vintf",
|
||||||
|
installable: false,
|
||||||
|
}
|
||||||
|
|
||||||
|
prebuilt_etc {
|
||||||
|
name: "authgraph.rc",
|
||||||
|
src: "authgraph.rc",
|
||||||
|
installable: false,
|
||||||
|
}
|
||||||
|
|
||||||
|
apex {
|
||||||
|
name: "com.android.hardware.security.authgraph",
|
||||||
|
manifest: "apex_manifest.json",
|
||||||
|
file_contexts: "apex_file_contexts",
|
||||||
|
key: "com.android.hardware.key",
|
||||||
|
certificate: ":com.android.hardware.certificate",
|
||||||
|
vendor: true,
|
||||||
|
updatable: false,
|
||||||
|
|
||||||
|
binaries: [
|
||||||
|
"android.hardware.security.authgraph-service.nonsecure",
|
||||||
|
],
|
||||||
|
prebuilts: [
|
||||||
|
"authgraph.rc",
|
||||||
|
"authgraph.xml",
|
||||||
|
],
|
||||||
|
}
|
||||||
|
|||||||
3
security/authgraph/default/apex_file_contexts
Normal file
3
security/authgraph/default/apex_file_contexts
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
(/.*)? u:object_r:vendor_file:s0
|
||||||
|
/etc(/.*)? u:object_r:vendor_configs_file:s0
|
||||||
|
/bin/hw/android\.hardware\.security\.authgraph-service\.nonsecure u:object_r:hal_authgraph_default_exec:s0
|
||||||
4
security/authgraph/default/apex_manifest.json
Normal file
4
security/authgraph/default/apex_manifest.json
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"name": "com.android.hardware.security.authgraph",
|
||||||
|
"version": 1
|
||||||
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
service vendor.authgraph /vendor/bin/hw/android.hardware.security.authgraph-service.nonsecure
|
service vendor.authgraph /apex/com.android.hardware.security.authgraph/bin/hw/android.hardware.security.authgraph-service.nonsecure
|
||||||
interface aidl android.hardware.security.authgraph.IAuthGraph/nonsecure
|
interface aidl android.hardware.security.authgraph.IAuthGraph/nonsecure
|
||||||
class hal
|
class hal
|
||||||
user nobody
|
user nobody
|
||||||
|
|||||||
Reference in New Issue
Block a user