Home
last modified time | relevance | path

Searched refs:NETWORK (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/connectivity/
DPermissionMonitorTest.java35 import static com.android.server.connectivity.PermissionMonitor.NETWORK;
428 doReturn(NETWORK).when(mPermissionMonitor).highestPermissionForUid(any(), in testUserAndPackageAddRemove()
430 doReturn(NETWORK).when(mPermissionMonitor).highestPermissionForUid(any(), in testUserAndPackageAddRemove()
436 mNetdMonitor.expectPermission(NETWORK, new int[]{MOCK_USER1}, new int[]{SYSTEM_UID}); in testUserAndPackageAddRemove()
449 mNetdMonitor.expectPermission(NETWORK, new int[]{MOCK_USER1, MOCK_USER2}, in testUserAndPackageAddRemove()
460 mNetdMonitor.expectPermission(NETWORK, new int[]{MOCK_USER1, MOCK_USER2}, in testUserAndPackageAddRemove()
464 mNetdMonitor.expectPermission(NETWORK, new int[]{MOCK_USER2}, new int[]{SYSTEM_UID}); in testUserAndPackageAddRemove()
/frameworks/base/services/core/java/com/android/server/connectivity/
DPermissionMonitor.java79 protected static final Boolean NETWORK = Boolean.FALSE; field in PermissionMonitor
183 if (permission == null || permission == NETWORK) { in startMonitoring()
447 apps.put(uid, NETWORK); // doesn't matter which permission we pick here in onPackageRemoved()
559 uids.removeIf(uid -> mApps.getOrDefault(uid, NETWORK) == SYSTEM); in removeBypassingUids()
/frameworks/base/core/proto/android/app/
Dtvsettings_enums.proto102 NETWORK = 0x11000000; enumerator
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DJobStatus.java1996 network.dumpDebug(proto, JobStatusDumpProto.NETWORK); in dump()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProtoDumpUtil.java1043 final long networkToken = p.start(GlobalSettingsProto.NETWORK); in dumpProtoGlobalSettingsLocked()
/frameworks/base/core/java/android/os/
DBatteryStats.java7518 final long nToken = proto.start(UidProto.NETWORK); in dumpProtoAppsLocked()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt182 field public static final java.lang.String NETWORK = "android.permission-group.NETWORK";
16943 field public static final java.lang.String EXTRA_NETWORK = "android.net.extra.NETWORK";
/frameworks/base/api/
Dcurrent.txt29911 field public static final String EXTRA_NETWORK = "android.net.extra.NETWORK";