Lines Matching refs:GetLong
325 * @tc.desc: normal testcase of GetLong
332 int64_t ret = pref->GetLong(LONG_KEY + 'x', 35L);
335 ret = pref->GetLong("", 35L);
342 ret = pref->GetLong(KEY_TEST_INT_ELEMENT, 3L);
345 ret = pref->GetLong(KEY_TEST_LONG_ELEMENT, 3L);
390 int64_t ret2 = pref->GetLong(KEY_TEST_LONG_ELEMENT, 10000L);
497 int64_t ret = pref->GetLong(LONG_KEY + 'x', 1L);
499 ret = pref->GetLong("", 1L);
506 ret = pref->GetLong(LONG_KEY, 1L);
508 ret = pref->GetLong(KEY_TEST_LONG_ELEMENT, 1L);
712 * @tc.desc: normal testcase of GetLong without defaultValue
729 int64_t ret = pref1->GetLong(LONG_KEY);
731 ret = pref1->GetLong(KEY_TEST_LONG_ELEMENT);