From 8f1df837ac0c7c4988b45028b3f1e0f74d6bf06a Mon Sep 17 00:00:00 2001 From: Luis Delgado de Mendoza Garcia Date: Mon, 1 May 2023 14:54:49 -0700 Subject: [PATCH] Add chre dedicated channel and start using them in chre_daemon. Adding the necessary entries to ueventd and enabling the flag for chre_daemon to start using the channel. Bug: 241960170 Test: in-device verification. Change-Id: I22936d6b458b053806ac4e24a036b833024320d7 --- conf/ueventd.zuma.rc | 4 ++++ device.mk | 1 + 2 files changed, 5 insertions(+) diff --git a/conf/ueventd.zuma.rc b/conf/ueventd.zuma.rc index 13ca8eba..9f4d2b31 100644 --- a/conf/ueventd.zuma.rc +++ b/conf/ueventd.zuma.rc @@ -151,6 +151,10 @@ /dev/acd-com.google.usf 0660 system system /dev/acd-com.google.usf.non_wake_up 0660 system system +# CHRE (USF) +/dev/acd-com.google.chre 0660 system system +/dev/acd-com.google.chre.non_wake_up 0660 system system + # LWIS /dev/lwis* 0660 system system diff --git a/device.mk b/device.mk index 02c07667..ee662253 100644 --- a/device.mk +++ b/device.mk @@ -393,6 +393,7 @@ PRODUCT_COPY_FILES += \ ## Enable the CHRE Daemon CHRE_USF_DAEMON_ENABLED := true +CHRE_DEDICATED_TRANSPORT_CHANNEL_ENABLED := true PRODUCT_PACKAGES += \ chre \ preloaded_nanoapps.json