Home
last modified time | relevance | path

Searched refs:boolKey (Results 1 - 3 of 3) sorted by relevance

/foundation/distributeddatamgr/preferences/test/ndk/unittest/
H A Dpreferences_ndk_value_test.cpp192 std::string boolKey = "ndktest_int_key"; in HWTEST_F() local
194 errCode = OH_Preferences_SetBool(nullptr, boolKey.c_str(), true); in HWTEST_F()
197 errCode = OH_Preferences_GetBool(nullptr, boolKey.c_str(), &boolValue); in HWTEST_F()
236 std::string boolKey = "ndktest_int_key"; in HWTEST_F() local
237 errCode = OH_Preferences_Delete(nullptr, boolKey.c_str()); in HWTEST_F()
251 errCode = OH_Preferences_SetBool(pref, boolKey.c_str(), false); in HWTEST_F()
254 errCode = OH_Preferences_GetBool(pref, boolKey.c_str(), &res); in HWTEST_F()
273 std::string boolKey = "ndktest_int_key"; in HWTEST_F() local
274 errCode = OH_Preferences_Delete(nullptr, boolKey.c_str()); in HWTEST_F()
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/distributedWant/
H A Ddistributed_want_test.cpp1054 std::string boolKey = "boolKey"; in AddBoolParams() local
1059 keys[boolKey + std::to_string(i)] = boolType; in AddBoolParams()
1060 want.SetParam(boolKey + std::to_string(i), boolValue); in AddBoolParams()
/foundation/ability/ability_base/test/unittest/want/
H A Dwant_test.cpp777 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()

Completed in 14 milliseconds