No description
Find a file
JihCheng Chiu d0dbe4ef03 fix segmentation fault of GraphicsComposerAidlCommandTest
When we run the VTS of GraphicsComposerAidlCommandTest, we always meet
segmentation fault issue in some test items. VTS test items crashed
when it deleted the layer or display from resource manager and try to
go next loop.
The problem is the test item try to delete the layer iterator or
display iterator in the loop, so the iterator become an invalid
iterator. Then it try to use the invalid iterator for going to next
iterator. This behavior caused segmentation fault. We use different
way to fix deleting layer and deleting display.
Delete layer: Test item always delete all layer for each display, so
              we always delete layer via get the first iterator until
              the resource manager is empty.
Delete display: Test item only delete virtual display, so we move the
                physical display to a temporary map. After delete all
                virtual display, we swap the temporary map and
                original map.

Bug: 243781450
Test: 1. test GraphicsComposerAidlCommandTest.SetLayerColorTransform
         for deleting layer
      2. test GraphicsComposerAidlCommandTest.SetOutputBuffer
         for deleting disply

Change-Id: Id467df658e78ed29fdfc039cabc119f8bf62d69d
2022-08-26 02:11:23 +00:00
atrace/1.0 Allow atrace hal tracefs access 2022-01-14 14:02:42 -08:00
audio Merge "audio: Update README.md to add info about the AIDL version" 2022-08-25 17:59:25 +00:00
authsecret Remove AIDL-libs from VNDK 2022-06-14 14:08:59 +09:00
automotive Merge "Remove color format constraints" 2022-08-25 02:28:02 +00:00
biometrics Finalize V2 of android.hardware.biometrics.common 2022-04-28 08:48:50 +09:00
bluetooth [Bluetooth apex] Use new apex name 2022-08-22 11:27:58 -07:00
boot Add VTS tests for IBootControl AIDL 2022-08-03 11:24:34 -07:00
broadcastradio Added new owner to broadcast radio HIDL HAL 2022-06-28 19:58:59 +00:00
camera Merge android13-tests-dev 2022-08-17 16:37:46 -07:00
cas Add explicit apex_available clauses 2022-01-26 09:50:04 -08:00
common [Bluetooth apex] Use new apex name 2022-08-22 11:27:58 -07:00
compatibility_matrices Merge "Remove usb HIDL entry in compat matrix." 2022-08-25 20:14:47 +00:00
configstore Add OWNERS for VTS module VtsHalConfigstoreV1_0TargetTest 2021-08-11 16:38:55 -07:00
confirmationui autogenerated reformatting by bpfmt 2022-04-25 20:58:57 +00:00
contexthub Freeze AIDL APIs for TM 2022-04-16 07:03:24 +09:00
drm Remove AIDL-libs from VNDK 2022-06-14 14:08:59 +09:00
dumpstate Remove AIDL-libs from VNDK 2022-06-14 14:08:59 +09:00
fastboot Fix typo in IFastboot.hal. 2021-06-02 16:01:53 -07:00
gatekeeper/1.0 Test that the password isn't truncated 2022-08-01 03:49:07 +00:00
gnss Merge "Remove AIDL-libs from VNDK" 2022-06-20 01:15:09 +00:00
graphics fix segmentation fault of GraphicsComposerAidlCommandTest 2022-08-26 02:11:23 +00:00
health Updating cc_fuzz with default config 2022-08-22 22:16:41 +00:00
identity Release the memory allocated in the algorithm to prevent memory leaks 2022-08-18 02:38:04 +00:00
input VtsHalInputClassifier test: Include libbinder headers 2022-08-10 18:44:22 +00:00
ir Remove AIDL-libs from VNDK 2022-06-14 14:08:59 +09:00
keymaster Read VSR level from correct property. am: 35db349596 am: 4e97ec021e 2022-06-20 02:12:05 +00:00
light Merge "Updated Light HAL default implementation comment." am: 082748dd87 2022-08-15 19:51:55 +00:00
media Allowing OMX.google* codecs for Devices launching with S 2022-07-20 20:45:01 +00:00
memtrack Merge "Add OWNERS for VTS module VtsHalMemtrack test." 2021-12-23 21:59:13 +00:00
neuralnetworks Merge "Disable TEST_MAPPING for VtsHalNeuralnetworksV1_*TargetTest" am: bc24c9b37a am: 184e6dcebd 2022-06-16 01:18:25 +00:00
nfc Remove AIDL-libs from VNDK 2022-06-14 14:08:59 +09:00
oemlock Remove AIDL-libs from VNDK 2022-06-14 14:08:59 +09:00
power Remove AIDL-libs from VNDK 2022-06-14 14:08:59 +09:00
radio [Bluetooth apex] Use new apex name 2022-08-22 11:27:58 -07:00
rebootescrow/aidl Remove AIDL-libs from VNDK 2022-06-14 14:08:59 +09:00
renderscript/1.0 Backfill owner information for VTS module VtsHalRenderscriptV1_0TargetTest. 2021-09-03 16:33:59 -07:00
scripts Add script to get prelim HAL VTS coverage. 2021-03-15 17:23:20 -07:00
secure_element Merge "Backfill owner information for VTS module VtsHalSecureElementV1_1TargetTest." 2021-09-10 18:16:35 +00:00
security Merge "DO NOT MERGE - Merge Android 13" 2022-08-16 19:11:03 +00:00
sensors Merge android13-tests-dev 2022-08-17 16:37:46 -07:00
soundtrigger Remove AIDL-libs from VNDK 2022-06-14 14:08:59 +09:00
tests example vibrator for createBinder 2022-07-06 21:16:48 +00:00
tetheroffload Allow VTS of 1.0 tetheroffload to be optional 2021-06-24 08:59:41 +00:00
thermal Add timed out test files to tidy_timeout_srcs 2022-02-18 17:25:41 -08:00
tv Merge "Fix VTS PlaybackDataFlowWithTsVideoFilterTest sometimes failed." into android12-tests-dev am: 14ecb1c6a1 am: 9fc37c0d3c 2022-07-04 08:03:20 +00:00
usb Merge "Fix incorrect indentation." am: 5609b7b260 2022-07-19 20:45:33 +00:00
uwb Remove AIDL-libs from VNDK 2022-06-14 14:08:59 +09:00
vibrator Updating cc_fuzz with default config 2022-08-22 22:16:41 +00:00
vr/1.0 [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces 2021-02-21 20:36:55 -08:00
weaver Remove AIDL-libs from VNDK 2022-06-14 14:08:59 +09:00
wifi Merge changes from topic "cp-libwifihal-soong" 2022-08-22 02:30:56 +00:00
.clang-format Replace clang-format with symlink. 2019-01-18 14:26:33 -08:00
.gitignore Add .gitignore 2021-10-28 22:04:46 +00:00
Android.bp Stop using group_static_libs property 2021-08-30 23:20:08 +00:00
CleanSpec.mk wifi adapter cleanspec 2019-12-13 14:24:23 -08:00
current.txt Add hashes for android.hardware.wifi@1.6::IWifi 2022-05-10 23:16:34 +00:00
METADATA Add METADATA to interfaces: Apache2=NOTICE 2020-05-01 10:59:55 -07:00
NOTICE
OWNERS remove guangzhu from OWNERS 2022-08-01 16:19:14 +00:00
PREUPLOAD.cfg Turn aidl_format on 2021-01-21 15:06:51 +09:00
TEST_MAPPING Add TEST_MAPPING presubmit config for VtsHalTvInputV1_0TargetTest 2020-04-03 13:37:57 -07:00
update-base-files.sh Generate constants from the audio HAL V7.1 enums 2022-02-14 19:08:09 +00:00
update-makefiles.sh Remove update scripts for VTS makefiles. 2019-02-28 10:32:51 -08:00