Change network management listener to outcome receiver

Adopts new API according to API review feedback. The outcome receiver
can later be removed from most of the ethernet code; in a perfect world,
a result can be generated and an exception captured directly from
EthernetServiceImpl. This will greatly simplify the current
implementation.

CP note: the Merged-In ID is not the actual Change-Id of this change in
tm-dev. This change was originally merged in aosp, but was subsequently
reverted and cherry-picked into tm-dev. The cherry-pick falsely reused
the Change-Id of the (now reverted) original change. This causes
automerger to skip this change on all branches between aosp-master and
tm-dev when the correct Merged-In ID is used. Therefore, the Merged-In
ID listed is the Change-Id of an unrelated change that is present in
tm-dev but not aosp-master.

Bug: 220017952
Test: atest EthernetServiceTests
Ignore-AOSP-First: CP to make automerger happy.
Merged-In: Iee4b48511ff668a2a7df90fd9bfe563d7ff23940
Change-Id: Id8fadfed9fcfd22f04f6d7c3460b5956e571e01f
6 files changed
tree: bd2455d1827aa6a143651e4a4242c4099c0271d7
  1. service-t/
  2. tests/