Lines Matching defs:providers

188     // Set of providers that are explicitly enabled
192 // Set of providers that are explicitly disabled
195 // Mock (test) providers
202 // currently installed providers (with mocks replacing real providers)
206 // real providers, saved here when mocked out
228 // all providers that operate over proxy, for authorizing incoming location and whitelisting
259 // providers as they get certain permissions granted by default.
345 // prepare providers
615 These packages can contain services implementing location providers:
618 service components implementing these providers.
620 of new location providers at run-time. The new package does not
629 Log.d(TAG, "certificates for location providers pulled from: " +
1015 // An app may get/lose location access as providers are enabled/disabled.
1345 * user's settings. Access to all location providers is forbidden to non-location-provider
1356 * user's settings. Access to all location providers is forbidden to non-location-provider
1375 * user's settings. Access to all location providers is forbidden to non-location-provider
1454 // gps and passive providers require FINE permission
1458 // network and fused providers are ok with COARSE or FINE
1461 // mock providers
1553 * Returns all providers by name, including passive and the ones that are not permitted to
1574 * Return all providers by name, that match criteria and are optionally
1624 List<String> providers = getProviders(criteria, enabledOnly);
1625 if (!providers.isEmpty()) {
1626 result = pickBest(providers);
1630 providers = getProviders(null, enabledOnly);
1631 if (!providers.isEmpty()) {
1632 result = pickBest(providers);
1641 private String pickBest(List<String> providers) {
1642 if (providers.contains(LocationManager.GPS_PROVIDER)) {
1644 } else if (providers.contains(LocationManager.NETWORK_PROVIDER)) {
1647 return providers.get(0);
1673 // If any provider has been disabled, clear all last locations for all providers.
2084 // providers may use public location API's, need to clear identity
2156 // providers may use public location API's, need to clear identity
2178 // Record which providers were associated with this listener
2179 HashSet<String> providers = new HashSet<>();
2187 // Accumulate providers
2188 providers.addAll(oldRecords.keySet());
2192 for (String provider : providers) {
2628 // Update all providers on device plus gps and network provider when disabling
2643 // the list of enabled providers.
2727 // the list of enabled providers.
2803 // providers installed oustide the system image. So
2804 // also allow providers with a UID matching the
3088 // bit if location did not come from a mock provider because passive/fused providers can
3089 // forward locations from mock providers, and should not grant them legitimacy in doing so.