Home
last modified time | relevance | path

Searched refs:requests_ (Results 1 – 6 of 6) sorted by relevance

/system/nativepower/daemon/
Dwake_lock_manager.cc68 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()
Dwake_lock_manager_stub.cc38 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()
Dwake_lock_manager_stub.h45 int num_requests() const { return requests_.size(); } in num_requests()
60 std::map<sp<IBinder>, Request> requests_;
Dwake_lock_manager.h88 std::map<sp<IBinder>, Request> requests_; variable
/system/webservd/webservd/
Dprotocol_handler.cc293 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()
Dprotocol_handler.h116 std::map<std::string, Request*> requests_; variable