diff options
| author | 2024-02-15 21:22:58 +0000 | |
|---|---|---|
| committer | 2024-02-16 01:56:31 +0000 | |
| commit | 3ae93a50bbe65db952e49673cadc6b85e04b6c75 (patch) | |
| tree | f7fd1745ff5b5a8c69ac77d336432e2c9e581d86 /libs/hwui/HardwareBitmapUploader.cpp | |
| parent | 8fcb109286ebb9f5483bb4ebce9e41dc735a7ad5 (diff) | |
Adds more test coverage for BrailleDisplay[Controller|Connection].
BrailleDisplayConnection:
- Test when write() is called but the accessibility service is not
connected.
- Test when write() is called with too large of a buffer.
- Test when write() is called but the FileOutputStream fails to be
created.
- Test for DefaultNativeScanner#getHidrawNodePaths
- Renamed getDefaultNativeInterface anonymous class to a defined class
name so that its missing coverage is clearer in dashboards.
(These instrumentation tests cannot call the native methods.)
BrailleDisplayControllerImpl
- Test connect(UsbDevice) calls the correct system_server method.
- Test when connect is called but the service is not connected.
Bug: 306754563
Test: atest BrailleDisplayConnectionTest
Test: atest BrailleDisplayControllerImplTest
Change-Id: I16fa7eb71dfa2ccf719dbdf7c9a1f167dcd3ae00
Diffstat (limited to 'libs/hwui/HardwareBitmapUploader.cpp')
0 files changed, 0 insertions, 0 deletions