Remove hardcoded os.name property.

5c9406fb hardcoded "linux" as the value for the os.name
property on Android. Because we will now support additional
device OSs, this value is no longer static.

Reverting back to dynamically querying os.name will regress
compile-time initialization for AbstractDatagramSocket.
Analysis of this is tracked in b/121268567.

Bug: 119271070
Bug: 117987577
Bug: 28174137
Test: Verify os.name keys to the proper underlying
OS.
Change-Id: I233e87b56b6e5513aab31ef68e1b2afbcd238fc8
3 files changed