• Home
  • History
  • Annotate
  • only in /system/libhidl/transport/token/1.0/
History log of /system/libhidl/transport/token/1.0/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
30b8a425aba4190fe3b7090393b80945121f2e02 19-Jul-2017 Steven Moreland <smoreland@google.com> Update makefiles for Soong plugin.

Test: manual
Bug: 35570956
Change-Id: I9ff98530878d0067a2a961b17276ac97b2cd9691
ndroid.bp
d5e146f27b1dcec79de88b2c7bc3e1ccb0cf5063 10-Oct-2017 Steven Moreland <smoreland@google.com> Update makefiles for Android.bp Java.

Also, moved legacy android.hidl.base-V1.0-java-static
target into a more maintainable location until we can
completely remove it.

Bug: 33420795
Test: pass
Change-Id: I3144d83ff3f691b21c96068a9605e2b3481bdea7
ndroid.bp
ndroid.mk
e6a7febef23dcf3cdc108cad437dc36ae44b6e05 02-Oct-2017 Chih-Hung Hsieh <chh@google.com> Use -Werror in system/libhidl

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I1b1307bac3df32d4ebabdca427c86731f59af584
tils/Android.bp
0109873dcaf0a416960fb2d6d4b99029b25047f0 04-Oct-2017 Steven Moreland <smoreland@google.com> Update for hidl adapter module defaults.

Test: pass
Change-Id: I593bffa5ae0ef479b6ff96c2ab46e903896cf4ec
ndroid.bp
fd9ecee04372ce0d47d4df7a05a56e13d9c0e1b4 28-Sep-2017 Stephen Hines <srhines@google.com> Switch from NULL -> nullptr.

Test: Builds.
Change-Id: Idcdd337e6576d612aa6c18a431b3dfe0215efde0
tils/include/hidl/HybridInterface.h
818c0424af77d0bd23ace57454bd4e86c9558e37 26-Sep-2017 Steven Moreland <smoreland@google.com> Fix typo in update makefiles.

Bug: 37518178
Test: pass
Change-Id: Ic06e75ea95af0b219ae76ac674ca7c1c430230ae
ndroid.bp
ff189a023ccda656aa26f421c516f7feb9a138d1 16-Sep-2017 Steven Moreland <smoreland@google.com> libhidladapter: Support for HIDL adapters

A HIDL adapter takes an x.(y+1) interface and registers
it as an x.y interface for testing.

This library allows someone or something to run an adapter.

Note: this requires b/62303973 to properly mock a lower interface version.
Note: this requires adapters to run as root to get around sepolicy.

Bug: 37518178
Test: can switch out implementations
~/android/master$ lshal | grep hidl.allocator
Y android.hidl.allocator@1.0::IAllocator/ashmem 0/1 652 471
~/android/master$ lshal | grep hidl.allocator
Y android.hidl.allocator@1.0::IAllocator/ashmem 0/1 7635 471
~/android/master$ lshal | grep hidl.allocator
Y android.hidl.allocator@1.0::IAllocator/ashmem 0/1 652 471

Change-Id: Ic72feb3a2fd4649e67b396c33b9a292e9c0a944a
ndroid.bp
613bf57a287f346ca48f02f75a44b2c17cde493b 25-Jul-2017 Lennart Wieboldt <lennart.1997@gmx.de> Remove clang: true

clang is the default compiler since Android nougat

Test: mma & verified it´s still build with clang

Change-Id: I10f2a4f87ca1f1c5a048af156b50724bbc3e56be
Signed-off-by: Lennart Wieboldt <lennart.1997@gmx.de>
tils/Android.bp
a129dc9c86c0ba4e2bc4ba14f4936e29b051f8b1 26-Jul-2017 Steven Moreland <smoreland@google.com> Update makefiles for vndk enabled.

Test: none
Bug: 63866913
Merged-In: I10e84e2060c3007b1748a2d8293cdb60787bcf03
Change-Id: I10e84e2060c3007b1748a2d8293cdb60787bcf03
(cherry picked from commit f58aaeba026269603b7eeb770d34d0260ee984ab)
ndroid.bp
74f6593212fbabec01a52241906787cda62f4234 24-Jul-2017 Justin Yun <justinyun@google.com> Mark hidl libs as VNDK or VNDK-SP in Android.bp

As a VNDK/VNDK-SP module, Android.bp must have 'vndk' tag as well
as 'vendor_available: true'.

For a VNDK module, the 'vndk' tag has 'enabled: true'.
It will be installed system/lib(64)/vndk as a vendor variant.

