Home
last modified time | relevance | path

Searched defs:session (Results 1 – 25 of 28) sorted by relevance

12

/base/account/os_account/services/accountmgr/src/appaccount/
Dapp_account_authenticator_session_manager.cpp87 … auto session = std::make_shared<AppAccountAuthenticatorSession>(ADD_ACCOUNT_IMPLICITLY, request); in AddAccountImplicitly() local
93 …auto session = std::make_shared<AppAccountAuthenticatorSession>(CREATE_ACCOUNT_IMPLICITLY, request… in CreateAccountImplicitly() local
99 auto session = std::make_shared<AppAccountAuthenticatorSession>(AUTHENTICATE, request); in Authenticate() local
105 auto session = std::make_shared<AppAccountAuthenticatorSession>(AUTH, request); in Auth() local
111 auto session = std::make_shared<AppAccountAuthenticatorSession>(VERIFY_CREDENTIAL, request); in VerifyCredential() local
117 auto session = std::make_shared<AppAccountAuthenticatorSession>(CHECK_ACCOUNT_LABELS, request); in CheckAccountLabels() local
123 auto session = std::make_shared<AppAccountAuthenticatorSession>(IS_ACCOUNT_REMOVABLE, request); in IsAccountRemovable() local
130 auto session = std::make_shared<AppAccountCheckLabelsSession>(accounts, request); in SelectAccountsByOptions() local
137 …auto session = std::make_shared<AppAccountAuthenticatorSession>(SET_AUTHENTICATOR_PROPERTIES, requ… in SetAuthenticatorProperties() local
142 const std::shared_ptr<AppAccountAuthenticatorSession> &session) in OpenSession()
[all …]
/base/security/device_auth/services/session_manager/src/session/v1/compatible_auth_sub_session/
Dcompatible_auth_sub_session.c41 const DeviceAuthCallback *callback, CompatibleBaseSubSession **session) in CreateClientAuthSubSessionInner()
98 static int32_t HandlePeerAuthError(CompatibleAuthSubSession *session) in HandlePeerAuthError()
107 static int32_t ProcessClientAuthTaskInner(CompatibleAuthSubSession *session, int32_t moduleType, CJ… in ProcessClientAuthTaskInner()
138 static int32_t ProcessClientAuthTask(CompatibleAuthSubSession *session, CJson *receivedData, int32_… in ProcessClientAuthTask()
166 static int32_t GenerateClientFirstMsg(CompatibleAuthSubSession *session, CJson *out, CJson **sendDa… in GenerateClientFirstMsg()
181 static int32_t CreateAndProcessClientAuthTask(CompatibleAuthSubSession *session, CJson **sendData, … in CreateAndProcessClientAuthTask()
205 static int32_t ProcessServerAuthTaskInner(CompatibleAuthSubSession *session, int32_t moduleType, in ProcessServerAuthTaskInner()
224 static int32_t ProcessServerAuthTask(CompatibleAuthSubSession *session, CJson *receivedData, int32_… in ProcessServerAuthTask()
250 static int32_t CreateAndProcessServerAuthTask(CompatibleAuthSubSession *session, CJson *receivedDat… in CreateAndProcessServerAuthTask()
276 CompatibleBaseSubSession **session) in CreateClientAuthSubSession()
[all …]
Dcompatible_auth_sub_session_common.c394 static int32_t ReturnTransmitData(const CompatibleAuthSubSession *session, CJson *out) in ReturnTransmitData()
443 static void ReturnFinishData(const CompatibleAuthSubSession *session, const CJson *out) in ReturnFinishData()
469 int32_t AuthOnNextGroupIfExist(CompatibleAuthSubSession *session) in AuthOnNextGroupIfExist()
529 int32_t CreateAndProcessAuthTask(CompatibleAuthSubSession *session, CJson *paramInSession, CJson *o… in CreateAndProcessAuthTask()
569 int32_t ProcessClientAuthError(CompatibleAuthSubSession *session, const CJson *out) in ProcessClientAuthError()
590 void ProcessServerAuthError(CompatibleAuthSubSession *session, const CJson *out) in ProcessServerAuthError()
605 int32_t AddGroupAuthTransmitData(const CompatibleAuthSubSession *session, bool isClientFirst, CJson… in AddGroupAuthTransmitData()
644 int32_t HandleAuthTaskStatus(const CompatibleAuthSubSession *session, CJson *out, int32_t status) in HandleAuthTaskStatus()
/base/security/device_auth/services/session_manager/src/session/v1/
Dcompatible_sub_session.c23 const DeviceAuthCallback *callback, CompatibleBaseSubSession **session) in CreateCompatibleSubSession()
45 int32_t ProcessCompatibleSubSession(CompatibleBaseSubSession *session, CJson *in, CJson **out, int3… in ProcessCompatibleSubSession()
66 void DestroyCompatibleSubSession(CompatibleBaseSubSession *session) in DestroyCompatibleSubSession()
/base/security/device_auth/services/session_manager/src/
Ddev_session_mgr.c28 DevSession *session; member
43 DevSession *session = ptr->session; in GetSessionInfo() local
62 DevSession *session = sessionInfo->session; in RemoveTimeoutSession() local
88 static int32_t AddNewSessionToList(DevSession *session) in AddNewSessionToList()
146 DevSession *session; in OpenDevSession() local
176 DevSession *session = sessionInfo->session; in StartDevSession() local
197 DevSession *session = sessionInfo->session; in ProcessDevSession() local
210 DevSession *session = ptr->session; in CloseDevSession() local
234 DevSession *session = ptr->session; in CancelDevSession() local
/base/security/device_auth/services/session_manager/src/session/v1/compatible_bind_sub_session/
Dcompatible_bind_sub_session.c108 const DeviceAuthCallback *callback, CompatibleBaseSubSession **session) in CreateBaseBindSubSession()
204 static int32_t GenerateServerBindParams(CompatibleBindSubSession *session, CJson *jsonParams) in GenerateServerBindParams()
229 …atic int32_t TryAddPeerUserTypeToParams(const CJson *jsonParams, CompatibleBindSubSession *session) in TryAddPeerUserTypeToParams()
240 static int32_t InteractWithPeer(const CompatibleBindSubSession *session, CJson *sendData) in InteractWithPeer()
250 static int32_t SendBindDataToPeer(CompatibleBindSubSession *session, CJson *out) in SendBindDataToPeer()
263 const CompatibleBindSubSession *session, CJson *out) in InformSelfBindSuccess()
351 static int32_t GenerateGroupParams(const CompatibleBindSubSession *session, TrustedGroupEntry *grou… in GenerateGroupParams()
365 static int32_t AddGroupToDatabase(const CompatibleBindSubSession *session) in AddGroupToDatabase()
416 …int32_t AddGroupAndLocalDevIfNotExist(const char *groupId, const CompatibleBindSubSession *session) in AddGroupAndLocalDevIfNotExist()
442 const char *groupId, const CompatibleBindSubSession *session) in AddPeerDevToGroup()
[all …]
Dcompatible_bind_sub_session_common.c22 static int32_t AddPinCode(const CJson *jsonParams, CompatibleBindSubSession *session) in AddPinCode()
36 static int32_t AddProtocolExpandVal(const CJson *jsonParams, CompatibleBindSubSession *session) in AddProtocolExpandVal()
348 CompatibleBindSubSession *session) in AddGroupAndDevInfo()
362 …tic int32_t AddPeerAuthIdAndUdidIfExist(const CJson *jsonParams, CompatibleBindSubSession *session) in AddPeerAuthIdAndUdidIfExist()
377 static int32_t AddGroupAndDevInfoToParams(const CompatibleBindSubSession *session, CJson *modulePar… in AddGroupAndDevInfoToParams()
409 static int32_t AddRequestInfoToParams(bool isClient, const CompatibleBindSubSession *session, CJson… in AddRequestInfoToParams()
431 static int32_t AddPinCodeToParams(CompatibleBindSubSession *session, CJson *moduleParams) in AddPinCodeToParams()
447 static int32_t AddProtocolExpandValToParams(CompatibleBindSubSession *session, CJson *moduleParams) in AddProtocolExpandValToParams()
458 static int32_t AddGroupInfoToSendData(const CompatibleBindSubSession *session, CJson *data) in AddGroupInfoToSendData()
489 static int32_t AddDevInfoToSendData(const CompatibleBindSubSession *session, CJson *data) in AddDevInfoToSendData()
[all …]
Dcompatible_bind_sub_session_util.c111 static int32_t AddGroupErrorInfo(int32_t errorCode, const CompatibleBindSubSession *session, in AddGroupErrorInfo()
162 int32_t CreateAndProcessBindTask(CompatibleBindSubSession *session, const CJson *in, CJson *out, in… in CreateAndProcessBindTask()
183 int32_t TransmitBindSessionData(const CompatibleBindSubSession *session, const CJson *sendData) in TransmitBindSessionData()
212 …erGroupErrorIfNeeded(bool isNeedInform, int32_t errorCode, const CompatibleBindSubSession *session) in InformPeerGroupErrorIfNeeded()
/base/security/device_auth/services/key_agree_sdk/src/
Dkey_agree_session_manager.c25 KeyAgreeSession *session; member
76 static uint32_t AddSessionInner(KeyAgreeSession *session, SpekeSession *spekeSession) in AddSessionInner()
96 static uint32_t DeleteSessionInner(KeyAgreeSession *session) in DeleteSessionInner()
120 static SpekeSession *GetSessionInner(KeyAgreeSession *session) in GetSessionInner()
Dkey_agree_sdk.c147 KeyAgreeResult KeyAgreeInitSession(KeyAgreeSession *session, KeyAgreeProtocol protocol, KeyAgreeTyp… in KeyAgreeInitSession()
190 KeyAgreeResult KeyAgreeStartSession(KeyAgreeSession *session, const KeyAgreeBlob *sharedSecret, in KeyAgreeStartSession()
216 KeyAgreeResult KeyAgreeGenerateNextMessage(KeyAgreeSession *session, const KeyAgreeBlob *messageRec… in KeyAgreeGenerateNextMessage()
265 KeyAgreeResult KeyAgreeIsFinish(KeyAgreeSession *session) in KeyAgreeIsFinish()
290 KeyAgreeResult KeyAgreeGetResult(KeyAgreeSession *session, KeyAgreeBlob *sessionKey) in KeyAgreeGetResult()
325 void KeyAgreeFreeSession(KeyAgreeSession *session) in KeyAgreeFreeSession()
/base/account/os_account/services/accountmgr/test/moduletest/app_account/
Dapp_account_authenticator_session_manager_module_test.cpp246 std::shared_ptr<AppAccountAuthenticatorSession> session = nullptr; variable
280 auto session = std::make_shared<AppAccountAuthenticatorSession>(action, request); variable
309 auto session = std::make_shared<AppAccountAuthenticatorSession>(action, request); variable
356 auto session = std::make_shared<AppAccountAuthenticatorSession>(action, request); variable
408 auto session = std::make_shared<AppAccountAuthenticatorSession>(action, request); variable
434 auto session = std::make_shared<AppAccountAuthenticatorSession>(action, request); variable
471 auto session = std::make_shared<AppAccountAuthenticatorSession>(action, request); variable
519 auto session = std::make_shared<AppAccountAuthenticatorSession>(action, request); variable
553 auto session = std::make_shared<AppAccountAuthenticatorSession>(AUTHENTICATE, request); variable
596 auto session = appAccountAuthenticatorSessionManagerPtr_->GetSession(SESSION_ID); variable
[all …]
/base/msdp/device_status/intention/ipc/socket/src/
Dsocket_session_manager.cpp50 std::shared_ptr<SocketSession> session { nullptr }; in AllocSocketFd() local
134 auto session = iter->second; in ReleaseSession() local
163 bool SocketSessionManager::AddSession(std::shared_ptr<SocketSession> session) in AddSession()
193 void SocketSessionManager::NotifySessionDeleted(std::shared_ptr<SocketSession> session) in NotifySessionDeleted()
/base/security/access_token/services/tokensyncmanager/include/remote/
Drpc_channel.h56 virtual void HandleDataReceived(int session, const unsigned char *bytes, int length) in HandleDataReceived()
/base/tee/tee_client/frameworks/libteec_vendor/
Dtee_client_api.c202 TEEC_Session *session) in AddSessionList()
304 static TEEC_Session *FindBnSession(const TEEC_Session *session, const TEEC_ContextInner *context) in FindBnSession()
323 TEEC_Session *GetBnSession(const TEEC_Session *session, TEEC_ContextInner *context) in GetBnSession()
346 void PutBnSession(TEEC_Session *session) in PutBnSession()
359 TEEC_Session *FindAndRemoveSession(const TEEC_Session *session, TEEC_ContextInner *context) in FindAndRemoveSession()
602 static TEEC_Result TEEC_Encode(TC_NS_ClientContext *cliContext, const TEEC_Session *session, in TEEC_Encode()
850 TEEC_Session *session = NULL; in TEEC_FinalizeContextInner() local
919 TEEC_ContextInner *context, TEEC_Session *session) in TEEC_DoOpenSession()
950 TEEC_Session *session, const TEEC_UUID *destination, uint32_t connectionMethod, in TEEC_OpenSessionInner()
1034 TEEC_Result TEEC_OpenSession(TEEC_Context *context, TEEC_Session *session, const TEEC_UUID *destina… in TEEC_OpenSession()
[all …]
/base/tee/tee_client/interfaces/kits/c/src/
Dtee_client.cpp241 static bool WriteSession(MessageParcel &data, TEEC_Session *session) in WriteSession()
420 TEEC_Result TeeClient::OpenSession(TEEC_Context *context, TEEC_Session *session, const TEEC_UUID *d… in OpenSession()
515 bool TeeClient::FormatSession(TEEC_Session *session, MessageParcel &reply) in FormatSession()
725 TEEC_Result TeeClient::OpenSessionSendCmd(TEEC_Context *context, TEEC_Session *session, const TEEC_… in OpenSessionSendCmd()
1032 TEEC_Result TeeClient::InvokeCommand(TEEC_Session *session, uint32_t commandID, in InvokeCommand()
1062 TEEC_Session *session, uint32_t commandID, TEEC_Operation *operation) in WriteInvokeData()
1093 TEEC_Result TeeClient::InvokeCommandSendCmd(TEEC_Context *context, TEEC_Session *session, in InvokeCommandSendCmd()
1152 void TeeClient::CloseSession(TEEC_Session *session) in CloseSession()
1492 TEEC_Result TeeClient::SendSecfile(const char *path, TEEC_Session *session) in SendSecfile()
1571 TEEC_Result TEEC_OpenSession(TEEC_Context *context, TEEC_Session *session, const TEEC_UUID *destina… in TEEC_OpenSession()
[all …]
/base/tee/tee_client/services/cadaemon/src/ca_daemon/
Dcadaemon_stub.cpp177 static bool GetSessionFromData(MessageParcel &data, TEEC_Session *session) in GetSessionFromData()
398 TEEC_Session session; in CloseSessionRecvProc() local
421 TEEC_Session session; in InvokeCommandRecvProc() local
572 TEEC_Session session; in SendSecFileRecvProc() local
Dcadaemon_service.cpp541 static bool WriteSession(MessageParcel &reply, TEEC_Session *session) in WriteSession()
887 TEEC_Result CaDaemonService::InvokeCommand(TEEC_Context *context, TEEC_Session *session, uint32_t c… in InvokeCommand()
939 TEEC_Result CaDaemonService::CloseSession(TEEC_Session *session, TEEC_Context *context) in CloseSession()
/base/msdp/device_status/services/interaction/drag/src/
Dstate_change_notify.cpp91 void StateChangeNotify::OnDragInfoNotify(SessionPtr session, MessageId msgId, T t) in OnDragInfoNotify()
Ddrag_manager.cpp87 void DragManager::OnSessionLost(SessionPtr session) in OnSessionLost()
95 int32_t DragManager::AddListener(SessionPtr session) in AddListener()
107 int32_t DragManager::RemoveListener(SessionPtr session) in RemoveListener()
118 int32_t DragManager::AddSubscriptListener(SessionPtr session) in AddSubscriptListener()
130 int32_t DragManager::RemoveSubscriptListener(SessionPtr session) in RemoveSubscriptListener()
/base/msdp/device_status/intention/cooperate/plugin/src/
Devent_manager.cpp156 auto session = env_->GetSocketSessionManager().FindSessionByPid(pid); in NotifyCooperateMessage() local
173 auto session = env_->GetSocketSessionManager().FindSessionByPid(pid); in NotifyCooperateState() local
/base/security/device_auth/services/session_manager/src/session/
Ddev_session_fwk.c541 static int32_t BuildDevSessionByContext(const CJson *context, SessionImpl *session) in BuildDevSessionByContext()
570 …ldDevSession(int64_t sessionId, const char *appId, SessionInitParams *params, SessionImpl *session) in BuildDevSession()
609 SessionImpl *session = (SessionImpl *)HcMalloc(sizeof(SessionImpl), 0); in CreateDevSession() local
/base/msdp/device_status/services/native/src/
Ddevicestatus_service.cpp701 SessionPtr session = GetSession(GetClientFd(pid)); in OnStart() local
715 SessionPtr session = GetSession(GetClientFd(pid)); in OnStart() local
732 SessionPtr session = GetSession(GetClientFd(pid)); in OnStart() local
746 SessionPtr session = GetSession(GetClientFd(pid)); in OnStart() local
761 SessionPtr session = GetSession(GetClientFd(pid)); in OnStart() local
/base/update/updateservice/frameworks/js/napi/update/src/
Dsession_manager.cpp44 void SessionManager::AddSession(std::shared_ptr<BaseSession> session) in AddSession()
/base/telephony/sms_mms/services/mms/
Dmms_network_client.cpp194 HttpSession &session = HttpSession::GetInstance(); in HttpRequest() local
/base/tee/tee_client/interfaces/kits/c/include/
Dtee_client_type.h201 TEEC_Session *session; member

12