Home
last modified time | relevance | path

Searched refs:newType (Results 1 – 21 of 21) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/test/src/
H A Dpasteboard_utils_test.cpp287 auto newType = newRecord->GetType(); variable
288 ASSERT_EQ(newType, UDMF::TEXT);
320 auto newType = newRecord->GetType(); variable
359 auto newType = newRecord->GetType(); variable
360 ASSERT_EQ(newType, UDMF::HTML);
396 auto newType = newRecord->GetType(); variable
466 ASSERT_EQ(newType, UDMF::FILE);
500 ASSERT_EQ(newType, UDMF::IMAGE);
534 ASSERT_EQ(newType, UDMF::AUDIO);
568 ASSERT_EQ(newType, UDMF::VIDEO);
[all …]
H A Dpasteboard_unified_data_test.cpp274 auto newType = newRecord->GetType(); variable
275 ASSERT_EQ(newType, UDMF::TEXT);
307 auto newType = newRecord->GetType(); variable
347 auto newType = newRecord->GetType(); variable
348 ASSERT_EQ(newType, UDMF::HYPERLINK);
388 ASSERT_EQ(newType, UDMF::HTML);
465 ASSERT_EQ(newType, UDMF::FILE);
502 ASSERT_EQ(newType, UDMF::IMAGE);
539 ASSERT_EQ(newType, UDMF::AUDIO);
576 ASSERT_EQ(newType, UDMF::VIDEO);
[all …]
/ohos5.0/foundation/multimodalinput/input/service/delegate_task/src/
H A Ddelegate_interface.cpp105 const HandleEventType newType = GetEventType(type); in AddHandler() local
106 if (currentType != newType || ((currentTags & summary.deviceTags) != summary.deviceTags)) { in AddHandler()
113 newType, summary.priority, allDeviceTags, nullptr); in AddHandler()
120 newType, shared_from_this()); in AddHandler()
198 const HandleEventType newType = GetEventType(type); in RemoveHandler() local
201 if (currentType != newType || ((currentTags & deviceTags) != 0)) { in RemoveHandler()
207 newType, newLevel, newTags, nullptr); in RemoveHandler()
215 newType, shared_from_this()); in RemoveHandler()
/ohos5.0/base/location/frameworks/js/napi/notification/src/
H A Dnotification_napi_utils.cpp76 napi_value NotificationNapi::CreateErrorValue(napi_env env, int32_t errCode, bool newType) in CreateErrorValue() argument
80 if (errCode == ERR_OK && newType) { in CreateErrorValue()
144 …&env, const napi_ref &callbackIn, const int32_t &errorCode, const napi_value &result, bool newType) in SetCallback() argument
154 results[PARAM0] = CreateErrorValue(env, errorCode, newType); in SetCallback()
190 const napi_deferred &deferred, const int32_t &errorCode, const napi_value &result, bool newType) in SetPromise() argument
196 napi_reject_deferred(env, deferred, CreateErrorValue(env, errorCode, newType)); in SetPromise()
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dcommon_utils.cpp83 napi_value Common::CreateErrorValue(napi_env env, int32_t errCode, bool newType) in CreateErrorValue() argument
87 if (errCode == ERR_OK && newType) { in CreateErrorValue()
178 …&env, const napi_ref &callbackIn, const int32_t &errorCode, const napi_value &result, bool newType) in SetCallback() argument
188 results[PARAM0] = CreateErrorValue(env, errorCode, newType); in SetCallback()
224 const napi_deferred &deferred, const int32_t &errorCode, const napi_value &result, bool newType) in SetPromise() argument
230 napi_reject_deferred(env, deferred, CreateErrorValue(env, errorCode, newType)); in SetPromise()
/ohos5.0/foundation/multimodalinput/input/frameworks/proxy/event_handler/src/
H A Dinput_handler_manager.cpp77 const HandleEventType newType = GetEventType(); in AddHandler() local
78 if (currentType != newType || ((currentTags & deviceTags) != deviceTags)) { in AddHandler()
81 handlerType, newType, allDeviceTags, priority); in AddHandler()
82 int32_t ret = AddToServer(handlerType, newType, priority, allDeviceTags); in AddHandler()
86 … handlerType, handlerId, currentType, currentTags, newType, deviceTags, priority); in AddHandler()
93 handlerType, handlerId, currentType, currentTags, newType, deviceTags, priority); in AddHandler()
112 const HandleEventType newType = GetEventType(); in RemoveHandler() local
115 if (currentType != newType || ((currentTags & deviceTags) != 0)) { in RemoveHandler()
116 ret = RemoveFromServer(handlerType, newType, newLevel, newTags); in RemoveHandler()
/ohos5.0/foundation/multimodalinput/input/service/delegate_task/test/
H A Ddelegate_interface_test.cpp291 HandleEventType newType = delegateInterface.GetEventType(type); variable
292 EXPECT_TRUE(currentType != newType);
303 newType = delegateInterface.GetEventType(type);
304 EXPECT_FALSE(currentType != newType);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/declaration/input/
H A Dinput_declaration.cpp38 bool ShouldCreateNewComponent(const std::string& oldType, const std::string& newType) in ShouldCreateNewComponent() argument
45 …return g_textCategory.find(oldType) == g_textCategory.end() || g_textCategory.find(newType) == g_t… in ShouldCreateNewComponent()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/
H A Da2dp_codec_config.cpp150 A2dpCodecType newType = GetCodecType(newCodecInfo); in IsConfigChanged() local
151 if (lastType != newType) { in IsConfigChanged()
/ohos5.0/foundation/multimodalinput/input/service/mouse_event_normalize/test/src/
H A Dmouse_event_normalize_test.cpp507 int32_t newType = 2; variable
508 MouseEventHdr->GetTouchpadRightClickType(newType);
509 ASSERT_TRUE(type == newType);
H A Dmouse_transform_processor_test.cpp535 int32_t newType = 3; variable
536 processor.GetTouchpadRightClickType(newType);
537 ASSERT_TRUE(type == newType);
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/src/lib/partial_update/
H A Dpu_repeat_virtual_scroll_impl.ts281 const newType = this.typeGenFunc_(this.arr_[+i], +i);
287 if (oldType !== newType) {
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/heartbeat/src/
H A Dlnn_heartbeat_fsm.c1216 LnnHeartbeatType *newType = NULL; in LnnPostStopMsgToHbFsm() local
1222 newType = (LnnHeartbeatType *)SoftBusCalloc(sizeof(LnnHeartbeatType)); in LnnPostStopMsgToHbFsm()
1223 if (newType == NULL) { in LnnPostStopMsgToHbFsm()
1227 *newType = type; in LnnPostStopMsgToHbFsm()
1228 if (LnnFsmPostMessage(&hbFsm->fsm, EVENT_HB_STOP_SPECIFIC, (void *)newType) != SOFTBUS_OK) { in LnnPostStopMsgToHbFsm()
1230 SoftBusFree(newType); in LnnPostStopMsgToHbFsm()
/ohos5.0/base/location/frameworks/js/napi/notification/include/
H A Dnotification_napi.h161 … const napi_ref &callbackIn, const int32_t &errorCode, const napi_value &result, bool newType);
192 … const napi_deferred &deferred, const int32_t &errorCode, const napi_value &result, bool newType);
1250 static napi_value CreateErrorValue(napi_env env, int32_t errCode, bool newType);
/ohos5.0/base/telephony/sms_mms/utils/
H A Dtext_coder.cpp677 uint8_t newType = MSG_DEFAULT_CHAR; in GetLangType() local
686 newType = static_cast<uint8_t>(itExt->second); in GetLangType()
687 if (newType >= currType) { in GetLangType()
689 currType = isTurkisk ? MSG_TURKISH_CHAR : newType; in GetLangType()
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/include/
H A Dcommon.h169 … const napi_ref &callbackIn, const int32_t &errorCode, const napi_value &result, bool newType);
200 … const napi_deferred &deferred, const int32_t &errorCode, const napi_value &result, bool newType);
1694 static napi_value CreateErrorValue(napi_env env, int32_t errCode, bool newType);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/kv/
H A Dkvdb_manager.cpp799 …int newType = properties.GetIntProp(KvDBProperties::DATABASE_TYPE, KvDBProperties::LOCAL_TYPE_SQLI… in FindKvDBFromCache() local
802 if (oldType == newType) { in FindKvDBFromCache()
811 STR_MASK(DBCommon::TransferStringToHex(identifier)), newType, oldType); in FindKvDBFromCache()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_input.cpp48 bool ShouldCreateNewComponent(const std::string& oldType, const std::string& newType) in ShouldCreateNewComponent() argument
55 …return g_textCategory.find(oldType) == g_textCategory.end() || g_textCategory.find(newType) == g_t… in ShouldCreateNewComponent()
/ohos5.0/foundation/multimodalinput/input/frameworks/proxy/events/test/
H A Dinput_manager_pointer_test.cpp1632 int32_t newType = 1; variable
1633 ASSERT_TRUE(InputManager::GetInstance()->GetTouchpadRightClickType(newType) == RET_OK);
1634 ASSERT_TRUE(type == newType);
H A Dinput_manager_test.cpp1484 int32_t newType = 1; variable
1485 int32_t ret = InputManager::GetInstance()->GetTouchpadRightClickType(newType);
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DstateMgmt.js10678 const newType = this.typeGenFunc_(this.arr_[+i], +i);
10683 if (oldType !== newType) {