OSDN Git Service
Rom Lemarchand [Fri, 14 Aug 2015 21:58:21 +0000 (14:58 -0700)]
boot: Add a boot_control HAL
The purpose of the boot control HAL is to communicate with the
bootloader and set various flags letting the bootloader know which
partition to boot
Change-Id: I15178abaaf9ca208b1e5300c9207cedbb7950a88
Elliott Hughes [Wed, 12 Aug 2015 23:47:25 +0000 (23:47 +0000)]
Merge "Lose HAVE_ANDROID_OS from hardware/libhardware."
Elliott Hughes [Wed, 12 Aug 2015 23:42:13 +0000 (16:42 -0700)]
Lose HAVE_ANDROID_OS from hardware/libhardware.
Change-Id: I9f6bd154479e368aab0ff20798676d9cd409955c
Nick Vaccaro [Tue, 4 Aug 2015 18:58:04 +0000 (18:58 +0000)]
Merge "libhardware: sensors: update multi hal to support 64bit builds"
Shawn Willden [Fri, 10 Jul 2015 11:47:05 +0000 (11:47 +0000)]
Merge "Fix extern "C" guards."
Satya Durga Srinivasu Prabhala [Wed, 21 Jan 2015 02:53:35 +0000 (18:53 -0800)]
libhardware: sensors: update multi hal to support 64bit builds
To get multi hal working on both 32 & 64 bit targets,
removing hardcoded paths & checks in multi HAL.
Sensor HAL libs must be installed path that is available through
LD_LIBRARY_PATH.
/system/lib & /system/vendor/lib for 32-bit targets.
/system/lib64 & /system/vendor/lib64 for 64-bit targets.
Change-Id: Ib1c1f25f08855c4584d53cc04fbe82a3a768b180
Shawn Willden [Wed, 8 Jul 2015 15:40:54 +0000 (09:40 -0600)]
Fix extern "C" guards.
Cherry-pick from internal.
Change-Id: I11ed50352865a099c3040a1558a48960ae7db416
Shawn Willden [Thu, 25 Jun 2015 04:37:53 +0000 (04:37 +0000)]
Merge "Rename keymaster tag types to clarify that integers are unsigned."
Shawn Willden [Wed, 24 Jun 2015 19:27:45 +0000 (12:27 -0700)]
Rename keymaster tag types to clarify that integers are unsigned.
Bug:
22008538
Change-Id: I699a0f03aaf0f9f49a78b310763364fc2fb34c90
Shawn Willden [Thu, 25 Jun 2015 03:34:21 +0000 (03:34 +0000)]
Merge changes I2e5515ef,I3b807e3e
* changes:
Add new error codes for rate-limit and max-use failures.
Update comments on now-unsed user ID and app ID tags.
Shawn Willden [Thu, 25 Jun 2015 03:31:08 +0000 (03:31 +0000)]
Merge "Remove KM_TAG_AEAD_TAG."
Shawn Willden [Thu, 18 Jun 2015 18:16:17 +0000 (12:16 -0600)]
Add new error codes for rate-limit and max-use failures.
Bug:
21607106
Change-Id: I2e5515efe51b84200ade8c4c4cc5db3800d4b658
Shawn Willden [Thu, 18 Jun 2015 18:15:09 +0000 (12:15 -0600)]
Update comments on now-unsed user ID and app ID tags.
I'd just remove them but Trusty keymaster has been generating keys with
KM_TAG_ALL_USERS and KM_TAG_ALL_APPLICATIONS, so removing them without
breaking those keys is tricky. Plus I think they may come back.
Bug:
21845167
Change-Id: I3b807e3e4bee64eba72b7fa6f1ee1929c4ca9dd0
Shawn Willden [Thu, 18 Jun 2015 18:09:20 +0000 (12:09 -0600)]
Remove KM_TAG_AEAD_TAG.
Bug:
19919114
Change-Id: I06fdd0f9b8e247587d800031d3367078423baa50
Shawn Willden [Fri, 12 Jun 2015 19:28:30 +0000 (19:28 +0000)]
Merge "Remove KM_TAG_CHUNK_LENGTH and add KM_TAG_AEAD_TAG"
Shawn Willden [Fri, 12 Jun 2015 19:26:27 +0000 (19:26 +0000)]
Merge "Add output params to update() and finish()."
Shawn Willden [Fri, 12 Jun 2015 19:25:21 +0000 (19:25 +0000)]
Merge "Fix block mode numbering (CTR got added as 4 rather than 3)"
Dan Albert [Thu, 11 Jun 2015 19:41:42 +0000 (19:41 +0000)]
Merge "Use abort() instead of a null dereference."
Dan Albert [Thu, 11 Jun 2015 18:04:52 +0000 (11:04 -0700)]
Use abort() instead of a null dereference.
Clang deletes these because they're invalid. It's pretty awful of
clang to do this, but this should be abort() anyway.
Change-Id: I89423ff2c4d08db82077e56b726549e3783d38e1
Shawn Willden [Mon, 1 Jun 2015 17:40:34 +0000 (11:40 -0600)]
Remove KM_TAG_CHUNK_LENGTH and add KM_TAG_AEAD_TAG
Bug:
19919114
Change-Id: I384f3d2fee2f68279c6518d9ac0a79e29bed0e52
Shawn Willden [Mon, 1 Jun 2015 17:32:35 +0000 (11:32 -0600)]
Add output params to update() and finish().
Also, change signatures of several methods to pass structs rather than
array pointers and lengths.
Change-Id: Iaa1be186ebbd444202c47926ab57ac65d57416d7
Shawn Willden [Mon, 1 Jun 2015 17:40:24 +0000 (11:40 -0600)]
Fix block mode numbering (CTR got added as 4 rather than 3)
Change-Id: I8c886c67ba081255ef18eb0f99ca1e6003fabb33
Andre Eisenbach [Wed, 10 Jun 2015 20:46:58 +0000 (20:46 +0000)]
Merge "LE low power scan feature"
Satya Calloji [Tue, 31 Mar 2015 20:58:21 +0000 (13:58 -0700)]
LE low power scan feature
LE low power extended scan feature header changes
based on Google spec v0.95
Bug:
20029342
Change-Id: Id1020a4da177d0bc421fdd123c5355a291cc0475
Andre Eisenbach [Wed, 10 Jun 2015 20:19:20 +0000 (20:19 +0000)]
Merge "Bluetooth native dumpsys logging support (1/5)"
Andre Eisenbach [Fri, 5 Dec 2014 17:35:57 +0000 (09:35 -0800)]
Bluetooth native dumpsys logging support (1/5)
Bug:
18508263
Change-Id: Id7b69a6ed7d817a0f048cb8ebf0889c600171926
Dan Stoza [Wed, 3 Jun 2015 18:17:47 +0000 (18:17 +0000)]
Merge "gralloc: Sort usage flags"
Dan Stoza [Wed, 3 Jun 2015 18:17:16 +0000 (18:17 +0000)]
Merge "libhardware: fix gralloc usage bit redefine"
Dan Stoza [Wed, 3 Jun 2015 17:42:38 +0000 (10:42 -0700)]
gralloc: Sort usage flags
Sorts the usage flags in increasing order so it's easier to see where
the gaps are.
Bug:
21609491
Change-Id: I98af3c67be84c6c5137767f3cd7a8bd63dfb5c03
(cherry picked from commit
fd2d859445d614ab3f6c4687de839097566ac317)
Chong Zhang [Wed, 3 Jun 2015 02:00:11 +0000 (19:00 -0700)]
libhardware: fix gralloc usage bit redefine
bug:
21584171
Change-Id: I66c287681d3e53a263f85fbddfccbb199eaa4b33
(cherry picked from commit
2e3ed7e2e7fcdcf8c82b95b5156859ecc4d5b5d8)
Dan Stoza [Mon, 1 Jun 2015 18:21:11 +0000 (18:21 +0000)]
Merge "gralloc: Add foreign buffer usage flag"
Dan Stoza [Fri, 29 May 2015 19:43:19 +0000 (12:43 -0700)]
gralloc: Add foreign buffer usage flag
Adds GRALLOC_USAGE_FOREIGN_BUFFERS, which a consumer may set as a usage
flag if it intends to attach buffers that it has not detached from the
BufferQueue. It provides a hint to the producer (who may query the
consumer usage bits) that it may receive a buffer from another
BufferQueue, so that it can exit during initialization, hopefully with a
meaningful error message, if such buffers are not supported.
Also adds GRALLOC_USAGE_ALLOC_MASK, which is applied to usage bits
before calling alloc on the gralloc module, and prevents the module from
seeing GRALLOC_USAGE_FOREIGN_BUFFERS, since that usage flag is of no use
while allocating buffers.
Bug:
19801661
Change-Id: I17b927de94245f4df7cfd3f4483b544da3e9cd35
(cherry picked from commit
201c7d91b757f632bfd67ca24e6c55d0dc88a8d4)
Andres Morales [Wed, 27 May 2015 01:37:10 +0000 (01:37 +0000)]
Merge "add request re-enroll to HAL API"
Andres Morales [Thu, 21 May 2015 18:11:57 +0000 (11:11 -0700)]
add request re-enroll to HAL API
devices may want to request an upgrade to a newer pasword
handle version
Change-Id: I34c731c81406e29961cff1fcccdefad02cff1237
Andres Morales [Tue, 19 May 2015 18:27:44 +0000 (18:27 +0000)]
Merge "[gatekeeper] document timeout requirements"
Andres Morales [Thu, 14 May 2015 20:08:15 +0000 (13:08 -0700)]
[gatekeeper] document timeout requirements
GateKeeper may throttle the user, document the return
value of calls in this case.
No code changes.
Bug:
21118563
Change-Id: Idd6c392d01c22627f828d86dd219a4a1d6e81439
Shawn Willden [Tue, 12 May 2015 12:11:35 +0000 (12:11 +0000)]
Merge "Add KM_TAG_BOOTLOADER_ONLY."
Shawn Willden [Mon, 11 May 2015 15:24:48 +0000 (09:24 -0600)]
Add KM_TAG_BOOTLOADER_ONLY.
Change-Id: Ia507a1378487640683985dbce2e76679261900d3
Shawn Willden [Tue, 12 May 2015 11:38:36 +0000 (11:38 +0000)]
Merge "Remove rescoping."
Shawn Willden [Mon, 11 May 2015 13:06:01 +0000 (07:06 -0600)]
Remove rescoping.
Rescoping was never a very good solution to the problem of supporting
multiple sets of authorizations for a given key material. For M we're
removing it and in the future a better solution will be provided.
Change-Id: I6f7585274487bd66e4d90e89014af41e9aa30411
Shawn Willden [Wed, 29 Apr 2015 04:26:08 +0000 (04:26 +0000)]
Merge "Add KM_ERROR_CALLER_NONCE_PROHIBITED error code."
Shawn Willden [Tue, 28 Apr 2015 06:00:27 +0000 (00:00 -0600)]
Add KM_ERROR_CALLER_NONCE_PROHIBITED error code.
Bug:
20127433
Change-Id: I32eab62459003c526d3cf9ef108be7b2fd709960
Andres Morales [Mon, 27 Apr 2015 17:02:00 +0000 (17:02 +0000)]
Merge "Add gatekeeper HAL"
Andres Morales [Mon, 27 Apr 2015 16:58:41 +0000 (09:58 -0700)]
Add gatekeeper HAL
Ed Heyl [Sat, 25 Apr 2015 23:26:39 +0000 (23:26 +0000)]
Merge changes from topic 'system-bt'
* changes:
L2CAP and SDP Search API for BT profiles (1/2)
Incorrect RSSI value in onlost/onfound
OnFound/OnLost feature API changes based on spec v0.90
kschulz [Fri, 6 Mar 2015 08:15:43 +0000 (09:15 +0100)]
L2CAP and SDP Search API for BT profiles (1/2)
Added interface to create SDP records, to allow the upper
layers to set the content of the SDP record, including
both a RCFOMM channel and a l2cap PSM.
Change-Id: I7c47848a10b3d3091afbeadb4de8a8d7ea812288
Satya Calloji [Tue, 24 Mar 2015 01:18:13 +0000 (18:18 -0700)]
Incorrect RSSI value in onlost/onfound
Fix for signed value in onlost/onfound
Bug:
19891550
Change-Id: Idee4c566fe0d6f10a87c92f5bf03743fddbe2261
Satya Calloji [Tue, 10 Feb 2015 17:20:07 +0000 (09:20 -0800)]
OnFound/OnLost feature API changes based on spec v0.90
Bug:
19609671
Change-Id: Id28e188159aa41c940723fb5b12cade0a48e506b
Dan Stoza [Wed, 15 Apr 2015 20:35:49 +0000 (20:35 +0000)]
Merge "HWC 1.5: Add per-layer damage region"
Shawn Willden [Tue, 14 Apr 2015 17:42:59 +0000 (17:42 +0000)]
Merge "Add KM_ORIGIN_UNKNOWN."
Shawn Willden [Mon, 13 Apr 2015 17:07:24 +0000 (11:07 -0600)]
Add KM_ORIGIN_UNKNOWN.
This designates keys whose origin cannot be determined because the
keymaster implementation is old and did not record it.
Change-Id: I3c366d527ed211c59f6dc04ddb48f3e9b3a07c7d
Andres Morales [Mon, 13 Apr 2015 17:58:13 +0000 (17:58 +0000)]
Merge "hw_auth_token: make timestamp 64 bits"
Andres Morales [Mon, 13 Apr 2015 17:21:32 +0000 (10:21 -0700)]
hw_auth_token: make timestamp 64 bits
Change-Id: I1f871300cd2edb407479e1e38284b068db364b38
Andres Morales [Sat, 11 Apr 2015 02:03:01 +0000 (02:03 +0000)]
Merge "Add HW_AUTH_TOKEN_VERSION constant"
Andres Morales [Wed, 8 Apr 2015 19:38:26 +0000 (12:38 -0700)]
Add HW_AUTH_TOKEN_VERSION constant
Change-Id: Ic01da2b9ed8efcdba7750d8ca7fe2321d9047b68
Shawn Willden [Fri, 10 Apr 2015 21:21:25 +0000 (21:21 +0000)]
Merge "Make several key crypto parameters repeatable."
Shawn Willden [Fri, 10 Apr 2015 20:12:45 +0000 (20:12 +0000)]
Merge "Correct return type of delete_all_keys."
Shawn Willden [Thu, 26 Feb 2015 00:33:40 +0000 (17:33 -0700)]
Make several key crypto parameters repeatable.
Note that there's a pre-requisite to landing this CL: The Nexus 9
keystore.flounder.so must be modified to translate between new and old
tag numbers when the TEE side is version 0.
Bug:
19509156
Change-Id: Ic584d8a6bf5601f9754563b67b3cc6b3ca6b5ff9
Shawn Willden [Wed, 8 Apr 2015 12:54:57 +0000 (06:54 -0600)]
Correct return type of delete_all_keys.
Change-Id: Ic868882a4b456913879f91562442ef233a58d09e
Shawn Willden [Fri, 10 Apr 2015 13:46:36 +0000 (13:46 +0000)]
Merge "Simplify keymaster_key_origin_t."
Shawn Willden [Tue, 7 Apr 2015 19:56:30 +0000 (13:56 -0600)]
Simplify keymaster_key_origin_t.
Change-Id: Iaba6156f238ea3bb1ad103b88ccea17344d296af
Shawn Willden [Fri, 10 Apr 2015 02:24:14 +0000 (02:24 +0000)]
Merge "Reduce the list of keymaster key formats to the required set."
Shawn Willden [Fri, 10 Apr 2015 02:23:58 +0000 (02:23 +0000)]
Merge "Reduce the list of keymaster padding modes to the required set."
Shawn Willden [Fri, 10 Apr 2015 02:23:37 +0000 (02:23 +0000)]
Merge "Reduce keymaster digest list to required set."
Shawn Willden [Fri, 10 Apr 2015 02:23:18 +0000 (02:23 +0000)]
Merge "Reduce keymaster block modes to the required set."
Shawn Willden [Thu, 9 Apr 2015 23:49:02 +0000 (23:49 +0000)]
Merge "Reduce keymaster algorithm list to the required set."
Shawn Willden [Thu, 9 Apr 2015 23:21:23 +0000 (23:21 +0000)]
Merge "Start authenticator numbering from 1, instead of 2."
Shawn Willden [Tue, 7 Apr 2015 19:48:27 +0000 (13:48 -0600)]
Reduce the list of keymaster key formats to the required set.
Change-Id: I3a0830ab2066d4c16c084d19040ec98e520896d4
Shawn Willden [Tue, 7 Apr 2015 19:41:30 +0000 (13:41 -0600)]
Reduce the list of keymaster padding modes to the required set.
Change-Id: If04ffc8e92678f57e2b730f77c0fab195e1096c4
Shawn Willden [Tue, 7 Apr 2015 20:02:28 +0000 (14:02 -0600)]
Reduce keymaster digest list to required set.
Change-Id: Id5c660feb7e71ea76473523e3a86e1ba01f19c82
Shawn Willden [Tue, 7 Apr 2015 19:40:00 +0000 (13:40 -0600)]
Reduce keymaster block modes to the required set.
Change-Id: I8f804978208e2c8701bd52dc79b5597a307b7e7a
Shawn Willden [Tue, 7 Apr 2015 19:39:12 +0000 (13:39 -0600)]
Reduce keymaster algorithm list to the required set.
Change-Id: Ibffddc5c3a5c728182f5ca7f6a76381413fc8645
Shawn Willden [Mon, 6 Apr 2015 17:50:04 +0000 (11:50 -0600)]
Start authenticator numbering from 1, instead of 2.
Change-Id: I44d94fd597ae7dec5199388b9ab0bd952cf831c3
Shawn Willden [Sat, 21 Mar 2015 03:13:33 +0000 (03:13 +0000)]
Merge "Add KM_TAG_USER_SECURE_ID."
Shawn Willden [Thu, 19 Mar 2015 01:26:27 +0000 (01:26 +0000)]
Merge "Use extern "C" rather than BEGIN/END_DECLS."
Shawn Willden [Sat, 14 Mar 2015 13:54:52 +0000 (07:54 -0600)]
Add KM_TAG_USER_SECURE_ID.
This tag identifies the user authorized to use the key. Unlike
KM_TAG_USER_ID, its value does not reference the Linux-side user ID, but
a secure-world user ID, generated and managed by secure-world
authentication apps.
Bug:
19511945
Change-Id: I629ab2c47ee6d42de20a963ef283e330364c8ee7
Shawn Willden [Thu, 19 Mar 2015 00:59:52 +0000 (18:59 -0600)]
Use extern "C" rather than BEGIN/END_DECLS.
For compatibility with Trusty. I'll probably revert this later after I
find a proper fix for Trusty.
Change-Id: I49b4ae55251398eec2a6633e09bbc468f16a4d14
Shawn Willden [Thu, 19 Mar 2015 00:23:33 +0000 (00:23 +0000)]
Merge "Add KM_TAG_AUTH_TOKEN and corresponding auth token structure."
Shawn Willden [Sat, 14 Mar 2015 14:23:41 +0000 (08:23 -0600)]
Add KM_TAG_AUTH_TOKEN and corresponding auth token structure.
We may want to put the auth token structure elsewhere; it's consumed by
keymaster but produced by other components.
Bug:
19511945
Change-Id: Id9a22ad32137f3e0380c2812f790bbecab511d11
Shawn Willden [Wed, 18 Mar 2015 23:11:00 +0000 (23:11 +0000)]
Merge "Add error codes."
Shawn Willden [Thu, 12 Mar 2015 03:53:59 +0000 (21:53 -0600)]
Add error codes.
Change-Id: I78cac1887fd41dd426e7d125a5f9c54e73188983
Shawn Willden [Thu, 12 Mar 2015 00:39:24 +0000 (00:39 +0000)]
Merge "Add keymaster_key_param_compare function."
Shawn Willden [Wed, 4 Mar 2015 17:00:38 +0000 (10:00 -0700)]
Add keymaster_key_param_compare function.
This provides a reasonable ordering for params.
Change-Id: I1e3b403070d9e7621cc55c03ff9876ea3bbc699f
Shawn Willden [Thu, 26 Feb 2015 23:31:14 +0000 (23:31 +0000)]
am
17dde875: Merge "Separate keymaster0 and keymaster1 HALs."
* commit '
17dde875dda1b96722e6fb07850c268ca716c3d1':
Separate keymaster0 and keymaster1 HALs.
Shawn Willden [Thu, 26 Feb 2015 23:24:41 +0000 (23:24 +0000)]
Merge "Separate keymaster0 and keymaster1 HALs."
Dan Stoza [Thu, 12 Feb 2015 18:11:21 +0000 (10:11 -0800)]
HWC 1.5: Add per-layer damage region
This adds an array of rects to hwc_layer_1_t that define which
portions of that layer's source buffer have been modified. If there
are a non-zero number of rects, then any portion of the source buffer
not touched by one of the rects may safely be assumed to not have
been modified. If no rects are defined, then the whole source buffer
must be assumed to have been modified.
Change-Id: Id5efafee74602ed7d76609180e334ed203c23f7e
Shawn Willden [Tue, 24 Feb 2015 16:17:38 +0000 (09:17 -0700)]
Separate keymaster0 and keymaster1 HALs.
For now the keymaster1 HAL still includes all of the keymaster0 entry
points, and soft_keymaster_device will continue to implement them. In
the near future the keymaster0 entry points will be removed, as soon as
we can ensure that keystore no longer needs them.
Change-Id: I5c54282c12d1c4b8b22ed4929b6e6c724a94ede4
Alex Klyubin [Tue, 24 Feb 2015 00:49:44 +0000 (00:49 +0000)]
am
4f5949b5: Merge "Clarify the meaning of KM_TAG_MAC_LENGTH."
* commit '
4f5949b5dda4a2e95d29e1aa3effb22c678df21a':
Clarify the meaning of KM_TAG_MAC_LENGTH.
Alex Klyubin [Tue, 24 Feb 2015 00:43:51 +0000 (00:43 +0000)]
Merge "Clarify the meaning of KM_TAG_MAC_LENGTH."
Alex Klyubin [Sat, 21 Feb 2015 00:42:23 +0000 (16:42 -0800)]
Clarify the meaning of KM_TAG_MAC_LENGTH.
Change-Id: I18478923059783e955613142a8d3352f98f5d7b0
Bill Yi [Thu, 19 Feb 2015 22:31:52 +0000 (14:31 -0800)]
Shawn Willden [Wed, 18 Feb 2015 15:48:03 +0000 (15:48 +0000)]
Merge changes Id4bdfdcb,Ib94f3606
* changes:
Added insecure (chunkless) AEAD option.
Add additional param lists to update and finish.
Shawn Willden [Wed, 18 Feb 2015 05:50:06 +0000 (05:50 +0000)]
Merge "Rename KM_TAG_ADDITIONAL_DATA to KM_TAG_ASSOCIATED_DATA"
Shawn Willden [Sat, 14 Feb 2015 00:53:14 +0000 (00:53 +0000)]
am
6bdaf827: Merge "Add explicit values to keymaster_key_format_t"
* commit '
6bdaf827ef59975efbf73b2d5b4228fb61c36123':
Add explicit values to keymaster_key_format_t
Shawn Willden [Sat, 14 Feb 2015 00:40:41 +0000 (00:40 +0000)]
Merge "Add explicit values to keymaster_key_format_t"
Chad Brubaker [Fri, 13 Feb 2015 21:58:36 +0000 (13:58 -0800)]
Add explicit values to keymaster_key_format_t
Change-Id: I4113286396b16ca687fbd8bc38b2f16063fc1024
Nick Vaccaro [Wed, 11 Feb 2015 00:20:54 +0000 (00:20 +0000)]
am
adbfbb74: Add new SENSOR_TYPE_WRIST_TILT_GESTURE sensor type
* commit '
adbfbb747de9fe1efc21fc83f6591e7d13c81c36':
Add new SENSOR_TYPE_WRIST_TILT_GESTURE sensor type
Shawn Willden [Tue, 10 Feb 2015 21:29:46 +0000 (14:29 -0700)]
Added insecure (chunkless) AEAD option.
Also moved chunk length specification to operation parameter rather than
keygen parameter.
Change-Id: Id4bdfdcb1c7b64b3f22b4027e037e37c2860ec39
Shawn Willden [Sat, 7 Feb 2015 00:04:53 +0000 (17:04 -0700)]
Rename KM_TAG_ADDITIONAL_DATA to KM_TAG_ASSOCIATED_DATA
Change-Id: Ieddd706ee205100719f7e2f9e18b3d9b07c37669
Shawn Willden [Sat, 7 Feb 2015 00:01:53 +0000 (17:01 -0700)]
Add additional param lists to update and finish.
At the moment this is to accommodate associated data for AEAD modes, but
there may be other parameters in the future.
Change-Id: Ib94f3606e3f714f6fa75bf0d4bd75804d9a8db4e