No description
Find a file
Dennis Shen 79283ef377 Move staging value application logic to persistent_properties and add
unit tests

1, Previous implementation has the staged prop application done in
property_service, which caused a number of unnecessary changes which
including exposing apis like AddPersistentProperty. In addition, it made
the property_service logic complicated. A better design is to have the
staged value application done while reading the persistent properties
from file. This way, no change to property service. In addition, unit
test is much cleaner and efficient.

2, add a unit test to lock down the behavior. Specifically, it locks down that when a prop is staged, it should be applied the next time when the persistent prop is loaded. In addition, it should lock down that other persistent props are not overwritten.

Bug: b/307752841, b/300111812, b/306062513

Change-Id: I43c603efbb803195065dda3f0bc2145716302bbc
2023-11-02 14:17:33 +00:00
bootstat bootstat: add more bootreasons 2023-10-20 05:56:34 +00:00
cli-test
code_coverage
debuggerd Add ability to handle multiple intercepts per pid. 2023-10-19 15:13:59 +00:00
diagnose_usb
fastboot Merge "Update the fastboot command size from 64 to 4096 to cover the changes from https://android-review.git.corp.google.com/c/platform/system/core/+/2214970" into main 2023-10-13 18:28:17 +00:00
fs_mgr fs_mgr_overlayfs: Remove temp dir under /dev when aborting 2023-10-23 07:57:28 +00:00
gatekeeperd Check AServiceManager_isDeclared before AServiceManager_getService 2023-06-14 02:43:54 +00:00
healthd Don't depend on String8 cast to C string 2023-09-20 15:11:54 +00:00
include
init Move staging value application logic to persistent_properties and add 2023-11-02 14:17:33 +00:00
janitors
libappfuse
libasyncio
libcrypto_utils
libcutils Add an include 2023-10-06 18:46:17 +00:00
libgrallocusage
libkeyutils
libmodprobe Merge "libmodprobe: LPM: Cleanup of redundant check" 2023-06-29 17:21:18 +00:00
libnetutils add 'nodad' support to ifc_add_address() 2023-06-30 16:36:21 +00:00
libpackagelistparser
libprocessgroup Merge "libprocessgroup: Don't sleep after last cgroup removal attempt" into main 2023-10-07 00:34:39 +00:00
libsparse Make simg2img host-only 2023-08-28 09:53:30 -07:00
libstats Add monicamwang and rayhdez to system/core/libstats/OWNERS 2023-10-11 17:52:25 -07:00
libsuspend
libsync
libsystem
libsysutils NetlinkEvent: trivial simplification. 2023-07-10 22:46:12 +00:00
libusbhost
libutils libutils: split out libutils_binder 2023-10-09 21:56:15 +00:00
libvndksupport libvndksupport: log sphal namespace fallback 2023-10-03 17:13:10 +00:00
llkd
mini_keyctl
mkbootfs
property_service
reboot
rootdir Merge "s/master/main/" into main am: b533f531df 2023-10-05 16:41:39 +00:00
run-as
sdcard
shell_and_utilities
storaged Added defaults for storaged fuzzers 2023-05-05 23:55:27 +00:00
toolbox Remove stray newline from err() call. 2023-09-07 19:30:31 +00:00
trusty Merge "Add tipc fuzzer for KeyMint/Rust" into main 2023-10-19 08:31:09 +00:00
usbd
watchdogd
.clang-format
.clang-format-2
.clang-format-4
.gitignore
CleanSpec.mk
METADATA
MODULE_LICENSE_APACHE2
OWNERS Add bug component to system/core 2023-07-26 07:57:58 -07:00
PREUPLOAD.cfg
rustfmt.toml