| Age | Commit message (Collapse) | Author |
|
These services were last present on the Pixel 3.
Bug: 234559097
Test: presubmit
Flag: EXEMPT dead code removal
Change-Id: I7bac2eeeb77bea8c048fcbe5f9ed872a039edc9c
|
|
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
|
|
Deleted deprecated clang property in Android.bp files using bpmodify.
Bug: 208980553
Test: treehugger
Change-Id: Iae82728bd6d108fadf9872ad22cdc57aabceb3bb
|
|
Bug: 208980553
Test: treehugger
Change-Id: I659ff25af67a7aa00fe54678b79441b05c1ee32d
|
|
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: I61e7702e6b36f218bebc7c87853001861a92741e
Merged-in: I9d9d5fb32033c08cfb517f6cfc0ecb4cf1eee2fe
Merged-in: I10f45547b1161e3768a134b38bf40d77a3a82f09
|
|
|
|
This reverts commit 61c56e8674c3826a946449ecb10b3bcad87038c6.
Reason for revert: break mac builds because libbinder cannot
be built on host.
Bug: 172023026
Change-Id: I3ed529b032ae58e0d6c150c0c6e1b0a98f066882
Test: forrest
|
|
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
|
|
Bug: 170243740
Test: Builds and runs on host
Change-Id: Ic547e18baf92150877763a8298ea56d6719b6744
|
|
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
|
|
Bug: 166295507
Merged-In: I70ea776b8589ac3a7982c710c5c8b2941d86e55b
Change-Id: Ic1d535e9d2d6f80d95215240dbdb024995b045f8
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
Bug: 146456667
Change-Id: I94cfefaac4fbd6c5914af151399a5be35c582d7b
|
|
dc23aff2d7 am: faec550a58
am: 2521ef0890
Change-Id: I5641a5974159770baef5bbf7a489bbf816f97ca7
|
|
* Add explicit to conversion constructors/operators
* Use NOLINT or NOLINTNEXTLINE to suppress warnings on intended converters
Bug: 28341362
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,google-explicit-constructor
Change-Id: I3631041531e3fb5cbcee246a7e7bb94fb06aa60b
|
|
We were doing the exact same thing regardless of the value of
'handle', so we remove the conditional to avoid future
confusion over this code.
Test: TreeHugger
Bug: 77721476
Change-Id: I65c5362db1e3b13d6cd5a6a58a92932852e5d41d
|
|
am: d48292a132
Change-Id: Ie72ea8beaab990008ebb272ae2018c0a45ebcb25
|
|
Generated by clang-tidy.
Test: m checkbuild
Change-Id: Ia9ba25726c9a7dfee1725ff46cac8a3b2995ab79
|
|
a45f6e6c2f am: d9f469b005
am: 11bc273c39
Change-Id: Id02b5052bb0d20367fad5c9b75b6eba934223787
|
|
Bug: 116614593
Test: build with WITH_TIDY=1
Change-Id: I47101c362198665194f8b3248751caaa7da32505
|
|
am: a9a0e14786 am: 3a7c6099b8
am: f9b3985ce7
Change-Id: If9dce3d89afdec393b94cf619d66a5479cad5efd
|
|
Bug: http://b/110779387
Test: Build taimen with old and new toolchain.
Change-Id: Ia08bb0daab543e7bcdd5b1b6ee7327a777f69e4d
|
|
am: 4411b373be am: 7fa50235f6
am: f485dc723f
Change-Id: Id7aacd0a85ab04fcd0493824dd7b8c6fea1ef6b3
|
|
am: 9f9372bcc1
Change-Id: I0048ea15b8cb949261902a198091fb674ef30d8c
|
|
|
|
These method calls are actually not templated and our next toolchain
will complain that using the template keyword for them is an error.
Bug: http://b/110779387
Test: Builds with next toolchain.
Change-Id: I9c9843a11af17ce83bff407f31c6baa2cd8b5238
|
|
am: 74479e7a2b
Change-Id: Ib2227034fe47817198f4c2bbae4630aaf7b05413
|
|
am: f4d63fe402
Change-Id: Id063c973159364738a7fb6f17a6c8838c4756b9d
|
|
1. Remove the use of ::std::tr1
2. arg in matcher become const.
Test: compile
Change-Id: Iba7cdc568b55f436b695e3fb39c1b0975d983ae8
|
|
1/ Introduce new kOpProducerQueueInsertBuffer operation to insert a
standalone ProducerChannel into a ProducerQueueChannel.
2/ Introduce some PDX security check against channel_id spoofing.
Bug: 69981968
Bug: 79224574
Test: buffer_hub_queue-test, libgui_test
Change-Id: I3c13e2897476c34e6e939756b079fe3440937236
|
|
Following libs are explicitly marked as double_loadable since they are
one of the (indirect) dependencies of LLNDK libraries and at the same
time they themselves are marked as VNDK. Such lib can be double loaded
inside a vendor process.
* libgui and libbinder: due to indirect dependency from libmediandk via
libmediaomx. libmediandk is LLNDK)
* libui: due to dependency from libnativewindow, which is LLNDK.
Also, dependencies from libui and libgui to libpdx_default_transport and
libbufferhubque are cut when building libui and libgui for vendors. This
is primarily to exclude libpdx* and libbufferhubqueue from VNDK and
secondly not to mark transitive dependencies of the libs (such as
libcrypto) as double_loadable.
Note: even without this change, the library is already capable of being
double loaded due to the dependency chain towards it. This change is to
make it explicit so that double loading of a library is carefully
tracked and signed-off by the owner of the lib.
Bug: 77155589
Test: m -j
Merged-In: Id4768162aeb72b71d63d7e4498980f276ef58e6b
Change-Id: I30c10400d3c4630539001b972ec897faabb4be20
(cherry picked from commit a75d3d6d9f2aef4b1855e6a58332859f3531143d)
|
|
am: 6d186b20aa
Change-Id: I4a362265582d0b15729a472b6e2292100e0a5cf7
|
|
|
|
Following libs are explicitly marked as double_loadable since they are
one of the (indirect) dependencies of LLNDK libraries and at the same
time they themselves are marked as VNDK. Such lib can be double loaded
inside a vendor process.
* libgui and libbinder: due to indirect dependency from libmediandk via
libmediaomx. libmediandk is LLNDK)
* libui: due to dependency from libnativewindow, which is LLNDK.
Note: even without this change, the library is already capable of being
double loaded due to the dependency chain towards it. This change is to
make it explicit so that double loading of a library is carefully
tracked and signed-off by the owner of the lib.
Bug: 77155589
Test: m -j
Merged-In: Id4768162aeb72b71d63d7e4498980f276ef58e6b
Change-Id: Id4768162aeb72b71d63d7e4498980f276ef58e6b
(cherry picked from commit a75d3d6d9f2aef4b1855e6a58332859f3531143d)
|
|
Following libs are explicitly marked as double_loadable since they are
one of the (indirect) dependencies of LLNDK libraries and at the same
time they themselves are marked as VNDK. Such lib can be double loaded
inside a vendor process.
* libgui and libbinder: due to indirect dependency from libmediandk via
libmediaomx. libmediandk is LLNDK)
* libui: due to dependency from libnativewindow, which is LLNDK.
Also, dependencies from libui and libgui to libpdx_default_transport and
libbufferhubque are cut when building libui and libgui for vendors. This
is primarily to exclude libpdx* and libbufferhubqueue from VNDK and
secondly not to mark transitive dependencies of the libs (such as
libcrypto) as double_loadable.
Note: even without this change, the library is already capable of being
double loaded due to the dependency chain towards it. This change is to
make it explicit so that double loading of a library is carefully
tracked and signed-off by the owner of the lib.
Bug: 77155589
Test: m -j
Change-Id: Id4768162aeb72b71d63d7e4498980f276ef58e6b
|
|
After several doff/don cycles in a stress test, DisplayManagerService
eventually got into a state where it would not allow new connections
despite the old connection being long gone. We confirmed that it
had a display_manager_ pointer set when it should not have, which
means there was a missing OnChannelClose for probably some error
case that directly closed the channel without synthesizing the close.
Those cases should be fixed in followup CLs, but this change will
be helpful to guarantee Display Manager Service continues to operate
regardless. This service is uniquely sensitive to this bug.
Bug: 69004445
Test: Continuously doffed and donned with script
Change-Id: I46c47da38f1024b61dad0f6c19c64aeec53015a6
(cherry picked from commit 8dbbe5584b2fb9589fceed81333a0d5ff6c913a3)
|
|
1/ Separate DetachedBuffer related logic into a dedicated subclass of
BufferHubRPC. This actually is the right thing to do as it utilizes
the PDX's client/service programming pattern better.
2/ Add IsValid() check for the DetachedBufferChannel object.
3/ Add BufferHubClient to handle general PDX operations.
4/ Add DetachedBuffer which composites a BufferHubClient.
5/ Fully functional logic of allocating a DetachedBuffer, converting it
to a BufferHub-backed GraphicBuffer, then converting it back to a
DetachedBuffer.
Bug: 38137191
Bug: 70046255
Bug: 70912269
Test: buffer_hub-test
Change-Id: I81bf9259cbbaeb29a6df2769363b5a03464e7864
|
|
|
|
|
|
This reverts commit ffb5375c37804f84750a2092779ced5b986850a3.
Clang 7.0 LTO shouldn't need arm instruction set,
if we revert one LLVM recent change.
Bug: 72619014
Change-Id: I513fc78b2fde7ee95cd1bf2153dd647d2fbd196e
Merged-In: Ic1ee146b823602ae419891f5e0956640109dd397
|
|
This reverts commit 94574f271fe8730d841a286069c198c6e74fc9e5.
Clang 7.0 LTO shouldn't need arm instruction set,
if we revert one LLVM recent change.
Bug: 72619014
Change-Id: Ic1ee146b823602ae419891f5e0956640109dd397
|
|
am: 197b6799f8
Change-Id: I1664b64bb7e40fdb141f6669190d615102e711a3
|
|
* Cast EXPECT_EQ arguments to the same signed/unsigned type.
Test: Build
Change-Id: I1055215045fb0904438d0a71bde034fab99111cc
|
|
* surfaceflinger.so uses LTO.
clang 7.0 LTO inlined more code and some references
are too far away to use thumb instructions.
Bug: 72619014
Test: build with Forrest
Merged-In: Ia09931e93a170ac58007f80da2d580bb9b9635a6
Change-Id: I2cbb652a9a8d908d9444a267e6d234b135c279b5
|
|
* surfaceflinger.so uses LTO.
clang 7.0 LTO inlined more code and some references
are too far away to use thumb instructions.
Bug: 72619014
Test: run Forrest
Change-Id: Ia09931e93a170ac58007f80da2d580bb9b9635a6
|
|
Currently the BufferHub based IGBP implementation lives inside
frameworks/libs/vr and libbufferhubqueue is depending on libgui. This CL
reverses the dependency and paves the way of future integration of
BufferHub into libgui.
Mirrors changes to make this work:
1/ Fix shared lib dependency of libpdx
2/ Allow implicit template instantiation in libgui
3/ Mute clang warnings caused by libpdx
Bug: 72051005
Bug: 70046255
Test: libgui-test, buffer_hub_queue_producer-test, dvr_api-test
Change-Id: I7541498f78aaeb4b15fc6cb6439a2e2d706b9e99
|