diff options
| author | 2021-08-04 14:59:10 -0700 | |
|---|---|---|
| committer | 2021-08-05 18:41:49 +0000 | |
| commit | 218c4070b9b274e604d77cf284140a1f73859a2a (patch) | |
| tree | e0cfb94a27c4f74531816e8716d1585a852f101c /libs/battery/MultiStateCounterTest.cpp | |
| parent | 5bff74281079ff595935bf95793999f2fa3a0d86 (diff) | |
binder: RpcTransport: change to size_t.
- Change return type to Result<size_t> because negative numbers
(-1) are converted to an Error().
- Change size argument from int to size_t because size_t is unsigned
and is the best type to represent a "size".
Test: pass
Bug: 190868302
Fixes: 195592175
Change-Id: Ide26d2d5cc11a9b776fc3dc0a2281300f611b327
Diffstat (limited to 'libs/battery/MultiStateCounterTest.cpp')
0 files changed, 0 insertions, 0 deletions