Home
last modified time | relevance | path

Searched defs:session (Results 1 – 20 of 20) 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/group_manager/src/session/bind_session/
Dbind_session_client.c24 static int32_t GenerateClientModuleParams(BindSession *session, CJson *moduleParams) in GenerateClientModuleParams()
34 static int32_t GetClientModuleReturnData(BindSession *session, CJson *out) in GetClientModuleReturnData()
57 static int32_t PrepareData(BindSession *session, CJson **sendData) in PrepareData()
87 static int32_t PrepareAndSendData(BindSession *session) in PrepareAndSendData()
110 static void OnBindChannelOpened(Session *session, int64_t channelId, int64_t requestId) in OnBindChannelOpened()
137 static int32_t PrepareClient(const CJson *jsonParams, BindSession *session) in PrepareClient()
170 BindSession *session = CreateBaseBindSession(TYPE_CLIENT_BIND_SESSION, opCode, in CreateClientBindSession() local
Dbind_session_common.c28 static int32_t AddGroupInfoToSendData(const BindSession *session, CJson *data) in AddGroupInfoToSendData()
59 static int32_t AddDevInfoToSendData(const BindSession *session, CJson *data) in AddDevInfoToSendData()
82 static int32_t AddRequestInfoToSendData(const BindSession *session, CJson *data) in AddRequestInfoToSendData()
158 static int32_t AddGroupAndDevInfoToParams(const BindSession *session, CJson *moduleParams) in AddGroupAndDevInfoToParams()
190 static int32_t AddRequestInfoToParams(bool isClient, const BindSession *session, CJson *moduleParam… in AddRequestInfoToParams()
213 static int32_t AddPinCodeToParamsIfNeed(BindSession *session, CJson *moduleParams) in AddPinCodeToParamsIfNeed()
232 static int32_t AddPeerAuthIdToParams(BindSession *session, CJson *moduleParams) in AddPeerAuthIdToParams()
246 static int32_t AddPeerUserTypeToParams(BindSession *session, CJson *moduleParams) in AddPeerUserTypeToParams()
260 static int32_t AddPeerAuthIdAndUserTypeToParamsIfNeed(BindSession *session, CJson *moduleParams) in AddPeerAuthIdAndUserTypeToParamsIfNeed()
272 static int32_t TryAddPeerUserTypeToParams(const CJson *jsonParams, BindSession *session) in TryAddPeerUserTypeToParams()
[all …]
Dbind_session_server.c64 static int32_t GenerateServerModuleParams(BindSession *session, CJson *jsonParams, CJson *modulePar… in GenerateServerModuleParams()
75 static int32_t GetServerModuleReturnData(BindSession *session, CJson *jsonParams, CJson *out, bool … in GetServerModuleReturnData()
102 static int32_t PrepareData(BindSession *session, CJson *jsonParams, CJson **sendData, bool *isNeedI… in PrepareData()
133 static int32_t PrepareAndSendDataServer(BindSession *session, CJson *jsonParams, bool *isNeedInform) in PrepareAndSendDataServer()
187 static int32_t RequestConfirmation(const CJson *jsonParams, const BindSession *session, char **retu… in RequestConfirmation()
358 static int32_t PrepareServer(BindSession *session, CJson *returnData, bool *isNeedInform) in PrepareServer()
412 static int32_t BindSaveReceivedData(BindSession *session, const CJson *jsonParams) in BindSaveReceivedData()
428 static int32_t JudgeConfirmation(CJson *returnData, CJson *jsonParams, BindSession *session, bool *… in JudgeConfirmation()
455 static int32_t HandleRequest(CJson *jsonParams, BindSession *session, bool *isNeedInform) in HandleRequest()
482 BindSession *session = CreateBaseBindSession(TYPE_SERVER_BIND_SESSION, opCode, in CreateServerBindSession() local
/base/security/device_auth/services/group_manager/src/session/
Dbind_session_common_util.c23 static int32_t GenerateGroupErrorMsg(int32_t errorCode, const BindSession *session, CJson *errorDat… in GenerateGroupErrorMsg()
69 BindSession *session = (BindSession *)HcMalloc(sizeof(BindSession), 0); in CreateBaseBindSession() local
103 void DestroyBindSession(Session *session) in DestroyBindSession()
118 …id InitClientChannel(const DeviceAuthCallback *callback, const CJson *params, BindSession *session) in InitClientChannel()
123 void InitServerChannel(const CJson *params, BindSession *session) in InitServerChannel()
155 int32_t SendBindSessionData(const BindSession *session, const CJson *sendData) in SendBindSessionData()
172 int32_t CreateAndProcessModule(BindSession *session, const CJson *in, CJson *out) in CreateAndProcessModule()
190 int32_t ProcessModule(const BindSession *session, const CJson *in, CJson *out, int32_t *status) in ProcessModule()
202 void InformPeerGroupErrorIfNeed(bool isNeedInform, int32_t errorCode, const BindSession *session) in InformPeerGroupErrorIfNeed()
225 void InformPeerModuleError(CJson *out, const BindSession *session) in InformPeerModuleError()
/base/security/device_auth/services/group_auth/src/session/auth_session/
Dauth_session_client.c45 static int32_t ProcessClientAuthTask(AuthSession *session, int32_t moduleType, CJson *in, CJson *ou… in ProcessClientAuthTask()
62 static int32_t StartClientAuthTask(AuthSession *session) in StartClientAuthTask()
97 static int32_t DealPeerGroupAuthError(AuthSession *session) in DealPeerGroupAuthError()
131 static int32_t ProcessClientAuthSession(Session *session, CJson *in) in ProcessClientAuthSession()
178 AuthSession *session = (AuthSession *)HcMalloc(sizeof(AuthSession), 0); in CreateClientAuthSessionInner() local
211 Session *session = NULL; in CreateClientAuthSession() local
Dauth_session_server.c144 static int32_t ProcessServerAuthTask(AuthSession *session, int32_t moduleType, CJson *in, CJson *ou… in ProcessServerAuthTask()
165 static int32_t StartServerAuthTask(AuthSession *session, const CJson *receivedData) in StartServerAuthTask()
205 static int32_t ProcessServerAuthSession(Session *session, CJson *in) in ProcessServerAuthSession()
253 AuthSession *session = (AuthSession *)HcMalloc(sizeof(AuthSession), 0); in CreateServerAuthSessionInner() local
288 AuthSession *session = CreateServerAuthSessionInner(param, callback); in CreateServerAuthSession() local
Dauth_session_common.c216 static int32_t AddGroupAuthTransmitData(const AuthSession *session, CJson *sendToPeer) in AddGroupAuthTransmitData()
250 static int32_t ReturnTransmitData(const AuthSession *session, CJson *out) in ReturnTransmitData()
306 static void ReturnFinishData(const AuthSession *session, const CJson *out) in ReturnFinishData()
330 static void ReturnErrorToLocalBySession(const AuthSession *session, int errorCode) in ReturnErrorToLocalBySession()
491 bool HasAlternativeAuthGroup(const AuthSession *session) in HasAlternativeAuthGroup()
499 static int32_t ProcessNextGroupIfPossible(AuthSession *session) in ProcessNextGroupIfPossible()
588 int32_t InformAuthError(AuthSession *session, const CJson *out, int errorCode) in InformAuthError()
634 int32_t ProcessTaskStatusForAuth(const AuthSession *session, const CJson *param, CJson *out, int32_… in ProcessTaskStatusForAuth()
661 int32_t CreateAndProcessTask(AuthSession *session, CJson *paramInSession, CJson *out, int32_t *stat… in CreateAndProcessTask()
718 void DestroyAuthSession(Session *session) in DestroyAuthSession()
/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.cpp237 std::shared_ptr<AppAccountAuthenticatorSession> session = nullptr; variable
271 auto session = std::make_shared<AppAccountAuthenticatorSession>(action, request); variable
300 auto session = std::make_shared<AppAccountAuthenticatorSession>(action, request); variable
347 auto session = std::make_shared<AppAccountAuthenticatorSession>(action, request); variable
399 auto session = std::make_shared<AppAccountAuthenticatorSession>(action, request); variable
425 auto session = std::make_shared<AppAccountAuthenticatorSession>(action, request); variable
462 auto session = std::make_shared<AppAccountAuthenticatorSession>(action, request); variable
510 auto session = std::make_shared<AppAccountAuthenticatorSession>(action, request); variable
544 auto session = std::make_shared<AppAccountAuthenticatorSession>(AUTHENTICATE, request); variable
587 auto session = appAccountAuthenticatorSessionManagerPtr_->GetSession(SESSION_ID); variable
[all …]
/base/security/device_auth/services/frameworks/src/session/
Dsession_manager.c111 void **session = NULL; in DestroySessionManager() local
152 void **session = NULL; in RemoveOverTimeSession() local
180 void **session = NULL; in ProcessSession() local
221 Session *session = NULL; in CreateSession() local
245 … bool CheckCancelPermission(int64_t requestId, const char *appId, int cancelType, Session *session) in CheckCancelPermission()
286 void **session = NULL; in DestroySessionByType() local
311 void **session = NULL; in DestroySession() local
333 void **session = NULL; in OnChannelOpened() local
/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/inputmethod/imf/services/src/
Dinput_method_system_ability.cpp277 auto session = GetUserSession(MAIN_USER_ID); in StopInputService() local
304 auto session = GetUserSession(MAIN_USER_ID); in PrepareInput() local
320 auto session = GetUserSession(MAIN_USER_ID); in ReleaseInput() local
330 auto session = GetUserSession(MAIN_USER_ID); in StartInput() local
346 auto session = GetUserSession(MAIN_USER_ID); in StopInput() local
356 auto session = GetUserSession(MAIN_USER_ID); in StopInputSession() local
374 auto session = GetUserSession(MAIN_USER_ID); in SetCoreAndAgent() local
388 auto session = GetUserSession(MAIN_USER_ID); in HideCurrentInput() local
402 auto session = GetUserSession(MAIN_USER_ID); in ShowCurrentInput() local
618 auto session = GetUserSession(MAIN_USER_ID); in OnSwitchInputMethod() local
[all …]
/base/security/access_token/services/tokensyncmanager/src/remote/
Dsoft_bus_channel.cpp69 int session = SoftBusManager::GetInstance().OpenSession(deviceId_); in BuildConnection() local
185 void SoftBusChannel::HandleDataReceived(int session, const unsigned char *bytes, int length) in HandleDataReceived()
317 int session = SoftBusManager::GetInstance().OpenSession(deviceId_); in CheckSessionMayReopenLocked() local
342 void SoftBusChannel::HandleRequest(int session, const std::string &id, const std::string &commandNa… in HandleRequest()
404 int SoftBusChannel::SendResponseBytes(int session, const unsigned char *bytes, const int bytesLengt… in SendResponseBytes()
Dsoft_bus_session_listener.cpp37 int32_t SoftBusSessionListener::OnSessionOpened(int32_t session, int32_t result) in OnSessionOpened()
71 void SoftBusSessionListener::OnSessionClosed(int32_t session) in OnSessionClosed()
/base/security/device_auth/services/group_auth/src/group_auth_manager/account_unrelated_group_auth/
Daccount_unrelated_group_auth.c294 static void OnDasError(int64_t requestId, const AuthSession *session, int errorCode) in OnDasError()
/base/update/updateservice/frameworks/js/napi/base/src/
Dsession_manager.cpp47 void SessionManager::AddSession(std::shared_ptr<IUpdateSession> session) in AddSession()
/base/security/device_auth/services/group_auth/src/group_auth_manager/account_related_group_auth/
Daccount_related_group_auth.c302 static void OnAccountError(int64_t requestId, const AuthSession *session, int errorCode) in OnAccountError()
/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()