Searched refs:enabledOnly (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/android/os/ |
D | IUserManager.aidl | 48 List<UserInfo> getProfiles(int userHandle, boolean enabledOnly); in getProfiles() argument 49 int[] getProfileIds(int userId, boolean enabledOnly); in getProfileIds() argument
|
D | UserManager.java | 1733 public int[] getProfileIds(@UserIdInt int userId, boolean enabledOnly) { in getProfileIds() argument 1735 return mService.getProfileIds(userId, enabledOnly); in getProfileIds()
|
/frameworks/base/location/java/android/location/ |
D | ILocationManager.aidl | 76 List<String> getProviders(in Criteria criteria, boolean enabledOnly); in getProviders() argument 77 String getBestProvider(in Criteria criteria, boolean enabledOnly); in getBestProvider() argument
|
D | LocationManager.java | 361 public List<String> getProviders(boolean enabledOnly) { in getProviders() argument 363 return mService.getProviders(null, enabledOnly); in getProviders() 403 public List<String> getProviders(Criteria criteria, boolean enabledOnly) { in getProviders() argument 406 return mService.getProviders(criteria, enabledOnly); in getProviders() 434 public String getBestProvider(Criteria criteria, boolean enabledOnly) { in getBestProvider() argument 437 return mService.getBestProvider(criteria, enabledOnly); in getBestProvider()
|
/frameworks/base/services/core/java/com/android/server/ |
D | LocationManagerService.java | 1249 public List<String> getProviders(Criteria criteria, boolean enabledOnly) { in getProviders() argument 1263 if (enabledOnly && !isAllowedByUserSettingsLocked(name, uid)) { in getProviders() 1290 public String getBestProvider(Criteria criteria, boolean enabledOnly) { in getBestProvider() argument 1293 List<String> providers = getProviders(criteria, enabledOnly); in getBestProvider() 1296 if (D) Log.d(TAG, "getBestProvider(" + criteria + ", " + enabledOnly + ")=" + result); in getBestProvider() 1299 providers = getProviders(null, enabledOnly); in getBestProvider() 1302 if (D) Log.d(TAG, "getBestProvider(" + criteria + ", " + enabledOnly + ")=" + result); in getBestProvider() 1306 if (D) Log.d(TAG, "getBestProvider(" + criteria + ", " + enabledOnly + ")=" + result); in getBestProvider()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 555 public List<UserInfo> getProfiles(int userId, boolean enabledOnly) { in getProfiles() argument 565 return getProfilesLU(userId, enabledOnly, returnFullInfo); in getProfiles() 573 public int[] getProfileIds(int userId, boolean enabledOnly) { in getProfileIds() argument 580 return getProfileIdsLU(userId, enabledOnly).toArray(); in getProfileIds() 588 private List<UserInfo> getProfilesLU(int userId, boolean enabledOnly, boolean fullInfo) { in getProfilesLU() argument 589 IntArray profileIds = getProfileIdsLU(userId, enabledOnly); in getProfilesLU() 610 private IntArray getProfileIdsLU(int userId, boolean enabledOnly) { in getProfileIdsLU() argument 623 if (enabledOnly && !profile.isEnabled()) { in getProfileIdsLU()
|