/base/accessibility/frameworks/aafwk/test/mock/ |
D | mock_accessibility_element_operator_stub.cpp | 98 … const int requestId, const sptr<IAccessibilityElementOperatorCallback> &callback, const int mode) in SearchElementInfoByAccessibilityId() argument 101 (void)requestId; in SearchElementInfoByAccessibilityId() 108 const int requestId, const sptr<IAccessibilityElementOperatorCallback> &callback) in SearchElementInfosByText() argument 112 (void)requestId; in SearchElementInfosByText() 117 const int focusType, const int requestId, in FindFocusedElementInfo() argument 122 (void)requestId; in FindFocusedElementInfo() 127 const int direction, const int requestId, in FocusMoveSearch() argument 132 (void)requestId; in FocusMoveSearch() 138 int requestId, const sptr<IAccessibilityElementOperatorCallback> &callback) in ExecuteAction() argument 143 (void)requestId; in ExecuteAction() [all …]
|
D | mock_accessibility_element_operator_callback_proxy.cpp | 37 const std::vector<AccessibilityElementInfo> &infos, const int requestId) in SetSearchElementInfoByAccessibilityIdResult() argument 40 (void)requestId; in SetSearchElementInfoByAccessibilityIdResult() 44 const std::vector<AccessibilityElementInfo> &infos, const int requestId) in SetSearchElementInfoByTextResult() argument 47 (void)requestId; in SetSearchElementInfoByTextResult() 51 const AccessibilityElementInfo &info, const int requestId) in SetFindFocusedElementInfoResult() argument 54 (void)requestId; in SetFindFocusedElementInfoResult() 58 const int requestId) in SetFocusMoveSearchResult() argument 61 (void)requestId; in SetFocusMoveSearchResult() 64 …lityElementOperatorCallbackProxy::SetExecuteActionResult(const bool succeeded, const int requestId) in SetExecuteActionResult() argument 67 (void)requestId; in SetExecuteActionResult()
|
D | mock_accessible_ability_channel_proxy.cpp | 45 …const long elementId, const int requestId, const sptr<IAccessibilityElementOperatorCallback> &call… in SearchElementInfoByAccessibilityId() argument 50 (void)requestId; in SearchElementInfoByAccessibilityId() 57 const long elementId, const std::string &text, const int requestId, in SearchElementInfosByText() argument 63 (void)requestId; in SearchElementInfosByText() 69 const long elementId, const int focusType, const int requestId, in FindFocusedElementInfo() argument 75 (void)requestId; in FindFocusedElementInfo() 81 …const int direction, const int requestId, const sptr<IAccessibilityElementOperatorCallback> &callb… in FocusMoveSearch() argument 86 (void)requestId; in FocusMoveSearch() 92 const int action, std::map<std::string, std::string> &actionArguments, const int requestId, in ExecuteAction() argument 99 (void)requestId; in ExecuteAction() [all …]
|
/base/accessibility/frameworks/asacfwk/src/ |
D | accessibility_element_operator_stub.cpp | 85 int requestId = data.ReadInt32(); in HandleSearchElementInfoByAccessibilityId() local 91 SearchElementInfoByAccessibilityId(elementId, requestId, callback, mode); in HandleSearchElementInfoByAccessibilityId() 102 int requestId = data.ReadInt32(); in HandleSearchElementInfosByText() local 107 SearchElementInfosByText(elementId, text, requestId, callback); in HandleSearchElementInfosByText() 118 int requestId = data.ReadInt32(); in HandleFindFocusedElementInfo() local 123 FindFocusedElementInfo(elementId, focusType, requestId, callback); in HandleFindFocusedElementInfo() 133 int requestId = data.ReadInt32(); in HandleFocusFind() local 138 FocusMoveSearch(elementId, direction, requestId, callback); in HandleFocusFind() 162 int requestId = data.ReadInt32(); in HandleExecuteAction() local 167 ExecuteAction(elementId, action, arguments, requestId, callback); in HandleExecuteAction() [all …]
|
/base/security/deviceauth/services/frameworks/src/session/ |
D | session_manager.c | 36 int64_t requestId; member 71 static int32_t GetSessionId(int64_t requestId, int64_t *sessionId) in GetSessionId() argument 76 if ((requestInfo != NULL) && (requestInfo->requestId == requestId)) { in GetSessionId() 84 static int32_t GetSessionIdByType(int64_t requestId, int32_t type, int64_t *sessionId) in GetSessionIdByType() argument 89 if ((requestInfo != NULL) && (requestInfo->requestId == requestId)) { in GetSessionIdByType() 101 static void DestroyRequest(int64_t requestId) in DestroyRequest() argument 106 if ((request != NULL) && (request->requestId == requestId)) { in DestroyRequest() 134 bool IsRequestExist(int64_t requestId) in IsRequestExist() argument 137 return (GetSessionId(requestId, &sessionId) == HC_SUCCESS) ? true : false; in IsRequestExist() 146 int64_t requestId = 0; in InformTimeOutAndDestroyRequest() local [all …]
|
/base/accessibility/services/test/mock/ |
D | accessibility_element_operator_stub_mock.cpp | 83 … const int requestId, const sptr<IAccessibilityElementOperatorCallback> &callback, const int mode) in SearchElementInfoByAccessibilityId() argument 90 const int requestId, const sptr<IAccessibilityElementOperatorCallback> &callback) in SearchElementInfosByText() argument 96 const int focusType, const int requestId, in FindFocusedElementInfo() argument 103 const int direction, const int requestId, in FocusMoveSearch() argument 111 int requestId, const sptr<IAccessibilityElementOperatorCallback> &callback) in ExecuteAction() argument 129 AccessibilityElementOperatorStub::CallbackImpl::CallbackImpl(const int requestId, in CallbackImpl() argument 132 requestId_ = requestId; in CallbackImpl() 137 const std::list<AccessibilityElementInfo> &infos, const int requestId) in SetSearchElementInfoByAccessibilityIdResult() argument 143 const std::list<AccessibilityElementInfo> &infos, const int requestId) in SetSearchElementInfoByTextResult() argument 149 const AccessibilityElementInfo &info, const int requestId) in SetFindFocusedElementInfoResult() argument [all …]
|
D | accessibility_element_operator_proxy_mock.cpp | 52 … const int requestId, const sptr<IAccessibilityElementOperatorCallback> &callback, const int mode) in SearchElementInfoByAccessibilityId() argument 57 g_testChannelrequestId = requestId; in SearchElementInfoByAccessibilityId() 64 const int requestId, const sptr<IAccessibilityElementOperatorCallback> &callback) in SearchElementInfosByText() argument 69 g_testChannelrequestId = requestId; in SearchElementInfosByText() 74 …const int focusType, const int requestId, const sptr<IAccessibilityElementOperatorCallback> &callb… in FindFocusedElementInfo() argument 79 g_testChannelrequestId = requestId; in FindFocusedElementInfo() 84 …const int direction, const int requestId, const sptr<IAccessibilityElementOperatorCallback> &callb… in FocusMoveSearch() argument 89 g_testChannelrequestId = requestId; in FocusMoveSearch() 94 const std::map<std::string, std::string> arguments, const int requestId, in ExecuteAction() argument 100 g_testChannelrequestId = requestId; in ExecuteAction()
|
D | accessibility_element_operator_callback_proxy_mock.cpp | 36 const std::vector<AccessibilityElementInfo> &infos, const int requestId) in SetSearchElementInfoByAccessibilityIdResult() argument 40 const std::vector<AccessibilityElementInfo> &infos, const int requestId) in SetSearchElementInfoByTextResult() argument 44 const AccessibilityElementInfo &info, const int requestId) in SetFindFocusedElementInfoResult() argument 48 const int requestId) in SetFocusMoveSearchResult() argument 51 …lityElementOperatorCallbackProxy::SetExecuteActionResult(const bool succeeded, const int requestId) in SetExecuteActionResult() argument
|
/base/accessibility/services/aams/test/mock/ |
D | accessibility_element_operator_stub_mock.cpp | 84 … const int requestId, const sptr<IAccessibilityElementOperatorCallback> &callback, const int mode) in SearchElementInfoByAccessibilityId() argument 90 …const std::string &text, const int requestId, const sptr<IAccessibilityElementOperatorCallback> &c… in SearchElementInfosByText() argument 96 …const int focusType, const int requestId, const sptr<IAccessibilityElementOperatorCallback> &callb… in FindFocusedElementInfo() argument 102 …const int direction, const int requestId, const sptr<IAccessibilityElementOperatorCallback> &callb… in FocusMoveSearch() argument 109 int requestId, const sptr<IAccessibilityElementOperatorCallback> &callback) in ExecuteAction() argument 128 AccessibilityElementOperatorStub::CallbackImpl::CallbackImpl(const int requestId, CALL_API_NUM call… in CallbackImpl() argument 130 requestId_ = requestId; in CallbackImpl() 135 const std::list<AccessibilityElementInfo> &infos, const int requestId) in SetSearchElementInfoByAccessibilityIdResult() argument 141 const std::list<AccessibilityElementInfo> &infos, const int requestId) in SetSearchElementInfoByTextResult() argument 147 const AccessibilityElementInfo &info, const int requestId) in SetFindFocusedElementInfoResult() argument [all …]
|
D | accessibility_element_operator_callback_proxy_mock.cpp | 37 const std::vector<AccessibilityElementInfo> &infos, const int requestId) in SetSearchElementInfoByAccessibilityIdResult() argument 42 const std::vector<AccessibilityElementInfo> &infos, const int requestId) in SetSearchElementInfoByTextResult() argument 47 const AccessibilityElementInfo &info, const int requestId) in SetFindFocusedElementInfoResult() argument 52 const int requestId) in SetFocusMoveSearchResult() argument 56 …lityElementOperatorCallbackProxy::SetExecuteActionResult(const bool succeeded, const int requestId) in SetExecuteActionResult() argument
|
D | accessibility_element_operator_proxy_mock.cpp | 47 … const int requestId, const sptr<IAccessibilityElementOperatorCallback> &callback, const int mode) in SearchElementInfoByAccessibilityId() argument 52 g_testChannelrequestId = requestId; in SearchElementInfoByAccessibilityId() 57 …const std::string &text, const int requestId, const sptr<IAccessibilityElementOperatorCallback> &c… in SearchElementInfosByText() argument 63 …const int focusType, const int requestId, const sptr<IAccessibilityElementOperatorCallback> &callb… in FindFocusedElementInfo() argument 69 …const int direction, const int requestId, const sptr<IAccessibilityElementOperatorCallback> &callb… in FocusMoveSearch() argument 75 const std::map<std::string, std::string> arguments, const int requestId, in ExecuteAction() argument
|
/base/security/deviceauth/services/group_manager/src/bind_peer_mock/ |
D | bind_peer_mock.c | 20 int32_t RequestBindPeer(int64_t requestId, const char *appId, const char *bindParams) in RequestBindPeer() argument 22 (void)requestId; in RequestBindPeer() 28 int32_t RequestUnbindPeer(int64_t requestId, const char *appId, const char *unbindParams) in RequestUnbindPeer() argument 30 (void)requestId; in RequestUnbindPeer() 36 int32_t RequestProcessLiteData(int64_t requestId, const char *appId, const uint8_t *data, uint32_t … in RequestProcessLiteData() argument 38 (void)requestId; in RequestProcessLiteData()
|
/base/security/deviceauth/services/group_manager/src/channel_manager/soft_bus_channel/ |
D | soft_bus_channel.c | 30 int64_t requestId; member 36 int64_t requestId; member 52 *returnReqId = entry->requestId; in GetReqIdByChannelId() 61 static int32_t AddChannelEntry(int64_t requestId, int64_t channelId) in AddChannelEntry() argument 70 .requestId = requestId in AddChannelEntry() 102 OnChannelOpened(task->requestId, task->channelId); in DoOnChannelOpened() 105 static void InitSoftBusTask(SoftBusTask *task, int64_t requestId, int64_t channelId) in InitSoftBusTask() argument 110 task->requestId = requestId; in InitSoftBusTask() 113 static char *GenRecvData(int64_t channelId, const void *data, uint32_t dataLen, int64_t *requestId) in GenRecvData() argument 131 if (GetInt64FromJson(recvData, FIELD_REQUEST_ID, requestId) != HC_SUCCESS) { in GenRecvData() [all …]
|
/base/accessibility/frameworks/asacfwk/test/mock/ |
D | mock_accessible_ability_channel_impl.cpp | 29 const long elementId, const int requestId, in SearchElementInfoByAccessibilityId() argument 35 (void)requestId; in SearchElementInfoByAccessibilityId() 42 …const std::string &text, const int requestId, const sptr<IAccessibilityElementOperatorCallback> &c… in SearchElementInfosByText() argument 48 (void)requestId; in SearchElementInfosByText() 54 …const int focusType, const int requestId, const sptr<IAccessibilityElementOperatorCallback> &callb… in FindFocusedElementInfo() argument 60 (void)requestId; in FindFocusedElementInfo() 66 …const int direction, const int requestId, const sptr<IAccessibilityElementOperatorCallback> &callb… in FocusMoveSearch() argument 72 (void)requestId; in FocusMoveSearch() 79 const int requestId, const sptr<IAccessibilityElementOperatorCallback> &callback) in ExecuteAction() argument 86 (void)requestId; in ExecuteAction() [all …]
|
/base/security/deviceauth/services/frameworks/inc/session/ |
D | session_manager.h | 29 bool IsRequestExist(int64_t requestId); 31 int32_t CreateSession(int64_t requestId, SessionTypeValue sessionType, CJson *param, 33 int32_t ProcessSession(int64_t requestId, int32_t type, CJson *in); 34 void DestroySession(int64_t requestId); 35 void OnChannelOpened(int64_t requestId, int64_t channelId); 36 void OnConfirmed(int64_t requestId, CJson *returnData);
|
/base/security/deviceauth/services/group_manager/src/ |
D | group_manager.c | 24 int32_t CreateGroupImpl(int32_t osAccountId, int64_t requestId, const char *appId, const char *crea… in CreateGroupImpl() argument 26 …return IsGroupSupport() ? GetGroupImplInstance()->createGroup(osAccountId, requestId, appId, creat… in CreateGroupImpl() 30 int32_t DeleteGroupImpl(int32_t osAccountId, int64_t requestId, const char *appId, const char *disb… in DeleteGroupImpl() argument 32 …return IsGroupSupport() ? GetGroupImplInstance()->deleteGroup(osAccountId, requestId, appId, disba… in DeleteGroupImpl() 36 int32_t AddMemberToGroupImpl(int32_t osAccountId, int64_t requestId, const char *appId, const char … in AddMemberToGroupImpl() argument 38 …return IsGroupSupport() ? GetGroupImplInstance()->addMember(osAccountId, requestId, appId, addPara… in AddMemberToGroupImpl() 42 int32_t DeleteMemberFromGroupImpl(int32_t osAccountId, int64_t requestId, const char *appId, const … in DeleteMemberFromGroupImpl() argument 44 …return IsGroupSupport() ? GetGroupImplInstance()->deleteMember(osAccountId, requestId, appId, dele… in DeleteMemberFromGroupImpl() 48 int32_t ProcessBindDataImpl(int64_t requestId, const uint8_t *data, uint32_t dataLen) in ProcessBindDataImpl() argument 50 …return IsGroupSupport() ? GetGroupImplInstance()->processBindData(requestId, data, dataLen) : HC_E… in ProcessBindDataImpl() [all …]
|
/base/accessibility/frameworks/asacfwk/include/ |
D | accessibility_element_operator_stub.h | 76 virtual void SearchElementInfoByAccessibilityId(const long elementId, const int requestId, 88 const int requestId, const sptr<IAccessibilityElementOperatorCallback> &callback) override; 99 …virtual void FindFocusedElementInfo(const long elementId, const int focusType, const int requestId, 110 virtual void FocusMoveSearch(const long elementId, const int direction, const int requestId, 137 int requestId, const sptr<IAccessibilityElementOperatorCallback> &callback) override; 197 CallbackImpl(const int requestId, CALL_API_NUM callNum); 206 const int requestId) override; 215 const int requestId) override; 224 const int requestId) override; 232 … void SetFocusMoveSearchResult(const AccessibilityElementInfo &info, const int requestId) override; [all …]
|
D | accessibility_element_operator_callback_interface.h | 42 const int requestId) = 0; 51 const int requestId) = 0; 59 …oid SetFindFocusedElementInfoResult(const AccessibilityElementInfo &info, const int requestId) = 0; 67 …virtual void SetFocusMoveSearchResult(const AccessibilityElementInfo &info, const int requestId) =… 75 virtual void SetExecuteActionResult(const bool succeeded, const int requestId) = 0;
|
/base/security/deviceauth/services/group_manager/src/bind_peer/ |
D | bind_peer.c | 60 static int32_t AddLiteDataToReceivedData(CJson *receivedData, int64_t requestId, const char *appId) in AddLiteDataToReceivedData() argument 69 return AddBindParamsToJson(OP_BIND, requestId, appId, receivedData); in AddLiteDataToReceivedData() 71 return AddServerParamsToJson(false, requestId, appId, receivedData); in AddLiteDataToReceivedData() 125 int32_t RequestBindPeer(int64_t requestId, const char *appId, const char *bindParams) in RequestBindPeer() argument 131 LOGI("[Start]: RequestBindPeer! [AppId]: %s, [ReqId]: %" PRId64, appId, requestId); in RequestBindPeer() 137 if (AddClientParamsToJson(true, OP_BIND, requestId, appId, params) != HC_SUCCESS) { in RequestBindPeer() 141 if (InitAndPushGMTask(OP_BIND, requestId, params, DoClientTask) != HC_SUCCESS) { in RequestBindPeer() 149 int32_t RequestUnbindPeer(int64_t requestId, const char *appId, const char *unbindParams) in RequestUnbindPeer() argument 155 LOGI("[Start]: RequestUnbindPeer! [AppId]: %s, [ReqId]: %" PRId64, appId, requestId); in RequestUnbindPeer() 161 if (AddClientParamsToJson(true, OP_UNBIND, requestId, appId, params) != HC_SUCCESS) { in RequestUnbindPeer() [all …]
|
/base/accessibility/interfaces/innerkits/asacfwk/include/ |
D | accessibility_element_operator_callback.h | 39 const int requestId) = 0; 48 const int requestId) = 0; 56 …oid SetFindFocusedElementInfoResult(const AccessibilityElementInfo &info, const int requestId) = 0; 64 …virtual void SetFocusMoveSearchResult(const AccessibilityElementInfo &info, const int requestId) =… 72 virtual void SetExecuteActionResult(const bool succeeded, const int requestId) = 0;
|
D | accessibility_element_operator.h | 45 const int requestId, AccessibilityElementOperatorCallback &callback, const int mode) = 0; 56 const int requestId, AccessibilityElementOperatorCallback &callback) = 0; 67 …virtual void FindFocusedElementInfo(const long elementId, const int focusType, const int requestId, 78 virtual void FocusMoveSearch(const long elementId, const int direction, const int requestId, 105 const int requestId, AccessibilityElementOperatorCallback &callback) = 0;
|
/base/security/deviceauth/services/group_manager/inc/ |
D | group_manager.h | 29 int32_t CreateGroupImpl(int32_t osAccountId, int64_t requestId, const char *appId, const char *crea… 30 int32_t DeleteGroupImpl(int32_t osAccountId, int64_t requestId, const char *appId, const char *disb… 31 int32_t AddMemberToGroupImpl(int32_t osAccountId, int64_t requestId, const char *appId, const char … 32 int32_t DeleteMemberFromGroupImpl(int32_t osAccountId, int64_t requestId, const char *appId, const … 33 int32_t ProcessBindDataImpl(int64_t requestId, const uint8_t *data, uint32_t dataLen); 34 int32_t ConfirmRequestImpl(int32_t osAccountId, int64_t requestId, const char *appId, const char *c… 68 int32_t BindPeerImpl(int64_t requestId, const char *appId, const char *bindParams); 69 int32_t UnbindPeerImpl(int64_t requestId, const char *appId, const char *unbindParams); 70 int32_t ProcessLiteDataImpl(int64_t requestId, const char *appId, const uint8_t *data, uint32_t dat… 72 int32_t AuthKeyAgreeImpl(int64_t requestId, const char *appId, const char *agreeParams); [all …]
|
/base/security/deviceauth/services/group_auth/src/session/auth_session_lite/ |
D | auth_session_common_lite.c | 76 int64_t requestId = 0; in ReturnErrorDataLite() local 78 … if (GetByteFromJson(in, FIELD_REQUEST_ID, (uint8_t *)&requestId, sizeof(int64_t)) != HC_SUCCESS) { in ReturnErrorDataLite() 93 callback->onError(requestId, authForm, errorCode, returnStr); in ReturnErrorDataLite() 98 static int32_t ReturnSessionKeyLite(int64_t requestId, const CJson *authParams, in ReturnSessionKeyLite() argument 121 callback->onSessionKeyReturned(requestId, sessionKey, keyLen); in ReturnSessionKeyLite() 129 static void ReturnFinishDataLiteInner(int64_t requestId, const CJson *in, const DeviceAuthCallback … in ReturnFinishDataLiteInner() argument 146 …if (!callback->onTransmit(requestId, (uint8_t *)sendToPeerStr, (uint32_t)strlen(sendToPeerStr) + 1… in ReturnFinishDataLiteInner() 166 callback->onFinish(requestId, authForm, returnStr); in ReturnFinishDataLiteInner() 177 int64_t requestId = 0; in ReturnFinishDataLite() local 178 … if (GetByteFromJson(in, FIELD_REQUEST_ID, (uint8_t *)&requestId, sizeof(int64_t)) != HC_SUCCESS) { in ReturnFinishDataLite() [all …]
|
/base/security/deviceauth/services/group_manager/inc/callback_manager/ |
D | callback_manager.h | 25 bool ProcessTransmitCallback(int64_t requestId, const uint8_t *data, uint32_t dataLen, 27 char *ProcessRequestCallback(int64_t requestId, int operationCode, const char *reqParams, 29 void ProcessFinishCallback(int64_t requestId, int operationCode, const char *returnData, 31 void ProcessSessionKeyCallback(int64_t requestId, const uint8_t *sessionKey, uint32_t sessionKeyLen, 33 void ProcessErrorCallback(int64_t requestId, int operationCode, int errorCode, const char *errorRet…
|
/base/security/deviceauth/services/group_manager/src/key_agree_mock/ |
D | key_agree_mock.c | 20 int32_t RequestAuthKeyAgree(int64_t requestId, const char *appId, const char *agreeParams) in RequestAuthKeyAgree() argument 22 (void)requestId; in RequestAuthKeyAgree() 28 int32_t RequestProcessKeyAgreeData(int64_t requestId, const char *appId, const uint8_t *data, uint3… in RequestProcessKeyAgreeData() argument 30 (void)requestId; in RequestProcessKeyAgreeData()
|