Home
last modified time | relevance | path

Searched refs:enabledOnly (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/location/java/android/location/
DILocationManager.aidl74 List<String> getProviders(in Criteria criteria, boolean enabledOnly); in getProviders() argument
75 String getBestProvider(in Criteria criteria, boolean enabledOnly); in getBestProvider() argument
DLocationManager.java346 public List<String> getProviders(boolean enabledOnly) { in getProviders() argument
348 return mService.getProviders(null, enabledOnly); in getProviders()
390 public List<String> getProviders(Criteria criteria, boolean enabledOnly) { in getProviders() argument
393 return mService.getProviders(criteria, enabledOnly); in getProviders()
422 public String getBestProvider(Criteria criteria, boolean enabledOnly) { in getBestProvider() argument
425 return mService.getBestProvider(criteria, enabledOnly); in getBestProvider()
/frameworks/base/core/java/android/os/
DIUserManager.aidl37 List<UserInfo> getProfiles(int userHandle, boolean enabledOnly); in getProfiles() argument
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java1170 public List<String> getProviders(Criteria criteria, boolean enabledOnly) { in getProviders() argument
1184 if (enabledOnly && !isAllowedByUserSettingsLocked(name, uid)) { in getProviders()
1211 public String getBestProvider(Criteria criteria, boolean enabledOnly) { in getBestProvider() argument
1214 List<String> providers = getProviders(criteria, enabledOnly); in getBestProvider()
1217 if (D) Log.d(TAG, "getBestProvider(" + criteria + ", " + enabledOnly + ")=" + result); in getBestProvider()
1220 providers = getProviders(null, enabledOnly); in getBestProvider()
1223 if (D) Log.d(TAG, "getBestProvider(" + criteria + ", " + enabledOnly + ")=" + result); in getBestProvider()
1227 if (D) Log.d(TAG, "getBestProvider(" + criteria + ", " + enabledOnly + ")=" + result); in getBestProvider()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java280 public List<UserInfo> getProfiles(int userId, boolean enabledOnly) { in getProfiles() argument
287 return getProfilesLocked(userId, enabledOnly); in getProfiles()
295 private List<UserInfo> getProfilesLocked(int userId, boolean enabledOnly) { in getProfilesLocked() argument
307 if (enabledOnly && !profile.isEnabled()) { in getProfilesLocked()