Lines Matching defs:user
46 void SceneTimerOhImpl::Start(int user, int id, long interval)
48 int key = BuildRecordKey(user, id);
54 void SceneTimerOhImpl::Stop(int user, int id)
56 int key = BuildRecordKey(user, id);
126 int SceneTimerOhImpl::BuildRecordKey(int user, int id)
128 if (user >= maxUserId) {
129 throw std::invalid_argument("exceeds max user id");
132 throw std::invalid_argument("exceeds max id per user");
134 int ret = user * maxRecordPerUser + id;
147 int user = ExtractUserFromRecordKey(recordKey);
150 ICb* cb = callbacks.at(user);
158 HIVIEW_LOGE("SceneTimerImpl::back id=%{public}d;user=%{public}d;key=%{public}d;", id, user, recordKey);