summaryrefslogtreecommitdiff
path: root/libs/vr
AgeCommit message (Collapse)Author
2024-07-11Delete code for legacy VR services. Krzysztof Kosiński
These services were last present on the Pixel 3. Bug: 234559097 Test: presubmit Flag: EXEMPT dead code removal Change-Id: I7bac2eeeb77bea8c048fcbe5f9ed872a039edc9c
2024-02-12vr: avoid missing std::char_traits<const T> Ryan Prichard
In newer versions of libc++, std::char_traits<T> is only defined for character types (and not const/volatile-qualified character types). See https://discourse.llvm.org/t/deprecating-std-string-t-for-non-character-t/66779. Remove the cv qualifiers from CharT first. Keep qualifiers on value_type and typedefs derived from it. This library appears to be unused (see b/253514421#comment11), but it still builds with a "checkbuild", so it blocks the libc++ update (b/175635923). Bug: 175635923 Test: make checkbuild Test: m MODULES-IN-frameworks-native-libs-vr Test: /data/nativetest64/pdx_tests/pdx_tests Change-Id: I2bfa04ccd073f8701597be8618bb8b48eb695afe
2022-12-01Remove libbufferhubqueue, libdisplay and dependencies Pirama Arumuga Nainar
Bug: http://b/253514421 This library seems to be stale (b/253514421#comment11) but exposes a bug in the upcoming compiler update (b/253033919). Test: m oriole-userdebug; presubmit Change-Id: Ica6cab5ea4cb8c16248d6264b304571847a2940f Merged-In: Ica6cab5ea4cb8c16248d6264b304571847a2940f
2022-09-30Remove bufferhub support from libgui. Peter Collingbourne
As far as I can tell the bufferhub support in libgui was never completed, and it is unused except for tests and the libdvr library (which is also unused except for benchmarks and tests, which I also removed, and its headers which I kept for now). This will allow building the platform with newer compilers that diagnose invalid code in libpdx, one of bufferhub's dependencies. Bug: 246977679 Change-Id: Iff5f879c2bb5583e789a604d64638e8ce7d2b2c5
2022-06-02Merge "Deleted clang property in Android.bp files" am: f67b6f098d am: fce5dc9847 Alix Espino
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2075508 Change-Id: I48ab4d12c90f79a449294d2b63599774badea234 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-16Merge "autogenerated reformatting by bpfmt" am: 028182d974 am: a9c64704c7 Alix Espino
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2075507 Change-Id: I1408cdc61de651102e6d87f3b72e4659ae4b8e68 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13Deleted clang property in Android.bp files Alix
Deleted deprecated clang property in Android.bp files using bpmodify. Bug: 208980553 Test: treehugger Change-Id: Iae82728bd6d108fadf9872ad22cdc57aabceb3bb
2022-05-13autogenerated reformatting by bpfmt Alix
Bug: 208980553 Test: treehugger Change-Id: I659ff25af67a7aa00fe54678b79441b05c1ee32d
2022-04-20Merge "Deleted clang property in Android.bp files" am: 06fc13cd99 am: ↵ Alix Espino
621adadd48 am: 7dc33f4766 Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2066560 Change-Id: I450a55e86814019ce8def578934d1e2df9c7c405 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-18Deleted clang property in Android.bp files Alix
Deleted deprecated clang property in Android.bp files using bpmodify. Bug: 208980553 Test: treehugger Change-Id: Id1d1bd76fcd9221b7ac720b001a98de080629d36
2022-03-09Add missing ThreadDefs.h header Andrei Homescu
Change 2016760 removed utils/threads.h from BpBinder.h which indirectly included ThreadDefs.h. This change adds ThreadDefs.h explicitly to vr_flinger.cpp which needs it. Bug: 223486215 Test: m Merged-In: If4c6494d1bf3a32516ada3670ee449e2a047c7ed Change-Id: I3be09bfd2820000129debb9f23f854df2a5703c2
2021-10-19Remove libvrflinger Ady Abraham
Not used anymore. Test: build Change-Id: If4c6494d1bf3a32516ada3670ee449e2a047c7ed
2021-10-19SF: split ComposerHal to Hidl/Aidl files Ady Abraham
Bug: 198690444 Test: build Change-Id: I6b39e58f53065a04b4e6bb5426ae329b25a1dadb
2021-10-19SF: use AIDL composer Ady Abraham
Open and use the new AIDL composer if supported by the device Bug: 198690444 Test: Build Change-Id: I190170913b2adc980a23b0916817b74777be7c81
2021-02-25[LSC] Add LOCAL_LICENSE_KINDS to frameworks/native Bob Badour
Added SPDX-license-identifier-Apache-2.0 to: cmds/atrace/Android.bp cmds/bugreport/Android.bp cmds/bugreportz/Android.bp cmds/cmd/Android.bp cmds/dumpstate/Android.bp cmds/dumpsys/Android.bp cmds/dumpsys/tests/Android.bp cmds/flatland/Android.mk cmds/idlcli/Android.bp cmds/installd/Android.bp cmds/installd/tests/Android.bp cmds/ip-up-vpn/Android.mk cmds/lshal/Android.bp cmds/lshal/libprocpartition/Android.bp cmds/rawbu/Android.bp cmds/rss_hwm_reset/Android.bp cmds/service/Android.bp cmds/servicemanager/Android.bp cmds/surfacereplayer/Android.bp cmds/surfacereplayer/proto/Android.bp cmds/surfacereplayer/replayer/Android.bp data/etc/Android.bp libs/adbd_auth/Android.bp libs/android_runtime_lazy/Android.bp libs/arect/Android.bp libs/attestation/Android.bp libs/attestation/tests/Android.bp libs/binder/Android.bp libs/binder/ndk/Android.bp libs/binder/ndk/tests/Android.bp libs/binder/parcel_fuzzer/Android.bp libs/binder/rust/Android.bp libs/binder/rust/tests/Android.bp libs/binder/tests/Android.bp libs/binder/tests/fuzzers/Android.bp libs/binderdebug/Android.bp libs/binderdebug/tests/Android.bp libs/binderthreadstate/1.0/Android.bp libs/binderthreadstate/Android.bp libs/bufferqueueconverter/Android.bp libs/cputimeinstate/Android.bp libs/diskusage/Android.bp libs/dumputils/Android.bp libs/fakeservicemanager/Android.bp libs/ftl/Android.bp libs/gralloc/types/Android.bp libs/gralloc/types/fuzzer/Android.bp libs/gralloc/types/tests/Android.bp libs/graphicsenv/Android.bp libs/gui/Android.bp libs/gui/sysprop/Android.bp libs/gui/tests/Android.bp libs/incidentcompanion/Android.bp libs/input/Android.bp libs/input/tests/Android.bp libs/math/Android.bp libs/math/tests/Android.bp libs/nativebase/Android.bp libs/nativedisplay/Android.bp libs/nativewindow/Android.bp libs/nativewindow/tests/Android.bp libs/renderengine/Android.bp libs/renderengine/tests/Android.bp libs/sensor/Android.bp libs/sensor/tests/Android.bp libs/sensorprivacy/Android.bp libs/ui/Android.bp libs/ui/tests/Android.bp libs/ui/tools/Android.bp libs/vibrator/Android.bp libs/vibrator/fuzzer/Android.bp libs/vr/libbroadcastring/Android.bp libs/vr/libbufferhub/Android.bp libs/vr/libbufferhubqueue/Android.bp libs/vr/libbufferhubqueue/benchmarks/Android.bp libs/vr/libbufferhubqueue/tests/Android.bp libs/vr/libdisplay/Android.bp libs/vr/libdvr/Android.bp libs/vr/libdvr/tests/Android.bp libs/vr/libdvrcommon/Android.bp libs/vr/libpdx/Android.bp libs/vr/libpdx/fuzz/Android.bp libs/vr/libpdx_default_transport/Android.bp libs/vr/libpdx_uds/Android.bp libs/vr/libperformance/Android.bp libs/vr/libvr_manager/Android.bp libs/vr/libvrflinger/Android.bp libs/vr/libvrflinger/tests/Android.bp libs/vr/libvrsensor/Android.bp opengl/libs/Android.bp opengl/tests/EGLTest/Android.bp opengl/tests/configdump/Android.bp opengl/tests/fillrate/Android.bp opengl/tests/filter/Android.bp opengl/tests/finish/Android.bp opengl/tests/gl2_basic/Android.bp opengl/tests/gl2_cameraeye/Android.bp opengl/tests/gl2_copyTexImage/Android.bp opengl/tests/gl2_java/Android.bp opengl/tests/gl2_jni/Android.bp opengl/tests/gl2_yuvtex/Android.bp opengl/tests/gl_basic/Android.bp opengl/tests/gl_jni/Android.bp opengl/tests/gl_perf/Android.bp opengl/tests/gl_perfapp/Android.bp opengl/tests/gl_yuvtex/Android.bp opengl/tests/gldual/Android.bp opengl/tests/gralloc/Android.bp opengl/tests/hwc/Android.bp opengl/tests/lib/Android.bp opengl/tests/lighting1709/Android.bp opengl/tests/linetex/Android.bp opengl/tests/swapinterval/Android.bp opengl/tests/testFramerate/Android.bp opengl/tests/testLatency/Android.bp opengl/tests/testPauseResume/Android.bp opengl/tests/testViewport/Android.bp opengl/tests/textures/Android.bp opengl/tests/tritex/Android.bp services/audiomanager/Android.bp services/automotive/display/Android.bp services/batteryservice/Android.bp services/displayservice/Android.bp services/gpuservice/Android.bp services/gpuservice/bpfprogs/Android.bp services/gpuservice/gpumem/Android.bp services/gpuservice/gpustats/Android.bp services/gpuservice/tests/unittests/Android.bp services/gpuservice/tracing/Android.bp services/inputflinger/Android.bp services/inputflinger/benchmarks/Android.bp services/inputflinger/dispatcher/Android.bp services/inputflinger/host/Android.bp services/inputflinger/reader/Android.bp services/inputflinger/reporter/Android.bp services/inputflinger/tests/Android.bp services/powermanager/Android.bp services/powermanager/benchmarks/Android.bp services/powermanager/tests/Android.bp services/schedulerservice/Android.bp services/sensorservice/Android.bp services/sensorservice/hidl/Android.bp services/sensorservice/tests/Android.bp services/stats/Android.bp services/surfaceflinger/Android.bp services/surfaceflinger/CompositionEngine/Android.bp services/surfaceflinger/FrameTimeline/Android.bp services/surfaceflinger/TimeStats/Android.bp services/surfaceflinger/TimeStats/timestatsproto/Android.bp services/surfaceflinger/layerproto/Android.bp services/surfaceflinger/sysprop/Android.bp services/surfaceflinger/tests/Android.bp services/surfaceflinger/tests/fakehwc/Android.bp services/surfaceflinger/tests/unittests/Android.bp services/surfaceflinger/tests/vsync/Android.bp services/surfaceflinger/tests/waitforvsync/Android.bp services/utils/Android.bp services/utils/tests/Android.bp services/vibratorservice/Android.bp services/vibratorservice/benchmarks/Android.bp services/vibratorservice/test/Android.bp services/vr/bufferhubd/Android.bp services/vr/hardware_composer/Android.bp services/vr/hardware_composer/aidl/Android.bp services/vr/virtual_touchpad/Android.bp vulkan/libvulkan/Android.bp vulkan/nulldrv/Android.bp vulkan/vkjson/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD SPDX-license-identifier-MIT SPDX-license-identifier-Unicode-DFS legacy_notice to: Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD SPDX-license-identifier-MIT legacy_notice to: opengl/Android.bp opengl/tests/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD legacy_notice to: libs/vr/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-MIT to: headers/Android.bp services/vr/Android.bp vulkan/Android.bp Added SPDX-license-identifier-BSD SPDX-license-identifier-MIT legacy_notice to: opengl/tests/angeles/Android.bp Added SPDX-license-identifier-MIT to: services/vr/performanced/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Icd397e38ca313ae4886bd92afa927d4633a75c4f
2021-02-25Revert "[LSC] Add LOCAL_LICENSE_KINDS to frameworks/native" Bob Badour
This reverts commit f84491a4874f20653104f47622d7215521310526. This reverts commit 2e6718529b3f3b55d310db6738e71255e9b74dee. Change-Id: I1a9655335b856d6909b27929e00c0bde3186d893
2021-02-17[LSC] Add LOCAL_LICENSE_KINDS to frameworks/native Bob Badour
Added SPDX-license-identifier-Apache-2.0 to: cmds/atrace/Android.bp cmds/bugreport/Android.bp cmds/bugreportz/Android.bp cmds/cmd/Android.bp cmds/dumpstate/Android.bp cmds/dumpsys/Android.bp cmds/dumpsys/tests/Android.bp cmds/flatland/Android.mk cmds/idlcli/Android.bp cmds/installd/Android.bp cmds/installd/tests/Android.bp cmds/ip-up-vpn/Android.mk cmds/lshal/Android.bp cmds/lshal/libprocpartition/Android.bp cmds/rawbu/Android.bp cmds/rss_hwm_reset/Android.bp cmds/service/Android.bp cmds/servicemanager/Android.bp cmds/surfacereplayer/Android.bp cmds/surfacereplayer/replayer/Android.bp libs/adbd_auth/Android.bp libs/android_runtime_lazy/Android.bp libs/arect/Android.bp libs/binder/Android.bp libs/binder/ndk/Android.bp libs/binder/ndk/tests/Android.bp libs/binder/parcel_fuzzer/Android.bp libs/binder/rust/Android.bp libs/binder/rust/tests/Android.bp libs/binder/tests/Android.bp libs/binder/tests/fuzzers/Android.bp libs/binderdebug/Android.bp libs/binderdebug/tests/Android.bp libs/binderthreadstate/1.0/Android.bp libs/binderthreadstate/Android.bp libs/bufferqueueconverter/Android.bp libs/cputimeinstate/Android.bp libs/diskusage/Android.bp libs/dumputils/Android.bp libs/fakeservicemanager/Android.bp libs/gralloc/types/Android.bp libs/gralloc/types/fuzzer/Android.bp libs/gralloc/types/tests/Android.bp libs/graphicsenv/Android.bp libs/gui/Android.bp libs/gui/sysprop/Android.bp libs/gui/tests/Android.bp libs/incidentcompanion/Android.bp libs/input/Android.bp libs/input/tests/Android.bp libs/math/Android.bp libs/math/tests/Android.bp libs/nativebase/Android.bp libs/nativedisplay/Android.bp libs/nativewindow/Android.bp libs/nativewindow/tests/Android.bp libs/renderengine/Android.bp libs/renderengine/tests/Android.bp libs/sensor/Android.bp libs/sensor/tests/Android.bp libs/sensorprivacy/Android.bp libs/ui/Android.bp libs/ui/tests/Android.bp libs/ui/tools/Android.bp libs/vibrator/Android.bp libs/vibrator/fuzzer/Android.bp libs/vr/libpdx/Android.bp libs/vr/libpdx/fuzz/Android.bp libs/vr/libvr_manager/Android.bp opengl/libs/Android.bp opengl/tests/EGLTest/Android.bp opengl/tests/fillrate/Android.bp opengl/tests/finish/Android.bp opengl/tests/gl2_basic/Android.bp opengl/tests/gl2_cameraeye/Android.bp opengl/tests/gl2_copyTexImage/Android.bp opengl/tests/gl2_java/Android.bp opengl/tests/gl2_jni/Android.bp opengl/tests/gl2_yuvtex/Android.bp opengl/tests/gl_jni/Android.bp opengl/tests/gl_perf/Android.bp opengl/tests/gl_perfapp/Android.bp opengl/tests/gl_yuvtex/Android.bp opengl/tests/gldual/Android.bp opengl/tests/gralloc/Android.bp opengl/tests/hwc/Android.bp opengl/tests/lib/Android.bp opengl/tests/lighting1709/Android.bp opengl/tests/linetex/Android.bp opengl/tests/swapinterval/Android.bp opengl/tests/testFramerate/Android.bp opengl/tests/testLatency/Android.bp opengl/tests/testPauseResume/Android.bp opengl/tests/testViewport/Android.bp opengl/tests/textures/Android.bp services/audiomanager/Android.bp services/automotive/display/Android.bp services/batteryservice/Android.bp services/displayservice/Android.bp services/gpuservice/Android.bp services/gpuservice/bpfprogs/Android.bp services/gpuservice/gpumem/Android.bp services/gpuservice/gpustats/Android.bp services/gpuservice/tests/unittests/Android.bp services/gpuservice/tracing/Android.bp services/inputflinger/Android.bp services/inputflinger/benchmarks/Android.bp services/inputflinger/dispatcher/Android.bp services/inputflinger/host/Android.bp services/inputflinger/reader/Android.bp services/inputflinger/reporter/Android.bp services/inputflinger/tests/Android.bp services/inputflinger/tests/fuzzers/Android.bp services/powermanager/Android.bp services/schedulerservice/Android.bp services/sensorservice/Android.bp services/sensorservice/hidl/Android.bp services/sensorservice/tests/Android.bp services/stats/Android.bp services/surfaceflinger/Android.bp services/surfaceflinger/CompositionEngine/Android.bp services/surfaceflinger/TimeStats/Android.bp services/surfaceflinger/TimeStats/timestatsproto/Android.bp services/surfaceflinger/layerproto/Android.bp services/surfaceflinger/sysprop/Android.bp services/surfaceflinger/tests/Android.bp services/surfaceflinger/tests/fakehwc/Android.bp services/surfaceflinger/tests/unittests/Android.bp services/surfaceflinger/tests/vsync/Android.bp services/surfaceflinger/tests/waitforvsync/Android.bp services/utils/Android.bp services/utils/tests/Android.bp services/vr/hardware_composer/Android.bp services/vr/virtual_touchpad/Android.bp vulkan/libvulkan/Android.bp vulkan/nulldrv/Android.bp vulkan/vkjson/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD SPDX-license-identifier-MIT SPDX-license-identifier-Unicode-DFS legacy_notice to: Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD SPDX-license-identifier-MIT legacy_notice to: opengl/Android.bp opengl/tests/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD legacy_notice to: libs/vr/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-MIT to: headers/Android.bp services/vr/Android.bp vulkan/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-MIT SPDX-license-identifier-Unicode-DFS to: cmds/surfacereplayer/proto/Android.bp libs/vr/libbroadcastring/Android.bp libs/vr/libbufferhub/Android.bp libs/vr/libbufferhubqueue/Android.bp libs/vr/libbufferhubqueue/benchmarks/Android.bp libs/vr/libbufferhubqueue/tests/Android.bp libs/vr/libdisplay/Android.bp libs/vr/libdvr/Android.bp libs/vr/libdvr/tests/Android.bp libs/vr/libdvrcommon/Android.bp libs/vr/libpdx_default_transport/Android.bp libs/vr/libpdx_uds/Android.bp libs/vr/libperformance/Android.bp libs/vr/libvrflinger/Android.bp libs/vr/libvrflinger/tests/Android.bp libs/vr/libvrsensor/Android.bp opengl/tests/configdump/Android.bp opengl/tests/filter/Android.bp opengl/tests/gl_basic/Android.bp opengl/tests/tritex/Android.bp services/vr/bufferhubd/Android.bp services/vr/hardware_composer/aidl/Android.bp Added SPDX-license-identifier-BSD SPDX-license-identifier-MIT legacy_notice to: opengl/tests/angeles/Android.bp Added SPDX-license-identifier-MIT to: services/vr/performanced/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Ib1de8cd7b87446de45d79db15cd90b93a591846d Merged-in: Ib1de8cd7b87446de45d79db15cd90b93a591846d
2020-11-17Move libdvr.google into system_ext Roman Kiryanov
it is not a part of the system according to generic_system.mk. Bug: 173538619 Bug: 167689596 Test: presubmit Signed-off-by: Roman Kiryanov <rkir@google.com> Change-Id: Ia9fa2dd8feba10056c4b88b3bfb1e386c58f7a54
2020-11-17Move pdx_tool into system_ext Roman Kiryanov
it is not a part of the system according to generic_system.mk. Bug: 173538619 Bug: 167689596 Test: presubmit Signed-off-by: Roman Kiryanov <rkir@google.com> Change-Id: I06d22d1086db330a4e56ae2f0939c4ef04683e82
2020-11-02Merge "Add fuzz tests for deserialzing fuzzed data" Branden Archer
2020-10-31Revert "Enable serialization_fuzzer to be built for the host" Yifan Hong
This reverts commit 61c56e8674c3826a946449ecb10b3bcad87038c6. Reason for revert: break mac builds because libbinder cannot be built on host. Bug: 172023026 Change-Id: I3ed529b032ae58e0d6c150c0c6e1b0a98f066882 Test: forrest
2020-10-25Add fuzz tests for deserialzing fuzzed data Branden Archer
The existing tests in this fuzzer take fuzzed data, serialize it into something, then deserialize the result. These new tests take the fuzzed data and pass it directly to the deserializing code. Bug: 170243740 Test: Builds and runs Change-Id: I0a7a3a8230b545feaef46628b8a1883b8e32f27a
2020-10-25Enable serialization_fuzzer to be built for the host Branden Archer
Bug: 170243740 Test: Builds and runs on host Change-Id: Ic547e18baf92150877763a8298ea56d6719b6744
2020-10-25Move serialize/deserialize fuzzing to separate function Branden Archer
In the future there will be other fuzzing handled in this fuzzer. Moving the existing code to a separate function to make adding new fuzzing simpler. Bug: 170243740 Test: Builds and runs Change-Id: I7b0f6b70f6d3855d67c0230b8ec78a16251c50c8
2020-08-29Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709) Xin Li
Bug: 166295507 Merged-In: I70ea776b8589ac3a7982c710c5c8b2941d86e55b Change-Id: Ic1d535e9d2d6f80d95215240dbdb024995b045f8
2020-08-06Remove ro.boot.vr references Inseob Kim
Exempt-From-Owner-Approval: cherry pick Bug: 161659925 Test: boot Change-Id: I0849c52d946d629db8dad3b52ed44c2c26b18d9b Merged-In: I0849c52d946d629db8dad3b52ed44c2c26b18d9b (cherry picked from commit c8da8ebfa432976f56999d054c9256b1a1a2f6e6)
2020-07-14Merge "Adding Message and Serialization fuzzers to libpdx" am: 533d368808 ↵ Hamzeh Zawawy
am: bd9017b97d Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1356582 Change-Id: Ic05570d8a044234ecbdcc16ef73b108c02f1ad90
2020-07-06Adding Message and Serialization fuzzers to libpdx Corbin Souffrant
Adds two new fuzzers to libpdx for the Message and Serialization functionalities. Test: Ran on a Pixel3a device for about 1 million iterations each, getting about 3% code coverage between 1-10k iterations per second. Signed-off-by: Corbin Souffrant <corbin.souffrant@leviathansecurity.com> Change-Id: I33cc67f71763bcbe2ee293964a693661e169c427
2020-07-01Merge "Fix and reenable fuzzer." am: 5c3748e776 am: e58c2c57e8 Hamzeh Zawawy
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1349125 Change-Id: Ibaf980e04bfceaa05255b4564a9f9676a4e0a4b9
2020-06-25Fix and reenable fuzzer. Corbin Souffrant
Added cutils dependency so that line coverage will successfully build for the fuzzer. Test: Ran the following build locally: NATIVE_COVERAGE=true NATIVE_LINE_COVERAGE=true COVERAGE_PATHS="*" make Signed-off-by: Corbin Souffrant <corbin.souffrant@leviathansecurity.com> Change-Id: Id5fbcdc1f03f9911b1363dd279145eb1734a8ec9
2020-06-18Merge "disable libpdx_fuzz" am: 130f0696f8 am: 4aed55c807 Treehugger Robot
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1343822 Change-Id: I4d1910035ca6711afe15b21109d5bb73a3414356
2020-06-18disable libpdx_fuzz Kris Alder
This currently breaks builds with line coverage enabled. We need to disable it until the problem can be fixed. Test: NATIVE_COVERAGE=true NATIVE_LINE_COVERAGE=true COVERAGE_PATHS="*" make haiku-line-coverage Change-Id: I9311063f517cb5fdeb34d065a040c06bf4dc594f
2020-06-11Merge "Add a fuzzer for libpdx ServiceDispatcher class." am: 53fc81158a am: ↵ Hamzeh Zawawy
b7362ca30e Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1325360 Change-Id: I2a7d32d3a74c63cefdef7839aab85e41043162d5
2020-06-11Merge "Add a fuzzer for libpdx ServiceDispatcher class." Hamzeh Zawawy
2020-06-08Merge "Set min_sdk_version to be part of mainline modules" am: ee959e950b ↵ Jooyung Han
am: b78c851de4 Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1323982 Change-Id: Ifff8af337a075422e479c90af179856f8f2ac15a
2020-06-05Add a fuzzer for libpdx ServiceDispatcher class. Corbin Souffrant
Adds a fuzzer for the libpdx ServiceDispatcher class. Test: Ran fuzzers for a couple million iterations on a Pixel3a device. This ran at about 600 executions per second, resulting in 2% coverage for the entire memory space, however we believe it is a much higher percentage of libpdx coverage alone. Signed-off-by: Corbin Souffrant <corbin.souffrant@leviathansecurity.com> Change-Id: Ie5d7ea76d182843e15dcaca4639c54656652a238
2020-06-05Set min_sdk_version to be part of mainline modules Jooyung Han
Modules contributing mainline modules (APK/APEX) should set min_sdk_version as well as apex_available. For now setting min_sdk_version doesn't change build outputs. But build-time checks will be added soon. Bug: 152655956 Test: m Change-Id: I6818cdedfca4a3c8bd503b880db9240de7be757d
2020-05-01Merge "Set min_sdk_version to be part of mainline modules" am: ad9387dd8a ↵ Jooyung Han
am: 84ae3bfe95 Change-Id: Iae9e5ffdd80514e1c43f445d998fe43a05bcd261
2020-04-27Change to using sysprop for vrflinger_test Sundong Ahn
The configstore service was deprecated. So change to use sysprop instead of configstore. Bug: 124531214 Test: m -j Change-Id: I5367b5715c797facd37736eee84651addbaa230d Merged-In: I5367b5715c797facd37736eee84651addbaa230d (cherry picked from commit 8e852f5231d34b80a19aa5cceb0c8fec06fb3236)
2020-04-22Set min_sdk_version to be part of mainline modules Jooyung Han
Modules contributing mainline modules (APK/APEX) should set min_sdk_version as well as apex_available. For now setting min_sdk_version doesn't change build outputs. But build-time checks will be added soon. Bug: 152655956 Test: m Change-Id: Ifea5ed988fad2e0d29271e6e9cbf0e12100b37d9
2020-04-21Fix bugprone-use-after-move warnings Chih-Hung Hsieh
Bug: 150783499 Test: TreeHugger Change-Id: I930cbe4b421913a58d7886fbf845a77f94387ff5 Merged-In: I930cbe4b421913a58d7886fbf845a77f94387ff5
2020-03-06Fix bugprone-use-after-move warnings Chih-Hung Hsieh
Bug: 150783499 Test: WITH_TIDY=1 make Change-Id: I930cbe4b421913a58d7886fbf845a77f94387ff5
2020-01-13Plumb getClientTargetProperty API. Peiyong Lin
getClientTargetProperty will give hardware composer the ability to request some properties of the client target that hardware composer wants. Prior to this API, the client will does its best to produce the client target of which the properties are pretty much fixed. This patch implements the parsing of SET_CLIENT_TARGET_PROPERTY command in order to get the client target property from hardware composer. BUG: b/145968912 Test: m -j32 Change-Id: I3e738b2617e4472c7876aa283c0964e2240b144b
2020-01-09SurfaceFlinger: plumb composer 2.4 onSeamlessPossible Ady Abraham
Plumb onSeamlessPossible callback to SurfaceFlinger. Test: rev up composer to 2.4 Bug: 141329414 Change-Id: I2166b8ea066002c76781aacbcc985f85f7c255a8
2019-12-19Merge "Link libvndksupport dynamically instead of statically." am: ↵ Automerger Merge Worker
185ce28850 am: f06fa5ff30 am: af5c1aaef7 Change-Id: I6386d1e11d9eb0a07f386ca87a5b15781f23edc8
2019-12-19Merge "Add patplunkett@google.com to vr OWNERS" am: e52810eae0 am: ↵ Automerger Merge Worker
b7d1c8868c am: 3bd0373422 Change-Id: I1cf416a0e4b2f387b83beae53af48c05f18e7221
2019-12-19Merge "Link libvndksupport dynamically instead of statically." Peter Collingbourne
2019-12-18Add patplunkett@google.com to vr OWNERS Pat Plunkett
Test: N/A Change-Id: I9a5dd81b4c476bfc9af409a75a2250dafbdec0d1
2019-12-17Link libvndksupport dynamically instead of statically. Peter Collingbourne
Bug: 146456667 Change-Id: I94cfefaac4fbd6c5914af151399a5be35c582d7b
2019-11-20SurfaceFlinger: add composer 2.4 vsync api to DisplayHardware Ady Abraham
Add the new functions to DisplayHardware wrappers. The following CLs will do something useful with the new functionality. Test: rev up composer to 2.4 and test refresh rate switching Bug: 141329414 Change-Id: Iaf98d0abc56dd393845b16c87dd92b0bad582c0f