summaryrefslogtreecommitdiffstats
path: root/dumpstate/1.0
Commit message (Collapse)AuthorAgeFilesLines
* Fix file paths for DumpstateUtil calls in 1.0Roman Kiryanov2020-03-241-3/+2
| | | | | | | | | | | selinux prevents access to /vendor/bin/date and /system/etc/hosts. Bug: 152067221 Test: presubmit Signed-off-by: Roman Kiryanov <rkir@google.com> Merged-In: I6202878427718bc825063941377c3e91b798677f Change-Id: I47fb746e17b9a2771a8857e6c6b80abce6324de4
* Make IDumpstateDevice 1.1Hunter Knepshield2020-01-221-0/+2
| | | | | | | | | | | | | Add dumpstateBoard_1_1 to accept a mode parameter (e.g. for limiting vendor logs to the right bug reports). Add setDeviceLoggingEnabled for the user to toggle vendor logging on and off. Bug: 143183758 Bug: 143184495 Test: atest VtsHalDumpstateV1_1TargetTest Change-Id: I5420e5e4ce88619c7e40cf967382f98babc3c3d5
* [vts-core] add VtsHalDumpstateV1_0TargetTest to vts-corenelsonli2019-10-182-32/+15
| | | | | | | | | Convert VtsHalDumpstateV1_0TargetTest to be parameterized test and add it to vts-core. Bug: 142397658 Test: $atest VtsHalDumpstateV1_0TargetTest Change-Id: Ifba3b6dac6f7f4e153f50d521e6d2e07f599cf7e
* dumpstate example: use new lazy hal mechanismSteven Moreland2019-10-022-9/+8
| | | | | | | | | | | hwservicemanager will now shutdown the service when it is not in use. This puts less restrictions on clients. Bug: N/A Test: build only (this is an example implementation not used on any device) Change-Id: I4641e727f6e4c3ca5d97d53a66b3cc0fee6f12f3
* Remove libhwbinder/libhidltransport depsSteven Moreland2019-09-061-1/+0
| | | | | | | | Since these were combined into libhidlbase. Bug: 135686713 Test: build only (libhwbinder/libhidltransport are empty) Change-Id: I075670b64eebbbbd6a6ae0e84ad51bf1c6f5ba36
* Rename dumpstate service to include '.example'.Steven Moreland2019-08-272-2/+2
| | | | | | | | | Since it only prints a date. Bug: 140115084 Test: boot device and check that this can run (as I've also had to update file contexts for it) Change-Id: Id22452cec4f32c2bbfa07065cb5e9c5d2b9936bf
* Update hidl makefiles for bpfmtSteven Moreland2019-04-171-1/+0
| | | | | | | | hidl-generated makefiles are now generated such that bpfmt(file) == file. Bug: 67417008 Test: enable bpfmt hook Change-Id: I1f69d292bc23a7cc293a66110cb02d597e1019ad
* pack VTS cc_test binaries as general-testsKeun Soo YIM2018-12-071-0/+1
| | | | | | | Test: make general-tests Bug: 120093339 Merged-In: I363450d205868f900e4925ccff1430e2a569f2a4 Change-Id: I363450d205868f900e4925ccff1430e2a569f2a4
* Update makefiles after native handle in Java.Steven Moreland2018-08-141-1/+1
| | | | | | Bug: 35098567 Test: N/A Change-Id: I54b8d804e480cda09806f8028b966f28c4bd706e
* Merge "Remove misleading comment in sample dumpstate impl"Steven Moreland2018-07-241-2/+1
|\ | | | | | | | | | | am: eac1c71ce4 Change-Id: I18041d79922f6c09161316d9fcf3249f0c46c6b0
| * Remove misleading comment in sample dumpstate implSteven Moreland2018-07-201-2/+1
| | | | | | | | | | | | | | | | | | | | | | HIDL_FETCH_IDumpstateDevice isn't defined simply because this is a binderized service and this function would be called (to no great use) if it was installed to a device. Bug: N/A Test: N/A Change-Id: I9b660af3fe329977cdcd0c3f485af651c34416cb
* | resolve merge conflicts of d3b6ea09c1a8a96cf7cd6c3cb9bfb0992f3eebfd to ↵Steven Moreland2018-05-072-0/+8
|\| | | | | | | | | | | | | | | pi-dev-plus-aosp BUG: None Test: I solemnly swear I tested this conflict resolution. Change-Id: I669dfde4a23d8d995232dfbf6b57745532ff76f2
| * Make dumpstate HAL lazy.Steven Moreland2018-05-072-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 78509314 Test: HAL isn't running Test: adb bugreport HAL runs Test: HAL isn't running after bugreport finishes Test: manually inspect state using `lshal` and logs using `adb logcat | grep android.hardware.dump` (cherry picked from commit 711b806727c85d91cf805db4f78b4a9609e2bf43) Change-Id: Ic97516a4297e7933430fb4fa3fd0109f8c1b1d0a
| * dumpstate: add interface into rc fileWei Wang2018-05-071-0/+1
| | | | | | | | | | | | | | Bug: 7748994 Test: Build Change-Id: I5e86b0e63928f42ea7b247bd0de0719daf80a10d Merged-In: I5e86b0e63928f42ea7b247bd0de0719daf80a10d
* | dumpstate: add interface into rc fileWei Wang2018-04-051-0/+1
| | | | | | | | | | | | Bug: 7748994 Test: Build Change-Id: I5e86b0e63928f42ea7b247bd0de0719daf80a10d
* | Merge "Convert dumpstate hal test to use VtsHalHidlTargetTestEnvBase" am: ↵Zhuoyao Zhang2018-02-091-1/+17
|\| | | | | | | | | | | | | | | 250d67a157 am: 12b8312acf am: cbfc343f7d Change-Id: I5f2c100cf49133991b0c3c5cde619f3fcb1f907e
| * Convert dumpstate hal test to use VtsHalHidlTargetTestEnvBaseZhuoyao Zhang2018-02-081-1/+17
| | | | | | | | | | | | | | | | Bug: 64203181 Test: make vts vts-tradefed run vts -m VtsHalDumpstateV1_0Target Change-Id: I064ef5738197c5e74e7b5a15f14b160eebe09c5f
| * Merge commit '1a06284b24f5eb7bb9c1fea0817da8898b3b1bff' fromXin Li2017-11-141-13/+2
| |\ | | | | | | | | | | | | | | | | | | oc-mr1-dev-plus-aosp into stage-aosp-master Change-Id: I2a044eb8c9981d0a8198ffe2df55559afbd76341 Merged-In: I4fb9f18884f7ef21162015a0032c4431444f7025
| * \ Merge changes from topic "hidl-soong-plugin"Treehugger Robot2017-11-111-131/+7
| |\ \ | | | | | | | | | | | | | | | | | | | | * changes: Update makefiles for hidl_interface. Update makefiles for transitive interfaces.
| | * | Update makefiles for hidl_interface.Steven Moreland2017-11-101-131/+7
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 35570956 Test: manual Change-Id: I7a220b78ee081240e1dc30ef5672ba39e3e98375
* | | | Updating makefiles for hidl_interface.Steven Moreland2017-11-131-131/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 64487114 Test: manual Merged-In: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812 Change-Id: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
* | | | Merge "Use -Werror in hardware/interfaces/dumpstate/1.0/default" am: ↵Chih-Hung Hsieh2017-11-101-0/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 641fc32fc0 am: fc67ecce2a am: d48225ca56 Change-Id: I4423f2838daac22baa172817254930c76685324b
| * | | | Merge "Use -Werror in hardware/interfaces/dumpstate/1.0/default" am: 641fc32fc0Chih-Hung Hsieh2017-11-101-0/+4
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | am: fc67ecce2a Change-Id: I06fd7575eb39973e91c4ca4f726275bc05c0d703
| | * | | Use -Werror in hardware/interfaces/dumpstate/1.0/defaultChih-Hung Hsieh2017-11-081-0/+4
| | |/ / | | | | | | | | | | | | | | | | | | | | Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: Ic91f44e7410fd5bd8d1231f886a526a5e21a2eae
* | | | Merge "dumpstate mk -> bp" am: b1088c6de1 am: 9251e71740Steven Moreland2017-11-062-22/+22
|\| | | | | | | | | | | | | | | | | | | | | | | am: d292895d0d Change-Id: I8bc36d2c12c427e14df46f8a6bec76fa4f99cae6
| * | | Merge "dumpstate mk -> bp" am: b1088c6de1Steven Moreland2017-11-062-22/+22
| |\| | | | |/ | |/| | | | | | | | | | am: 9251e71740 Change-Id: I4cdfb67a299ca6ab601306e1ef83d099eabbd8f8
| | * dumpstate mk -> bpSteven Moreland2017-11-022-22/+22
| | | | | | | | | | | | | | | | | | Test: compilation finds dependencies Bug: 37512442 Change-Id: Ib207c2163a07dea03c096283d10b00af966a1728
* | | Merge "Use pipes instead of tmp files."TreeHugger Robot2017-10-131-21/+14
|\ \ \
| * | | Use pipes instead of tmp files.Tri Vo2017-10-121-21/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dumpstate hal does not have selinux permissions to files under /data/local/tmp. So we pass fds to pipes to the hal for testing, which works out because of this selinux rule: allow domain su:fifo_file { write getattr }; Bug: 67648445 Test: VtsHalDumpstateV1_0Target Change-Id: I804ef03250f18d3aa34393297e8ac9725e437dbb
* | | | Update for Soong java makefiles. am: c3e80fa01e am: 0fff75dee1 am: 6c811964a1Steven Moreland2017-10-111-1/+5
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | am: 116161d94e Change-Id: I33643636e2511de77fdf7de57777eb67edee2e52
| * | Update for Soong java makefiles. am: c3e80fa01e am: 0fff75dee1Steven Moreland2017-10-111-1/+5
| |\| | | | | | | | | | | | | | | | am: 6c811964a1 Change-Id: I85ccbb4a15cd18938607f5bca4e065b9d7e0182b
| | * Update for Soong java makefiles.Steven Moreland2017-10-111-1/+5
| | |\ | | | | | | | | | | | | | | | | | | | | am: c3e80fa01e Change-Id: Ia8835f9c95bd98a96f5fd3aff11191e7d3726fb9
| | | * Update for Soong java makefiles.Steven Moreland2017-10-101-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | Test: pass Bug: 33420795 Change-Id: Id9b1919a19b8ff682738cfb0869a479b4dbb4293
* | | | Merge "Update for hidl adapter module defaults." am: 988c977079 am: ↵Steven Moreland2017-10-041-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 861651985f am: b53e6ad535 am: 9a17f41f6f Change-Id: I78d9292068b372238554fd9d35128e69f5b5f9d2
| * | | Merge "Update for hidl adapter module defaults." am: 988c977079 am: 861651985fSteven Moreland2017-10-041-0/+1
| |\| | | | | | | | | | | | | | | | | | | | | | am: b53e6ad535 Change-Id: I23269fb7a9bdd352e670a80f390527d9eef31412
| | * | Merge "Update for hidl adapter module defaults."Steven Moreland2017-10-041-0/+1
| | |\| | | | | | | | | | | | | | | | | | | | | am: 988c977079 Change-Id: I289818be1b30397391847ba1c532d1014fdbed27
| | | * 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-271-1/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 71a193a425 am: 9fdd241905 Change-Id: I1c852fa6600fecc44d5afd1a65a5f51c43ecf71c
| * | | Merge "Fix typo in update makefiles." am: 9960148420 am: f07e364ce3Steven Moreland2017-09-261-1/+2
| |\| | | | | | | | | | | | | | | | | | | | | | am: 71a193a425 Change-Id: I45ae43f07323254212532acbf0f891d11143b05f
| | * | Merge "Fix typo in update makefiles."Steven Moreland2017-09-261-1/+2
| | |\| | | | | | | | | | | | | | | | | | | | | am: 9960148420 Change-Id: I949634e72f817f3a5411130e968acd8efd1d7725
| | | * 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. am: 26a0bb2762 am: 73949c1d7eSteven Moreland2017-09-261-0/+73
| |\| | | | | | | | | | | | | | | | | | | | | | am: b94d0c7290 Change-Id: If766cffbcc003cc0cc5eb98969b924aa918fff44
| | * | Update makefiles for hidl adapter.Steven Moreland2017-09-251-0/+73
| | |\| | | | | | | | | | | | | | | | | | | | | am: 26a0bb2762 Change-Id: I3a811f5cd49bd4e81e8fcd5c8e88922115812539
| | | * Update makefiles for hidl adapter.Steven Moreland2017-09-251-0/+73
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 37518178 Test: manual Change-Id: I50e999907d3c64d2b039272b823971998da64d1b
| | | * Updating all makefiles.Steven Moreland2017-08-141-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 64487114 Test: none Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a Merged-In: I2fa89b6661c39859ec4fb62c4bb0a05a35e645f0 Merged-In: Ifdc3c17cb2b85c18b37dac2d03bb5c8935c23180 Change-Id: I170fa1c4fe39f8109b1670db58ef99bb11afc0be
| | * | Updating all makefiles.Steven Moreland2017-08-111-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 64487114 Test: none Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a Merged-In: I2fa89b6661c39859ec4fb62c4bb0a05a35e645f0 Change-Id: Ifdc3c17cb2b85c18b37dac2d03bb5c8935c23180
* | | | Add 'vendor.' prefix to a vendor HAL service nameJaekyun Seok2017-09-121-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | 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.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