Lines Matching refs:android
41 using android::net::wifi::IWificond;
42 using android::wifi_system::InterfaceTool;
43 using android::wificond::ipc_constants::kServiceName;
44 using android::wificond::WifiKeystoreHalConnector;
51 ScopedSignalHandler(android::wificond::LooperBackedEventLoop* event_loop) { in ScopedSignalHandler()
67 static android::wificond::LooperBackedEventLoop* s_event_loop_;
77 android::wificond::LooperBackedEventLoop*
84 android::ProcessState::self()->setThreadPoolMaxThreadCount(0); in SetupBinderOrCrash()
85 android::IPCThreadState::self()->disableBackgroundScheduling(true); in SetupBinderOrCrash()
86 int err = android::IPCThreadState::self()->setupPolling(&binder_fd); in SetupBinderOrCrash()
92 void RegisterServiceOrCrash(const android::sp<android::IBinder>& service) { in RegisterServiceOrCrash()
93 android::sp<android::IServiceManager> sm = android::defaultServiceManager(); in RegisterServiceOrCrash()
96 CHECK_EQ(sm->addService(android::String16(kServiceName), service), in RegisterServiceOrCrash()
97 android::NO_ERROR); in RegisterServiceOrCrash()
103 android::IPCThreadState::self()->handlePolledCommands(); in OnBinderReadReady()
107 android::base::InitLogging(argv, android::base::LogdLogger(android::base::SYSTEM)); in main()
110 unique_ptr<android::wificond::LooperBackedEventLoop> event_dispatcher( in main()
111 new android::wificond::LooperBackedEventLoop()); in main()
117 android::wificond::EventLoop::kModeInput, in main()
120 android::wificond::NetlinkManager netlink_manager(event_dispatcher.get()); in main()
124 android::wificond::NetlinkUtils netlink_utils(&netlink_manager); in main()
125 android::wificond::ScanUtils scan_utils(&netlink_manager); in main()
127 unique_ptr<android::wificond::Server> server(new android::wificond::Server( in main()