Home
last modified time | relevance | path

Searched refs:DELIMITER (Results 1 – 6 of 6) sorted by relevance

/base/notification/distributed_notification_service/services/distributed/src/
Ddistributed_preferences.cpp26 const std::string DELIMITER = "|"; variable
66 key = DISTRIBUTED_LABEL + DELIMITER + MAIN_LABEL + DELIMITER; in GetDistributedMainKey()
73 …key = DISTRIBUTED_LABEL + DELIMITER + BUNDLE_LABEL + DELIMITER + bundleOption->GetBundleName() + D… in GetDistributedBundleKey()
82 std::size_t distributedLabelEndPosition = key.find(DELIMITER, distributedLabelPosition); in ResolveDistributedKey()
86 std::size_t typeLabelPosition = distributedLabelEndPosition + DELIMITER.size(); in ResolveDistributedKey()
87 std::size_t typeLabelEndPosition = key.find(DELIMITER, typeLabelPosition); in ResolveDistributedKey()
113 std::size_t bundleNamePosition = startPos + DELIMITER.size(); in ResolveDistributedBundleEnable()
114 std::size_t bundleNameEndPosition = key.find(DELIMITER, bundleNamePosition); in ResolveDistributedBundleEnable()
119 std::size_t uidPosition = key.find_last_of(DELIMITER) + DELIMITER.size(); in ResolveDistributedBundleEnable()
134 std::size_t pos = startPos + DELIMITER.size(); in ResolveSyncWithoutAppEnable()
[all …]
Ddistributed_notification_manager.cpp28 const std::string DELIMITER = "|"; variable
77 key = deviceId + DELIMITER + bundleName + DELIMITER + label + DELIMITER + ToString(id); in GenerateDistributedKey()
95 std::size_t deviceIdEndPosition = key.find(DELIMITER, deviceIdPosition); in ResolveDistributedKey()
99 std::size_t bundleNamePosition = deviceIdEndPosition + DELIMITER.size(); in ResolveDistributedKey()
100 std::size_t bundleNameEndPosition = key.find(DELIMITER, bundleNamePosition); in ResolveDistributedKey()
104 std::size_t labelPosition = bundleNameEndPosition + DELIMITER.size(); in ResolveDistributedKey()
105 std::size_t labelEndPosition = key.find_last_of(DELIMITER) - DELIMITER.size() + 1; in ResolveDistributedKey()
109 std::size_t idPosition = key.find_last_of(DELIMITER) + DELIMITER.size(); in ResolveDistributedKey()
220 std::string prefixKey = deviceId + DELIMITER; in OnDeviceDisconnected()
Ddistributed_screen_status_manager.cpp26 const std::string DELIMITER = "|"; variable
152 return deviceId + DELIMITER + SCREEN_STATUS_LABEL; in GenerateDistributedKey()
187 std::string deviceId = key.substr(0, key.find_first_of(DELIMITER)); in CheckRemoteDevicesIsUsing()
/base/security/certificate_manager/test/unittest/src/
Dcm_test_common.cpp170 str += DELIMITER; in DumpCertAbstractInfo()
172 str += DELIMITER; in DumpCertAbstractInfo()
174 str += DELIMITER; in DumpCertAbstractInfo()
228 str += DELIMITER; in DumpCertInfo()
230 str += DELIMITER; in DumpCertInfo()
232 str += DELIMITER; in DumpCertInfo()
/base/security/certificate_manager/test/unittest/include/
Dcm_test_common.h26 #define DELIMITER "$$$" macro
/base/notification/distributed_notification_service/frameworks/test/moduletest/
Dans_fw_module_test.cpp366 const std::string DELIMITER = "|"; member in OHOS::Notification::AnsFWModuleTest
373 .append(DELIMITER) in GenerateDistributedKey()
375 .append(DELIMITER) in GenerateDistributedKey()
377 .append(DELIMITER) in GenerateDistributedKey()
441 DistributedKv::Key key("<remoteDeviceId>" + DELIMITER + "screen_status"); in SetDistributedScreenStatus()