Go to file
caozhiyuan b104c502e1 init: Fix sync issue on property trigger.
This issue reproduces in the following senario.
 1. ("", "") is added to queue;
 2. property_triggers_enabled is set to 1;
 3. user defined property is triggered, like sys.usb.config=adb;
 4. ("sys.usb.config", "adb") is added to queue;
 5. main loop interpret ("", "") and queue all current triggers to execution,
    so ("sys.usb.config", "adb") is queued for execution for the first time.
 6. main loop interpret ("sys.usb.config", "adb"), it is queued for
    execution for a second time.
The second time makes ASIT fail.

Bug: http://b/28218187
Change-Id: I230e175e0dca8989f1e5bd812398da90082d0ec1
Signed-off-by: caozhiyuan <cao.zhiyuan@zte.com.cn>
2016-11-29 20:19:17 +00:00
adb Merge "adb: fix progress percentage when pulling symlinks." 2016-11-18 02:13:19 +00:00
adf system/core Replace cutils/log.h with android/log.h 2016-09-30 12:47:05 -07:00
base Add StartsWithIgnoreCase/EndsWithIgnoreCase. 2016-10-25 14:56:04 -07:00
bootstat liblog: move android_log_event_context class to log/log_event_list.h 2016-11-21 09:46:34 -08:00
cpio mkbootfs: Fix the default st_mode for root directory. 2016-10-07 16:14:27 -07:00
debuggerd crasher: add option to wait for input before crashing. 2016-11-11 14:29:13 -08:00
fastboot Switch fastboot/init/libprocessgroup to std::this_thread::sleep_for. 2016-11-14 17:08:47 -08:00
fingerprintd system/core Replace cutils/log.h with android/log.h 2016-09-30 12:47:05 -07:00
fs_mgr fs_mgr: change MF_MAX_COMP_STREAMS define to match internal master 2016-11-18 16:38:40 -08:00
gatekeeperd system/core Replace cutils/log.h with android/log.h 2016-09-30 12:47:05 -07:00
healthd Update to new minui text API 2016-11-15 14:25:44 -08:00
include liblog: add private android_log_write_list_buffer() 2016-11-21 09:46:39 -08:00
init init: Fix sync issue on property trigger. 2016-11-29 20:19:17 +00:00
libappfuse Remove FuseBridgeLoop class. 2016-11-17 09:49:51 +09:00
libbacktrace Merge "Revert "Use process_vm_readv to read memory."" 2016-11-14 20:14:18 +00:00
libbinderwrapper Move libbinderwrapper's headers into libbinderwrapper. 2016-09-16 09:02:47 -07:00
libcrypto_utils Rely on the platform -std default. 2016-10-10 14:31:12 -07:00
libcutils libcutils: sdk(mac) build error (part deux) 2016-11-17 08:33:26 -08:00
libdiskconfig system/core Replace log/log.h with android/log.h 2016-09-30 12:47:05 -07:00
libion libion: open /dev/ion read-only 2016-10-21 14:29:22 -07:00
liblog liblog: add private android_log_write_list_buffer() 2016-11-21 09:46:39 -08:00
libmemtrack system/core Replace log/log.h with android/log.h 2016-09-30 12:47:05 -07:00
libmemunreachable Rely on the platform -std default. 2016-10-10 14:31:12 -07:00
libnativebridge Allow different namespace types for different classloaders 2016-11-04 15:21:13 -07:00
libnativeloader Allow different namespace types for different classloaders 2016-11-04 15:21:13 -07:00
libnetutils system/core Replace cutils/log.h with android/log.h 2016-09-30 12:47:05 -07:00
libpackagelistparser system/core Replace cutils/log.h with android/log.h 2016-09-30 12:47:05 -07:00
libpixelflinger system/core: preparation to pull back interfaces from android/log.h 2016-10-20 08:11:39 -07:00
libprocessgroup Switch fastboot/init/libprocessgroup to std::this_thread::sleep_for. 2016-11-14 17:08:47 -08:00
libprocinfo libprocinfo: introduce. 2016-11-14 13:42:18 -08:00
libsparse libsparse: output_file.c, fix large data chunk issue 2016-10-06 09:53:42 -07:00
libsuspend system/core Replace cutils/log.h with android/log.h 2016-09-30 12:47:05 -07:00
libsync Rely on the platform -std default. 2016-10-10 14:31:12 -07:00
libsysutils system/core: preparation to pull back interfaces from android/log.h 2016-10-20 08:11:39 -07:00
libusbhost usb-bulk-transfer: Clarify sign-iy-ness of param 2016-09-21 15:51:35 +00:00
libutils system/core: preparation to pull back interfaces from android/log.h 2016-10-20 08:11:39 -07:00
libziparchive ziparchive: Allow ExtractEntryToFile() to work with block device. 2016-11-15 10:19:04 -08:00
lmkd system/core: preparation to pull back interfaces from android/log.h 2016-10-20 08:11:39 -07:00
logcat liblog: move android_log_event_context class to log/log_event_list.h 2016-11-21 09:46:34 -08:00
logd logd: add EXIT command 2016-11-17 14:42:33 -08:00
logwrapper Rely on the platform -std default. 2016-10-10 14:31:12 -07:00
mkbootimg mkbootimg: use int for os_version and os_patch_level 2016-03-29 16:06:37 -07:00
reboot Convert more Android.mk files to Android.bp 2016-07-13 17:41:45 -07:00
rootdir change /data/bugreports to /bugreports 2016-11-22 08:57:25 -08:00
run-as run-as: Use Minijail for privilege dropping. 2016-07-19 11:03:52 -04:00
sdcard Use FUSE_COMPAT_22_INIT_OUT_SIZE always as the resopnse size of FUSE_INIT. 2016-11-16 01:58:28 +00:00
toolbox toolbox: exit when failed to allocate buffer for ioctl 2016-11-22 15:33:34 -08:00
trusty system/core: preparation to pull back interfaces from android/log.h 2016-10-20 08:11:39 -07:00
tzdatacheck Convert more Android.mk files to Android.bp 2016-07-13 17:41:45 -07:00
.gitignore Ignore adb/*.pyc files 2015-08-11 12:59:58 -07:00
Android.mk Remove the simulator target from all makefiles. 2011-07-11 22:12:32 -07:00
CleanSpec.mk init.rc: have hwservicemanager start the HAL class 2016-09-26 00:23:51 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
NOTICE Fix omission in NOTICE file. 2013-07-30 13:56:55 -07:00