Home
last modified time | relevance | path

Searched refs:chre (Results 1 – 25 of 67) sorted by relevance

123

/device/google/gs101-sepolicy/whitechapel/vendor/google/
Dchre.te1 type chre, domain;
3 init_daemon_domain(chre)
6 allow chre aoc_device:chr_file rw_file_perms;
9 allow chre sysfs_aoc:dir search;
10 allow chre sysfs_aoc_boottime:file r_file_perms;
13 allow chre device:dir r_dir_perms;
16 usf_low_latency_transport(chre)
19 allow chre hal_wifi_ext:binder { call transfer };
20 allow chre hal_wifi_ext_hwservice:hwservice_manager find;
21 allow chre hal_wifi_ext_service:service_manager find;
[all …]
/device/google/gs201-sepolicy/whitechapel_pro/
Dchre.te1 type chre, domain;
3 init_daemon_domain(chre)
6 allow chre aoc_device:chr_file rw_file_perms;
9 allow chre sysfs_aoc:dir search;
10 allow chre sysfs_aoc_boottime:file r_file_perms;
13 allow chre device:dir r_dir_perms;
16 usf_low_latency_transport(chre)
19 allow chre hal_wifi_ext:binder { call transfer };
20 allow chre hal_wifi_ext_hwservice:hwservice_manager find;
21 allow chre hal_wifi_ext_service:service_manager find;
[all …]
/device/google/zuma-sepolicy/vendor/
Dchre.te1 type chre, domain;
3 init_daemon_domain(chre)
6 allow chre aoc_device:chr_file rw_file_perms;
9 allow chre sysfs_aoc:dir search;
10 allow chre sysfs_aoc_boottime:file r_file_perms;
12 # Allow CHRE to write to data to chre data directory
13 allow chre chre_data_file:dir create_dir_perms;
14 allow chre chre_data_file:file create_file_perms;
17 allow chre device:dir r_dir_perms;
20 wakelock_use(chre)
[all …]
Dtwoshay.te8 unix_socket_connect(twoshay, chre, chre)
10 unix_socket_connect(twoshay, chre, hal_contexthub_default)
Dhal_contexthub_default.te2 unix_socket_connect(hal_contexthub_default, chre, chre)
/device/google/zumapro-sepolicy/vendor/
Dchre.te1 type chre, domain;
3 init_daemon_domain(chre)
6 allow chre aoc_device:chr_file rw_file_perms;
9 allow chre sysfs_aoc:dir search;
10 allow chre sysfs_aoc_boottime:file r_file_perms;
13 allow chre device:dir r_dir_perms;
15 # Allow CHRE to write to data to chre data directory
16 allow chre chre_data_file:dir create_dir_perms;
17 allow chre chre_data_file:file create_file_perms;
20 wakelock_use(chre)
[all …]
Dtwoshay.te7 unix_socket_connect(twoshay, chre, chre)
9 unix_socket_connect(twoshay, chre, hal_contexthub_default)
/device/google/sunfish-sepolicy/vendor/google/
Dchre.te1 type chre, domain;
3 init_daemon_domain(chre)
5 allow chre ion_device:chr_file r_file_perms;
6 allow chre qdsp_device:chr_file r_file_perms;
9 wakelock_use(chre)
12 hal_client_domain(chre, hal_audio)
15 allow chre fwk_stats_service:service_manager find;
16 binder_call(chre, stats_service_server)
Dpixelstats_vendor.te1 unix_socket_connect(pixelstats_vendor, chre, chre)
/device/google/redbull-sepolicy/vendor/qcom/common/
Dchre.te1 type chre, domain;
3 init_daemon_domain(chre)
5 allow chre ion_device:chr_file r_file_perms;
6 allow chre qdsp_device:chr_file r_file_perms;
9 wakelock_use(chre)
12 hal_client_domain(chre, hal_audio)
15 allow chre fwk_stats_service:service_manager find;
16 binder_call(chre, stats_service_server)
/device/google/coral-sepolicy/vendor/qcom/common/
Dchre.te4 type chre, domain;
7 init_daemon_domain(chre)
9 allow chre ion_device:chr_file r_file_perms;
10 allow chre qdsp_device:chr_file r_file_perms;
13 wakelock_use(chre)
16 hal_client_domain(chre, hal_audio)
19 allow chre fwk_stats_service:service_manager find;
20 binder_call(chre, stats_service_server)
/device/google/contexthub/contexthubhal/
Dnanohubhal.cpp284 } else if (ret == (int)(sizeof(msg.chre.hdr) + len)) { in runDeviceRx()
285 ret = SystemComm::handleRx(&msg.chre); in runDeviceRx()
287 hub_app_name_t app_name = { .id = msg.chre.hdr.appId }; in runDeviceRx()
289 …dumpBuffer("(CHRE) DEV -> APP", app_name, msg.chre.hdr.appEventId, msg.chre.hdr.endpoint, &msg.chr… in runDeviceRx()
291 …doSendToApp(HubMessage(&app_name, msg.chre.hdr.appEventId, msg.chre.hdr.endpoint, &msg.chre.data[0… in runDeviceRx()
294 …ected (%zu|%zu) bytes, read %d bytes", sizeof(msg.raw.hdr) + len, sizeof(msg.chre.hdr) + len, ret); in runDeviceRx()
Dsystem_comms.cpp169 NanohubRsp::NanohubRsp(MessageBuf &buf, uint32_t transactionId, bool chre) in NanohubRsp() argument
178 if (chre) in NanohubRsp()
246 …temComm::MemInfoSession::handleRx(MessageBuf &buf, uint32_t transactionId, AppManager &, bool chre) in handleRx() argument
249 NanohubRsp rsp(buf, transactionId, chre); in handleRx()
458 …ppMgmtSession::handleRx(MessageBuf &buf, uint32_t transactionId, AppManager &appManager, bool chre) in handleRx() argument
462 NanohubRsp rsp(buf, transactionId, chre); in handleRx()
887 …temComm::KeyInfoSession::handleRx(MessageBuf &buf, uint32_t transactionId, AppManager &, bool chre) in handleRx() argument
890 NanohubRsp rsp(buf, transactionId, chre); in handleRx()
969 if (app->chre) { in dumpAppInfo()
1081 apps_[id]->chre = false; in restoreApps()
[all …]
Dsystem_comms.h133 explicit NanohubRsp(MessageBuf &buf, uint32_t transactionId, bool chre);
164 …rtual int handleRx(MessageBuf &buf, uint32_t transactionId, AppManager &appManager, bool chre) = 0;
287 … int handleRx(MessageBuf &buf, uint32_t transactionId, AppManager &appManager, bool chre) override;
294 … virtual int handleRx(MessageBuf &buf, uint32_t transactionId, AppManager &, bool chre) override;
304 … virtual int handleRx(MessageBuf &buf, uint32_t transactionId, AppManager &, bool chre) override;
316 bool chre, running, loaded; member
394 apps_[appName.id]->chre = false; in addNewApp()
432 …int handleRx(MessageBuf &buf, uint32_t transactionId, AppManager &appManager, bool chre, bool &reb…
450 int doHandleRx(uint64_t appId, uint32_t transactionId, const char *data, int len, bool chre);
/device/google/contexthub/firmware/app/chre/
Dchre.mk22 SRCS += $(NANOHUB_DIR)/app/chre/common/chre_app.c
23 SRCS += $(NANOHUB_DIR)/app/chre/common/chre_app_syscalls.c
31 CFLAGS += -I$(NANOHUB_DIR)/../../../../system/chre/chre_api/include/chre_api
32 CFLAGS += -I$(NANOHUB_DIR)/../../../../system/chre/util/include
Dchre11.mk22 SRCS += $(NANOHUB_DIR)/app/chre/common/chre_app.c
23 SRCS += $(NANOHUB_DIR)/app/chre/common/chre11_app_syscalls.c
31 CFLAGS += -I$(NANOHUB_DIR)/../../../../system/chre/chre_api/legacy/v1_1
Dchre10.mk22 SRCS += $(NANOHUB_DIR)/app/chre/common/chre10_app.c
23 SRCS += $(NANOHUB_DIR)/app/chre/common/chre10_app_syscalls.c
31 CFLAGS += -I$(NANOHUB_DIR)/../../../../system/chre/chre_api/legacy/v1_0
/device/google/gs-common/sensors/sepolicy/
Dhal_sensors_default.te62 unix_socket_connect(hal_sensors_default, chre, chre)
64 unix_socket_connect(hal_sensors_default, chre, hal_contexthub_default)
/device/google/contexthub/firmware/
Dfirmware.mk59 FLAGS += -I../../../../system/chre/chre_api/include/chre_api
60 FLAGS += -I../../../../system/chre/util/include
94 DEPS += $(wildcard ../inc/chre/*.h)
/device/google/zumapro-sepolicy/legacy/zuma/vendor/
Dhal_contexthub_default.te2 unix_socket_connect(hal_contexthub_default, chre, chre)
/device/google/contexthub/firmware/app/chre/chre_test0.app/
DMakefile41 include $(NANOHUB_DIR)/app/chre/chre.mk
/device/google/contexthub/firmware/app/chre/chre_test1.app/
DMakefile38 include $(NANOHUB_DIR)/app/chre/chre.mk
/device/google/contexthub/firmware/app/chre/chre_test2.app/
DMakefile38 include $(NANOHUB_DIR)/app/chre/chre.mk
/device/google/contexthub/firmware/build/
Dapp_chre_executable.mk41 system/chre/chre_api/include/chre_api \
42 system/chre/util/include \
/device/google/redfin-sepolicy/vendor/google/
Dpixelstats_vendor.te3 unix_socket_connect(pixelstats_vendor, chre, chre)

123