diff options
| author | 2022-10-21 16:30:57 +0200 | |
|---|---|---|
| committer | 2022-10-24 12:19:00 +0200 | |
| commit | 6eb366060e281c7165ad76611e0f8ce68c8cb71f (patch) | |
| tree | d07d6cde018920f01595b6d36969b74e125e8092 /libs/androidfw/StringPool.cpp | |
| parent | 9d569c3d952da90f06765f2f47d0c3ab45c5429a (diff) | |
HDMICEC: Initialize HdmiControlService with local devices in unit tests
Initialize HdmiControlService with local devices in unit tests and
remove uncessary allocateLogicalAddress calls.
The device types list is set in HdmiControlService's constructor. With the help of this list, corresponding local devices are allocated whenever initializeCec is called (f.e. HdmiControlService#initService) such that extra calls of allocateLogicalAddress can be avoided.
Bug: 183081487
Test: atest com.android.server.hdmi
Change-Id: I750a6d937cab552b6ed6f98dfa2201fa86ba5aa4
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions