Java already restricts properties to only UTF8 valid strings, and this change makes this restriction also apply to all native code. Bug: 63177684 Test: new unit tests Change-Id: I9fa0ecc0da066b0a026db3497c0f0cbf3f5c2d5a
With some small fixups along the way Test: Boot bullhead Test: init unit tests Change-Id: I7beaa473cfa9397f845f810557d1631b4a462d6a
Bug: http://b/35166374 Test: ran new test Change-Id: I94cf5750f0d2dc87f4a118b2c63b16255ef30fd2