hardware_xiaomi/aidl/power-libperfmgr
Jimmy Shiu 0f740ec5ef
ADPF: avoid to call close() twice
To get rid of error logs, avoid to call close() twice.

07-29 17:20:35.341 E powerhal-libperfmgr: Unexpected Error! Failed to
look up tid:2585 in TidRefCountMap
07-29 17:20:35.341 E powerhal-libperfmgr: Unexpected Error! Failed to
look up tid:2586 in TidRefCountMap
07-29 17:20:35.341 E powerhal-libperfmgr: Unexpected Error! Failed to
look up tid:2031 in TidRefCountMap
07-29 17:20:35.341 E powerhal-libperfmgr: Unexpected Error! Failed to
look up tid:2585 in TidRefCountMap

Bug: 194775170
Test: build and check log.
Change-Id: I91adf907b837382f68935b9054e19465a499049c
2021-10-18 23:40:43 +02:00
..
android.hardware.power-service.xiaomi-libperfmgr.rc libperfmgr.rc: let power hal start early 2021-04-18 22:39:12 +01:00
android.hardware.power-service.xiaomi.xml power: add PowerHintSession for ADPF implementation 2021-10-18 23:40:43 +02:00
Android.mk ADPF: fix abnormal high uclamp 2021-10-18 23:40:43 +02:00
InteractionHandler.cpp power: add PowerHintSession for ADPF implementation 2021-10-18 23:40:43 +02:00
InteractionHandler.h Power: add support for devices without display idle signals 2021-10-18 23:40:43 +02:00
Power.cpp power-libperfmgr: improve adpf logic 2021-10-18 23:40:43 +02:00
Power.h power-libperfmgr: improve adpf logic 2021-10-18 23:40:43 +02:00
PowerExt.cpp Fix objects that are derived from refbase 2021-10-18 23:40:43 +02:00
PowerExt.h power-libperfmgr: rename namespace for Pixel power HAL 2021-04-18 22:38:42 +01:00
PowerHintSession.cpp ADPF: avoid to call close() twice 2021-10-18 23:40:43 +02:00
PowerHintSession.h ADPF: avoid to call close() twice 2021-10-18 23:40:43 +02:00
PowerSessionManager.cpp ADPF: fix abnormal high uclamp 2021-10-18 23:40:43 +02:00
PowerSessionManager.h ADPF: fix abnormal high uclamp 2021-10-18 23:40:43 +02:00
service.cpp Fix objects that are derived from refbase 2021-10-18 23:40:43 +02:00