Home
last modified time | relevance | path

Searched refs:srv (Results 1 – 25 of 29) sorted by relevance

12

/trusty/kernel/lib/vmm_obj_service/
Dvmm_obj_service.c46 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/
Dtipc_srv.c43 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/
Drules.mk24 …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/
Drules.mk22 $(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/
Drules.mk22 $(LOCAL_DIR)/srv.c \
25 trusty/user/base/lib/spi/srv/batch \
26 trusty/user/base/lib/spi/srv/tipc \
/trusty/user/app/sample/
Dusertests-inc.mk31 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/
Dmain.cc228 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/
Dvmm_obj_service.h74 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/
Drules.mk23 trusty/user/base/lib/spi/srv \
24 trusty/user/base/lib/spi/srv/batch \
/trusty/user/base/app/device_tree/
Dmain.cpp65 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/
Ddtb_service.cpp91 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/
Dsrv.c246 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 …]
Drules.mk28 $(LOCAL_DIR)/srv.c \
/trusty/user/app/sample/binder-test/client/
Dmain.cpp38 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/
Dimx7d-test-inc.mk20 trusty/user/app/sample/ipc-unittest/srv \
/trusty/user/base/
Dusertests-inc.mk34 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/
Drules.mk27 $(LOCAL_DIR)/srv.c \
/trusty/user/app/sample/hwcrypto/keybox/
Drules.mk18 $(LOCAL_DIR)/keybox/srv.c \
/trusty/user/base/lib/hwbcc/srv/
Drules.mk20 $(LOCAL_DIR)/srv.c \
/trusty/user/base/lib/spi/srv/batch/
Drules.mk29 trusty/user/base/lib/spi/srv/common/include \
/trusty/user/base/lib/spi/client/
Drules.mk27 trusty/user/base/lib/spi/srv/tipc \
/trusty/user/base/lib/spi/srv/tipc/
Drules.mk30 trusty/user/base/lib/spi/srv/common/include \
/trusty/user/base/app/system_state_server_static/
Drules.mk37 trusty/user/base/lib/system_state/srv \
/trusty/user/app/sample/hwbcc/
Drules.mk28 trusty/user/base/lib/hwbcc/srv \
/trusty/user/app/sample/secure_fb_mock_impl/
Drules.mk33 trusty/user/base/lib/secure_fb/srv \

12