Allow more RIL callbacks when the radio is "off"

This fixes an issue where Cuttlefish's "mobile network" did not come
back correctly after turning airplane mode on and off. The framework was
not requesting a new data call, causing it to never re-initialize.

The problem was that the framework expects some operations to still work
on the RIL despite the device being "off" - these are invoked by one
part of the framework while another part is turning the radio on.

This change adds the minimum set of callbacks to make airplane mode
recover correctly to the ones supported while the radio is "off".

Notably, the reference RIL also supports a greater set of callbacks
while the radio is off (but not RIL_REQUEST_OPERATOR).

https://android.googlesource.com/platform/hardware/ril/+/master/reference-ril/reference-ril.c#2362

Change-Id: I29f6b70839539c302f62f064ebd4d9906e771cdd
Tested: Ran aosp_cf_x86_phone-userdebug and messed with airplane mode.
Bug: 67978118
1 file changed
tree: 39e71b1ad74d103320b6079468572bc8da6e3352
  1. common/
  2. guest/
  3. host/
  4. tests/
  5. tools/
  6. Android.bp
  7. Android.mk
  8. OWNERS