summaryrefslogtreecommitdiffstats
path: root/init/property_service.h
Commit message (Collapse)AuthorAgeFilesLines
* Switch init to epoll.Elliott Hughes2015-04-241-2/+0
| | | | | | | | | | | Not just because it's what the cool kids are doing --- it also lets us simplify the inner loop and decouple it from whatever systems want to be woken to perform some activity if there's data to be read on some fd. Currently this is just used to clean up the existing signal handling, keychord, and property service code. Change-Id: I4d7541a2c4386957ad877df69e3be08b96a7dec5
* Log more timing information from init.Elliott Hughes2015-03-281-1/+1
| | | | | | | | | | | | | | | | | Also make important events in init's life NOTICE rather than INFO, and ensure that NOTICE events actually make it to the kernel log. Also fix the logging so that if you have a printf format string error, the compiler now catches it. Also give messages from init, ueventd, and watchdogd distinct tags. (Previously they'd all call themselves "init", and dmesg doesn't include pids, so you couldn't untangle them.) Also include the tag in SELinux messages. Bug: 19544788 Change-Id: Ica6daea065bfdb80155c52c0b06f346a7df208fe
* Further refactoring of the bootchart code.Elliott Hughes2015-02-131-1/+1
| | | | Change-Id: Ifed6ae8d481b605139fd27799574de4c2d0f5908
* Init: Fix Clang unsupported attributesAndreas Gampe2015-02-031-0/+6
| | | | | | Make attributes conditional on not compiling with Clang. Change-Id: Ic4e9b382308651c7b1901bfa192b6591672dc5ab
* Add ability to boot from charger mode.Riley Andrews2014-06-201-0/+1
| | | | | | | | | Add the ability to boot up directly from charger mode, instead of forcing charger mode to initiate a full restart to launch 'full' android. This should shave a few seconds off of boot time on supported devices (just manta for now). Change-Id: Ieec4494d929e92806e039f834d78b9002afd15c4
* init: verify size of property buffers passed to property_getColin Cross2013-06-171-1/+17
| | | | | | | | | Verify that the buffer passed as the value parameter to property_get is always big enough. (cherry picked from commit 88ac54a4e8d2a63e4fd9c465e115795ace316776) Change-Id: Iacc2b42bfe4069e0bfcbb1c48474f30126a93139
* init: switch property_get to use __system_property_getColin Cross2013-06-171-1/+2
| | | | | | (cherry picked from commit 2deedfe0b1ac86ebd62d19cf7da9e7dcb508ab09) Change-Id: If3fba2cc1dd5c167b0924ddfe42dbe2e6387208a
* init: export all androidboot cmd line values as ro.boot.xx propsDima Zavin2012-01-051-1/+2
| | | | | | | | Also, clean up how we initialize the ro.xx properties and process the kernel command line. Change-Id: Iedda6c90e31340a189171a44b2767480403354f7 Signed-off-by: Dima Zavin <dima@android.com>
* init: do not load default.prop from ramdisk in charger modeDima Zavin2011-09-061-1/+3
| | | | | Change-Id: Ic471b891829d7f857674b925c9948954972d9ecb Signed-off-by: Dima Zavin <dima@android.com>
* Load the persistent properties after decrypting the /data partitionKen Sumrall2011-03-101-0/+1
| | | | | | | | | | | | Fix for bug 3415286. The persistent properties are normally read early in the boot process after /data is mounted. However, for an encrypted system, at that point /data is a tmpfs ramdisk. This change adds a new command to init (load_persist_props) to read the persistent properties, and adds an action to init.rc to load the persistent properties. This action is triggered by setting a property in vold, but that's in a different CL. Change-Id: I74b3057974ee6029c29d956b76fef5566700d471
* init: Allow services to start before property triggers are upColin Cross2010-04-211-0/+1
| | | | Change-Id: I4f87657123bea88b7b5c537781868908d8d66b01
* init: Move property_set_fd to property_service.cColin Cross2010-04-131-3/+3
| | | | Change-Id: Ic7a19073eae8f353d48cabee80fa9722b35a82b5
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+28
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-28/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+28