Exclude network types from usage data
Stay organized with collections
Save and categorize content based on your preferences.
A mobile operator may wish to exclude specific network types from the
total data usage calculated by a device. For example, network traffic
over an MMS APN may be “zero-rated” by a mobile operator. To support
this, the set of network types used to calculate total data usage can
be configured through the config_data_usage_network_types
resource
at build time.
Some mobile radio implementations may have unique Linux network
interfaces for each active APN, while other radios may force multiple
APNs to coexist on a single interface. Android can collect network
statistics from both designs, but config_data_usage_network_types
is
not be effective at excluding APNs forced to coexist on a single
interface.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-08-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-26 UTC."],[],[]]