For a VNDK-SP module, the 'vndk' tag has
'support_system_process: true' as well as 'enabled: true'.
It will be installed system/lib(64)/vndk-sp as a vendor variant.

Note: libhidlmemory will be changed to vndk-sp.

Bug: 63866913
Test: build and boot with BOARD_VNDK_VERSION=current
Merged-In: I9e3c9603f1d218c17ccb8e6aea7afad6f9d28b92
Change-Id: I9e3c9603f1d218c17ccb8e6aea7afad6f9d28b92
(cherry picked from commit 4e077f2d177d11f8b8d53ce8a4282cfb71894537)
tils/Android.bp
d8eb56f9baa93cf201df615fc4761778b0f64cef 02-Aug-2017 Steven Moreland <smoreland@google.com> Update makefiles to remove java-static libs.

Note base makefile isn't updated. This ensures
that changes upstream which depend on it can be
safely merged down.

Bug: 36376126
Test: pass
Change-Id: Id04b55098081af0862144e2546d3aa9a387f1513
ndroid.mk
98dcee8e690cbaa80f451e0c65eb22088165ee07 13-Jul-2017 Sundong Ahn <sundongahn@google.com> Change dependency library

hwbinder.jar will be used instead of framework.jar on build-time, but
on runtime framework.jar will be used.

This is to cut the circular dependency when using configstore from
Android framework.

Bug: 35771640
Test: no test
Change-Id: I52298dac149377abf12588ce290de00ad8cda066
ndroid.mk
44f14b1a5406a4dd5bbfd741fca74fb72595ce16 26-Jul-2017 Steven Moreland <smoreland@google.com> Update HIDL makefiles.

Allow them to be static.

This is required for a couple of reasons:
- enabling HIDL passthrough in recovery
- enabling VTS tests to be static blobs

Bug: 32920003
Bug: 64040096
Test: update-all-google-makefiles.sh
Change-Id: I07333961f6cea2dbeb4acbddc3672acc241d958b
ndroid.bp
f99ae5a628345a1b6f35f3b689e2ab56d85a1306 19-May-2017 Steven Moreland <smoreland@google.com> Update makefiles.

This adds hidl-module-defaults to all hals.

Test: pass
Change-Id: I5750c04e9ef62a6db1c70de91a241de5c6bfb387
ndroid.bp
cf1a03cc27d3975fb2ef2fb7c9892e049e5e0622 09-May-2017 Steven Moreland <smoreland@google.com> Update makefiles for c++-sources and c++-headers.

Test: pass
Bug: 38174080
Change-Id: Id4bfe19b18c3b0c08ec83288aeb7a542230b3ba5
ndroid.bp
b11c384f545f5fcb92c8631dfe646522bd0477ae 01-May-2017 Steven Moreland <smoreland@google.com> Remove redundant dependencies

android.hidl.base@1.0 and android.hidlmanager@1.0 are built into libhidltransport.

Test: links
Bug: 33276472
Change-Id: Ic7fcc85f13be5796829aa86af58defbd388ceebc
ndroid.bp
0a80ba6df7efd2df3f509935d2dfd245908cb056 13-Apr-2017 Andreas Huber <andih@google.com> Changed the naming scheme for Treble java libraries (both static and dynamic)

android.hardware.foo@1.0-java => android.hardware.foo-V1.0-java

Bug: 37207894
Test: make
Change-Id: Iad2fe667c4fb8594d513a0b3c08a4c3229d5b6a7
Merged-In: If80e117ef3a284ab2dcc67b7c6a91da22530d71f
ndroid.mk
382c25281a5679d15d8abf1711fb754de1bf2e80 11-Apr-2017 Steven Moreland <smoreland@google.com> Update makefiles.

Test: pass
Change-Id: Id4e4a60149e7c8462d541bd114d96a7fc22c1f35
ndroid.bp
3249cc0d8767bd3dadd055836a49d83b90bc6ae4 16-Mar-2017 Steven Moreland <smoreland@google.com> Token Manager: use arbitrarily sized tokens.

Token manager tokens need to be larger then 64 bits so that we have
sufficient security. Allowing them to be variably sized gives us
sufficient flexibility to change the underlying implementation without
having to change the interface.

