aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-01-24system/nvram: fix typos and clang-tidy warningsandroid-o-preview-1android-n-mr2-preview-2o-previewRahul Chaudhry
This change fixes a few typos and clang tidy warnings related to the "llvm-namespace-comment" checks. Bug: 26936282 Test: WITH_TIDY=1 WITH_TIDY_CHECKS="llvm-namespace-comment" mm Change-Id: Ib2783ee52713c2b0e5da1b8131c7baec696e74f9
2016-10-26Don't create prebuilts for files that don't existandroid-n-mr2-preview-1Colin Cross
am: 1172562603 Change-Id: I7c69a2189b7341a08387ddf348c149782b487f09
2016-10-26Don't create prebuilts for files that don't existColin Cross
make checkbuild was ignoring prebuilts, so it didn't flag prebuilts with missing source files. Don't create prebuilts for files that don't exist so checkbuild can start treating it as an error. Bug: 32332829 Test: lunch aosp_angler-userdebug && mma -j Test: lunch aosp_mips-eng && m -j checkbuild Change-Id: Ibe099d9f0c73f844b033cadd165d3e29b2a74290
2016-10-10Rely on the platform -std default. am: 8f9d31cae2 am: d48fb4b802Elliott Hughes
am: f82b622eba Change-Id: I24897e8f6daa044031f380d696e6cc71e5fea2a9
2016-10-10Rely on the platform -std default. am: 8f9d31cae2Elliott Hughes
am: d48fb4b802 Change-Id: Iff04f844f84f40e8b9d92476461be0595761f7e5
2016-10-10Rely on the platform -std default.Elliott Hughes
am: 8f9d31cae2 Change-Id: Ia02f3c31d3d5e72334282442997b41fcdd931f85
2016-10-07Rely on the platform -std default.android-n-mr1-preview-2android-n-mr1-preview-1Elliott Hughes
Bug: http://b/32019064 Test: builds Change-Id: I855a44786617faaf5c6e0e48644bc992b31fb2b3
2016-09-28Add missing liblog dependency am: 78f7222e99 am: 41374ef694Dimitry Ivanov
am: 7868c85aff Change-Id: I0c61b5d7cc83aa30be8f0fdd14378903163f0870
2016-09-28Add missing liblog dependency am: 78f7222e99Dimitry Ivanov
am: 41374ef694 Change-Id: I371c50ae5923c1e0cfbc99c8cc9de39b545297f1
2016-09-28Add missing liblog dependencyDimitry Ivanov
am: 78f7222e99 Change-Id: I8b51912f9f7a9155e77bff285e30d2365e6faee2
2016-09-27Add missing liblog dependencyDimitry Ivanov
Bug: http://b/31289077 Bug: http://b/27171986 Test: remove liblog from libcutils and recompile Change-Id: I0abcdc3c55daa9112352a81e7bcfd6b1ded1f390
2016-09-21Rename base::unique_fd::clear to base::unique_fd::reset. am: 321a30f654 am: ↵Josh Gao
4703cb3b74 am: 5eca62215f Change-Id: I6a0e0c3445f34511bd317bfc06f77c7eaee14de2
2016-09-21Rename base::unique_fd::clear to base::unique_fd::reset. am: 321a30f654Josh Gao
am: 4703cb3b74 Change-Id: Ibceb71ffc3f2baddd30e6c1d561a1243bd7c9d54
2016-09-21Rename base::unique_fd::clear to base::unique_fd::reset.Josh Gao
am: 321a30f654 Change-Id: I9edd1ba89d7c41c43226b67ff0201ff55cf02b13
2016-09-20Rename base::unique_fd::clear to base::unique_fd::reset.Josh Gao
Change-Id: I59b466f2b3cb10c6c43d6b0809e06f0b9e0a9c06 Test: TreeHugger
2016-09-13Switch system/nvram to std::unique_ptr. am: 43fec02506 am: 3938812d5bElliott Hughes
am: 78378c33a0 Change-Id: I4fb3023f2bc6e2e3b219bb08a2368c065595aafb
2016-09-13Switch system/nvram to std::unique_ptr. am: 43fec02506Elliott Hughes
am: 3938812d5b Change-Id: I5aa9a810d43a3cf48f3062fd28c2c088542f621b
2016-09-13Switch system/nvram to std::unique_ptr.Elliott Hughes
am: 43fec02506 Change-Id: I366d1f8038af59994ab67dc2122deaa3d5d460dd
2016-09-11Switch system/nvram to std::unique_ptr.Elliott Hughes
Bug: http://b/22403888 Change-Id: Ic13324b92b2ce91d7f0778df5815bf42f20264d5
2016-07-23Rename lib{crypto,ssl}-host to lib{crypto,ssl} am: bbd7096ae2 am: b6a4f4bf73Dan Willemsen
am: 066d9d4684 Change-Id: Ifb22eabb164a226913562775c714e847e36a0380
2016-07-23Rename lib{crypto,ssl}-host to lib{crypto,ssl} am: bbd7096ae2Dan Willemsen
am: b6a4f4bf73 Change-Id: Idc1dc55faa607bf38d1801bbde5c4ee2cd4bb461
2016-07-23Rename lib{crypto,ssl}-host to lib{crypto,ssl}Dan Willemsen
am: bbd7096ae2 Change-Id: I4790bfee7769380ff1a0ddd9ce4e060106e1ca10
2016-07-21Rename lib{crypto,ssl}-host to lib{crypto,ssl}Dan Willemsen
There's no need to use a different name for target and host moudles. In Soong, it's better to use the same for both, as target and host modules can be defined at the same time. Change-Id: Icc70c3918f53dc7bba07d5219c6c1468da83328f
2016-07-12Fix google-explicit-constructor warnings in system/nvram. am: bb621b95ea am: ↵Chih-Hung Hsieh
692fda805f am: a4b8a4b8ca Change-Id: I93a0911dd7c802b2728f24ffeaf104345ad956bb
2016-07-12Fix google-explicit-constructor warnings in system/nvram. am: bb621b95eaChih-Hung Hsieh
am: 692fda805f Change-Id: I23411f5608daecb9b3044f4640ed651394e65d67
2016-07-12Fix google-explicit-constructor warnings in system/nvram.Chih-Hung Hsieh
am: bb621b95ea Change-Id: Ia1db8772b5dc4db7efa403f88f5f1ee2a1057601
2016-07-12Fix google-explicit-constructor warnings in system/nvram.android-wear-n-preview-2android-wear-7.1.1_r1android-n-preview-5android-n-iot-preview-2nougat-mr1-wear-releasen-iot-preview-2Chih-Hung Hsieh
Declare explicit conversion constructors. Bug: 28341362 Change-Id: I7c9f50c5c9d1e70a8b87a8179a863f07b04b89cd Test: build with clang-tidy
2016-06-16Filter storage status codes to ensure valid range. am: 7a90d6c6bf am: 9a56b91d0eMattias Nissler
am: 46b0ebd73c Change-Id: Ie9c7386bb4fb45a0744c01f1360cb9dea7e3c7ae
2016-06-16Filter storage status codes to ensure valid range. am: 7a90d6c6bfMattias Nissler
am: 9a56b91d0e Change-Id: I235eb846c4084720b7fd2877843862e28a4bbc16
2016-06-16Filter storage status codes to ensure valid range.Mattias Nissler
am: 7a90d6c6bf Change-Id: I440469101040229ddb1102466a358d469a5fb59e
2016-06-15Add commands for clearing NVRAM on full reset. am: 0b833364a3 am: 84cff3f1a4Mattias Nissler
am: c537226ff1 Change-Id: Id4c3909e148e36bee4ba7444ce9a93cb5d8b22e0
2016-06-15Add commands for clearing NVRAM on full reset. am: 0b833364a3Mattias Nissler
am: 84cff3f1a4 Change-Id: I6cefdaf4d3a659d75daca5456ea2e3b6329d174d
2016-06-15Add missing include guards. am: 53ae6a87c6 am: b4a7a94e2eMattias Nissler
am: 0ba4d5aea0 Change-Id: I9de5cfd5f8dbdd58161d06388fb68668f1bbfdab
2016-06-15Add missing include guards. am: 53ae6a87c6Mattias Nissler
am: b4a7a94e2e Change-Id: I325aac07b00d9e450ccb41b5ad6f660fc83cf1aa
2016-06-15Add commands for clearing NVRAM on full reset.Mattias Nissler
am: 0b833364a3 Change-Id: I2e59795e9f19b9e4ef208ac4f79e238ee166f3c9
2016-06-15Filter storage status codes to ensure valid range.Mattias Nissler
This makes sure any storage status codes coming from the persistence layer are within the known range. Any status code outside the range are mapped to kStorageError. This adds an extra safety net that catches misbehaving storage implementations or problems with linking stale NVRAM object code after adding status code definitions at run time. Change-Id: Ia6418b6a8d56ac2a812434fe2565aef63a82b59a
2016-06-15Add missing include guards.Mattias Nissler
am: 53ae6a87c6 Change-Id: I6e8009abe541a8d930972a5c6c993a0822d9a607
2016-06-15Add commands for clearing NVRAM on full reset.Mattias Nissler
This adds commands that allow clearing the entire NVRAM contents. This can be used by firmware to implement the correct behavior as part of device recovery. There's always the risk of malicious invocation of the reset logic, so the new code is behind a compile flag which isn't enabled by default. BUG: 29260086 Change-Id: I8eb8a4953ed62ff75b8242daa60c1e4f99bf254d
2016-06-15Add missing include guards.Mattias Nissler
Change-Id: I7da8320e2fcac735fab59ab4d6cc1a75bf027feb
2016-06-14Isolate crypto implementation details. am: 495f9ee739 am: 6ac66b5f88Mattias Nissler
am: 32627247f2 Change-Id: Ia0fee899980c4756929d4c9362c947e6572225fc
2016-06-14Isolate crypto implementation details. am: 495f9ee739Mattias Nissler
am: 6ac66b5f88 Change-Id: Ifd34b18822c77991e8778b0c2d3b4987d8d82c16
2016-06-14Isolate crypto implementation details.Mattias Nissler
am: 495f9ee739 Change-Id: Ib218e4d5fcf4a2b0e0e4dfcc1c24c8795a63afe6
2016-06-10Isolate crypto implementation details.Mattias Nissler
This moves the details of interfacing with crypto libraries behind a clean interface, so crypto can be swapped out as needed. Now that swapping out crypto libraries is easy, use BoringSSL for the main Android build. We can now always replace it with something else if that's need in other environments. BUG: 29238681 Change-Id: I9af046b62273ede4c98d4239a4774c25764dbdaf
2016-05-23Fix misc-macro-parentheses warnings. am: 8eda8f3044 am: 66bd688711Chih-Hung Hsieh
am: 3b4d57a106 * commit '3b4d57a10625222098edd6b65403db84655ef8f7': Fix misc-macro-parentheses warnings. Change-Id: I2992b4a9863c8660ee70bd7ab994d533226b4017
2016-05-23Fix misc-macro-parentheses warnings. am: 8eda8f3044Chih-Hung Hsieh
am: 66bd688711 * commit '66bd688711f6c7beee43bd9774b6792281bc509e': Fix misc-macro-parentheses warnings. Change-Id: I9ee7f557b89b8425786e170f17c835451161f1ee
2016-05-23Fix misc-macro-parentheses warnings.Chih-Hung Hsieh
am: 8eda8f3044 * commit '8eda8f3044a3846ace81a5c42ddd23805a701414': Fix misc-macro-parentheses warnings. Change-Id: Ib3d6d5603dd0e8186a090008d188d1311583dd3a
2016-05-12Fix misc-macro-parentheses warnings.android-n-preview-4Chih-Hung Hsieh
Bug: 28705665 Change-Id: I02229acad1dbdd729983af0c540fd68f241baba9
2016-04-13Move system/nvram from libmincrypt to libconstrainedcrypto. am: bfb09a0Elliott Hughes
am: 71a1aee * commit '71a1aeefa0aa8727ee8001eb558d015afcff98cd': Move system/nvram from libmincrypt to libconstrainedcrypto. Change-Id: I4823dd26dde4ffc82a61e1e91652d6614d6f1d4e
2016-04-13Move system/nvram from libmincrypt to libconstrainedcrypto.Elliott Hughes
am: bfb09a0 * commit 'bfb09a00dcb98fd8f4d0294c5905726973212838': Move system/nvram from libmincrypt to libconstrainedcrypto. Change-Id: I96d53289ffe644d082650a2f6c1e9957d164164b
2016-04-13Move system/nvram from libmincrypt to libconstrainedcrypto.android-wear-n-preview-3android-wear-n-preview-1android-n-preview-3Elliott Hughes
Bug: http://b/27287913 Change-Id: Ib4b60dba211c054eb551a2bbf8b4ff2ba6f12d8a