Home
last modified time | relevance | path

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

/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 CheckPeerGroupAuthMsg(CompatibleAuthSubSession *session, CJson *receivedData) in CheckPeerGroupAuthMsg()
110 static int32_t ProcessClientAuthTaskInner(CompatibleAuthSubSession *session, int32_t moduleType, CJ… in ProcessClientAuthTaskInner()
141 static int32_t ProcessClientAuthTask(CompatibleAuthSubSession *session, CJson *receivedData, int32_… in ProcessClientAuthTask()
169 static int32_t GenerateClientFirstMsg(CompatibleAuthSubSession *session, CJson *out, CJson **sendDa… in GenerateClientFirstMsg()
184 static int32_t CreateAndProcessClientAuthTask(CompatibleAuthSubSession *session, CJson **sendData, … in CreateAndProcessClientAuthTask()
208 static int32_t ProcessServerAuthTaskInner(CompatibleAuthSubSession *session, int32_t moduleType, in ProcessServerAuthTaskInner()
227 static int32_t ProcessServerAuthTask(CompatibleAuthSubSession *session, CJson *receivedData, int32_… in ProcessServerAuthTask()
253 static int32_t CreateAndProcessServerAuthTask(CompatibleAuthSubSession *session, CJson *receivedDat… in CreateAndProcessServerAuthTask()
279 CompatibleBaseSubSession **session) in CreateClientAuthSubSession()
[all …]
Dcompatible_auth_sub_session_common.c371 static int32_t ReturnTransmitData(const CompatibleAuthSubSession *session, CJson *out) in ReturnTransmitData()
419 static void ReturnFinishData(const CompatibleAuthSubSession *session, const CJson *out) in ReturnFinishData()
445 int32_t AuthOnNextGroupIfExist(CompatibleAuthSubSession *session) in AuthOnNextGroupIfExist()
499 int32_t CreateAndProcessAuthTask(CompatibleAuthSubSession *session, CJson *paramInSession, CJson *o… in CreateAndProcessAuthTask()
539 int32_t ProcessClientAuthError(CompatibleAuthSubSession *session, const CJson *out) in ProcessClientAuthError()
560 void ProcessServerAuthError(CompatibleAuthSubSession *session, const CJson *out) in ProcessServerAuthError()
575 int32_t AddGroupAuthTransmitData(const CompatibleAuthSubSession *session, CJson *sendToPeer) in AddGroupAuthTransmitData()
609 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.c106 const DeviceAuthCallback *callback, CompatibleBaseSubSession **session) in CreateBaseBindSubSession()
202 static int32_t GenerateServerBindParams(CompatibleBindSubSession *session, CJson *jsonParams) in GenerateServerBindParams()
227 …atic int32_t TryAddPeerUserTypeToParams(const CJson *jsonParams, CompatibleBindSubSession *session) in TryAddPeerUserTypeToParams()
238 static int32_t InteractWithPeer(const CompatibleBindSubSession *session, CJson *sendData) in InteractWithPeer()
248 static int32_t SendBindDataToPeer(CompatibleBindSubSession *session, CJson *out) in SendBindDataToPeer()
261 const CompatibleBindSubSession *session, CJson *out) in InformSelfBindSuccess()
347 static int32_t GenerateGroupParams(const CompatibleBindSubSession *session, TrustedGroupEntry *grou… in GenerateGroupParams()
361 static int32_t AddGroupToDatabase(const CompatibleBindSubSession *session) in AddGroupToDatabase()
412 …int32_t AddGroupAndLocalDevIfNotExist(const char *groupId, const CompatibleBindSubSession *session) in AddGroupAndLocalDevIfNotExist()
438 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()
337 CompatibleBindSubSession *session) in AddGroupAndDevInfo()
351 …tic int32_t AddPeerAuthIdAndUdidIfExist(const CJson *jsonParams, CompatibleBindSubSession *session) in AddPeerAuthIdAndUdidIfExist()
366 static int32_t AddGroupAndDevInfoToParams(const CompatibleBindSubSession *session, CJson *modulePar… in AddGroupAndDevInfoToParams()
398 static int32_t AddRequestInfoToParams(bool isClient, const CompatibleBindSubSession *session, CJson… in AddRequestInfoToParams()
420 static int32_t AddPinCodeToParams(CompatibleBindSubSession *session, CJson *moduleParams) in AddPinCodeToParams()
436 static int32_t AddGroupInfoToSendData(const CompatibleBindSubSession *session, CJson *data) in AddGroupInfoToSendData()
467 static int32_t AddDevInfoToSendData(const CompatibleBindSubSession *session, CJson *data) in AddDevInfoToSendData()
490 static int32_t AddRequestInfoToSendData(const CompatibleBindSubSession *session, CJson *data) in AddRequestInfoToSendData()
574 CompatibleBindSubSession *session) in GenerateBaseBindParams()
[all …]
Dcompatible_bind_sub_session_util.c109 static int32_t AddGroupErrorInfo(int32_t errorCode, const CompatibleBindSubSession *session, in AddGroupErrorInfo()
160 int32_t CreateAndProcessBindTask(CompatibleBindSubSession *session, const CJson *in, CJson *out, in… in CreateAndProcessBindTask()
181 int32_t TransmitBindSessionData(const CompatibleBindSubSession *session, const CJson *sendData) in TransmitBindSessionData()
209 …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.cpp239 std::shared_ptr<AppAccountAuthenticatorSession> session = nullptr; variable
273 auto session = std::make_shared<AppAccountAuthenticatorSession>(action, request); variable
302 auto session = std::make_shared<AppAccountAuthenticatorSession>(action, request); variable
349 auto session = std::make_shared<AppAccountAuthenticatorSession>(action, request); variable
401 auto session = std::make_shared<AppAccountAuthenticatorSession>(action, request); variable
427 auto session = std::make_shared<AppAccountAuthenticatorSession>(action, request); variable
464 auto session = std::make_shared<AppAccountAuthenticatorSession>(action, request); variable
512 auto session = std::make_shared<AppAccountAuthenticatorSession>(action, request); variable
546 auto session = std::make_shared<AppAccountAuthenticatorSession>(AUTHENTICATE, request); variable
589 auto session = appAccountAuthenticatorSessionManagerPtr_->GetSession(SESSION_ID); variable
[all …]
/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/security/access_token/services/tokensyncmanager/src/remote/
Dsoft_bus_channel.cpp69 int session = SoftBusManager::GetInstance().OpenSession(deviceId_); in BuildConnection() local
198 void SoftBusChannel::HandleDataReceived(int session, const unsigned char *bytes, int length) in HandleDataReceived()
330 int session = SoftBusManager::GetInstance().OpenSession(deviceId_); in CheckSessionMayReopenLocked() local
355 void SoftBusChannel::HandleRequest(int session, const std::string &id, const std::string &commandNa… in HandleRequest()
423 int SoftBusChannel::SendResponseBytes(int session, const unsigned char *bytes, const int bytesLengt… in SendResponseBytes()
/base/msdp/device_status/services/interaction/drag/src/
Dstate_change_notify.cpp73 void StateChangeNotify::OnStateChangedNotify(SessionPtr session, MessageId msgId, DragState state) in OnStateChangedNotify()
Ddrag_manager.cpp52 void DragManager::OnSessionLost(SessionPtr session) in OnSessionLost()
60 int32_t DragManager::AddListener(SessionPtr session) in AddListener()
71 int32_t DragManager::RemoveListener(SessionPtr session) in RemoveListener()
/base/security/device_auth/services/session_manager/src/session/
Ddev_session_fwk.c505 static int32_t BuildDevSessionByContext(const CJson *context, SessionImpl *session) in BuildDevSessionByContext()
534 …ldDevSession(int64_t sessionId, const char *appId, SessionInitParams *params, SessionImpl *session) in BuildDevSession()
573 SessionImpl *session = (SessionImpl *)HcMalloc(sizeof(SessionImpl), 0); in CreateDevSession() local
/base/update/updateservice/frameworks/js/napi/base/src/
Dsession_manager.cpp37 void SessionManager::AddSession(std::shared_ptr<IUpdateSession> session) in AddSession()
/base/msdp/device_status/services/native/src/
Ddevicestatus_service.cpp644 auto session = GetSession(GetClientFd(pid)); in AddDraglistener() local
658 auto session = GetSession(GetClientFd(pid)); in RemoveDraglistener() local
/base/web/webview/test/unittest/ohos_adapter/camera_adapter_impl_test/
Dcamera_adapter_impl_test.cpp372 sptr<ICaptureSession> session = nullptr; variable
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/ca/
Dhks_teec.c104 static TEEC_Result OpenSession(TEEC_Context *context, TEEC_Session **session) in OpenSession()
/base/msdp/device_status/services/interaction/coordination/src/
Dcoordination_sm.cpp92 void CoordinationSM::OnSessionLost(SessionPtr session) in OnSessionLost()