Lines Matching refs:android
41 using android::net::wifi::IWificond;
42 using android::wifi_system::HostapdManager;
43 using android::wifi_system::InterfaceTool;
44 using android::wifi_system::SupplicantManager;
45 using android::wificond::ipc_constants::kServiceName;
52 ScopedSignalHandler(android::wificond::LooperBackedEventLoop* event_loop) { in ScopedSignalHandler()
68 static android::wificond::LooperBackedEventLoop* s_event_loop_;
78 android::wificond::LooperBackedEventLoop*
85 android::ProcessState::self()->setThreadPoolMaxThreadCount(0); in SetupBinderOrCrash()
86 android::IPCThreadState::self()->disableBackgroundScheduling(true); in SetupBinderOrCrash()
87 int err = android::IPCThreadState::self()->setupPolling(&binder_fd); in SetupBinderOrCrash()
95 android::hardware::configureRpcThreadpool(1, true /* callerWillJoin */); in SetupHwBinderOrCrash()
96 int binder_fd = android::hardware::setupTransportPolling(); in SetupHwBinderOrCrash()
101 void RegisterServiceOrCrash(const android::sp<android::IBinder>& service) { in RegisterServiceOrCrash()
102 android::sp<android::IServiceManager> sm = android::defaultServiceManager(); in RegisterServiceOrCrash()
105 CHECK_EQ(sm->addService(android::String16(kServiceName), service), in RegisterServiceOrCrash()
106 android::NO_ERROR); in RegisterServiceOrCrash()
112 android::IPCThreadState::self()->handlePolledCommands(); in OnBinderReadReady()
116 android::hardware::handleTransportPoll(fd); in OnHwBinderReadReady()
120 android::base::InitLogging(argv, android::base::LogdLogger(android::base::SYSTEM)); in main()
123 unique_ptr<android::wificond::LooperBackedEventLoop> event_dispatcher( in main()
124 new android::wificond::LooperBackedEventLoop()); in main()
130 android::wificond::EventLoop::kModeInput, in main()
135 hw_binder_fd, android::wificond::EventLoop::kModeInput, in main()
138 android::wificond::NetlinkManager netlink_manager(event_dispatcher.get()); in main()
142 android::wificond::NetlinkUtils netlink_utils(&netlink_manager); in main()
143 android::wificond::ScanUtils scan_utils(&netlink_manager); in main()
145 unique_ptr<android::wificond::Server> server(new android::wificond::Server( in main()