Home
last modified time | relevance | path

Searched refs:keyStr (Results 1 – 9 of 9) sorted by relevance

/base/account/os_account/services/accountmgr/include/
Daccount_data_storage.h49 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/
Daccount_data_storage.cpp157 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/
Dnative_parameters_js.cpp151 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/
Dnotification_preferences_database.cpp733 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/
Dos_account_control_file_manager.cpp343 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/
Dhitrace_meter.cpp85 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/
Dnotification_preferences_database.h183 …string SubUniqueIdentifyFromString(const std::string &findString, const std::string &keyStr) const;
/base/account/os_account/interfaces/kits/napi/appaccount/src/
Dnapi_app_account_common.cpp1298 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/
DRequestJsunit.test.js20 let keyStr = 'download test '; variable