commit | 2f1edfa556f22e0758f0efae6722de04139bcb9e | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Sat May 01 00:41:37 2021 +0000 |
committer | Steven Moreland <smoreland@google.com> | Mon May 03 18:16:08 2021 +0000 |
tree | 495132ebb52b45cdd56045de2d6dc20c40f57c8c | |
parent | a4c94756f8358f0dac1dad7213c268c3894333c2 [diff] |
libbinder: remove abstraction layer for get port In preparation to move this code to another file. There were a few bugs before: - dead code - getsockaddr error would lead to abort (but only inconsistent state in the old abstraction should have left for an abort) - added check to ensure socklen_t when returned from getsockname is as expected Bug: 185167543 Test: binderRpcTest Change-Id: Ic79479b6a66226db309dfde134617af50c2365fe