/trusty/kernel/lib/vmm_obj_service/ |
D | vmm_obj_service.c | 46 struct vmm_obj_service* srv; in vmm_obj_service_create_ro() local 69 srv = calloc(1, sizeof(*srv)); in vmm_obj_service_create_ro() 70 if (!srv) { in vmm_obj_service_create_ro() 77 &srv->memref); in vmm_obj_service_create_ro() 83 srv->port.name = port; in vmm_obj_service_create_ro() 84 srv->port.uuid = &kernel_uuid; in vmm_obj_service_create_ro() 85 srv->port.msg_max_size = sizeof(uint64_t); in vmm_obj_service_create_ro() 86 srv->port.msg_queue_len = 1; in vmm_obj_service_create_ro() 87 srv->port.acl = acl; in vmm_obj_service_create_ro() 88 srv->size = size; in vmm_obj_service_create_ro() [all …]
|
/trusty/user/base/lib/tipc/ |
D | tipc_srv.c | 43 struct tipc_srv* srv; member 68 static void set_ports_event_mask(struct tipc_srv* srv, uint32_t mask) { in set_ports_event_mask() argument 73 for (i = 0, p = srv->ports; i < srv->port_cnt; i++, p++) { in set_ports_event_mask() 74 (void)tipc_hset_mod_entry(srv->hset, p->handle, mask, in set_ports_event_mask() 79 static bool server_at_max_chan_cnt(struct tipc_srv* srv) { in server_at_max_chan_cnt() argument 80 return (srv->max_chan_cnt && (srv->chan_cnt == srv->max_chan_cnt)); in server_at_max_chan_cnt() 88 struct tipc_srv* srv = chan->port->srv; in tipc_chan_close() local 92 rc = tipc_hset_remove_entry(srv->hset, chan->handle); in tipc_chan_close() 109 if (server_at_max_chan_cnt(srv)) { in tipc_chan_close() 110 set_ports_event_mask(srv, ~0u); in tipc_chan_close() [all …]
|
/trusty/user/app/sample/app-mgmt-test/client/ |
D | rules.mk | 24 …P := $(TRUSTY_APP_BUILDDIR)/trusty/user/app/sample/app-mgmt-test/boot-start-srv/boot-start-srv.app 25 … := $(TRUSTY_APP_BUILDDIR)/trusty/user/app/sample/app-mgmt-test/never-start-srv/never-start-srv.app 26 …P := $(TRUSTY_APP_BUILDDIR)/trusty/user/app/sample/app-mgmt-test/port-start-srv/port-start-srv.app 27 …USTY_APP_BUILDDIR)/trusty/user/app/sample/app-mgmt-test/port-start-fail-srv/port-start-fail-srv.app 28 …_APP := $(TRUSTY_APP_BUILDDIR)/trusty/user/app/sample/app-mgmt-test/restart-srv/restart-srv.app 29 … := $(TRUSTY_APP_BUILDDIR)/trusty/user/app/sample/app-mgmt-test/port-waiter-srv/port-waiter-srv.app 30 …TRUSTY_APP_BUILDDIR)/trusty/user/app/sample/app-mgmt-test/boot-start-srv/boot-start-srv.app.initial 31 …APP := $(TRUSTY_APP_BUILDDIR)/trusty/user/app/sample/app-mgmt-test/dev-only-srv/dev-only-srv.app
|
/trusty/user/app/sample/spi/swspi-srv/ |
D | rules.mk | 22 $(LOCAL_DIR)/swspi-srv.c \ 27 trusty/user/base/lib/spi/srv \ 28 trusty/user/base/lib/spi/srv/tipc \ 30 trusty/user/app/sample/spi/swspi-srv/driver \
|
/trusty/user/base/lib/spi/srv/ |
D | rules.mk | 22 $(LOCAL_DIR)/srv.c \ 25 trusty/user/base/lib/spi/srv/batch \ 26 trusty/user/base/lib/spi/srv/tipc \
|
/trusty/user/app/sample/ |
D | usertests-inc.mk | 31 trusty/user/app/sample/spi/swspi-srv \ 71 trusty/user/app/sample/app-mgmt-test/boot-start-srv \ 72 trusty/user/app/sample/app-mgmt-test/dev-only-srv \ 73 trusty/user/app/sample/app-mgmt-test/never-start-srv \ 74 trusty/user/app/sample/app-mgmt-test/port-start-srv \ 75 trusty/user/app/sample/app-mgmt-test/port-start-fail-srv \ 76 trusty/user/app/sample/app-mgmt-test/restart-srv \ 77 trusty/user/app/sample/app-mgmt-test/port-waiter-srv \
|
/trusty/user/app/cast-auth/app/test-app/ |
D | main.cc | 228 android::sp<ICastAuth> srv; member 252 state->srv = ICastAuth::asInterface(root); in CastAuthTest_SetUp() 253 ASSERT_NE(nullptr, state->srv.get()); in CastAuthTest_SetUp() 259 state->srv.clear(); in CastAuthTest_TearDown() 277 auto status = _state->srv->ProvisionKey(wrapped_keybox); in TEST_F() 283 auto status = _state->srv->SignHash(test_hash, &signature); in TEST_F() 296 auto status = _state->srv->ProvisionKey(test_pkcs1_der); in TEST_F() 302 auto status = _state->srv->SignHash(test_hash, &signature); in TEST_F()
|
/trusty/kernel/lib/vmm_obj_service/include/lib/vmm_obj_service/ |
D | vmm_obj_service.h | 74 void vmm_obj_service_destroy(struct vmm_obj_service** srv); 88 int vmm_obj_service_add(struct vmm_obj_service* srv,
|
/trusty/user/app/sample/spi/swspi-srv/driver/ |
D | rules.mk | 23 trusty/user/base/lib/spi/srv \ 24 trusty/user/base/lib/spi/srv/batch \
|
/trusty/user/base/app/device_tree/ |
D | main.cpp | 65 auto srv = android::RpcServerTrusty::make( in main() local 69 if (srv == nullptr) { in main() 79 srv->setRootObject(test_srv); in main()
|
/trusty/kernel/lib/dtb_service/ |
D | dtb_service.cpp | 91 struct vmm_obj_service* srv; in dtb_service_add_user() local 93 slice.offset, slice.size, &srv); in dtb_service_add_user() 99 rc = vmm_obj_service_add(srv, server); in dtb_service_add_user() 112 vmm_obj_service_destroy(&srv); in dtb_service_add_user()
|
/trusty/user/base/lib/tipc/test/srv/ |
D | srv.c | 246 static int _create_service(const struct tipc_srv* srv, in _create_service() argument 248 if (!srv || !state) { in _create_service() 254 int rc = port_create(srv->name, srv->msg_num, srv->msg_size, in _create_service() 255 srv->port_flags); in _create_service() 263 state->handler.proc = srv->port_handler; in _create_service() 265 state->service = srv; in _create_service() 268 if (srv->port_state_size) { in _create_service() 270 state->priv = calloc(1, srv->port_state_size); in _create_service() 301 const struct tipc_srv* srv = state->service; in restart_service() local 303 return _create_service(srv, state); in restart_service() [all …]
|
D | rules.mk | 28 $(LOCAL_DIR)/srv.c \
|
/trusty/user/app/sample/binder-test/client/ |
D | main.cpp | 38 android::sp<ITestService> srv; member 62 state->srv = ITestService::asInterface(root); in BinderTest_SetUp() 63 ASSERT_NE(nullptr, state->srv.get()); in BinderTest_SetUp() 69 state->srv.clear(); in BinderTest_TearDown() 77 auto status = (*state->srv.*func)(in, &out); in CheckRepeat() 84 auto status = state->srv->RepeatString(in, &out); in CheckRepeat() 102 auto status = (*state->srv.*func)(input, &repeated, &reversed); in CheckReverse()
|
/trusty/device/nxp/imx7d/project/ |
D | imx7d-test-inc.mk | 20 trusty/user/app/sample/ipc-unittest/srv \
|
/trusty/user/base/ |
D | usertests-inc.mk | 34 trusty/user/base/lib/dlmalloc/test/srv \ 45 trusty/user/base/lib/tipc/test/srv \ 58 trusty/user/base/lib/sancov/test/srv \ 72 trusty/user/base/lib/scudo/test/srv \
|
/trusty/kernel/lib/ktipc/test/srv/ |
D | rules.mk | 27 $(LOCAL_DIR)/srv.c \
|
/trusty/user/app/sample/hwcrypto/keybox/ |
D | rules.mk | 18 $(LOCAL_DIR)/keybox/srv.c \
|
/trusty/user/base/lib/hwbcc/srv/ |
D | rules.mk | 20 $(LOCAL_DIR)/srv.c \
|
/trusty/user/base/lib/spi/srv/batch/ |
D | rules.mk | 29 trusty/user/base/lib/spi/srv/common/include \
|
/trusty/user/base/lib/spi/client/ |
D | rules.mk | 27 trusty/user/base/lib/spi/srv/tipc \
|
/trusty/user/base/lib/spi/srv/tipc/ |
D | rules.mk | 30 trusty/user/base/lib/spi/srv/common/include \
|
/trusty/user/base/app/system_state_server_static/ |
D | rules.mk | 37 trusty/user/base/lib/system_state/srv \
|
/trusty/user/app/sample/hwbcc/ |
D | rules.mk | 28 trusty/user/base/lib/hwbcc/srv \
|
/trusty/user/app/sample/secure_fb_mock_impl/ |
D | rules.mk | 33 trusty/user/base/lib/secure_fb/srv \
|