Searched refs:boolKey (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/foundation/distributeddatamgr/preferences/test/ndk/unittest/ |
H A D | preferences_ndk_value_test.cpp | 192 std::string boolKey = "ndktest_int_key"; variable 194 errCode = OH_Preferences_SetBool(nullptr, boolKey.c_str(), true); 197 errCode = OH_Preferences_GetBool(nullptr, boolKey.c_str(), &boolValue); 236 std::string boolKey = "ndktest_int_key"; variable 237 errCode = OH_Preferences_Delete(nullptr, boolKey.c_str()); 251 errCode = OH_Preferences_SetBool(pref, boolKey.c_str(), false); 254 errCode = OH_Preferences_GetBool(pref, boolKey.c_str(), &res); 273 std::string boolKey = "ndktest_int_key"; variable 274 errCode = OH_Preferences_Delete(nullptr, boolKey.c_str());
|
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/distributedWant/ |
H A D | distributed_want_test.cpp | 1068 std::string boolKey = "boolKey"; in AddBoolParams() local 1073 keys[boolKey + std::to_string(i)] = boolType; in AddBoolParams() 1074 want.SetParam(boolKey + std::to_string(i), boolValue); in AddBoolParams()
|
/ohos5.0/foundation/ability/ability_base/test/unittest/want/ |
H A D | want_test.cpp | 777 std::string boolKey = "boolKey"; in AddBoolParams() local 782 keys[boolKey + std::to_string(i)] = boolType; in AddBoolParams() 783 want.SetParam(boolKey + std::to_string(i), boolValue); in AddBoolParams()
|