/foundation/ability/ability_runtime/services/abilitymgr/include/ |
H A D | free_install_manager.h | 68 void OnInstallFinished(int32_t recordId, int resultCode, const Want &want, int32_t userId, bool isAsync = false); 86 * @param isAsync, the request is async. 91 bool isAsync = false, uint32_t specifyTokenId = 0, bool isOpenAtomicServiceShortUrl = false, 216 void NotifyFreeInstallResult(int32_t recordId, const Want &want, int resultCode, bool isAsync = false); 218 const sptr<IRemoteObject> &callerToken, bool isAsync, uint32_t specifyTokenId = 0, 234 void HandleFreeInstallResult(int32_t recordId, FreeInstallInfo &freeInstallInfo, int resultCode, bool isAsync); 235 void HandleOnFreeInstallSuccess(int32_t recordId, FreeInstallInfo &freeInstallInfo, bool isAsync); 236 void HandleOnFreeInstallFail(int32_t recordId, FreeInstallInfo &freeInstallInfo, int resultCode, bool isAsync);
|
/foundation/CastEngine/castengine_wifi_display/services/network/socket/ |
H A D | tcp_socket.cpp | 70 bool TcpSocket::Connect(const std::string &peerIp, uint16_t peerPort, int32_t &retCode, bool isAsync, bool enableReuse, in Connect() argument 91 SocketUtils::SetNonBlocking(fd, isAsync); in Connect() 96 if (!SocketUtils::ConnectSocket(fd, isAsync, peerIp, peerPort, retCode)) { in Connect()
|
H A D | udp_socket.cpp | 66 bool UdpSocket::Connect(const std::string &peerIp, uint16_t peerPort, int32_t &retCode, bool isAsync, bool enableReuse, in Connect() argument 81 SocketUtils::SetNonBlocking(fd, isAsync); in Connect() 87 if (SocketUtils::ConnectSocket(fd, isAsync, peerIp, peerPort, retCode)) { in Connect()
|
H A D | udp_socket.h | 32 bool Connect(const std::string &peerIp, uint16_t peerPort, int32_t &retCode, bool isAsync = true,
|
H A D | tcp_socket.h | 32 bool Connect(const std::string &peerIp, uint16_t peerPort, int32_t &retCode, bool isAsync = true,
|
H A D | base_socket.h | 33 virtual bool Connect(const std::string &peerIp, uint16_t peerPort, int32_t &retCode, bool isAsync = true,
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/common/include/ |
H A D | trans_lane_pending_ctl.h | 56 int32_t TransCancelLaneItemCondByLaneHandle(uint32_t laneHandle, bool bSucc, bool isAsync, int32_t errCode); 57 int32_t TransDeleteLaneReqItemByLaneHandle(uint32_t laneHandle, bool isAsync); 58 int32_t TransFreeLaneByLaneHandle(uint32_t laneHandle, bool isAsync);
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/manager/include/ |
H A D | trans_lane_manager.h | 49 int32_t TransLaneMgrDelLane(int32_t channelId, int32_t channelType, bool isAsync); 66 const char *sessionName, int32_t sessionId, uint32_t laneHandle, bool isQosLane, bool isAsync); 83 const char *sessionName, int32_t sessionId, uint32_t *laneHandle, bool *isQosLane, bool *isAsync);
|
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | atomic_service_status_callback.cpp | 24 const std::weak_ptr<FreeInstallManager> &server, bool isAsync, int32_t recordId) in AtomicServiceStatusCallback() 25 : server_(server), isAsync_(isAsync), recordId_(recordId) in AtomicServiceStatusCallback() 23 AtomicServiceStatusCallback( const std::weak_ptr<FreeInstallManager> &server, bool isAsync, int32_t recordId) AtomicServiceStatusCallback() argument
|
H A D | free_install_manager.cpp | 82 const sptr<IRemoteObject> &callerToken, bool isAsync, uint32_t specifyTokenId, bool isOpenAtomicServiceShortUrl, in StartFreeInstall() 90 isAsync, specifyTokenId, isOpenAtomicServiceShortUrl, originalWant); in StartFreeInstall() 96 sptr<AtomicServiceStatusCallback> callback = new AtomicServiceStatusCallback(weak_from_this(), isAsync, recordId); in StartFreeInstall() 120 if (isAsync) { in StartFreeInstall() 168 const sptr<IRemoteObject> &callerToken, bool isAsync, uint32_t specifyTokenId, bool isOpenAtomicServiceShortUrl, in BuildFreeInstallInfo() 180 if (!isAsync) { in BuildFreeInstallInfo() 255 void FreeInstallManager::NotifyFreeInstallResult(int32_t recordId, const Want &want, int resultCode, bool isAsync) in NotifyFreeInstallResult() argument 279 if (!isAsync && freeInstallInfo.promise == nullptr) { in NotifyFreeInstallResult() 285 HandleFreeInstallResult(recordId, freeInstallInfo, resultCode, isAsync); in NotifyFreeInstallResult() 290 void FreeInstallManager::HandleOnFreeInstallSuccess(int32_t recordId, FreeInstallInfo &freeInstallInfo, bool isAsync) in HandleOnFreeInstallSuccess() argument 81 StartFreeInstall(const Want &want, int32_t userId, int requestCode, const sptr<IRemoteObject> &callerToken, bool isAsync, uint32_t specifyTokenId, bool isOpenAtomicServiceShortUrl, std::shared_ptr<Want> originalWant) StartFreeInstall() argument 167 BuildFreeInstallInfo(const Want &want, int32_t userId, int requestCode, const sptr<IRemoteObject> &callerToken, bool isAsync, uint32_t specifyTokenId, bool isOpenAtomicServiceShortUrl, std::shared_ptr<Want> originalWant) BuildFreeInstallInfo() argument 313 HandleOnFreeInstallFail(int32_t recordId, FreeInstallInfo &freeInstallInfo, int resultCode, bool isAsync) HandleOnFreeInstallFail() argument 344 HandleFreeInstallResult(int32_t recordId, FreeInstallInfo &freeInstallInfo, int resultCode, bool isAsync) HandleFreeInstallResult() argument 532 OnInstallFinished(int32_t recordId, int resultCode, const Want &want, int32_t userId, bool isAsync) OnInstallFinished() argument [all...] |
/foundation/ai/ai_engine/test/function/init/ |
H A D | init_function_test.cpp | 119 .isAsync = true, in HWTEST_F() 167 .isAsync = true, in HWTEST_F() 215 .isAsync = true, in HWTEST_F() 261 .isAsync = true, in HWTEST_F() 282 * with 'clientId' being -1 and 'isAsync' being true. 306 .isAsync = true, in HWTEST_F() 327 * with 'clientId' being -1 and 'isAsync' being false. 351 .isAsync = false, in HWTEST_F()
|
/foundation/distributedhardware/device_manager/interfaces/kits/js4.0/src/ |
H A D | dm_native_util.cpp | 173 napi_value CreateErrorForCall(napi_env env, int32_t code, const std::string &errMsg, bool isAsync) in CreateErrorForCall() argument 177 if (isAsync) { in CreateErrorForCall() 185 napi_value CreateBusinessError(napi_env env, int32_t errCode, bool isAsync) in CreateBusinessError() argument 190 error = CreateErrorForCall(env, ERR_NO_PERMISSION, ERR_MESSAGE_NO_PERMISSION, isAsync); in CreateBusinessError() 193 error = CreateErrorForCall(env, DM_ERR_DISCOVERY_INVALID, ERR_MESSAGE_DISCOVERY_INVALID, isAsync); in CreateBusinessError() 196 error = CreateErrorForCall(env, DM_ERR_PUBLISH_INVALID, ERR_MESSAGE_PUBLISH_INVALID, isAsync); in CreateBusinessError() 200 ERR_MESSAGE_AUTHENTICALTION_INVALID, isAsync); in CreateBusinessError() 204 error = CreateErrorForCall(env, ERR_INVALID_PARAMS, ERR_MESSAGE_INVALID_PARAMS, isAsync); in CreateBusinessError() 207 error = CreateErrorForCall(env, DM_ERR_OBTAIN_SERVICE, ERR_MESSAGE_OBTAIN_SERVICE, isAsync); in CreateBusinessError() 210 error = CreateErrorForCall(env, ERR_NOT_SYSTEM_APP, ERR_MESSAGE_NOT_SYSTEM_APP, isAsync); in CreateBusinessError() [all...] |
/foundation/communication/dsoftbus/sdk/transmission/session/src/ |
H A D | client_trans_session_callback.c | 61 session->isAsync = false; in AcceptSessionAsServer() 170 bool isAsync = true; in TransOnBindFailed() local 171 int32_t ret = ClientGetSessionIsAsyncBySessionId(sessionId, &isAsync); in TransOnBindFailed() 176 if (!isAsync) { in TransOnBindFailed() 280 bool isAsync = true; in HandleOnBindSuccess() local 281 int32_t ret = ClientGetSessionIsAsyncBySessionId(sessionId, &isAsync); in HandleOnBindSuccess() 297 } else if (isAsync) { in HandleOnBindSuccess() 389 bool isAsync = true; in TransOnSessionOpenFailed() local 390 int ret = ClientGetSessionIsAsyncBySessionId(sessionId, &isAsync); in TransOnSessionOpenFailed() 398 } else if (isAsync) { in TransOnSessionOpenFailed() [all...] |
/foundation/ai/ai_engine/test/function/destroy/ |
H A D | destroy_function_test.cpp | 98 .isAsync = false, in HWTEST_F() 146 .isAsync = false, in HWTEST_F() 213 .isAsync = true, in HWTEST_F() 281 .isAsync = true, in HWTEST_F() 328 .isAsync = false, in HWTEST_F()
|
/foundation/communication/dsoftbus/sdk/transmission/session/include/ |
H A D | client_trans_session_manager.h | 82 bool isAsync; member 150 bool isAsync; member 189 int32_t ClientGetSessionIsAsyncBySessionId(int32_t sessionId, bool *isAsync); 229 int32_t sessionId, const QosTV *qos, uint32_t qosCount, TransInfo *transInfo, bool isAsync); 251 int32_t SetSessionIsAsyncById(int32_t sessionId, bool isAsync);
|
/foundation/ai/ai_engine/test/function/prepare/ |
H A D | prepare_function_test.cpp | 100 .isAsync = false, in HWTEST_F() 157 .isAsync = true, in HWTEST_F() 219 .isAsync = false, in HWTEST_F() 280 .isAsync = true, in HWTEST_F() 317 * with 'isAsync = false' and 'callback != nullptr'. 342 .isAsync = false, in HWTEST_F() 379 * with 'isAsync = true' and 'callback = nullptr'. 404 .isAsync = true, in HWTEST_F() 440 * with 'isAsync = true' and 'callback != nullptr'. 465 .isAsync in HWTEST_F() [all...] |
/foundation/communication/dsoftbus/core/transmission/trans_channel/manager/src/ |
H A D | trans_lane_manager.c | 53 bool isAsync; member 246 int32_t TransLaneMgrDelLane(int32_t channelId, int32_t channelType, bool isAsync) in TransLaneMgrDelLane() argument 282 TransFreeLaneByLaneHandle(laneHandle, isAsync); in TransLaneMgrDelLane() 433 newSocket->isAsync = false; in TransAddSocketChannelInfo() 505 const char *sessionName, int32_t sessionId, uint32_t laneHandle, bool isQosLane, bool isAsync) in TransUpdateSocketChannelLaneInfoBySession() 523 socketItem->isAsync = isAsync; in TransUpdateSocketChannelLaneInfoBySession() 705 const char *sessionName, int32_t sessionId, uint32_t *laneHandle, bool *isQosLane, bool *isAsync) in TransGetSocketChannelLaneInfoBySession() 727 if (isAsync != NULL) { in TransGetSocketChannelLaneInfoBySession() 728 *isAsync in TransGetSocketChannelLaneInfoBySession() 504 TransUpdateSocketChannelLaneInfoBySession( const char *sessionName, int32_t sessionId, uint32_t laneHandle, bool isQosLane, bool isAsync) TransUpdateSocketChannelLaneInfoBySession() argument 704 TransGetSocketChannelLaneInfoBySession( const char *sessionName, int32_t sessionId, uint32_t *laneHandle, bool *isQosLane, bool *isAsync) TransGetSocketChannelLaneInfoBySession() argument [all...] |
/foundation/ai/ai_engine/services/common/protocol/struct_definition/ |
H A D | aie_info_define.h | 41 bool isAsync; // indicate asynchronous member
|
/foundation/ability/ability_runtime/frameworks/native/ability/native/insight_intent_executor/ |
H A D | insight_intent_executor_mgr.cpp | 72 bool isAsync = false; in ExecuteInsightIntent() local 75 std::move(callback), isAsync); in ExecuteInsightIntent()
|
/foundation/ai/ai_engine/test/function/async_process/ |
H A D | async_process_function_test.cpp | 75 bool isAsync, int requestId) in PreBuildInfo() 95 .isAsync = isAsync, in PreBuildInfo() 200 * @tc.desc: Test asynchronous execution of certain algorithm plugin with 'isAsync' being false. 74 PreBuildInfo(ConfigInfo &configInfo, ClientInfo &clientInfo, AlgorithmInfo &algoInfo, bool isAsync, int requestId) PreBuildInfo() argument
|
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/sa/ |
H A D | intell_voice_service_manager.h | 72 void HandleSwitchOn(bool isAsync, int32_t uuid, bool needUpdateAdapter); 73 void HandleSwitchOff(bool isAsync, int32_t uuid); 75 void HandleUnloadIntellVoiceService(bool isAsync);
|
/foundation/ai/ai_engine/test/function/release/ |
H A D | release_function_test.cpp | 98 .isAsync = false, in HWTEST_F() 160 .isAsync = true, in HWTEST_F() 222 .isAsync = false, in HWTEST_F() 288 .isAsync = true, in HWTEST_F()
|
/foundation/ai/ai_engine/services/client/client_executor/source/ |
H A D | client_factory.cpp | 84 if (algorithmInfo.isAsync) { in ClientPrepare() 116 if (!algorithmInfo.isAsync) { in ClientAsyncProcess() 183 if (algorithmInfo.isAsync) { in ClientSyncProcess() 200 if (algorithmInfo.isAsync) { in ClientRelease()
|
/foundation/ai/ai_engine/test/function/set_get_option/ |
H A D | option_function_test.cpp | 105 .isAsync = false, in GetSyncAlgorithmInfo() 124 .isAsync = true, in GetAsyncAlgorithmInfo() 180 if (algoInfo.isAsync) { in HWTEST_F() 258 if (algoInfo.isAsync) { in HWTEST_F()
|
/foundation/ai/ai_engine/services/server/communication_adapter/source/ |
H A D | adapter_wrapper.cpp | 125 if (algoInfo->isAsync) { in SyncExecAlgoWrapper() 148 if (!algoInfo->isAsync) { in AsyncExecAlgoWrapper() 187 if (algoInfo->isAsync) { in LoadAlgoWrapper() 211 if (algoInfo->isAsync) { in UnloadAlgoWrapper()
|