Go to file
Jin Qian 94b64ef332 storaged: remove protos from storaged class
protobuf is only needed when serializing/deserializing data. Instead of
maintaining a permanent buffer in storaged object, move the container to
stack so that the buffer is released when we don't need it. In addition,
we don't need to clear the buffer before updating it.

Also added a function to clear user io history when the user is removed.

Bug: 63740245
Change-Id: Ia5d19b9a0c3f92a93b061a56be89bb0b958a2a29
2017-11-09 17:24:58 -08:00
adb Don't include the build number in the adbd binary. 2017-11-07 10:57:36 -08:00
adf Eliminate false positive static analyzer warnings. 2017-09-26 15:27:37 -07:00
base Use -Werror in system/core 2017-11-01 11:32:55 -07:00
bootstat bootstat: Add another boot reason. 2017-10-31 10:07:34 -07:00
cpio Possible null pointer miss on realloc 2017-03-23 22:41:14 +01:00
debuggerd Use -Werror in system/core 2017-11-01 11:32:55 -07:00
demangle Add support for non-virtual thunk. 2017-11-01 16:24:55 -07:00
fastboot Merge "fastboot: handle small flash block sizes correctly" 2017-11-03 21:15:34 +00:00
fs_mgr Merge "fs_mgr: support reading fstab based on ro.boot.hardware.platform" am: 3d879b10d8 am: 45aa5ed89a 2017-11-01 21:56:29 +00:00
gatekeeperd resolve merge conflicts of 0dd4b6aa3 to stage-aosp-master 2017-09-15 16:50:34 +09:00
healthd Health@2.0: uses @1.0::HealthInfo 2017-11-06 13:13:15 -08:00
include Move android_filesystem_config.h => fs_config.h 2017-08-03 17:20:27 +00:00
init Merge "Use -Werror in system/core" am: 4ef714eae0 2017-11-01 21:23:58 +00:00
libappfuse libappfuse: use an explicit buffer size 2017-08-02 14:11:25 -07:00
libasyncio Use -Werror in system/core 2017-11-01 11:32:55 -07:00
libbacktrace Only skip frames for local unwinds. 2017-11-02 16:22:52 -07:00
libbinderwrapper libbinderwrapper: Android.mk -> Android.bp 2017-04-25 15:55:26 -07:00
libcrypto_utils Mark the modules as VNDK in Android.bp 2017-09-14 08:35:16 +00:00
libcutils Merge "libcutils: Fix thread ID on macOS" 2017-10-23 20:32:47 +00:00
libdiskconfig Rename target.linux[_x86[_64]] to target.linux_glibc[_x86[_64]] 2017-10-02 10:44:29 -07:00
libgrallocusage Use -Werror in system/core 2017-11-01 11:32:55 -07:00
libion Merge "libion: Adapt to new ION interface" 2017-09-21 01:06:32 +00:00
libkeyutils Add libkeyutils. 2017-05-10 10:40:11 -07:00
liblog Merge "Allow stats buffer to be empty in liblog CTS." am: 41a9b3c81d am: 5b5ffbda22 2017-10-25 23:19:34 +00:00
libmemtrack Mark libmemtrack as VNDK in Android.bp 2017-08-03 15:49:19 +09:00
libmemunreachable Silence static analyzer warnings about memory leaks 2017-09-24 13:36:29 -07:00
libmetricslogger libmetricslogger: Fix the out-of-sync proto IDs for boot reason. 2017-10-06 14:30:08 -07:00
libnativebridge Use -Werror in system/core/libnativebridge 2017-10-31 15:55:40 -07:00
libnativeloader Merge "Remove default libraries" am: 8b7feee38f am: a0113de2f3 2017-09-30 23:36:25 +00:00
libnetutils libnetutil: Check dhcp respose packet length am: 61f25d4a36 am: cee6d38c55 am: 29d054046f am: c29049f4f8 am: 3de04e9840 am: 19702dc499 am: 8191e9ba87 am: 804323c195 am: 4f5f00d879 am: 3a1ff1ad71 am: bab7b1ecd9 am: cdf0fc6018 2017-11-02 03:28:42 +00:00
libpackagelistparser Use -Werror in system/core 2017-11-01 11:32:55 -07:00
libpixelflinger MIPS[64]: codeflinger: Fix build due to unused variable warnings 2017-11-06 16:38:49 +01:00
libprocessgroup Add memcg related configs to init. 2017-07-18 15:58:40 -07:00
libprocinfo Use -Werror in system/core 2017-11-01 11:32:55 -07:00
libsparse <stdbool.h> not necessary in C++. 2017-10-17 09:20:26 -07:00
libsuspend Merge "Mark the modules as VNDK in Android.bp" 2017-09-15 16:31:01 +00:00
libsync Merge "libsync: Add fence info tests" 2017-09-26 23:46:32 +00:00
libsystem Define priority for video threads 2017-09-07 16:14:07 -07:00
libsysutils Stop depending on libnl. 2017-10-05 14:56:44 +09:00
libunwindstack Fix nullptr dereference. 2017-11-05 14:01:43 -08:00
libusbhost Added get descriptors length function to enable direct access to raw descriptors. 2017-11-06 13:32:52 -07:00
libutils Merge "Use -Werror in system/core" am: 4ef714eae0 2017-11-01 21:23:58 +00:00
libvndksupport Merge "Use -Werror in system/core" am: 4ef714eae0 2017-11-01 21:23:58 +00:00
libziparchive resolve merge conflicts of 5ab03cb41 to oc-mr1-dev-plus-aosp 2017-11-01 11:32:17 +00:00
lmkd Simplify lmkd functionality 2017-09-17 18:31:35 -07:00
logcat Merge "logcat: Note in help that regexps are Perl-compatible" am: 411111acf4 am: 9d11756d48 2017-10-31 17:02:16 +00:00
logd Merge "Don't use TEMP_FAILURE_RETRY on close()" am: 0f2097c0f0 am: 72d7cbe78f 2017-10-24 20:52:43 +00:00
logwrapper Merge "logwrapper: add a benchmark for android_fork_execvp_ext" 2017-03-23 11:56:10 +00:00
mkbootimg mkbootimg: use int for os_version and os_patch_level 2016-03-29 16:06:37 -07:00
qemu_pipe Mark libqemu_pipe vendor_available 2017-06-08 14:16:11 -07:00
reboot reboot: only pause indefinitely for non-shutdown operations 2017-09-29 16:29:52 +00:00
rootdir Fix: make vndk namespace visible for 2016 Pixes 2017-10-30 10:27:45 +09:00
run-as run-as: Keep supplementary groups. 2017-09-29 15:34:23 -04:00
sdcard Revert "Revert "Add derive_gid flag for mounting sdcardfs"" 2017-09-22 14:30:30 -07:00
shell_and_utilities Update shell and utilities docs for O. 2017-09-13 20:59:25 -07:00
storaged storaged: remove protos from storaged class 2017-11-09 17:24:58 -08:00
toolbox Revert "delete toolbox/r.c" 2017-11-02 10:03:10 -05:00
trusty Merge "Use -Werror in system/core" am: 4ef714eae0 2017-11-01 21:23:58 +00:00
.clang-format Add a 2 width option of clang format. 2017-03-10 13:01:39 -08:00
.clang-format-2 Only allow short functions in class definitions. 2017-03-28 12:31:37 -07:00
.clang-format-4 Only allow short functions in class definitions. 2017-03-28 12:31:37 -07:00
.gitignore Ignore adb/*.pyc files 2015-08-11 12:59:58 -07:00
Android.bp Export android_filesystem_config.h as a filegroup 2017-01-17 18:20:28 -08:00
Android.mk Remove the simulator target from all makefiles. 2011-07-11 22:12:32 -07:00
CleanSpec.mk resolve merge conflicts of 73d9596bc to oc-mr1-dev-plus-aosp 2017-09-30 06:44:32 +08: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
PREUPLOAD.cfg Add a PREUPLOAD.cfg file to run git-clang-format on every commit 2017-03-08 16:51:26 +08:00
platform_tools_tool_version.mk Fix warning on the build servers 2017-05-25 12:35:40 -07:00