• Home
  • History
  • Annotate
  • only in /system/nvram/messages/include/nvram/messages/
History log of /system/nvram/messages/include/nvram/messages/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bb621b95ea636314c87b885107c8d5331992f9bb 12-Jul-2016 Chih-Hung Hsieh <chh@google.com> Fix google-explicit-constructor warnings in system/nvram.

Declare explicit conversion constructors.

Bug: 28341362
Change-Id: I7c9f50c5c9d1e70a8b87a8179a863f07b04b89cd
Test: build with clang-tidy
o.h
ptional.h
roto.hpp
truct.h
0b833364a3db07f389faa7f99a68277a493548f3 13-Jun-2016 Mattias Nissler <mnissler@google.com> Add commands for clearing NVRAM on full reset.

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
vram_messages.h
417e23fa8c8c8f9dd77a19e60c47b46d5454000d 21-Mar-2016 Mattias Nissler <mnissler@google.com> Add fake-nvram daemon to persist NVRAM data

Create a daemon to host the access-controlled NVRAM backend used for
testing in the emulators. This makes access-controlled NVRAM data
persistent, which more closely resembles the behavior of a real
implementation.

BUG:27764637
Change-Id: Iaf1a44881527896628452810561e315c572be31c
o.h
vram_messages.h
088471151b7784cef5a8555e1f155454df106113 08-Mar-2016 Darren Krahn <dkrahn@google.com> Add support for get_max_space_size_in_bytes().

This method, added in v1.1 of the HAL, allows an implementation to
report the maximum supported size for a single space.

This CL also includes a few enhancements to improve testing and adds a
top level Android.mk for convenience.

BUG=27480753

Change-Id: I962cc7a31e869e72920cd80146b69974e50d5745
vram_messages.h
42455ff2abfc7ed92a35287d1b3bc6049161adb9 01-Mar-2016 Mattias Nissler <mnissler@chromium.org> Fix integer overflow on large buffer reads.

This fixes a problem where NestedInputStreamBuffer would fail to
detect integer overflow on large read requests, and hitting an
NVRAM_CHECK() assertion subsequently. This proves that the I/O code is
subtle enough to warrant better test coverage, so this change adds
unit tests for the byte-level I/O code.

Bug: 27447078
Change-Id: I3dbbcd731ec3c501baf1d637aa5d97e0756449b5
lob.h
o.h
a715cb1840f9a0c813c90707a351687f7a77950e 09-Feb-2016 Mattias Nissler <mnissler@google.com> Move message definitions to messages/

Change-Id: I4091fd854123c1d2c83de119e331221c2610e64a
lob.h
ompiler.h
o.h
essage_codec.h
vram_messages.h
ptional.h
roto.hpp
truct.h
agged_union.h
ype_traits.h
ector.h