Test: hidl_test
Test: (sanity) YouTube videos work
Test: (sanity) watching movies works
Test: Camera record + replay works
Bug: 33842662
Change-Id: I1acc8b5ab5a06597366adbe5718b63acf88c635a
(cherry picked from commit 15716d525cff9487897e0841fa47092a30293d92)
TokenManager.hal
tils/HybridInterface.cpp
tils/include/hidl/HybridInterface.h
155e9d39deba44af1fb0eec20616902e39d97f58 09-Mar-2017 Pawin Vongmasa <pawin@google.com> Move hybrid interface from libbinder to here.

Also, override linkToDeath and unlinkToDeath in the wrapper class to
call linkToDeath and unlinkToDeath on the underlying HIDL interface.

Shared library: android.hidl.token@1.0-utils
Header file: hidl/HybridInterface.h

Test: With CtsMediaTestCases.apk installed,
adb shell am instrument -e size small -w
'android.media.cts/android.support.test.runner.AndroidJUnitRunner'

Bug: 33854657
Change-Id: Id66800560a67ff9f75ffd9388370541ce873e508
tils/Android.bp
tils/HybridInterface.cpp
tils/include/hidl/HybridInterface.h
f4a5840ac2e12bddf47360fff736c1b0248db608 02-Mar-2017 Pawin Vongmasa <pawin@google.com> ITokenManager: Use strong pointers instead of weak pointers.

Test: Compiles.
Bug: 35442034
Change-Id: I34f88e6337e153b60687b2bc4dc03ff5e7ee9e87
TokenManager.hal
09456c2d1655aa8979362244231d697ae15ed0ea 28-Feb-2017 Steven Moreland <smoreland@google.com> ITokenManager: don't delete token on get.

Test: pass
Change-Id: Idfa7170d9ba2709585bc94b34ce5eb075248a5d1
TokenManager.hal
346cf518ea29fd63e0ca0e366254d84e34f9286b 17-Feb-2017 Steven Moreland <smoreland@google.com> split android.hidl.memory

Split android.hidl.memory into android.hidl.memory and
android.hidl.allocator. This must be done because IAllocator is served
over hwbinder transport and IMapper/IMemory are always going to be
passthrough hals.

Test: hidl_test, device boots with allocator
Bug: 35327976

Merged-In: Ib135b5e101fadadbbf16126a98f90181f76a253b
Change-Id: Ib135b5e101fadadbbf16126a98f90181f76a253b
ndroid.bp
7c40088f1fb8fe423a51d9813f7930a6c6ce1712 09-Feb-2017 Andreas Huber <andih@google.com> Updated makefiles

Java intermediates are now created in the common rather than the device-
specific generated sources subdirectory.

Bug: 33842609
Test: make
Change-Id: I8efbd3fc28be86d9b511e2f6fbe1826256b070e0
ndroid.bp
ndroid.mk
caec4df3c05c28172e2d0f213233d302fc30d265 18-Jan-2017 Steven Moreland <smoreland@google.com> Update HIDL makefiles.

This was causing a failure because package paths were defined multiple
times because of an error in hidl-gen code when these makefiles were
originally generated (Fixed in
I9ef32b3867646690363fc9f85fe691ae74796d45).

Test: hidl_test
Bug: 34325813
Change-Id: Ie6500e53ba66dab0773830462f1c59932d801bef
ndroid.bp
ndroid.mk
d5007e3d2479b168290526d3c45445ae381ed69d 12-Jan-2017 Treehugger Robot <treehugger-gerrit@google.com> Merge "Token Manager: update documentation."
7100c1da8dfb629b2ab56b5c7a4dcd27ed6e0c9b 12-Jan-2017 Steven Moreland <smoreland@google.com> Token Manager: update documentation.

Token manager unregisters a token when you get the stored interface.

Test: pass
Change-Id: Id3560d90a6009b48c3333fb8a6831a334173d022
TokenManager.hal
4e92599704db4a3e29d4ad4a539586b019c99dfb 10-Jan-2017 Yifan Hong <elsk@google.com> Bp/n/sFoo -> Bp/n/sHwFoo

Bug: 33554989
Test: hidl_test
Change-Id: If46d3333f4dcc0a97010f13684bde219f07b3142
ndroid.bp
2ef31d85e0e91c28f05d6288505f57d5d7c43eed 21-Dec-2016 Steven Moreland <smoreland@google.com> Add android.hidl.token@1.0.

This facilitates converting hidl interfaces into something that
are more easily transferrable to other processes.

Bug: 33058559
Test: compiles
Change-Id: I77d1ecc74981f101e07a827ba8d7de77bf56cfa6
ndroid.bp
ndroid.mk
TokenManager.hal