Home
last modified time | relevance | path

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

12

/device/google/crosshatch-sepolicy/vendor/qcom/common/
Dchre.te4 type chre, domain;
7 init_daemon_domain(chre)
9 allow chre system_file:dir read;
11 allow chre ion_device:chr_file r_file_perms;
12 allow chre qdsp_device:chr_file r_file_perms;
13 allow chre dsp_device:chr_file r_file_perms;
15 r_dir_file(chre, adsprpcd_file)
18 wakelock_use(chre)
21 hal_client_domain(chre, hal_audio)
Dhal_wifi_offload_default.te2 allow hal_wifi_offload_default chre:unix_stream_socket connectto;
Dhal_contexthub.te2 allow hal_contexthub_default chre:unix_stream_socket connectto;
/device/google/bonito-sepolicy/vendor/qcom/common/
Dchre.te4 type chre, domain;
7 init_daemon_domain(chre)
9 allow chre system_file:dir read;
11 allow chre ion_device:chr_file r_file_perms;
12 allow chre qdsp_device:chr_file r_file_perms;
13 allow chre dsp_device:chr_file r_file_perms;
15 r_dir_file(chre, adsprpcd_file)
18 wakelock_use(chre)
21 hal_client_domain(chre, hal_audio)
Dhal_contexthub.te2 allow hal_contexthub_default chre:unix_stream_socket connectto;
Dhal_wifi_offload_default.te2 allow hal_wifi_offload_default chre:unix_stream_socket connectto;
/device/google/wahoo/wifi_offload/
Dchre_interface.h34 : public ::android::chre::SocketClient::ICallbacks,
35 public ::android::chre::IChreMessageHandlers {
42 void handleNanoappMessage(const ::chre::fbs::NanoappMessageT& message) override;
43 void handleHubInfoResponse(const ::chre::fbs::HubInfoResponseT& response) override;
44 void handleNanoappListResponse(const ::chre::fbs::NanoappListResponseT& response) override;
45 void handleLoadNanoappResponse(const ::chre::fbs::LoadNanoappResponseT& response) override;
46 void handleUnloadNanoappResponse(const ::chre::fbs::UnloadNanoappResponseT& response) override;
74 ::android::chre::SocketClient mClient;
Dchre_interface.cpp24 using android::chre::getStringFromByteVector;
25 using android::chre::HostProtocolHost;
30 namespace fbs = ::chre::fbs;
/device/google/wahoo/sepolicy/vendor/
Dchre.te4 type chre, domain;
7 init_daemon_domain(chre)
9 allow chre ion_device:chr_file { open read };
10 allow chre qdsp_device:chr_file { ioctl open read };
12 allow chre system_file:dir read;
Dhal_contexthub.te2 allow hal_contexthub_default chre:unix_stream_socket connectto;
Dhal_wifi_offload_default.te2 allow hal_wifi_offload_default chre:unix_stream_socket connectto;
/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/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/app/chre/chre_test0.app/
DMakefile41 include $(NANOHUB_DIR)/app/chre/chre.mk
/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.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);
Dsystem_comms.cpp168 NanohubRsp::NanohubRsp(MessageBuf &buf, uint32_t transactionId, bool chre) in NanohubRsp() argument
177 if (chre) in NanohubRsp()
245 …temComm::MemInfoSession::handleRx(MessageBuf &buf, uint32_t transactionId, AppManager &, bool chre) in handleRx() argument
248 NanohubRsp rsp(buf, transactionId, chre); in handleRx()
457 …ppMgmtSession::handleRx(MessageBuf &buf, uint32_t transactionId, AppManager &appManager, bool chre) in handleRx() argument
461 NanohubRsp rsp(buf, transactionId, chre); in handleRx()
886 …temComm::KeyInfoSession::handleRx(MessageBuf &buf, uint32_t transactionId, AppManager &, bool chre) in handleRx() argument
889 NanohubRsp rsp(buf, transactionId, chre); in handleRx()
968 if (app->chre) { in dumpAppInfo()
1078 apps_[id]->chre = false; in restoreApps()
[all …]
/device/google/contexthub/firmware/build/
Dapp_chre_executable.mk41 system/chre/chre_api/include/chre_api \
42 system/chre/util/include \
Dapp_chre11_executable.mk41 system/chre/chre_api/legacy/v1_1 \
/device/google/crosshatch-sepolicy/vendor/google/
Dpixelstats_vendor.te15 unix_socket_connect(pixelstats_vendor, chre, chre)
/device/google/bonito-sepolicy/vendor/google/
Dpixelstats_vendor.te15 unix_socket_connect(pixelstats_vendor, chre, chre)
/device/google/contexthub/firmware/app/
DAndroid.mk17 subdirs := test0.app test1.app chre

12