Searched refs:AccessApiHandler (Results 1 – 5 of 5) sorted by relevance
/external/libweave/src/ |
D | access_api_handler.cc | 53 AccessApiHandler::AccessApiHandler(Device* device, in AccessApiHandler() function in weave::AccessApiHandler 123 base::Bind(&AccessApiHandler::Block, weak_ptr_factory_.GetWeakPtr())); 126 base::Bind(&AccessApiHandler::Unblock, weak_ptr_factory_.GetWeakPtr())); 129 base::Bind(&AccessApiHandler::List, weak_ptr_factory_.GetWeakPtr())); 132 void AccessApiHandler::Block(const std::weak_ptr<Command>& cmd) { in Block() 157 base::Bind(&AccessApiHandler::OnCommandDone, in Block() 161 void AccessApiHandler::Unblock(const std::weak_ptr<Command>& cmd) { in Unblock() 180 base::Bind(&AccessApiHandler::OnCommandDone, in Unblock() 184 void AccessApiHandler::List(const std::weak_ptr<Command>& cmd) { in List() 207 void AccessApiHandler::OnCommandDone(const std::weak_ptr<Command>& cmd, in OnCommandDone() [all …]
|
D | access_api_handler.h | 26 class AccessApiHandler final { 28 AccessApiHandler(Device* device, AccessBlackListManager* manager); 41 base::WeakPtrFactory<AccessApiHandler> weak_ptr_factory_{this}; 42 DISALLOW_COPY_AND_ASSIGN(AccessApiHandler);
|
D | device_manager.h | 13 class AccessApiHandler; variable 113 std::unique_ptr<AccessApiHandler> access_api_handler_;
|
D | access_api_handler_unittest.cc | 76 handler_.reset(new AccessApiHandler{&device_, &access_manager_}); in SetUp() 107 std::unique_ptr<AccessApiHandler> handler_;
|
D | device_manager.cc | 47 new AccessApiHandler{this, black_list_manager_.get()});
|