# com.android.ons

`com.android.ons`

- AOSP
- Exercise caution

ons = Opportunistic Network Service

From what I can glean in the source code it seems like this provides a list of available networks and assigns each network a priority.

I’ve never seen it run on its own, so this might be part of some automatic network switching setting that I have turned off.

## References

1. https://cs.android.com/android/platform/superproject/+/master:packages/services/AlternativeNetworkAccess/src/com/android/ons/OpportunisticNetworkService.java
2. https://developer.android.com/reference/android/telephony/AvailableNetworkInfo
3. https://cs.android.com/android/platform/superproject/+/master:frameworks/base/telephony/java/android/telephony/AvailableNetworkInfo.java

Open in App Manager