Lines Matching refs:identity
60 Identity identity; member
78 static int RegisterRemoteEndpoint(const IpcContext *context, SvcIdentity *identity);
95 endpoint->identity.handle = (uint32_t)INVALID_INDEX; in SAMGR_CreateEndpoint()
96 endpoint->identity.token = (uint32_t)INVALID_INDEX; in SAMGR_CreateEndpoint()
97 endpoint->identity.cookie = (uint32_t)INVALID_INDEX; in SAMGR_CreateEndpoint()
128 router->identity = *id; in SAMGR_AddRouter()
364 ret = endpoint->registerEP(endpoint->context, &endpoint->identity); in Receive()
377 endpoint->name, endpoint->identity.handle); in Receive()
382 if (endpoint->identity.handle != SAMGR_HANDLE) { in Receive()
421 int ret = SAMGR_SendSharedDirectRequest(&router->identity, &request, &resp, &ref, HandleIpc); in Dispatch()
424 token, router->identity.serviceId, router->identity.featureId); in Dispatch()
456 … uid, router->saName.service, router->identity.serviceId, router->identity.featureId); in HandleIpc()
527 SvcIdentity identity; in RegisterRemoteFeatures() local
534 identity.handle = endpoint->identity.handle; in RegisterRemoteFeatures()
535 identity.token = i; in RegisterRemoteFeatures()
536 … int ret = RegisterIdentity(endpoint->context, &(router->saName), &identity, &(router->policy), in RegisterRemoteFeatures()
547 static int RegisterRemoteEndpoint(const IpcContext *context, SvcIdentity *identity) in RegisterRemoteEndpoint() argument
562 identity->handle = IpcIoPopUint32(&reply); in RegisterRemoteEndpoint()
566 if (identity->handle == (uint32)INVALID_INDEX) { in RegisterRemoteEndpoint()
599 SvcIdentity old = endpoint->identity; in OnSamgrServerExit()
600 while (endpoint->registerEP(endpoint->context, &endpoint->identity) != EC_SUCCESS) { in OnSamgrServerExit()
604 SvcIdentity new = endpoint->identity; in OnSamgrServerExit()
610 SvcIdentity identity = {SAMGR_HANDLE, SAMGR_TOKEN, SAMGR_COOKIE}; in OnSamgrServerExit() local
611 (void)UnregisterDeathCallback(identity, endpoint->deadId); in OnSamgrServerExit()
612 …(void)RegisterDeathCallback(endpoint->context, identity, OnSamgrServerExit, endpoint, &endpoint->d… in OnSamgrServerExit()