summaryrefslogtreecommitdiff
path: root/libs/vr
Commit message (Collapse)AuthorAgeFilesLines
* vr: avoid missing std::char_traits<const T>Ryan Prichard2024-02-121-2/+2
| | | | | | | | | | | | | | | | | | | 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
* Remove libbufferhubqueue, libdisplay and dependenciesPirama Arumuga Nainar2022-12-0129-4745/+0
| | | | | | | | | | | 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
* Remove bufferhub support from libgui.Peter Collingbourne2022-09-3025-5576/+0
| | | | | | | | | | | | 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
* Merge "Deleted clang property in Android.bp files" am: f67b6f098d am: fce5dc9847Alix Espino2022-06-025-10/+0
|\ | | | | | | | | | | | | 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>
| * Deleted clang property in Android.bp filesAlix2022-05-135-10/+0
| | | | | | | | | | | | | | | | Deleted deprecated clang property in Android.bp files using bpmodify. Bug: 208980553 Test: treehugger Change-Id: Iae82728bd6d108fadf9872ad22cdc57aabceb3bb
* | Merge "autogenerated reformatting by bpfmt" am: 028182d974 am: a9c64704c7Alix Espino2022-05-162-4/+7
|\| | | | | | | | | | | | | 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>
| * autogenerated reformatting by bpfmtAlix2022-05-132-4/+7
| | | | | | | | | | | | | | Bug: 208980553 Test: treehugger Change-Id: I659ff25af67a7aa00fe54678b79441b05c1ee32d
* | Merge "Deleted clang property in Android.bp files" am: 06fc13cd99 am: ↵Alix Espino2022-04-201-1/+1
|\| | | | | | | | | | | | | | | | | 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>
| * Deleted clang property in Android.bp filesAlix2022-04-181-1/+1
| | | | | | | | | | | | | | | | | | Deleted deprecated clang property in Android.bp files using bpmodify. Bug: 208980553 Test: treehugger Change-Id: Id1d1bd76fcd9221b7ac720b001a98de080629d36
| * Add missing ThreadDefs.h headerAndrei Homescu2022-03-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Remove libvrflingerAdy Abraham2021-10-1919-4875/+0
| | | | | | | | | | | | | | Not used anymore. Test: build Change-Id: If4c6494d1bf3a32516ada3670ee449e2a047c7ed
* | SF: split ComposerHal to Hidl/Aidl filesAdy Abraham2021-10-191-1/+1
| | | | | | | | | | | | Bug: 198690444 Test: build Change-Id: I6b39e58f53065a04b4e6bb5426ae329b25a1dadb
* | SF: use AIDL composerAdy Abraham2021-10-191-1/+5
|/ | | | | | | | | Open and use the new AIDL composer if supported by the device Bug: 198690444 Test: Build Change-Id: I190170913b2adc980a23b0916817b74777be7c81
* [LSC] Add LOCAL_LICENSE_KINDS to frameworks/nativeBob Badour2021-02-2519-2/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Revert "[LSC] Add LOCAL_LICENSE_KINDS to frameworks/native"Bob Badour2021-02-2519-203/+2
| | | | | | | | This reverts commit f84491a4874f20653104f47622d7215521310526. This reverts commit 2e6718529b3f3b55d310db6738e71255e9b74dee. Change-Id: I1a9655335b856d6909b27929e00c0bde3186d893
* [LSC] Add LOCAL_LICENSE_KINDS to frameworks/nativeBob Badour2021-02-1719-2/+203
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Move libdvr.google into system_extRoman Kiryanov2020-11-171-0/+1
| | | | | | | | | | | 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
* Move pdx_tool into system_extRoman Kiryanov2020-11-171-0/+1
| | | | | | | | | | | 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
* Merge "Add fuzz tests for deserialzing fuzzed data"Branden Archer2020-11-021-0/+173
|\
| * Add fuzz tests for deserialzing fuzzed dataBranden Archer2020-10-251-0/+173
| | | | | | | | | | | | | | | | | | | | | | 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
* | Revert "Enable serialization_fuzzer to be built for the host"Yifan Hong2020-10-312-3/+0
|/ | | | | | | | | | | This reverts commit 61c56e8674c3826a946449ecb10b3bcad87038c6. Reason for revert: break mac builds because libbinder cannot be built on host. Bug: 172023026 Change-Id: I3ed529b032ae58e0d6c150c0c6e1b0a98f066882 Test: forrest
* Enable serialization_fuzzer to be built for the hostBranden Archer2020-10-252-0/+3
| | | | | | Bug: 170243740 Test: Builds and runs on host Change-Id: Ic547e18baf92150877763a8298ea56d6719b6744
* Move serialize/deserialize fuzzing to separate functionBranden Archer2020-10-251-1/+5
| | | | | | | | | | 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
* Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)Xin Li2020-08-2919-78/+135
|\ | | | | | | | | | | Bug: 166295507 Merged-In: I70ea776b8589ac3a7982c710c5c8b2941d86e55b Change-Id: Ic1d535e9d2d6f80d95215240dbdb024995b045f8
| * Merge "Adding Message and Serialization fuzzers to libpdx" am: 533d368808 ↵Hamzeh Zawawy2020-07-143-2/+330
| |\ | | | | | | | | | | | | | | | | | | | | | am: bd9017b97d Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1356582 Change-Id: Ic05570d8a044234ecbdcc16ef73b108c02f1ad90
| * \ Merge "Fix and reenable fuzzer." am: 5c3748e776 am: e58c2c57e8Hamzeh Zawawy2020-07-011-4/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1349125 Change-Id: Ibaf980e04bfceaa05255b4564a9f9676a4e0a4b9
| * \ \ Merge "disable libpdx_fuzz" am: 130f0696f8 am: 4aed55c807Treehugger Robot2020-06-181-0/+4
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1343822 Change-Id: I4d1910035ca6711afe15b21109d5bb73a3414356
| * \ \ \ Merge "Add a fuzzer for libpdx ServiceDispatcher class." am: 53fc81158a am: ↵Hamzeh Zawawy2020-06-113-0/+387
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b7362ca30e Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1325360 Change-Id: I2a7d32d3a74c63cefdef7839aab85e41043162d5
| * \ \ \ \ Merge "Set min_sdk_version to be part of mainline modules" am: ee959e950b ↵Jooyung Han2020-06-082-0/+12
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: b78c851de4 Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1323982 Change-Id: Ifff8af337a075422e479c90af179856f8f2ac15a
| * \ \ \ \ \ Merge "Set min_sdk_version to be part of mainline modules" am: ad9387dd8a ↵Jooyung Han2020-05-011-0/+1
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 84ae3bfe95 Change-Id: Iae9e5ffdd80514e1c43f445d998fe43a05bcd261
| * | | | | | | Change to using sysprop for vrflinger_testSundong Ahn2020-04-272-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * | | | | | | Fix bugprone-use-after-move warningsChih-Hung Hsieh2020-04-211-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 150783499 Test: TreeHugger Change-Id: I930cbe4b421913a58d7886fbf845a77f94387ff5 Merged-In: I930cbe4b421913a58d7886fbf845a77f94387ff5
| * | | | | | | Plumb getClientTargetProperty API.Peiyong Lin2020-01-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | | | SurfaceFlinger: plumb composer 2.4 onSeamlessPossibleAdy Abraham2020-01-092-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Plumb onSeamlessPossible callback to SurfaceFlinger. Test: rev up composer to 2.4 Bug: 141329414 Change-Id: I2166b8ea066002c76781aacbcc985f85f7c255a8
| * | | | | | | Merge "Link libvndksupport dynamically instead of statically." am: ↵Automerger Merge Worker2019-12-191-0/+2
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 185ce28850 am: f06fa5ff30 am: af5c1aaef7 Change-Id: I6386d1e11d9eb0a07f386ca87a5b15781f23edc8
| * \ \ \ \ \ \ \ Merge "Add patplunkett@google.com to vr OWNERS" am: e52810eae0 am: ↵Automerger Merge Worker2019-12-191-1/+1
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b7d1c8868c am: 3bd0373422 Change-Id: I1cf416a0e4b2f387b83beae53af48c05f18e7221
| * | | | | | | | | SurfaceFlinger: add composer 2.4 vsync api to DisplayHardwareAdy Abraham2019-11-202-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | | | | | Merge "Remove unnecessary link library" am: f5e2c5d0f8 am: bbeb7f3a1aMarco Nelissen2019-11-111-1/+0
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 61bd6224a7 Change-Id: Ic4452bef526aa133eaf292d22a098e84135bfadd
| * \ \ \ \ \ \ \ \ \ Merge "Remove unnecessary link libraries from libbufferhub" am: b611217c46 ↵Marco Nelissen2019-10-311-2/+0
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: e48f92aa2f am: 4129b8b543 Change-Id: Id67e9823b9ae08ba2635e5051cc2638bc2c64f8f
| * | | | | | | | | | | SF: Upgrade to Composer HAL 2.4Dominik Laskowski2019-09-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add plumbing for getDisplayCapabilities and getDisplayConnectionType. The only functional change is that getDisplayType is no longer called on hotplug. Bug: 135929065 Bug: 134771872 Test: Rev HAL to 2.4 on crosshatch Test: libsurfaceflinger_unittest Change-Id: Ib2c0383397acef9cde860dd64182213ae7cbb286
| * | | | | | | | | | | EDID support for external display hotplugmamik2019-09-134-22/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The hardware_composer caches the edid when a new hotplug event fires (connected and disconnected). The display services uses this cached edid when the edid is requested. Bug: 141007548 Test: Manual, ran on mtp device with wave optics plugged in and unplugged and verified edid with: "adb shell dumpsys SurfaceFlinger --display-id" Change-Id: I4556e1d8a3f8677b1d9301d9afbc40d514c86e27
| * | | | | | | | | | | Merge "Remove libhwbinder/libhidltransport deps" am: 0b2cf30522 am: ↵Steven Moreland2019-09-091-1/+0
| |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b19d15b55c am: f425ab1e9c am: d65d71b076 Change-Id: Ia6e27a36a34cc247929866f0566b83f6471cc090
| * \ \ \ \ \ \ \ \ \ \ \ Merge "Stop relying on kernel binder headers." am: 8f82e1240f am: b358d73c43 ↵Steven Moreland2019-09-081-2/+2
| |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 86071b334c am: 53dc67599a Change-Id: I47afd5e83bb2ebfaec1eed19c06b1b14da225687
| * \ \ \ \ \ \ \ \ \ \ \ \ Merge "Update external display property in hardware_composer."Mike Ma2019-09-061-14/+3
| |\ \ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | Update external display property in hardware_composer.mamik2019-09-031-14/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change removes the "persist.vr.use_external_display" property and updates the code path to always allow external displays. Bug: 140287770 Test: Manual, ran on device and verified that it works Change-Id: I8bedeb18c93b2a9dc3815177aa9a6a897b63c81e
| * | | | | | | | | | | | | | Rev up vr_hwc to composer@2.3mamik2019-09-036-2/+23
| |/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix for issue: "[GSI XR] VrFlinger doesn't work on GSI/MTP845." The flow that causes the issue is: SurfaceFlinger gets an hotplug event and adds a display id of the internal display (For instance, display id of 19260371107735809). This display id gets added to the HWComposer through the hotplug event. When updateVrFlinger() is eventually called in SurfaceFlinger, a new HWComposer is created which has no display ids being tracked in HWComposer. Another hotplug event starts from vr_hwc.cpp, which has a display id of 0. SurfaceFlinger receives this hot plug event so SurfaceFlinger has an display ids of [19260371107735809, 0]. HWComposer only has display id 0. Next processDisplayChangesLocked() is called in SurfaceFlinger and a new FramebufferSurface is created with display id 19260371107735809. In the FramebufferSurface it tries to call getActiveConfig() in HWComposer with the display id of 19260371107735809, which HWComposer does not know about. This results in a crash. The display id is created from the edid data and display port. The fix is to have the vr_hwc return the same edid data and display port as the internal display. This will make the display id originating from vr_hwc be the same as the internal display id. SurfaceFlinger will now only have the display id of 19260371107735809, since it does not overwrite the same display id on the hotplug events. HWComposer will only have display id of 19260371107735809. The SurfaceFlinger and HwComposer display ids match the code works correctly now. This is accomplished by creating a version 2.0 of the vr_composer_client and having vr_hwc inherit from version 2.3 instead of version 2.1 of the composer hal. These changes are required to be able to pass through the edid data. The display port and edid data is retrieved by vr_hwc via the display_client. The other required changes needed for this to work is: ag/9215156 ag/9226524 Bug: 137325030 Bug: 138938154 Bug: 137448042 Test: manual - ran through modified unit test to make sure the edid data was returned on the MTP 845. Change-Id: I1c54e6cfda348260cf1013d6dca0dda58acb3b3c
| * | | | | | | | | | | | | Updating ConfigurationDataGet api to include edid data.mamik2019-07-314-1/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 138398637 Test: manual - ran through modified unit test to make sure the edid data was returned on the MTP 845. Change-Id: I171cf90d005a09a9cb6ee1081efee653cce47c4a
| * | | | | | | | | | | | | Merge "libbufferhubqueue: remove unused deps" am: 6955914221 am: 8909e3ab34 ↵Steven Moreland2019-07-121-2/+0
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: a2a145865b am: cf0575a2dd Change-Id: I4d3be3576b211e5818c2728684d10152795f46ee
| * | | | | | | | | | | | | | Reduce debug level log from libbufferhubTianyu Jiang2019-05-222-28/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Logs that indicates possible racing between consumers and producers of a buffer are removed because they are expected to race each other. Log that indicates possible racing in bufferhubd is moved from info level to verbose level. Test: vega runs without libbufferhub log spam Bug: 129544259 Change-Id: I9307602797ff9c1bbc774264682a83bf4ddd0240 (cherry picked from commit b9d077f9be584114c39ac8417452cd20817c0236)
* | | | | | | | | | | | | | | Remove ro.boot.vr referencesInseob Kim2020-08-063-80/+5
| |_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Exempt-From-Owner-Approval: cherry pick Bug: 161659925 Test: boot Change-Id: I0849c52d946d629db8dad3b52ed44c2c26b18d9b Merged-In: I0849c52d946d629db8dad3b52ed44c2c26b18d9b (cherry picked from commit c8da8ebfa432976f56999d054c9256b1a1a2f6e6)