Home
last modified time | relevance | path

Searched refs:ueventd_configuration (Results 1 – 2 of 2) sorted by relevance

/system/core/init/
Dueventd.cpp290 auto ueventd_configuration = ParseConfig({"/system/etc/ueventd.rc", "/vendor/ueventd.rc", in ueventd_main() local
294 std::move(ueventd_configuration.dev_permissions), in ueventd_main()
295 std::move(ueventd_configuration.sysfs_permissions), in ueventd_main()
296 std::move(ueventd_configuration.subsystems), android::fs_mgr::GetBootDevices(), true)); in ueventd_main()
298 std::move(ueventd_configuration.firmware_directories), in ueventd_main()
299 std::move(ueventd_configuration.external_firmware_handlers))); in ueventd_main()
301 if (ueventd_configuration.enable_modalias_handling) { in ueventd_main()
305 UeventListener uevent_listener(ueventd_configuration.uevent_socket_rcvbuf_size); in ueventd_main()
309 ueventd_configuration.enable_parallel_restorecon); in ueventd_main()
Dueventd_parser.cpp225 UeventdConfiguration ueventd_configuration; in ParseConfig() local
228 std::make_unique<SubsystemParser>(&ueventd_configuration.subsystems)); in ParseConfig()
233 std::bind(ParsePermissionsLine, _1, &ueventd_configuration.sysfs_permissions, nullptr)); in ParseConfig()
235 &ueventd_configuration.dev_permissions)); in ParseConfig()
238 &ueventd_configuration.firmware_directories)); in ParseConfig()
241 &ueventd_configuration.external_firmware_handlers)); in ParseConfig()
244 &ueventd_configuration.enable_modalias_handling)); in ParseConfig()
247 &ueventd_configuration.uevent_socket_rcvbuf_size)); in ParseConfig()
250 &ueventd_configuration.enable_parallel_restorecon)); in ParseConfig()
256 return ueventd_configuration; in ParseConfig()