Home
last modified time | relevance | path

Searched refs:UID_TETHERING (Results 1 – 19 of 19) sorted by relevance

/packages/modules/Connectivity/framework-t/src/android/net/
DNetworkStatsAccess.java22 import static android.net.TrafficStats.UID_TETHERING;
183 || uid == UID_TETHERING || uid == UID_ALL in isAccessibleToUser()
189 || uid == UID_TETHERING in isAccessibleToUser()
DTrafficStats.java97 public static final int UID_TETHERING = NetworkStats.UID_TETHERING; field in TrafficStats
DNetworkStats.java82 public static final int UID_TETHERING = -5; field in NetworkStats
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/datausage/
DAppDataUsagePreferenceControllerTest.java19 import static android.app.usage.NetworkStats.Bucket.UID_TETHERING;
148 mPreferenceController.addBucket(getMockBucket(UID_TETHERING, 200, 0)); in onDataLoaded_statsLoaded_hasTwoPreference()
160 mPreferenceController.addBucket(getMockBucket(UID_TETHERING, 200, 0)); in onDataLoaded_statsLoaded_hasOnePreference()
/packages/modules/Connectivity/framework-t/src/android/app/usage/
DNetworkStats.java174 public static final int UID_TETHERING = TrafficStats.UID_TETHERING; field in NetworkStats.Bucket
305 case TrafficStats.UID_TETHERING: return UID_TETHERING; in convertUid()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DAppDataUsagePreferenceController.java20 import static android.app.usage.NetworkStats.Bucket.UID_TETHERING;
180 return !UserHandle.isApp(uid) && (uid == UID_REMOVED || uid == UID_TETHERING); in isUidValid()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryUtils.java77 public static final int UID_TETHERING = -5; field in BatteryUtils
226 return uid == UID_TETHERING ? false : uid < 0 || isHiddenSystemModule(packages); in shouldHideUidBatteryConsumerUnconditionally()
/packages/apps/Settings/src/com/android/settings/datausage/lib/
DAppDataUsageRepository.kt146 uid == NetworkStats.Bucket.UID_TETHERING || in <lambda>()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DOffloadController.java25 import static android.net.NetworkStats.UID_TETHERING;
346 final int uid = (how == StatsType.STATS_PER_UID) ? UID_TETHERING : UID_ALL; in getTetherStats()
DBpfCoordinator.java25 import static android.net.NetworkStats.UID_TETHERING;
2202 final int uid = (type == StatsType.STATS_PER_UID) ? UID_TETHERING : UID_ALL; in buildNetworkStats()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DBatteryEntryTest.java341 mContext, /* name */ null, /* uid */ BatteryUtils.UID_TETHERING); in getNameAndIconFromUid_tetheringUid_rerturnExpectedName()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DOffloadControllerTest.java25 import static android.net.NetworkStats.UID_TETHERING;
419 return new Entry(iface, how == STATS_PER_IFACE ? UID_ALL : UID_TETHERING, SET_DEFAULT, in buildTestEntry()
DBpfCoordinatorTest.java27 import static android.net.NetworkStats.UID_TETHERING;
690 return new NetworkStats.Entry(iface, how == STATS_PER_IFACE ? UID_ALL : UID_TETHERING, in buildTestEntry()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryEntry.java573 } else if (uid == BatteryUtils.UID_TETHERING) { in getNameAndIconFromUid()
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsServiceTest.java58 import static android.net.TrafficStats.UID_TETHERING;
1686 .insertEntry(new NetworkStats.Entry(TEST_IFACE, UID_TETHERING, SET_DEFAULT, in testTethering()
1706 assertUidTotal(sTemplateImsi1, UID_TETHERING, 1920L, 14L, 384L, 2L, 0); in testTethering()
/packages/modules/Connectivity/framework-t/api/
Dcurrent.txt39 field public static final int UID_TETHERING = -5; // 0xfffffffb
Dsystem-current.txt335 field public static final int UID_TETHERING = -5; // 0xfffffffb
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DNetworkStatsService.java58 import static android.net.TrafficStats.UID_TETHERING;
3326 stats.combineValues(new NetworkStats.Entry(tetherStats.iface, UID_TETHERING,
/packages/modules/Connectivity/framework-t/hiddenapi/
Dhiddenapi-max-target-o-low-priority-tiramisu.txt517 Landroid/net/TrafficStats;->UID_TETHERING:I