/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/test/src/ |
H A D | pasteboard_utils_test.cpp | 287 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 D | pasteboard_unified_data_test.cpp | 274 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 D | delegate_interface.cpp | 105 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 D | notification_napi_utils.cpp | 76 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 D | common_utils.cpp | 83 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 D | input_handler_manager.cpp | 77 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 D | delegate_interface_test.cpp | 291 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 D | input_declaration.cpp | 38 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 D | a2dp_codec_config.cpp | 150 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 D | mouse_event_normalize_test.cpp | 507 int32_t newType = 2; variable 508 MouseEventHdr->GetTouchpadRightClickType(newType); 509 ASSERT_TRUE(type == newType);
|
H A D | mouse_transform_processor_test.cpp | 535 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 D | pu_repeat_virtual_scroll_impl.ts | 281 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 D | lnn_heartbeat_fsm.c | 1216 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 D | notification_napi.h | 161 … 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 D | text_coder.cpp | 677 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 D | common.h | 169 … 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 D | kvdb_manager.cpp | 799 …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 D | dom_input.cpp | 48 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 D | input_manager_pointer_test.cpp | 1632 int32_t newType = 1; variable 1633 ASSERT_TRUE(InputManager::GetInstance()->GetTouchpadRightClickType(newType) == RET_OK); 1634 ASSERT_TRUE(type == newType);
|
H A D | input_manager_test.cpp | 1484 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 D | stateMgmt.js | 10678 const newType = this.typeGenFunc_(this.arr_[+i], +i); 10683 if (oldType !== newType) {
|