summaryrefslogtreecommitdiffstats
path: root/power/1.0
Commit message (Collapse)AuthorAgeFilesLines
* Updating makefiles for hidl_interface.Steven Moreland2017-11-131-160/+14
| | | | | | | Bug: 64487114 Test: manual Merged-In: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812 Change-Id: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
* Update for Soong java makefiles.Steven Moreland2017-10-102-141/+31
| | | | | | Test: pass Bug: 33420795 Change-Id: Id9b1919a19b8ff682738cfb0869a479b4dbb4293
* Merge "Remove useless Android.mk files."Treehugger Robot2017-10-051-19/+0
|\
| * Remove useless Android.mk files.Steven Moreland2017-10-041-19/+0
| | | | | | | | | | | | | | | | These have been c/p'd all over the place. Test: m -j nothing Bug: 33420795 Change-Id: I77979866dbb2345a41a873c84ec3fccd7b127510
* | Update for hidl adapter module defaults.Steven Moreland2017-10-041-0/+1
|/ | | | | Test: pass Change-Id: Idc6a943149a279bf17cfcfd0f2571473e53bbbbf
* Fix typo in update makefiles.Steven Moreland2017-09-261-1/+2
| | | | | | Bug: 37518178 Test: pass Change-Id: Ic401b3a473f15ca4c01e58b3072e19db7c31b653
* Update makefiles for hidl adapter.Steven Moreland2017-09-251-0/+73
| | | | | | Bug: 37518178 Test: manual Change-Id: I50e999907d3c64d2b039272b823971998da64d1b
* VTS tests now static link to HAL def libs.Tri Vo2017-08-251-16/+2
| | | | | | | | | | And use VtsHalTargetTestDefaults. This is a partial cherry-pick of ag/2657080. Bug: 64040096 Test: compiles, works fine in internal master Merged-In: I8f6995e9536a9aefe283ee3effec9f5a7f03b620 Change-Id: I76d47d8546416b57055841851a9d343026cd3210
* Updating all makefiles.Steven Moreland2017-08-142-133/+6
| | | | | | | | | Bug: 64487114 Test: none Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a Merged-In: I2fa89b6661c39859ec4fb62c4bb0a05a35e645f0 Merged-In: Ifdc3c17cb2b85c18b37dac2d03bb5c8935c23180 Change-Id: I170fa1c4fe39f8109b1670db58ef99bb11afc0be
* vts: fix TryDifferentGovernors in Power hal testbohu2017-06-241-0/+1
|\ | | | | | | | | | | am: ae96eee82b Change-Id: Iaa383d8d150b8b633c3d238c52622fddc0d3ec09
| * vts: fix TryDifferentGovernors in Power hal testbohu2017-06-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | The test should return when it cannot open cpu governor files BUG: 62138092 Test: build sdk_gphone_x86-userdebug, launch emulator, run test: run vts -m VtsHalPowerV1_0Target The test should all pass. Change-Id: I3b47261e9525b6a04e995dac1ad63d9cc088b004
* | Update makefiles. (2/2)Steven Moreland2017-05-221-0/+1
|\| | | | | | | | | | | am: 76cfb84140 Change-Id: I24d21438a5b2f447d2160929c6ff6e17b2b66820
| * Update makefiles. (2/2)Steven Moreland2017-05-191-0/+1
| | | | | | | | | | | | | | | | Adds default configuration for all hals. Bug: 38415912 Test: pass Change-Id: Idd1f3a2b7b16ad956d31784a513e93a066cdd02e
* | Update makefiles for c++-sources and c++-headers. (2/2)Steven Moreland2017-05-111-2/+2
|\| | | | | | | | | | | am: bc71124120 Change-Id: Icf36068a4d863a8520854c7a83e51f960c188e12
| * Update makefiles for c++-sources and c++-headers. (2/2)Steven Moreland2017-05-091-2/+2
| | | | | | | | | | | | Test: pass Bug: 38174080 Change-Id: Icad451f9f9ad5f46412356a4171a8a1222f8e545
* | Remove redundant dependenciesSteven Moreland2017-05-021-2/+0
|/ | | | | | | | | android.hidl.base@1.0 and android.hidl.manager@1.0 are built into libhidltransport. Test: links Bug: 33276472 Merged-In: I08aaad80f7e2fc262aa3a8b66fe932e8133a928d Change-Id: I08aaad80f7e2fc262aa3a8b66fe932e8133a928d
* Changed the naming scheme for Treble java libraries (both static and dynamic)Andreas Huber2017-04-131-4/+4
| | | | | | | | | android.hardware.foo@1.0-java => android.hardware.foo-V1.0-java Bug: 37207894 Test: make Change-Id: I177f4cfd42f635aaf096107af8309d1a82ed41c0 Merged-In: I8b91881dfaf507c0d852d56ebbb53ff0987e5a34
* Merge changes from topic 'hidl-vendor-available' into oc-devSteven Moreland2017-04-121-0/+1
|\ | | | | | | | | | | * changes: Update makefiles (2/2). Update makefiles.
| * Update makefiles (2/2).Steven Moreland2017-04-111-0/+1
| | | | | | | | | | Test: pass Change-Id: Ic7e6289c7b69785491708ce0acbb657f4c704229
* | Fix failure to load power HAL implementationConnor O'Brien2017-04-111-16/+18
|/ | | | | | | | | | | | | Some working implementations of the libhardware power HAL do not implement an open method. Change the HIDL implementation to not rely on that method being available. Test: Flashed marlin with modified power.marlin that omits an open() implementation; power HAL loads successfully and passes VTS Bug: 37245218 Signed-off-by: Connor O'Brien <connoro@google.com> Change-Id: Icc77b3011a0e44330062aa51ae49e39ad349a2a5
* Fix transitive includes.Steven Moreland2017-04-061-0/+1
| | | | | | | | | Files relying on transitive include of utils/Log.h (and things that it includes) from MQDescriptor.h Test: pass Merged-In: Iff316b21bef556bb026378b7f89e97ded3febef4 Change-Id: Iff316b21bef556bb026378b7f89e97ded3febef4
* Convert all comments into "doxygen-ready" comments.Andreas Huber2017-03-292-24/+25
| | | | | | Bug: 36453077 Test: mma Change-Id: I0b1f77dfae5d2258969e33d85ecf45401ffbdfaa
* Update makefiles for hwtypes.hSteven Moreland2017-03-281-0/+1
| | | | | Test: pass Change-Id: I8e17eb8fec5d2f04c526476a866c8dd54ccb556c
* Change vts target base test class nameYuexi Ma2017-03-102-4/+4
| | | | | Test: make vts succeed, vts kernel tests and nfc hal tests passed Change-Id: I95f10ad7a66f261c9030357edd411fe6d94150e8
* hidl_default to all targets.Steven Moreland2017-03-082-0/+3
| | | | | | | | | | | find hardware/interfaces -type f -not -path "*/.git/*" \ -exec sed -i -e '/cc_[A-Za-z_]\+/ { N; s/$/\n defaults: \["hidl_defaults"\],/ }' {} \; ./hardware/interfaces/update-makefiles.sh Test: pass Bug: 35840847 Change-Id: If10c464d2f000b85c8d698fe11a4f3fc4cfad282
* Power: remove warnings from VTS test.Steven Moreland2017-03-081-1/+1
| | | | | Test: pass Change-Id: I1851d7f7e330ed2d9f92a35e29842cf04b13601f
* change all vts hidl tests to use VtsHalHidlTargetBaseTest (internal master)Yuexi Ma2017-02-282-5/+4
| | | | | | Bug: 33385836 Test: mma Change-Id: Ide3ebc4a9db76257f33bcfb0c1f13d2ee33eeaa8
* Merge "Fix bugs in power HAL VTS test"Connor O'Brien2017-02-271-10/+12
|\
| * Fix bugs in power HAL VTS testConnor O'Brien2017-02-271-10/+12
| | | | | | | | | | | | | | | | | | | | Ensure CPU governor list is null-terminated; stop treating newline char as a governor name; stop leaking file descriptors on failure. Bug: 35753237 Test: Test runs and passes on marlin and bullhead Change-Id: I8a6409a50e5daac36770dc577d0628fec8148847 Signed-off-by: Connor O'Brien <connoro@google.com>
* | Remove viral dependency on libhwbinder. (2/2)Steven Moreland2017-02-242-3/+0
|/ | | | | | | | | | | | | | | | find hardware/interfaces -name Android.mk -exec sed -i -e '/libhwbinder \\/d' {} \; find hardware/interfaces -name Android.bp -exec sed -i -e '/"libhwbinder"/d' {} \; ./hardware/interfaces/update-makefiles.sh Note, automotive has some actual dependencies on libhwbinder, filed b/35758626 for this. Test: everything links Test: (sanity) booted marlin on internal master with these changes Bug: 35710429 Change-Id: I6d0726c8130d00684b978efbdd48e3ae396f12e5
* Increase power HAL VTS coverageConnor O'Brien2017-02-221-1/+72
| | | | | | | Bug: 32022775 Test: Run tests on bullhead and marlin Change-Id: I4928d5ac951d02152a3f491bff1c28de3f95c16c Signed-off-by: Connor O'Brien <connoro@google.com>
* Remove .vts spec filesTri Vo2017-02-222-187/+0
| | | | | Test: mmma hardware/interfaces Change-Id: Idae97ce60a6368cfa685ae6b2d71b9ad163e8605
* Update the test binary and source file name on master.Zhuoyao Zhang2017-02-212-2/+2
| | | | | | | | * To confirm with Vts naming convention. Bug: 35273456 Test: mma Change-Id: I845da64085253cd02480465479618308045a52ed
* Remove coverage flags from tests.Ryan Campbell2017-02-141-4/+0
| | | | | | | | Remove unnecessary coverage flags from HAL tests. Bug: 32749731 Test: none Change-Id: I7e4e3bce2d9d444bfa8475c140bce2ee7e3b0c0d
* Merge "Update .vts files on master based on the latest .hal file and hidl-gen"Zhuoyao Zhang2017-02-141-0/+1
|\
| * Update .vts files on master based on the latest .hal file and hidl-genZhuoyao Zhang2017-02-131-0/+1
| | | | | | | | | | Test: mma Change-Id: I9558f300505db83e26f7c241c5cf729cd005a07b
* | Merge "fix a sign-compare warning and use -Wall"TreeHugger Robot2017-02-142-2/+12
|\ \
| * | fix a sign-compare warning and use -WallKeun Soo Yim2017-02-102-2/+12
| |/ | | | | | | | | | | Test: mma Bug: 34901468 Change-Id: If68c1540a88ea28987fb7359a0ee01cf45263579
* / Move hidl shims to the vendor partition. (2/2)Steven Moreland2017-02-132-1/+3
|/ | | | | | | | | | | | We need google shims on the vendor partition because they are providing an implementation of a vendor defined interface. They were written by google just as a courtesy/to make the transition easier. They're basically a set for vendors to assemble their hal implementations from. Bug: 34135607 Test: marlin persist.hal.binderization on/off Change-Id: I2e2af5af39264cf290259755bb9b2eb9827a21f5
* Update makefiles to use filgroup syntax.Tri Vo2017-02-101-4/+2
| | | | | Test: mmma hardware/interfaces Change-Id: I9f4457c78b7820c242d46359f0debe05d1b3e482
* Updated makefilesAndreas Huber2017-02-091-2/+2
| | | | | | | | | Java intermediates are now created in the common rather than the device- specific generated sources subdirectory. Bug: 33842609 Test: make Change-Id: I16af4cd19bf0b24baa0ad9ebfdb86b4d959c8672
* Migrate driver/profiler to test/vts-testcase/hal.Tri Vo2017-02-071-103/+8
| | | | | | | Bug: 34893894 Test: mmma hardware/interfaces Change-Id: Ic72716577a5f93700c5056986aff55a76b170b5d
* move VTS stub files and non-functional testsKeun Soo Yim2017-02-0411-227/+0
| | | | | | Test: mma Bug: 34976004 Change-Id: I20273bdc3a05e2986fcf921f65d2afd6d72781e4
* Update Andriod.bp for hals.Zhuoyao Zhang2017-02-031-10/+10
| | | | | | | * Add driver/profiler build rule for all hals. Test: mma Change-Id: I98325f7af14fec7dd1bb64b1668de8c7c20ace92
* Merge "Remove PowerHint::DISABLE_TOUCH"Michael Wright2017-02-013-14/+1
|\
| * Remove PowerHint::DISABLE_TOUCHMichael Wright2017-01-193-14/+1
| | | | | | | | | | | | | | | | | | | | This isn't really a power hint and doesn't given the opportunity for the input system to clean up any on going input streams or input fusion, so shouldn't be part of the power HAL. Test: run vts, play with device Bug: 30143923 Change-Id: I7b63a2f07a7851739d90099af45773acead58548
* | power HAL uses "default" service nameChris Phoenix2017-01-243-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | The getService() and registerAsService() methods of interface objects now have default parameters of "default" for the service name. HALs will not have to use any service name unless they want to register more than one service. Test: builds; verify HAL still works Bug: 33844934 Change-Id: I7a5d9e848efabf624299ee81ee42aa046b61c660
* | Fix some ordered comparisons with zero for pointers.Stephen Hines2017-01-231-5/+5
|/ | | | | | | | | | | Bug: http://b/31532493 The latest clang will trigger an error diagnostic "ordered comparison between pointer and zero ..." when you do something like "p > 0". This change replaces the ordered comparisons with proper checks instead. Test: Validated with latest toolchain. Change-Id: I4a127fe2551688c8176bdd31210cf7f2f40baeba
* Fix HalPowerHidlTargetProfilingTestZhuoyao Zhang2017-01-161-1/+0
| | | | | | | * Remove test-configure-path as no configure file is available. Test: run vts -m HalPowerHidlTargetProfilingTest Change-Id: I49f10b5c82a4e0cef3bb58d16741ca850a79e677
* Merge "liblog: use log/log.h when utilizing ALOG macros"TreeHugger Robot2017-01-121-1/+4
|\