Searched refs:requests_ (Results 1 – 6 of 6) sorted by relevance
68 while (!requests_.empty()) in ~WakeLockManager()69 RemoveRequest(requests_.begin()->first); in ~WakeLockManager()86 const bool new_request = !requests_.count(client_binder); in AddRequest()91 const bool first_request = requests_.empty(); in AddRequest()101 requests_[client_binder] = Request(tag, package, uid); in AddRequest()112 if (!requests_.erase(client_binder)) { in RemoveRequest()119 if (requests_.empty() && !WriteToFile(unlock_path_, kLockName)) in RemoveRequest()
38 const auto it = requests_.find(binder); in GetRequestString()39 if (it == requests_.end()) in GetRequestString()50 requests_[client_binder] = Request(tag, package, uid); in AddRequest()55 if (!requests_.count(client_binder)) in RemoveRequest()58 requests_.erase(client_binder); in RemoveRequest()
45 int num_requests() const { return requests_.size(); } in num_requests()60 std::map<sp<IBinder>, Request> requests_;
88 std::map<sp<IBinder>, Request> requests_; variable
293 requests_.emplace(request->GetID(), request); in AddRequest()297 requests_.erase(request->GetID()); in RemoveRequest()301 auto p = requests_.find(request_id); in GetRequest()302 return (p != requests_.end()) ? p->second : nullptr; in GetRequest()
116 std::map<std::string, Request*> requests_; variable