summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Matt Buckley <mattbuckley@google.com> 2024-01-18 19:56:31 +0000
committer Matt Buckley <mattbuckley@google.com> 2024-01-23 02:03:31 +0000
commit81cc093bba28844e59e9aac98b43dee1c845fa3d (patch)
treee804c811fdad9c605d9919726a2631fae30a1676 /libs/gui/ConsumerBase.cpp
parenta34d58ed8cdb4763576b42b0fa735ff1d92d46d1 (diff)
Provide error handling for nullptr in the ADPF NDK
Currently there is very little error handling for null pointers in the NDK, so this CL aims to remedy that by changing the WorkDuration API to pass status messages, updating the relevant documentation, and making sure that all existing methods check all pointers that are passed. Bug: 321065424 Test: atest PerformanceHintNativeTestCases Test: atest PerformanceHintManagerTest Test: atest HintManagerServiceTest Change-Id: I4439328cc2f551b8325c1a82019a35478a5dd372
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions