Lines Matching refs:key2
122 char key2[] = "rw.sys.version*%version"; variable
124 int ret = SetParameter(key2, value2);
158 char key2[] = "rw.sys.version.version.version.version"; variable
161 int ret = GetParameter(key2, defValue2, value2, 64);
199 char key2[] = "test.rw.product.type"; variable
201 ret = SetParameter(key2, value2);
203 ret = SystemWriteParam(key2, value2);
206 ret = GetParameter(key2, "version=10.1.0", valueGet2, 32);
242 char key2[] = "test.rw.sys.version.wait2"; variable
243 ret = WaitParameter(key2, "*", 1);
267 char key2[] = "test.rw.sys.version.version2"; variable
268 handle = FindParameter(key2);
320 const std::string key2 = "test.uint.get"; variable
321 uint8_t u1 = OHOS::system::GetUintParameter<uint8_t>(key2, 0, (uint8_t)255); // 255 max value
323 … uint16_t u2 = OHOS::system::GetUintParameter<uint16_t>(key2, 0, (uint16_t)255); // 255 max value
325 … uint32_t u3 = OHOS::system::GetUintParameter<uint32_t>(key2, 0, (uint32_t)255); // 255 max value
327 … uint64_t u4 = OHOS::system::GetUintParameter<uint64_t>(key2, 0, (uint64_t)255); // 255 max value
332 u1 = OHOS::system::GetUintParameter<uint8_t>(key2, 0, (uint8_t)10); // 10 max value
345 const std::string key2 = "test.string.get2"; variable
346 v1 = OHOS::system::GetParameter(key2, "test2");
352 ret = OHOS::system::GetStringParameter(key2, v1, "test2");
362 const std::string key2 = "test.bool.get.false"; variable
363 ret = OHOS::system::GetBoolParameter(key2, true);