summaryrefslogtreecommitdiff
path: root/tests/unit/java/android/net/ConnectivityManagerTest.java
diff options
context:
space:
mode:
authorJames Mattis <jmattis@google.com>2021-06-01 22:34:04 -0700
committerJames Mattis <jmattis@google.com>2021-09-30 11:47:36 -0700
commit8b298a00b23e3b82dfc6ccebf3a8213ad9223b12 (patch)
tree260d9690b1655abd1256cb9a60cc68cc4bf1e732 /tests/unit/java/android/net/ConnectivityManagerTest.java
parentf320c21120e54e3e3112bf86707caefdface6bfa (diff)
Updating formatting and text for per-app dumpsys
Fixing the indentation for dumpsys CONNECTIVITY for per app network info. Also updated to more clearly show when the active network is currently tagged to the "no service network" for configured apps so as to more clearly show intent to dumpsys consumers. Finally, correctly showing profile network preferences which weren't being shown previously. Prior formatting with no per-app networks: Current per-app default networks: Per-App Network Preference: none Updated formatting with no per-app networks: Current network preferences: Default requests: Prior formatting with active per-app networks ("none" is shown in this case since profile network preferences weren't correctly displayed): Current per-app default networks: Per-App Network Preference: none Is per-app network active: true Active network: 100 Tracked UIDs: {1100000-1199999} Updated formatting with active per-app networks: Current network preferences: Profile preferences: [[ProfileNetworkPreference user=UserHandle{11} caps=[ Capabilities: INTERNET&TRUSTED&NOT_VCN_MANAGED&ENTERPRISE Uids: <{1100000-1199999}>]]] OEM preferences: OemNetworkPreferences{mNetworkMappings={android.net.cts=-1}} Mobile data preferred UIDs: mMobileDataPreferredUids: {1, 2, 3} Default requests: Request: [uid/pid:1000/1423] - Satisfier: [100] Preference order: 10 Tracked UIDs:{1100000-1199999} Bug: 189860802 Test: adb shell dumpsys connectivity Change-Id: I5ed4bb83e9e5a4497f5019ab4e4c0f238989a246
Diffstat (limited to 'tests/unit/java/android/net/ConnectivityManagerTest.java')
0 files changed, 0 insertions, 0 deletions