platform_hardware_interfaces/radio/1.0
Nathan Harold 5109018dfa Explicitly Document INT_MAX for Invalid Fields
When fields are inapplicable, they should not
be set to a clearly out-of-range value to signal
to the framework that those fields are not used.
In some cases, there is an in-range invalid value
that has been defined by the standards. The docs
are inconsistent in calling out INT_MAX as the
value to be used when something is inapplicable
vs the case when a measurement is simply not
reported. In all cases, INT_MAX can be used to
denote an invalid value, and in cases where the
field/structure is inapplicable, it is the correct
value. This CL updates all the docstrings for
SignalStrength-related fields to clarify that
INT_MAX is the correct "invalid" value for cases
when fields are inapplicable.

Bug: 123088652
Test: compilation (docstring-only change); CTS
    naturally enforces this change on devices with
    newer HALs; backwards compatibility is preserved
    for existing HAL versions.

Change-Id: I5cfa917f504d15691ab3f2c298189bdd47794a42
2019-01-28 18:59:08 -08:00
..
vts pack VTS cc_test binaries as general-tests 2018-12-07 10:49:56 -08:00
Android.bp Updating makefiles for hidl_interface. 2017-11-13 10:00:18 -08:00
IRadio.hal Add p2 option in OpenLogicalChannel 2017-04-12 17:16:50 +00:00
IRadioIndication.hal Convert all comments into "doxygen-ready" comments. 2017-03-28 16:14:43 -07:00
IRadioResponse.hal Add SIM_PUK2 for Icc VTS tests 2018-08-13 18:46:51 -07:00
ISap.hal Revert "Make setResponseFunctions() and setCallback() oneway." 2017-03-21 23:09:44 +00:00
ISapCallback.hal Minor updates to ISap hal. 2016-12-27 10:44:59 -08:00
types.hal Explicitly Document INT_MAX for Invalid Fields 2019-01-28 18:59:08 -08:00