/foundation/barrierfree/accessibility/services/test/mock/ |
H A D | mock_common_event_subscriber.cpp | 21 CommonEventSubscriber::CommonEventSubscriber() : result_(nullptr) in CommonEventSubscriber() 25 : subscribeInfo_(subscribeInfo), result_(nullptr) in CommonEventSubscriber() 40 return result_->SetCode(code); in SetCode() 46 return result_->GetCode(); in GetCode() 52 return result_->SetData(data); in SetData() 58 return result_->GetData(); in GetData() 64 return result_->SetCodeAndData(code, data); in SetCodeAndData() 70 return result_->AbortCommonEvent(); in AbortCommonEvent() 76 return result_->ClearAbortCommonEvent(); in ClearAbortCommonEvent() 82 return result_ in GetAbortCommonEvent() [all...] |
/foundation/arkui/ace_engine/frameworks/base/log/ |
H A D | dump_log.cpp | 91 result_.append(" "); in Append() 93 result_.append("|-> "); in Append() 94 result_.append(className); in Append() 95 result_.append(" childSize:" + std::to_string(childSize)); in Append() 96 result_.append("\n"); in Append() 99 result_.append(" "); in Append() 102 result_.append(" "); in Append() 104 result_.append(" | "); in Append() 106 result_.append(desc); in Append() 115 result_ in OutPutBySize() [all...] |
/foundation/graphic/graphic_3d/lume/metaobject/src/ |
H A D | call_context.cpp | 25 if (auto p = interface_cast<ICloneable>(other.result_)) { in succeeded_() 26 result_ = interface_pointer_cast<IAny>(p->GetClone()); in succeeded_() 38 : params_(std::move(other.params_)), succeeded_(other.succeeded_), result_(std::move(other.result_)) in move() 46 if (auto p = interface_cast<ICloneable>(other.result_)) { 47 result_ = interface_pointer_cast<IAny>(p->GetClone()); 49 result_.reset(); 67 result_ = std::move(other.result_); 138 result_ in DefineResult() [all...] |
/foundation/ai/intelligent_voice_framework/frameworks/js/napi/ |
H A D | wakeup_manager_napi.cpp | 225 context->result_ = (context->GetCbInfo(env, info, cbIndex, parser) ? NAPI_INTELLIGENT_VOICE_SUCCESS : in SetParameter() 229 if (context->result_ == NAPI_INTELLIGENT_VOICE_SUCCESS) { in SetParameter() 236 setParamContext->result_ = NAPI_INTELLIGENT_VOICE_SYSTEM_ERROR; in SetParameter() 239 setParamContext->result_ = IntellVoiceCommonNapi::ConvertResultCode( in SetParameter() 241 if (setParamContext->result_ != NAPI_INTELLIGENT_VOICE_SUCCESS) { in SetParameter() 242 INTELL_VOICE_LOG_ERROR("set parameter failed, ret:%{public}d", setParamContext->result_); in SetParameter() 275 context->result_ = (context->GetCbInfo(env, info, cbIndex, parser) ? NAPI_INTELLIGENT_VOICE_SUCCESS : in GetParameter() 279 if (context->result_ == NAPI_INTELLIGENT_VOICE_SUCCESS) { in GetParameter() 286 asyncContext->result_ = NAPI_INTELLIGENT_VOICE_SYSTEM_ERROR; in GetParameter() 320 context->result_ in GetUploadFiles() [all...] |
H A D | enroll_intell_voice_engine_napi.cpp | 150 constructResult_ = IntellVoiceCommonNapi::ConvertResultCode(engineNapi->engine_->result_); in Construct() 203 context->result_ = (context->GetCbInfo(env, info, cbIndex, parser) ? NAPI_INTELLIGENT_VOICE_SUCCESS : in CreateEnrollIntelligentVoiceEngine() 212 asyncContext->result_ = NAPI_INTELLIGENT_VOICE_NO_MEMORY; in CreateEnrollIntelligentVoiceEngine() 218 asyncContext->result_ = constructResult_; in CreateEnrollIntelligentVoiceEngine() 237 context->result_ = (context->GetCbInfo(env, info, cbIndex, nullptr) ? NAPI_INTELLIGENT_VOICE_SUCCESS : in GetSupportedRegions() 279 context->result_ = (context->GetCbInfo(env, info, cbIndex, parser) ? NAPI_INTELLIGENT_VOICE_SUCCESS : in Init() 289 asyncContext->result_ = NAPI_INTELLIGENT_VOICE_INIT_FAILED; in Init() 295 asyncContext->result_ = NAPI_INTELLIGENT_VOICE_INIT_FAILED; in Init() 323 context->result_ = (context->GetCbInfo(env, info, cbIndex, parser) ? NAPI_INTELLIGENT_VOICE_SUCCESS : in EnrollForResult() 334 asyncContext->result_ in EnrollForResult() [all...] |
H A D | wakeup_intell_voice_engine_napi.cpp | 149 constructResult_ = IntellVoiceCommonNapi::ConvertResultCode(engineNapi->engine_->result_); in Construct() 194 context->result_ = (context->GetCbInfo(env, info, cbIndex, parser) ? NAPI_INTELLIGENT_VOICE_SUCCESS : in CreateWakeupIntelligentVoiceEngine() 203 asyncContext->result_ = NAPI_INTELLIGENT_VOICE_NO_MEMORY; in CreateWakeupIntelligentVoiceEngine() 209 asyncContext->result_ = constructResult_; in CreateWakeupIntelligentVoiceEngine() 228 context->result_ = (context->GetCbInfo(env, info, cbIndex, nullptr) ? NAPI_INTELLIGENT_VOICE_SUCCESS : in GetSupportedRegions() 265 context->result_ = (context->GetCbInfo(env, info, cbIndex, parser) ? NAPI_INTELLIGENT_VOICE_SUCCESS : in SetParameter() 269 if (context->result_ == NAPI_INTELLIGENT_VOICE_SUCCESS) { in SetParameter() 307 context->result_ = (context->GetCbInfo(env, info, cbIndex, parser) ? NAPI_INTELLIGENT_VOICE_SUCCESS : in GetParameter() 311 if (context->result_ == NAPI_INTELLIGENT_VOICE_SUCCESS) { in GetParameter() 354 context->result_ in SetSensibility() [all...] |
H A D | intell_voice_napi_queue.cpp | 156 if (context->result_ == NAPI_INTELLIGENT_VOICE_SUCCESS) { in HandlePromise() 163 std::string msg = IntellVoiceCommonNapi::GetMessageByCode(context->result_); in HandlePromise() 165 napi_create_string_utf8(env, std::to_string(context->result_).c_str(), NAPI_AUTO_LENGTH, &errCode); in HandlePromise() 175 if (context->result_ == NAPI_INTELLIGENT_VOICE_SUCCESS) { in HandleAsyncCallback() 181 std::string msg = IntellVoiceCommonNapi::GetMessageByCode(context->result_); in HandleAsyncCallback() 183 napi_create_string_utf8(env, std::to_string(context->result_).c_str(), NAPI_AUTO_LENGTH, &errCode); in HandleAsyncCallback() 198 if (context->result_ != NAPI_INTELLIGENT_VOICE_SUCCESS) { in AsyncCompleteCallback()
|
/foundation/ai/intelligent_voice_framework/utils/ |
H A D | msg_handle_thread.cpp | 84 msg->result_ = std::make_shared<SynInfo>(); in SendSynMsg() 85 if (msg->result_ == nullptr) { in SendSynMsg() 90 unique_lock<mutex> lock(msg->result_->mutex_); in SendSynMsg() 92 if (msg->result_->cv_.wait_for(lock, chrono::seconds(MSG_MAX_SYNC_TIMEOUT)) == std::cv_status::no_timeout) { in SendSynMsg() 120 if (msg->result_ != nullptr) { in Run() 121 unique_lock<mutex> lock(msg->result_->mutex_); in Run() 122 msg->result_->cv_.notify_all(); in Run()
|
/foundation/ai/ai_engine/services/common/protocol/data_channel/source/ |
H A D | response.cpp | 30 result_.data = nullptr; in Response() 31 result_.length = 0; in Response() 43 if (result_.data != nullptr) { in ~Response() 44 free(result_.data); in ~Response() 45 result_.data = nullptr; in ~Response() 46 result_.length = 0; in ~Response() 117 return result_; in GetResult() 122 result_ = result; in SetResult() 127 result_.data = nullptr; in Detach()
|
/foundation/graphic/graphic_3d/lume/metaobject/src/serialization/backend/ |
H A D | debug_output.cpp | 25 return result_; in Process() 94 result_ += "<Unknown node type>\n"; in Visit() 98 result_ += v; in Output() 102 result_ += "\n" + BASE_NS::string(indent_, '\t'); in NewLine() 107 result_ += BASE_NS::string(indent_, '\t'); in IncOutputIndent() 112 result_ += "\n"; in DecIndentEndLine()
|
/foundation/bundlemanager/app_domain_verify/test/unittest/mock/include/mock_http_client/ |
H A D | http_client_response.h | 35 return result_; in GetResult() 40 result_ = res; in SetResult() 43 std::string result_; member in OHOS::NetStack::HttpClient::HttpClientResponse
|
/foundation/distributedhardware/device_manager/common/include/ipc/model/ |
H A D | ipc_notify_publish_result_req.h | 54 return result_; in GetResult() 64 result_ = result; in SetResult() 69 int32_t result_ = 0; member in OHOS::DistributedHardware::IpcNotifyPublishResultReq
|
H A D | ipc_notify_discover_result_req.h | 54 return result_; in GetResult() 64 result_ = result; in SetResult() 69 int32_t result_ { 0 };
|
H A D | ipc_notify_pin_holder_event_req.h | 39 return result_; in GetResult() 44 result_ = result; in SetResult() 59 int32_t result_; member in OHOS::DistributedHardware::IpcNotifyPinHolderEventReq
|
H A D | ipc_notify_bind_result_req.h | 55 return result_; in GetResult() 65 result_ = result; in SetResult() 110 int32_t result_; member in OHOS::DistributedHardware::IpcNotifyBindResultReq
|
/foundation/window/window_manager/utils/include/ |
H A D | future.h | 67 result_ = defaultValue;
in Reset() 73 result_ = defaultValue;
in ResetLock() 80 result_ = res;
89 return result_;
93 T result_;
member in OHOS::Rosen::RunnableFuture
|
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/test/unittest/mock/include/ |
H A D | mock_app_device_change_listener.h | 35 result_ = true;
42 if (!result_) {
in Wait() 43 cond_.wait(lock, [this] { return result_; });
in Wait() 59 mutable bool result_;
member in OHOS::ObjectStore::MockAppDeviceStatusChangeListener
|
/foundation/multimedia/media_library/frameworks/services/media_mtp/src/payload_data/ |
H A D | get_device_prop_desc_data.cpp | 49 if (result_ == nullptr) { in Maker() 53 result_->Write(outBuffer); in Maker() 73 result_ = property; in SetProperty()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/ecshelper/ComponentTools/ |
H A D | component_query.cpp | 54 result_.clear(); in SetupQuery() 96 result_.resize(baseComponents); in Execute() 103 auto& row = result_[index]; in Execute() 143 result_.resize(index); in Execute() 173 return { result_.data(), result_.size() }; in GetResults() 180 if (it != mapping_.end() && it->second < result_.size()) { in FindResultRow() 181 return &(result_[it->second]); in FindResultRow()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | jsUIContext.js | 42 let result_ = this.ohos_font.getFontByName(fontName); 44 return result_; 265 let result_ = globalThis.getFilteredInspectorTree(); 267 return result_; 269 let result_ = globalThis.getFilteredInspectorTree(filter); 271 return result_; 278 let result_ = globalThis.getFilteredInspectorTreeById(id, depth); 280 return result_; 282 let result_ = globalThis.getFilteredInspectorTreeById(id, depth, filter); 284 return result_; [all...] |
/foundation/multimedia/player_framework/frameworks/native/video_editor/test/unittest/ |
H A D | ut_common_data.h | 36 result_ = result; 43 VEFResult result_ = VEFResult::UNKNOWN; member in OHOS::Media::CompositionCallbackTesterImpl
|
/foundation/ai/intelligent_voice_framework/frameworks/native/ |
H A D | enroll_intell_voice_engine.cpp | 42 result_ = mgr->CreateIntellVoiceEngine(INTELL_VOICE_ENROLL, engine_); in EnrollIntellVoiceEngine() 43 if (result_ != INTELLIGENT_VOICE_SUCCESS) { in EnrollIntellVoiceEngine() 44 INTELL_VOICE_LOG_ERROR("create enroll engine failed, ret:%{public}d", result_); in EnrollIntellVoiceEngine() 48 result_ = INTELLIGENT_VOICE_SYSTEM_ERROR; in EnrollIntellVoiceEngine()
|
H A D | wakeup_intell_voice_engine.cpp | 38 result_ = mgr->CreateIntellVoiceEngine(type, engine_); in WakeupIntellVoiceEngine() 39 if (result_ != INTELLIGENT_VOICE_SUCCESS) { in WakeupIntellVoiceEngine() 40 INTELL_VOICE_LOG_ERROR("create wakeup engine failed, ret:%{public}d", result_); in WakeupIntellVoiceEngine() 44 result_ = INTELLIGENT_VOICE_SYSTEM_ERROR; in WakeupIntellVoiceEngine()
|
/foundation/multimedia/player_framework/services/utils/include/ |
H A D | task_queue.h | 135 result_.executed = true; in onstexpr() 140 result_.val = result; 200 std::swap(tmp.executed, result_.executed); in ClearResult() 202 result_.val.swap(tmp.val); in ClearResult() 206 return result_; in ClearResult() 226 TaskResult<T> result_; member in OHOS::Media::TaskHandler
|
/foundation/multimedia/player_framework/frameworks/native/video_editor/test/unittest/codec/video/encoder/ |
H A D | video_encoder_engine_impl_test.cpp | 46 result_ = result; 50 VideoEncodeResult result_ { VideoEncodeResult::FAILED }; 93 EXPECT_EQ(cb->result_, VideoEncodeResult::SUCCESS); in HWTEST_F()
|