No description
Find a file
Jeff Sharkey 3472e52fc2 Move to modern utility methods from android::base.
Moves away from crufty char* operations to std::string utility
methods, including android::base methods for splitting/parsing.

Rewrite of how Process handles scanning procfs for filesystem
references; now uses fts(3) for more sane traversal.

Replace sscanf() with new FindValue() method, also has unit tests.

Remove some unused methods.  Switch almost everyone over to using
modern logging library.

Test: cts-tradefed run commandAndExit cts-dev -m CtsOsTestCases -t android.os.storage.cts.StorageManagerTest
Test: cts-tradefed run commandAndExit cts-dev --abi armeabi-v7a -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.AdoptableHostTest
Bug: 67041047
Change-Id: I70dc512f21459d1e25b187f24289002b2c7bc7af
2017-10-17 12:40:51 -06:00
bench resolve merge conflicts of d254ce4 to master 2016-07-06 16:26:43 -06:00
binder/android/os Destroy vold socket interface completely. 2017-09-18 16:00:14 -06:00
fs Move to modern utility methods from android::base. 2017-10-17 12:40:51 -06:00
model Move to modern utility methods from android::base. 2017-10-17 12:40:51 -06:00
tests Move to modern utility methods from android::base. 2017-10-17 12:40:51 -06:00
Android.mk Remove CheckBattery altogether 2017-10-03 11:53:36 -07:00
BenchmarkGen.h resolve merge conflicts of d254ce4 to master 2016-07-06 16:26:43 -06:00
BenchmarkTask.cpp Destroy vold socket interface completely. 2017-09-18 16:00:14 -06:00
BenchmarkTask.h Move long-running calls to async with listeners. 2017-09-15 14:18:00 -06:00
CleanSpec.mk Add an empty CleanSpec.mk 2010-03-08 18:05:25 -08:00
cryptfs.cpp Move to modern utility methods from android::base. 2017-10-17 12:40:51 -06:00
cryptfs.h Remove dead code; move code out of cryptfs that doesn't belong. 2017-10-06 14:29:33 -07:00
Devmapper.cpp Move to modern utility methods from android::base. 2017-10-17 12:40:51 -06:00
Devmapper.h Move to modern utility methods from android::base. 2017-10-17 12:40:51 -06:00
EncryptInplace.cpp Remove CheckBattery altogether 2017-10-03 11:53:36 -07:00
EncryptInplace.h Refactor to lay the groundwork for metadata encryption 2017-04-21 10:47:17 -07:00
Ext4Crypt.cpp Be more C++. volume UUID should always be std::string. 2017-10-09 13:36:35 -07:00
Ext4Crypt.h Be more C++. volume UUID should always be std::string. 2017-10-09 13:36:35 -07:00
FileDeviceUtils.cpp Move functions useful for crypto test into their own file 2017-06-16 16:17:26 -07:00
FileDeviceUtils.h Move functions useful for crypto test into their own file 2017-06-16 16:17:26 -07:00
hash.h vold: Bugfixes & cleanups 2010-03-13 16:42:19 -08:00
KeyBuffer.cpp Zero memory used for encryuption keys. 2017-08-10 17:31:03 +01:00
KeyBuffer.h Zero memory used for encryuption keys. 2017-08-10 17:31:03 +01:00
Keymaster.cpp Zero memory used for encryuption keys. 2017-08-10 17:31:03 +01:00
Keymaster.h Be more C++. volume UUID should always be std::string. 2017-10-09 13:36:35 -07:00
KeyStorage.cpp Zero memory used for encryuption keys. 2017-08-10 17:31:03 +01:00
KeyStorage.h Zero memory used for encryuption keys. 2017-08-10 17:31:03 +01:00
KeyUtil.cpp Fix keyname generation issue 2017-09-11 18:39:01 -07:00
KeyUtil.h Zero memory used for encryuption keys. 2017-08-10 17:31:03 +01:00
Loop.cpp Move to modern utility methods from android::base. 2017-10-17 12:40:51 -06:00
Loop.h Move to modern utility methods from android::base. 2017-10-17 12:40:51 -06:00
main.cpp Move to modern utility methods from android::base. 2017-10-17 12:40:51 -06:00
MetadataCrypt.cpp Refactor of use of fstab in advance of fix. 2017-09-26 14:21:10 -07:00
MetadataCrypt.h Add support for metadata encryption 2017-04-21 13:40:20 -07:00
MoveTask.cpp Destroy vold socket interface completely. 2017-09-18 16:00:14 -06:00
MoveTask.h Move long-running calls to async with listeners. 2017-09-15 14:18:00 -06:00
NetlinkHandler.cpp Move to modern utility methods from android::base. 2017-10-17 12:40:51 -06:00
NetlinkHandler.h Fix google-explicit-constructor warnings in system/vold. 2016-08-02 11:41:54 -07:00
NetlinkManager.cpp Move to modern utility methods from android::base. 2017-10-17 12:40:51 -06:00
NetlinkManager.h system: vold2: Initial skeleton for vold2. 2009-10-10 17:57:51 -07:00
OWNERS Add OWNERS in system/vold 2017-06-09 14:55:46 -07:00
Process.cpp Move to modern utility methods from android::base. 2017-10-17 12:40:51 -06:00
Process.h Move to modern utility methods from android::base. 2017-10-17 12:40:51 -06:00
ScryptParameters.cpp system/vold: cleanup compiler warnings (read of uninitialized memory). 2016-10-19 17:58:32 -07:00
ScryptParameters.h Be more C++. volume UUID should always be std::string. 2017-10-09 13:36:35 -07:00
secdiscard.cpp Move functions useful for crypto test into their own file 2017-06-16 16:17:26 -07:00
secontext.cpp cryptfs: run e2fsck/fsck.f2fs in fsck domain 2016-02-01 12:59:59 -08:00
secontext.h Be more C++. volume UUID should always be std::string. 2017-10-09 13:36:35 -07:00
sehandle.h Set SELinux contexts on device nodes created by vold. 2014-09-30 15:35:28 -04:00
TrimTask.cpp Move to modern utility methods from android::base. 2017-10-17 12:40:51 -06:00
TrimTask.h Move long-running calls to async with listeners. 2017-09-15 14:18:00 -06:00
Utils.cpp Move to modern utility methods from android::base. 2017-10-17 12:40:51 -06:00
Utils.h Move to modern utility methods from android::base. 2017-10-17 12:40:51 -06:00
vdc.cpp Revert "Revert "Be more aggressive about obtaining vold service."" 2017-09-27 11:20:01 -07:00
vdc.rc Revert "Enable metadata encryption" 2017-04-28 23:58:39 +00:00
vold.rc Destroy vold socket interface completely. 2017-09-18 16:00:14 -06:00
VoldNativeService.cpp Move to modern utility methods from android::base. 2017-10-17 12:40:51 -06:00
VoldNativeService.h Destroy vold socket interface completely. 2017-09-18 16:00:14 -06:00
VoldUtil.cpp Refactor of use of fstab in advance of fix. 2017-09-26 14:21:10 -07:00
VoldUtil.h Refactor of use of fstab in advance of fix. 2017-09-26 14:21:10 -07:00
VolumeManager.cpp Move to modern utility methods from android::base. 2017-10-17 12:40:51 -06:00
VolumeManager.h Move to modern utility methods from android::base. 2017-10-17 12:40:51 -06:00