Home
last modified time | relevance | path

Searched refs:result (Results 10676 - 10700 of 24969) sorted by relevance

1...<<421422423424425426427428429430>>...999

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dcustom_dialog_controller_model_impl.cpp129 auto result = false; in ShowDialog() local
131 result = executor->PostTask(task, TaskExecutor::TaskType::UI, "ArkUICustomDialogNotifyOpenOperation"); in ShowDialog()
134 result = executor->PostDelayedTask( in ShowDialog()
137 if (!result) { in ShowDialog()
213 auto result = executor->PostTask(task, TaskExecutor::TaskType::UI, "ArkUICustomDialogNotifyCloseOperation"); in CloseDialog() local
214 if (!result) { in CloseDialog()
/foundation/arkui/ace_engine/test/tools/event_tree_to_graph/src/graph/
H A Dgraph_converter.py19 # convert the dump result into graphical representation
75 result = []
90 result.append(child)
91 return result
170 result = []
185 result.append(child)
186 return result
221 dot = Digraph(comment='hit test result ' + str(current_index))
222 tree_name = 'hit test result ' + str(tree.tree_id)
/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/
H A Dsvg_animation.cpp31 double result = 0.0; in ConvertTimeStr() local
33 result = StringUtils::StringToDouble(std::string(time.begin(), time.end() - 2.0)); in ConvertTimeStr()
35 result = StringUtils::StringToDouble(std::string(time.begin(), time.end() - 1.0)) * 1000.0; in ConvertTimeStr()
37 result = StringUtils::StringToDouble(std::string(time.begin(), time.end() - 1.0)) * 60.0 * 1000.0; in ConvertTimeStr()
39 result = StringUtils::StringToDouble(str); in ConvertTimeStr()
41 return result; in ConvertTimeStr()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/search/
H A Dsearch_pattern.h103 std::string result; in ConvertCopyOptionsToString() local
106 result = "CopyOptions.None"; in ConvertCopyOptionsToString()
109 result = "CopyOptions.InApp"; in ConvertCopyOptionsToString()
112 result = "CopyOptions.Local"; in ConvertCopyOptionsToString()
115 result = "CopyOptions.Distributed"; in ConvertCopyOptionsToString()
120 return result; in ConvertCopyOptionsToString()
/foundation/arkui/ace_engine/frameworks/core/event/
H A Dace_event_handler.h238 virtual void HandleSyncEvent(const EventMarker& eventMarker, bool& result) = 0;
239 virtual void HandleSyncEvent(const EventMarker& eventMarker, const BaseEventInfo& info, bool& result) = 0;
240 virtual void HandleSyncEvent(const EventMarker& eventMarker, const KeyEvent& info, bool& result) = 0;
241 // For json dsl event which has json format param and json format result.
242 virtual void HandleSyncEvent(const EventMarker& eventMarker, const std::string& param, std::string& result) = 0;
245 bool result = true; in HandleSyncEvent() local
246 HandleSyncEvent(eventMarker, *info, result); in HandleSyncEvent()
/foundation/arkui/ace_engine/test/unittest/core/pattern/ui_extension/
H A Disolated_pattern_test_ng.cpp82 * @tc.expected: expect result is 0 in HWTEST_F()
88 * @tc.expected: expect result is 1. in HWTEST_F()
92 int32_t result = isolatedPattern->WrapExtensionAbilityId(extensionOffset, abilityId); in HWTEST_F() local
93 EXPECT_EQ(result, 1); in HWTEST_F()
346 auto result = isolatedPattern->HandleKeyEvent(keyEventOne); in HWTEST_F() local
347 EXPECT_FALSE(result); in HWTEST_F()
415 auto result = isolatedPattern->TransferExecuteAction(elementId, actionArguments, action, offset); in HWTEST_F() local
416 ASSERT_TRUE(result); in HWTEST_F()
/foundation/arkui/napi/test/unittest/cj_native/
H A Dtest_ark_interop.cpp121 std::string result; in TEST_F() local
122 result.resize(size - 1); in TEST_F()
123 ARKTS_GetValueUtf8(env, jsValues[i], size - 1, result.data()); in TEST_F()
124 EXPECT_EQ(result, origins[i]); in TEST_F()
127 result = cStr; in TEST_F()
128 EXPECT_EQ(result, origins[i]); in TEST_F()
/foundation/arkui/ace_engine_lite/frameworks/src/core/wrapper/
H A Djs.cpp186 bool result = jerry_delete_property(target, key); in Del() local
188 return result; in Del()
237 JSValue result = JSObject::Get(global, prop); in Get() local
239 return result; in Get()
258 JSValue result = JSObject::Call(global, prop, args, size); in Call() local
260 return result; in Call()
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/test/unittest/common/
H A Ddfx_tdd_test.cpp564 // trace out error information if the result contains error in DfxTest001()
746 const char *result = "success"; in DfxTest006() local
748 EXPECT_STREQ(msgStr, result); in DfxTest006()
756 EXPECT_STREQ(msgStr, result); in DfxTest006()
772 const char *result = "success"; in DfxTest007() local
774 EXPECT_STREQ(msgStr, result); in DfxTest007()
782 EXPECT_STREQ(msgStr, result); in DfxTest007()
/foundation/communication/bluetooth/frameworks/js/napi/src/hid/
H A Dnapi_bluetooth_hid_host.cpp147 napi_value result = nullptr; in GetDeviceState() local
149 if (napi_create_int32(env, profileState, &result) != napi_ok) { in GetDeviceState()
155 NAPI_BT_ASSERT_RETURN(env, checkRet, BT_ERR_INVALID_PARAM, result); in GetDeviceState()
161 NAPI_BT_ASSERT_RETURN(env, errorCode == BT_NO_ERROR, errorCode, result); in GetDeviceState()
164 if (napi_create_int32(env, profileState, &result) != napi_ok) { in GetDeviceState()
167 return result; in GetDeviceState()
/foundation/communication/bluetooth/frameworks/js/napi/src/opp/
H A Dnapi_bluetooth_opp.cpp141 bool result = false; in SendFile()
142 int32_t errorCode = profile->SendFile(device, filePaths, mimeTypes, result); in SendFile()
143 HILOGI("err: %{public}d result: %{public}d", errorCode, result); in SendFile()
246 napi_value result = nullptr; in GetDeviceState() local
248 napi_create_int32(env, profileState, &result); in GetDeviceState()
249 return result; in GetDeviceState()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/gatts/
H A Dgeneric_attribute_service.cpp63 void OnNotifyConfirm(const GattDevice &device, const Characteristic &characteristic, int result) override
66 result == GattStatus::GATT_SUCCESS) {
88 int result = serverService_.AddServiceSync(appId_, *instance_); in RegisterService() local
89 if (result != GattStatus::GATT_SUCCESS) { in RegisterService()
90 LOG_WARN("%{public}s:%{public}d:%{public}s : Add GATTS Failed! ret: %{public}d", __FILE__, __LINE__, __FUNCTION__, result); in RegisterService()
93 return result; in RegisterService()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/distributed_manager/
H A Dbundle_distributed_manager.cpp73 int32_t result = DistributedDeviceProfile::DistributedDeviceProfileClient::GetInstance().GetDeviceProfile( in ComparePcIdString() local
75 if (result != 0) { in ComparePcIdString()
76 APP_LOGE("GetDeviceProfile failed %{public}d", result); in ComparePcIdString()
328 int32_t result = remoteObject->SendRequest(CHECK_ABILITY_ENABLE_INSTALL, data, reply, option); in SendCallback() local
329 if (result != 0) { in SendCallback()
330 APP_LOGE("failed send request code %{public}d", result); in SendCallback()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dpre_bundle_profile.cpp72 int32_t result = ERR_OK; in TransformTo() local
106 result = parseResult; in TransformTo()
120 return result; in TransformTo()
187 int32_t result = ERR_OK; in TransformTo() local
356 result = parseResult; in TransformTo()
371 return result; in TransformTo()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_hsp_test/
H A Dbms_bundle_shared_library_uninstall_test.cpp138 bool result = installer->Install(bundleFilePaths, installParam, receiver); in InstallBundle() local
139 EXPECT_TRUE(result); in InstallBundle()
161 bool result = installer->Uninstall(bundleName, installParam, receiver); in UnInstallBundle() local
162 EXPECT_TRUE(result); in UnInstallBundle()
181 bool result = installer->Uninstall(uninstallParam, receiver); in UninstallShred() local
182 EXPECT_TRUE(result); in UninstallShred()
/foundation/multimedia/audio_framework/frameworks/js/napi/audiorenderer/callback/
H A Dnapi_audio_renderer_write_data_callback.cpp159 void NapiRendererWriteDataCallback::CheckWriteDataCallbackResult(napi_env env, BufferDesc &bufDesc, napi_value result) in CheckWriteDataCallbackResult() argument
162 napi_typeof(env, result, &resultType); in CheckWriteDataCallbackResult()
165 napi_get_value_int32(env, result, &resultIntValue); in CheckWriteDataCallbackResult()
216 napi_value result = nullptr; in WorkCallbackRendererWriteDataInner() local
217 nstatus = napi_call_function(env, nullptr, jsCallback, argCount, args, &result); in WorkCallbackRendererWriteDataInner()
219 CheckWriteDataCallbackResult(env, event->bufDesc, result); in WorkCallbackRendererWriteDataInner()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/
H A Drs_render_node_map_test.cpp115 auto result = rsRenderNodeMap.RegisterRenderNode(node); in HWTEST_F() local
116 EXPECT_FALSE(result); in HWTEST_F()
132 auto result = rsRenderNodeMap.RegisterDisplayRenderNode(node); in HWTEST_F() local
133 EXPECT_TRUE(result); in HWTEST_F()
134 result = rsRenderNodeMap.RegisterDisplayRenderNode(node); in HWTEST_F()
135 EXPECT_FALSE(result); in HWTEST_F()
/foundation/graphic/graphic_3d/lume/LumeEngine/src/threading/
H A Dtask_queue_factory.cpp62 jint result = javaVm_->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6); in JavaThreadContext() local
63 CORE_ASSERT_MSG((result != JNI_OK), "Thread already attached"); in JavaThreadContext()
228 // Helper which holds a pointer to a queued task function and the result state.
397 uint32_t result = std::thread::hardware_concurrency(); in GetNumberOfCores() local
398 if (result == 0) { in GetNumberOfCores()
400 result = 4; in GetNumberOfCores()
403 return result; in GetNumberOfCores()
/foundation/filemanagement/user_file_service/interfaces/inner_api/file_access/include/
H A Dfile_access_extension_info.h282 Result *result = new (std::nothrow)Result(); in Unmarshalling() local
283 if (result == nullptr) { in Unmarshalling()
287 if (!result->ReadFromParcel(parcel)) { in Unmarshalling()
288 delete result; in Unmarshalling()
289 result = nullptr; in Unmarshalling()
291 return result; in Unmarshalling()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/
H A Dskia_bitmap_test.cpp414 std::shared_ptr<Image> result = skiaBitmap.MakeImage(); in HWTEST_F() local
415 ASSERT_TRUE(result == nullptr); in HWTEST_F()
433 std::shared_ptr<Data> result = skiaBitmap.Serialize(); in HWTEST_F() local
434 ASSERT_TRUE(result != nullptr); in HWTEST_F()
452 std::shared_ptr<Data> result = skiaBitmap.Serialize(); in HWTEST_F() local
453 ASSERT_TRUE(result->GetSize() == 20104); in HWTEST_F()
/foundation/multimedia/player_framework/frameworks/js/audio_haptic/src/audio_haptic_player/
H A Daudio_haptic_player_callback_napi.cpp76 static void SetValueInt32(const napi_env& env, const std::string& fieldStr, const int intValue, napi_value& result) in SetValueInt32() argument
83 napi_set_named_property(env, result, fieldStr.c_str(), value); in SetValueInt32()
150 napi_value result = nullptr; in OnInterruptJsCallback()
151 napiStatus = napi_call_function(env, nullptr, jsCallback, argCount, args, &result); in OnInterruptJsCallback()
217 napi_value result = nullptr; in OnEndOfStreamJsCallback()
218 napiStatus = napi_call_function(env, nullptr, jsCallback, 0, nullptr, &result); in OnEndOfStreamJsCallback()
/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/restore/
H A Dphotos_restore.cpp75 std::string result = "/Pictures/其它"; in ParseSourcePathToLPath() local
78 result = sourcePath.substr(start_pos, end_pos - start_pos); in ParseSourcePathToLPath()
79 start_pos = result.find_first_of("/"); in ParseSourcePathToLPath()
81 result = result.substr(start_pos); in ParseSourcePathToLPath()
84 return result; in ParseSourcePathToLPath()
/foundation/resourceschedule/resource_schedule_service/ressched/services/resschedmgr/resschedfwk/include/
H A Dplugin_mgr.h161 void DumpAllPlugin(std::string &result);
163 void DumpAllPluginConfig(std::string &result);
165 void DumpOnePlugin(std::string &result, std::string pluginName, std::vector<std::string>& args);
167 std::string DumpInfoFromPlugin(std::string& result, std::string libPath, std::vector<std::string>& args);
169 void DumpHelpFromPlugin(std::string& result);
235 void DumpPluginInfoAppend(std::string &result, PluginInfo info);
/foundation/deviceprofile/device_info_manager/old/services/core/test/unittest/
H A Dsubscribe_manager_test.cpp366 auto result = handler->Unregister(); in HWTEST_F() local
381 DTEST_LOG << "result: " << result << std::endl; in HWTEST_F()
382 EXPECT_EQ(0, result); in HWTEST_F()
393 auto result = ProfileEventHandlerFactory::GetInstance().GetProfileChangeHandlerInner(); in HWTEST_F() local
394 DTEST_LOG << "result: " << result << std::endl; in HWTEST_F()
395 EXPECT_NE(nullptr, result); in HWTEST_F()
/foundation/communication/wifi/wifi/frameworks/native/src/
H A Dwifi_device_proxy.h47 * @return ErrCode - operation result
54 * @return ErrCode - operation result
63 * @return ErrCode - operation result
72 * @return ErrCode - operation result
80 * @return ErrCode - operation result
89 * @return ErrCode - operation result
96 * @return ErrCode - operation result
104 * @return ErrCode - operation result
112 * @param result - the device configuration's network id
114 * @return ErrCode - operation result
[all...]

Completed in 26 milliseconds

1...<<421422423424425426427428429430>>...999