Lines Matching refs:userId
63 int userId = 0;
65 int result = preferencesUtil->SaveString(std::to_string(userId), defaulVal);
66 std::string val = preferencesUtil->ObtainString(std::to_string(userId), defaulVal);
68 preferencesUtil->RemoveKey(std::to_string(userId));
88 int userId = 0;
90 int result = preferencesUtil->SaveInt(std::to_string(userId), defaulVal);
91 int val = preferencesUtil->ObtainInt(std::to_string(userId), defaulVal);
93 preferencesUtil->RemoveKey(std::to_string(userId));
113 int userId = 0;
115 int result = preferencesUtil->SaveBool(std::to_string(userId), defaulVal);
116 bool val = preferencesUtil->ObtainBool(std::to_string(userId), defaulVal);
118 preferencesUtil->RemoveKey(std::to_string(userId));
138 int userId = 0;
140 preferencesUtil->SaveLong(std::to_string(userId), defaulVal);
141 int64_t val = preferencesUtil->ObtainLong(std::to_string(userId), defaulVal);
142 preferencesUtil->RemoveKey(std::to_string(userId));
162 int userId = 0;
164 int result = preferencesUtil->SaveFloat(std::to_string(userId), defaulVal);
165 float val = preferencesUtil->ObtainFloat(std::to_string(userId), defaulVal);
167 preferencesUtil->RemoveKey(std::to_string(userId));