Commit graph

211 commits

Author SHA1 Message Date
Kenny Root
8ae65e7199 Add delete_all to keymaster API
In order to aid keymasters erase their memory efficiently, introduce new
delete_all API to tell keymasters to forget everything. This will be
triggered when keystore itself is told to reset.

Change-Id: I730375f1f32cd1ea0bf1fa38d5b1bec2f81ba492
2012-03-26 13:26:05 -07:00
Kenny Root
caf62bd7fb Use frameworks/native copy of UniquePtr.h
Change-Id: Idfe46c057699b5f019f84e588bb8a9697e48236c
2012-03-22 16:33:37 -07:00
Kenny Root
4fd0db7cd1 Add tests for keymaster API
This adds unit tests for implementors of the keymaster API. It can be
compiled and run as a stand-alone executable.

Change-Id: Id5bb8f4533b744c254b52e07df66a8d158dfda0d
2012-03-19 10:58:27 -07:00
Mathias Agopian
cc3f6a345b improve sensor HAL test
Change-Id: Id5e22ae2b9cb3bf71ec235a2ec6bb4319d0389da
2011-09-18 15:21:33 -07:00
Brian Carlstrom
03cb00b7b3 Fix sim-eng build.
Missing a <string.h> header.

git cherry-pick -e d0019991

Change-Id: I7a3dc7cb7d2855fde56512b3dcb181a092055497
2010-08-24 17:57:25 -07:00
Elliott Hughes
5f5c5460d3 Fix build (missing #include).
Change-Id: Icafc2289d1320f2cd41e8756363240268780d8b8
2010-08-19 10:21:01 -07:00
Mathias Agopian
1a2bf61d49 fix the nusensor test
it used the sensor handle instead of the sensor type

Change-Id: I8a1bc11826427bde9fb88d6fe88be58e3b8d2397
2010-07-20 18:01:19 -07:00
Mathias Agopian
cdefccdba5 new sensor_event_t structure for the new HAL that can handle bigger payloads
Change-Id: I8f21e457c308eea9cb1f73b49b1fed36627ec55e
2010-07-19 14:14:04 -07:00
Mathias Agopian
b1e212e7b6 New sensor HAL and test
Change-Id: I216e3dd0b2b45829fef7c682774d2cdd8271d4e7
2010-07-14 20:39:46 -07:00
The Android Open Source Project
0100d517b1 auto import from //branches/cupcake/...@126645 2009-01-15 16:12:12 -08:00
The Android Open Source Project
51704bed79 Code drop from //branches/cupcake/...@124589 2008-12-17 18:05:50 -08:00