Searched refs:NETWORK (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
H A DFusionEngine.java44 private static final String NETWORK = LocationManager.NETWORK_PROVIDER; field in class:FusionEngine
76 mStats.put(NETWORK, new ProviderStats());
77 mStats.get(NETWORK).available = mLocationManager.isProviderEnabled(NETWORK);
159 disableProvider(NETWORK);
193 enableProvider(NETWORK, networkInterval);
195 disableProvider(NETWORK);
267 } else if (NETWORK.equals(location.getProvider())) {
302 s.append(" ").append(mStats.get(NETWORK)).append('\n');
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DPermissionMonitor.java59 private static final boolean NETWORK = false; field in class:PermissionMonitor
70 // Keys are App IDs. Values are true for SYSTEM permission and false for NETWORK permission.
135 if (permission == null || permission == NETWORK) {
243 if (permission == null || permission == NETWORK) {
264 apps.put(appUid, NETWORK); // doesn't matter which permission we pick here

Completed in 364 milliseconds