Home
last modified time | relevance | path

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

/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
DFusionEngine.java43 private static final String NETWORK = LocationManager.NETWORK_PROVIDER; field in FusionEngine
72 mStats.put(NETWORK, new ProviderStats()); in FusionEngine()
122 disableProvider(NETWORK); in updateRequirements()
156 enableProvider(NETWORK, networkInterval); in updateRequirements()
158 disableProvider(NETWORK); in updateRequirements()
231 } else if (NETWORK.equals(location.getProvider())) { in onLocationChanged()
259 s.append(" ").append(mStats.get(NETWORK)).append('\n'); in dump()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DPermissionMonitorTest.java33 import static com.android.server.connectivity.PermissionMonitor.NETWORK;
385 doReturn(NETWORK).when(mPermissionMonitor).highestPermissionForUid(any(), in testUserAndPackageAddRemove()
387 doReturn(NETWORK).when(mPermissionMonitor).highestPermissionForUid(any(), in testUserAndPackageAddRemove()
393 mNetdMonitor.expectPermission(NETWORK, new int[]{MOCK_USER1}, new int[]{SYSTEM_UID}); in testUserAndPackageAddRemove()
406 mNetdMonitor.expectPermission(NETWORK, new int[]{MOCK_USER1, MOCK_USER2}, in testUserAndPackageAddRemove()
417 mNetdMonitor.expectPermission(NETWORK, new int[]{MOCK_USER1, MOCK_USER2}, in testUserAndPackageAddRemove()
421 mNetdMonitor.expectPermission(NETWORK, new int[]{MOCK_USER2}, new int[]{SYSTEM_UID}); in testUserAndPackageAddRemove()
/frameworks/base/services/core/java/com/android/server/connectivity/
DPermissionMonitor.java86 protected static final Boolean NETWORK = Boolean.FALSE; field in PermissionMonitor
181 if (permission == null || permission == NETWORK) { in startMonitoring()
442 apps.put(uid, NETWORK); // doesn't matter which permission we pick here in onPackageRemoved()
561 uids.removeIf(uid -> mApps.getOrDefault(uid, NETWORK) == SYSTEM); in removeBypassingUids()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DJobStatus.java1799 network.writeToProto(proto, JobStatusDumpProto.NETWORK); in dump()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProtoDumpUtil.java983 final long networkToken = p.start(GlobalSettingsProto.NETWORK); in dumpProtoGlobalSettingsLocked()
/frameworks/base/core/java/android/os/
DBatteryStats.java7544 final long nToken = proto.start(UidProto.NETWORK); in dumpProtoAppsLocked()
/frameworks/base/api/
Dsystem-current.txt1617 field @Deprecated public static final String SIM_LOCKED_NETWORK = "NETWORK";
Dcurrent.txt28810 field public static final String EXTRA_NETWORK = "android.net.extra.NETWORK";
/frameworks/base/non-updatable-api/
Dsystem-current.txt1617 field @Deprecated public static final String SIM_LOCKED_NETWORK = "NETWORK";
Dcurrent.txt28680 field public static final String EXTRA_NETWORK = "android.net.extra.NETWORK";
/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/config/
Dhiddenapi-greylist-max-o.txt53865 Landroid/os/UidProto;->NETWORK:J