Convert VtsHalDumpstateV1_0TargetTest to be parameterized test
and add it to vts-core.
Bug: 142397658
Test: $atest VtsHalDumpstateV1_0TargetTest
Change-Id: Ifba3b6dac6f7f4e153f50d521e6d2e07f599cf7e
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
Since these were combined into libhidlbase.
Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: I075670b64eebbbbd6a6ae0e84ad51bf1c6f5ba36
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
hidl-generated makefiles are now generated such that bpfmt(file) == file.
Bug: 67417008
Test: enable bpfmt hook
Change-Id: I1f69d292bc23a7cc293a66110cb02d597e1019ad
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
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 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
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
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 the Android.bp generated with hidl-gen.
Test: build with and without BOARD_VNDK_VERSION=current
Bug: 63866913
Change-Id: I1a9db1df49e0f13c5790da2b118ae9ec63ba34a7
Allow HAL definition libs to be static.
Bug: 32920003
Bug: 64040096
Test: update-all-google-makefiles.sh
Change-Id: I1483d572bea6799717d1614fb7d52fe225e31104