summaryrefslogtreecommitdiffstats
path: root/light/2.0
Commit message (Collapse)AuthorAgeFilesLines
* light service: mark as shutdown criticalSteven Moreland2018-03-161-0/+2
| | | | | | | | | | | | | | | | Required because the lights need to be turned off late in boot (e.x. during fsck for disk health), and before, blank_screen accessing light encountered a race condition where if it didn't get scheduled before all of the processes which were getting shutdown were getting killed, the screen wouldn't blank. Bug: 74976325 Test: adjusting brightness continues to work Test: screen blanks during shutdown at the correct time including when an artificial 5s delay is inserted when the phone normally fscks (which can also be quick) Change-Id: I57ebc11d7ecf57ee327c681455712f4b53de6fd3
* Merge "Convert light hal test to use VtsHalHidlTargetTestEnvBase" am: ↵Zhuoyao Zhang2018-02-131-3/+21
|\ | | | | | | | | | | | | | | c4c77e570e am: 923bbc8934 am: 6a773b9a7c Change-Id: I0c4ca12e6de262660a0b47d0098ee3b314c4f8a4
| * Convert light hal test to use VtsHalHidlTargetTestEnvBaseZhuoyao Zhang2018-02-101-3/+21
| | | | | | | | | | | | | | | | Bug: 64203181 Test: make vts vts-tradefed run vts -m VtsHalLightV2_0Target Change-Id: I76eaac300697e25739c7ea0d2fb07b5b005a3040
| * Add interface specification for lights hal.Steven Moreland2018-01-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | So that init knows how to start it and to provide an example of how to specify interfaces since there are no lazy starting services on Pixel yet. In order to make lights a lazy service, it would also have to be marked as 'oneshot'. Test: manually using Light as a lazy service Bug: 64678982 Merged-In: I846a7e2d9545b42af9b985adb74883bda1b8c355 Change-Id: I846a7e2d9545b42af9b985adb74883bda1b8c355
* | Add interface specification for lights hal.Steven Moreland2018-01-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | So that init knows how to start it and to provide an example of how to specify interfaces since there are no lazy starting services on Pixel yet. In order to make lights a lazy service, it would also have to be marked as 'oneshot'. Test: manually using Light as a lazy service Bug: 64678982 Change-Id: I846a7e2d9545b42af9b985adb74883bda1b8c355
* | Merge "Add debug output for lights." am: 25ccf20c8c am: ba7d14198bSteven Moreland2017-12-222-2/+27
|\| | | | | | | | | | | am: 711ea3501a Change-Id: Ib37c58aeb9aa13542ae730426cc7c4e2ae39e19c
| * Add debug output for lights.Steven Moreland2017-12-202-2/+27
| | | | | | | | | | | | | | | | | | | | As an example and also to expose which lights are registered easily. Note, this is all the information that we can print given the libhardware lights interface. Bug: 70846424 Test: lshal debug Change-Id: I5f55e3e64149fc63a45ab9dab94d5fea27bb61da
* | Cleanup Lights Android.bp am: fabe9e4bef am: 1617ee8132Steven Moreland2017-12-191-3/+3
|\| | | | | | | | | | | am: b31e72c574 Change-Id: Ia2bf7eae93ae3252339b55de7b0080a04d808625
| * Cleanup Lights Android.bpSteven Moreland2017-12-181-3/+3
| | | | | | | | | | Test: none Change-Id: I3c5156a75a044c67f41878e880dece730ed7158f
| * Light mk -> bp.Steven Moreland2017-12-182-48/+53
| | | | | | | | | | | | Test: boots Merged-In: I15c4779a7c9eea39fb20746f69800dcf20670275 Change-Id: I963b957491575edbf68727ad4c97b733dceb0149
| * Use -Werror in hardware/interfaces/light/2.0Chih-Hung Hsieh2017-11-281-0/+4
| | | | | | | | | | | | | | Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: If922bef89eba554c37b74a574bb0a042cfad46c7 Merged-In: I15c4779a7c9eea39fb20746f69800dcf20670275
| * Update makefiles for hidl_interface.Steven Moreland2017-11-101-160/+14
| | | | | | | | | | | | Bug: 35570956 Test: manual Change-Id: I7a220b78ee081240e1dc30ef5672ba39e3e98375
* | 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. am: c3e80fa01e am: 0fff75dee1 am: 6c811964a1Steven Moreland2017-10-112-141/+31
|\| | | | | | | | | | | am: 116161d94e Change-Id: I33643636e2511de77fdf7de57777eb67edee2e52
| * Update for Soong java makefiles.Steven Moreland2017-10-102-141/+31
| | | | | | | | | | | | Test: pass Bug: 33420795 Change-Id: Id9b1919a19b8ff682738cfb0869a479b4dbb4293
* | Merge "Remove useless Android.mk files." am: 75d5cf515a am: f27cfa15d7 am: ↵Steven Moreland2017-10-051-19/+0
|\| | | | | | | | | | | | | | | 33dc30ce49 am: 0653f3b212 Change-Id: I7c2da3cf30da7b4a1eda7e5369e9caa5ebab2462
| * 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
* | | Merge "Update for hidl adapter module defaults." am: 988c977079 am: ↵Steven Moreland2017-10-041-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | 861651985f am: b53e6ad535 am: 9a17f41f6f Change-Id: I78d9292068b372238554fd9d35128e69f5b5f9d2
| * | Update for hidl adapter module defaults.Steven Moreland2017-10-041-0/+1
| |/ | | | | | | | | Test: pass Change-Id: Idc6a943149a279bf17cfcfd0f2571473e53bbbbf
* | Merge "Fix typo in update makefiles." am: 9960148420 am: f07e364ce3 am: ↵Steven Moreland2017-09-261-1/+2
|\| | | | | | | | | | | | | | | 71a193a425 am: 9fdd241905 Change-Id: I1c852fa6600fecc44d5afd1a65a5f51c43ecf71c
| * Fix typo in update makefiles.Steven Moreland2017-09-261-1/+2
| | | | | | | | | | | | Bug: 37518178 Test: pass Change-Id: Ic401b3a473f15ca4c01e58b3072e19db7c31b653
* | Update makefiles for hidl adapter. am: 26a0bb2762 am: 73949c1d7e am: b94d0c7290Steven Moreland2017-09-261-0/+73
|\| | | | | | | | | | | am: 97228c0b7d Change-Id: Ic4b459b7c1a4325453945b0b00db8f44e4e77c26
| * 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-13/+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
* | Add 'vendor.' prefix to a vendor HAL service nameJaekyun Seok2017-09-111-2/+2
| | | | | | | | | | | | | | | | | | | | To prevent property name collisions between properties of system and vendor, 'vendor.' prefix must be added to a vendor HAL service name. You can see the details in http://go/treble-sysprop-compatibility. Test: succeeded building and tested on a walleye device Bug: 36796459 Change-Id: I4e8fbee791ec917a8f627a1366f4d44ec7e6febc
* | Updating all makefiles.Steven Moreland2017-08-101-134/+0
| | | | | | | | | | | | Bug: 64487114 Test: none Change-Id: I8608c8f636c35f21e4246a805a9eff6d14124e0a
* | Merge "VTS tests now static link to HAL def libs. #2" into oc-mr1-dev am: ↵Tri Vo2017-08-101-13/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | 2883486706 am: a6969cdd68 Change-Id: Iecd7cfd4e02aea837647e2f12446e7375744f004
| * | VTS tests now static link to HAL def libs. #2Tri Vo2017-08-101-13/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And use VtsHalTargetTestDefaults. Bug: 64040096 Test: crop out all non-affected tests from vts-hal-hidl.xml and run vts-tradefed run commandAndExit vts-hal-hidl --skip-all-system-status-check --skip-preconditions 2 failures, same as without this change: GatekeeperHidlTest.DeleteAllUsersTest GatekeeperHidlTest.DeleteUserTest Change-Id: I8f6995e9536a9aefe283ee3effec9f5a7f03b620
* | | Update make file for vndk enabled. am: 608d773ef8Justin Yun2017-08-041-0/+3
|\| | | | | | | | | | | | | | | | | am: d66371512c Change-Id: I35b778c39c2349346278deb6dea56b8cd3701f7d
| * | Update make file for vndk enabled.Justin Yun2017-08-041-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Update the Android.bp generated with hidl-gen. Test: build with and without BOARD_VNDK_VERSION=current Bug: 63866913 Change-Id: I1a9db1df49e0f13c5790da2b118ae9ec63ba34a7
* | | Update makefiles (frameworks.jar).Steven Moreland2017-08-031-0/+4
| | | | | | | | | | | | | | | | | | Test: links at runtime and buildtime Bug: 35771640 Change-Id: Ic7a71653d659115205e5bdbb782f73b774af0b29
* | | Update Android.bp HIDL makefiles am: f5d136c231Tri Vo2017-08-031-1/+1
|\| | | | | | | | | | | | | | | | | am: 7694738e26 Change-Id: I7592025d540bbe46d2e2726ae39ae34f352a1a30
| * | Update Android.bp HIDL makefilesTri Vo2017-08-021-1/+1
| |/ | | | | | | | | | | | | | | | | Allow HAL definition libs to be static. Bug: 32920003 Bug: 64040096 Test: update-all-google-makefiles.sh Change-Id: I1483d572bea6799717d1614fb7d52fe225e31104
* / Convert android.hardware.light@2.0 to soong.Ryan Campbell2017-07-272-44/+53
|/ | | | | | | | | Convert both the *-impl.so and the *-service to be built with Soong instead of make. Test: cd hardware/interfaces/light && mma -j60 Bug: 37512442 Change-Id: I15c4779a7c9eea39fb20746f69800dcf20670275
* 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-101-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
* Merge "Remove dependency of libhardware_legacy from HAL services" into oc-devTreeHugger Robot2017-04-171-1/+0
|\
| * Remove dependency of libhardware_legacy from HAL servicesHung-ying Tyan2017-04-141-1/+0
| | | | | | | | | | | | | | | | | | It is not used by these services. Bug: 33241851 Bug: 37305530 Test: built and tested on sailfish Change-Id: I1f3f51981d7dfcf27e18d9495c747b7662867d31
* | 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
* Update makefiles (2/2).Steven Moreland2017-04-111-0/+1
| | | | | Test: pass Change-Id: Ic7e6289c7b69785491708ce0acbb657f4c704229
* Convert all comments into "doxygen-ready" comments.Andreas Huber2017-03-291-4/+4
| | | | | | 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-081-0/+1
| | | | | | | | | | | 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
* change all vts hidl tests to use VtsHalHidlTargetBaseTest (internal master)Yuexi Ma2017-02-282-5/+4
| | | | | | Bug: 33385836 Test: mma Change-Id: Ide3ebc4a9db76257f33bcfb0c1f13d2ee33eeaa8