Searched refs:NETWORK (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/ |
D | FusionEngine.java | 43 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/ |
D | PermissionMonitorTest.java | 34 import static com.android.server.connectivity.PermissionMonitor.NETWORK; 354 doReturn(NETWORK).when(mPermissionMonitor).highestPermissionForUid(any(), in testUserAndPackageAddRemove() 356 doReturn(NETWORK).when(mPermissionMonitor).highestPermissionForUid(any(), in testUserAndPackageAddRemove() 362 mNetdMonitor.expectPermission(NETWORK, new int[]{MOCK_USER1}, new int[]{SYSTEM_UID}); in testUserAndPackageAddRemove() 375 mNetdMonitor.expectPermission(NETWORK, new int[]{MOCK_USER1, MOCK_USER2}, in testUserAndPackageAddRemove() 386 mNetdMonitor.expectPermission(NETWORK, new int[]{MOCK_USER1, MOCK_USER2}, in testUserAndPackageAddRemove() 390 mNetdMonitor.expectPermission(NETWORK, new int[]{MOCK_USER2}, new int[]{SYSTEM_UID}); in testUserAndPackageAddRemove()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PermissionMonitor.java | 79 protected static final Boolean NETWORK = Boolean.FALSE; field in PermissionMonitor 178 if (permission == null || permission == NETWORK) { in startMonitoring() 456 apps.put(uid, NETWORK); // doesn't matter which permission we pick here in onPackageRemoved() 568 uids.removeIf(uid -> mApps.getOrDefault(uid, NETWORK) == SYSTEM); in removeBypassingUids()
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | JobStatus.java | 1803 network.writeToProto(proto, JobStatusDumpProto.NETWORK); in dump()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProtoDumpUtil.java | 980 final long networkToken = p.start(GlobalSettingsProto.NETWORK); in dumpProtoGlobalSettingsLocked()
|