Home
last modified time | relevance | path

Searched refs:SERVICE_TYPE (Results 1 - 16 of 16) sorted by relevance

/foundation/CastEngine/castengine_wifi_display/services/interaction/ipc_codec/
H A Dipc_msg_bind_macros.h26 #define IPC_MESSAGE_ENCODE_BIND(SERVICE_TYPE, MESSAGE_TYPE) \
28 auto message = static_pointer_cast<SERVICE_TYPE>(sharingMsg); \
50 #define IPC_MESSAGE_DECODE_BIND(SERVICE_TYPE, MESSAGE_TYPE) \
52 auto message = std::make_shared<SERVICE_TYPE>(); \
/foundation/deviceprofile/device_info_manager/old/services/core/src/contentsensor/
H A Dapp_info_collector.cpp28 const std::string SERVICE_TYPE = "appInfo"; member
36 profile.SetServiceType(SERVICE_TYPE); in ConvertToProfileData()
H A Dpasteboard_info_collector.cpp27 const std::string SERVICE_TYPE = "pasteboardService"; member
44 profile.SetServiceType(SERVICE_TYPE); in ConvertToProfileData()
H A Dstorage_info_collector.cpp30 const std::string SERVICE_TYPE = "storage"; member
38 profile.SetServiceType(SERVICE_TYPE); in ConvertToProfileData()
H A Ddevice_info_collector.cpp29 const std::string SERVICE_TYPE = "device"; member
41 profile.SetServiceType(SERVICE_TYPE); in ConvertToProfileData()
H A Dsystem_info_collector.cpp31 const std::string SERVICE_TYPE = "system"; member
43 profile.SetServiceType(SERVICE_TYPE); in ConvertToProfileData()
H A Dsyscap_info_collector.cpp30 const std::string SERVICE_TYPE = "syscap"; member
40 profile.SetServiceType(SERVICE_TYPE); in ConvertToProfileData()
/foundation/deviceprofile/device_info_manager/old/services/core/src/dbstorage/
H A Ddevice_profile_storage_manager.cpp46 const std::string SERVICE_TYPE = "type"; member
160 j[SERVICE_TYPE] = profile.GetServiceType(); in PutDeviceProfile()
255 profile.SetServiceType(jsonData[SERVICE_TYPE]); in SetServiceType()
276 if (typeData != nullptr && typeData[SERVICE_TYPE] != nullptr) { in SetServiceType()
277 profile.SetServiceType(typeData[SERVICE_TYPE]); in SetServiceType()
/foundation/deviceprofile/device_info_manager/common/src/interfaces/
H A Dservice_profile.cpp106 cJSON_AddStringToObject(json, SERVICE_TYPE.c_str(), serviceType_.c_str()); in dump()
/foundation/deviceprofile/device_info_manager/services/core/src/contentsensormanager/
H A Dsyscap_info_collector.cpp29 const std::string SERVICE_TYPE = "syscap"; member
/foundation/deviceprofile/device_info_manager/services/core/test/unittest/
H A Dprofile_utils_test.cpp1618 values[SERVICE_TYPE] = "serviceType"; in HWTEST_F()
1628 values[SERVICE_TYPE] = strValye; in HWTEST_F()
1630 EXPECT_EQ(false, propertiesMap.count(SERVICE_TYPE) != 0); in HWTEST_F()
1631 EXPECT_EQ(false, 0 < propertiesMap[SERVICE_TYPE].length()); in HWTEST_F()
1632 EXPECT_EQ(true, propertiesMap[SERVICE_TYPE].length() < MAX_STRING_LEN); in HWTEST_F()
1636 values[SERVICE_TYPE] = ""; in HWTEST_F()
1638 EXPECT_EQ(false, propertiesMap.count(SERVICE_TYPE) != 0); in HWTEST_F()
1639 EXPECT_EQ(false, 0 < propertiesMap[SERVICE_TYPE].length()); in HWTEST_F()
1643 values.erase(SERVICE_TYPE); in HWTEST_F()
1645 EXPECT_EQ(false, propertiesMap.count(SERVICE_TYPE) ! in HWTEST_F()
[all...]
/foundation/deviceprofile/device_info_manager/old/services/core/test/unittest/
H A Dprofile_storage_test.cpp47 const std::string SERVICE_TYPE = "test"; member
344 profile.SetServiceType(SERVICE_TYPE); in HWTEST_F()
361 profile.SetServiceType(SERVICE_TYPE); in HWTEST_F()
376 profile.SetServiceType(SERVICE_TYPE); in HWTEST_F()
1013 j[SERVICE_TYPE] = "567"; in HWTEST_F()
H A Dprofile_sync_test.cpp48 const std::string SERVICE_TYPE = "test"; member
H A Dprofile_crud_test.cpp39 const std::string SERVICE_TYPE = "syscap"; member
730 profile.SetServiceType(SERVICE_TYPE); in HWTEST_F()
/foundation/deviceprofile/device_info_manager/common/src/utils/
H A Dprofile_utils.cpp478 values[GenerateDBKey(serviceProfileKey, SERVICE_TYPE)] = profile.GetServiceType(); in ServiceProfileToEntries()
660 if (propertiesMap.count(SERVICE_TYPE) != 0 && 0 < propertiesMap[SERVICE_TYPE].length() && in EntriesToServiceProfile()
661 propertiesMap[SERVICE_TYPE].length() < MAX_STRING_LEN) { in EntriesToServiceProfile()
662 profile.SetServiceType(propertiesMap[SERVICE_TYPE]); in EntriesToServiceProfile()
/foundation/deviceprofile/device_info_manager/common/include/constants/
H A Ddistributed_device_profile_constants.h48 const std::string SERVICE_TYPE = "serviceType"; member

Completed in 25 milliseconds