/base/account/os_account/services/accountmgr/include/ |
D | account_data_storage.h | 49 bool IsKeyExists(const std::string keyStr); 50 ErrCode PutValueToKvStore(const std::string &keyStr, const std::string &valueStr); 51 ErrCode GetValueFromKvStore(const std::string &keyStr, std::string &valueStr); 52 ErrCode RemoveValueFromKvStore(const std::string &keyStr);
|
/base/account/os_account/services/accountmgr/src/ |
D | account_data_storage.cpp | 157 ErrCode AccountDataStorage::RemoveValueFromKvStore(const std::string &keyStr) in RemoveValueFromKvStore() argument 164 OHOS::DistributedKv::Key key(keyStr); in RemoveValueFromKvStore() 271 ErrCode AccountDataStorage::PutValueToKvStore(const std::string &keyStr, const std::string &valueSt… in PutValueToKvStore() argument 278 OHOS::DistributedKv::Key key(keyStr); in PutValueToKvStore() 298 ErrCode AccountDataStorage::GetValueFromKvStore(const std::string &keyStr, std::string &valueStr) in GetValueFromKvStore() argument 305 OHOS::DistributedKv::Key key(keyStr); in GetValueFromKvStore() 327 bool AccountDataStorage::IsKeyExists(const std::string keyStr) in IsKeyExists() argument 330 if (GetValueFromKvStore(keyStr, valueStr) != ERR_OK) { in IsKeyExists()
|
/base/startup/init/interfaces/kits/jskits/src/ |
D | native_parameters_js.cpp | 151 std::string keyStr = keyBuf; in SetSync() local 153 int setResult = SetParameter(keyStr.c_str(), valueStr.c_str()); in SetSync() 159 ss << "set: " << keyStr << " failed, error code: " << setResult; in SetSync() 191 std::string keyStr = keyBuf; in GetSync() local 207 int ret = OHOS::system::GetStringParameter(keyStr, getValue, valueStr); in GetSync()
|
/base/notification/distributed_notification_service/services/ans/src/ |
D | notification_preferences_database.cpp | 733 std::string keyStr; in PutBundlePropertyToDisturbeDB() local 736 keyStr = GenerateBundleKey(bundleKey, KEY_BUNDLE_BADGE_TOTAL_NUM); in PutBundlePropertyToDisturbeDB() 739 keyStr = GenerateBundleKey(bundleKey, KEY_BUNDLE_IMPORTANCE); in PutBundlePropertyToDisturbeDB() 742 keyStr = GenerateBundleKey(bundleKey, KEY_BUNDLE_SHOW_BADGE); in PutBundlePropertyToDisturbeDB() 745 keyStr = GenerateBundleKey(bundleKey, KEY_BUNDLE_ENABLE_NOTIFICATION); in PutBundlePropertyToDisturbeDB() 748 keyStr = GenerateBundleKey(bundleKey, KEY_BUNDLE_POPPED_DIALOG); in PutBundlePropertyToDisturbeDB() 758 int32_t result = rdbDataManager_->InsertData(keyStr, valueStr); in PutBundlePropertyToDisturbeDB() 913 std::string keyStr; in FindLastString() local 916 keyStr = inputString.substr(pos); in FindLastString() 918 return keyStr; in FindLastString() [all …]
|
/base/account/os_account/services/accountmgr/src/osaccount/ |
D | os_account_control_file_manager.cpp | 343 for (auto keyStr : waitForErase) { in GlobalConstraintsDataOperate() local 344 globalOAConstraintsJson.erase(keyStr); in GlobalConstraintsDataOperate() 419 for (auto keyStr : waitForErase) { in SpecificConstraintsDataOperate() local 420 userPrivateConstraintsDataJson.erase(keyStr); in SpecificConstraintsDataOperate() 495 for (auto keyStr : waitForErase) { in RemoveOAGlobalConstraintsInfo() local 496 globalOAConstraintsJson.erase(keyStr); in RemoveOAGlobalConstraintsInfo() 542 for (auto keyStr : waitForErase) { in RemoveOASpecificConstraintsInfo() local 543 userPrivateConstraintsJson.erase(keyStr); in RemoveOASpecificConstraintsInfo()
|
/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/ |
D | hitrace_meter.cpp | 85 std::string keyStr = KEY_PREFIX + std::to_string(i); in IsAppValid() local 86 std::string val = OHOS::system::GetParameter(keyStr, ""); in IsAppValid()
|
/base/notification/distributed_notification_service/services/ans/include/ |
D | notification_preferences_database.h | 183 …string SubUniqueIdentifyFromString(const std::string &findString, const std::string &keyStr) const;
|
/base/account/os_account/interfaces/kits/napi/appaccount/src/ |
D | napi_app_account_common.cpp | 1298 std::string keyStr; in ParseCreateAccountOptions() local 1299 if (!GetStringProperty(env, item, keyStr)) { in ParseCreateAccountOptions() 1304 napi_get_named_property(env, customDataValue, keyStr.c_str(), &val); in ParseCreateAccountOptions() 1310 options.customData.emplace(keyStr, valStr); in ParseCreateAccountOptions()
|
/base/request/request/test/unittest/common/napi/requestTest/ |
D | RequestJsunit.test.js | 20 let keyStr = 'download test '; variable
|