Searched refs:enabledOnly (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/android/os/ |
D | IUserManager.aidl | 52 List<UserInfo> getProfiles(int userHandle, boolean enabledOnly); in getProfiles() argument 53 int[] getProfileIds(int userId, boolean enabledOnly); in getProfileIds() argument
|
D | UserManager.java | 1963 public int[] getProfileIds(@UserIdInt int userId, boolean enabledOnly) { in getProfileIds() argument 1965 return mService.getProfileIds(userId, enabledOnly); in getProfileIds()
|
/frameworks/base/location/java/android/location/ |
D | ILocationManager.aidl | 84 List<String> getProviders(in Criteria criteria, boolean enabledOnly); in getProviders() argument 85 String getBestProvider(in Criteria criteria, boolean enabledOnly); in getBestProvider() argument
|
D | LocationManager.java | 360 public List<String> getProviders(boolean enabledOnly) { in getProviders() argument 362 return mService.getProviders(null, enabledOnly); in getProviders() 402 public List<String> getProviders(Criteria criteria, boolean enabledOnly) { in getProviders() argument 405 return mService.getProviders(criteria, enabledOnly); in getProviders() 433 public String getBestProvider(Criteria criteria, boolean enabledOnly) { in getBestProvider() argument 436 return mService.getBestProvider(criteria, enabledOnly); in getBestProvider()
|
/frameworks/base/services/core/java/com/android/server/ |
D | LocationManagerService.java | 1567 public List<String> getProviders(Criteria criteria, boolean enabledOnly) { in getProviders() argument 1581 if (enabledOnly && !isAllowedByUserSettingsLocked(name, uid)) { in getProviders() 1608 public String getBestProvider(Criteria criteria, boolean enabledOnly) { in getBestProvider() argument 1611 List<String> providers = getProviders(criteria, enabledOnly); in getBestProvider() 1614 if (D) Log.d(TAG, "getBestProvider(" + criteria + ", " + enabledOnly + ")=" + result); in getBestProvider() 1617 providers = getProviders(null, enabledOnly); in getBestProvider() 1620 if (D) Log.d(TAG, "getBestProvider(" + criteria + ", " + enabledOnly + ")=" + result); in getBestProvider() 1624 if (D) Log.d(TAG, "getBestProvider(" + criteria + ", " + enabledOnly + ")=" + result); in getBestProvider()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 593 public List<UserInfo> getProfiles(int userId, boolean enabledOnly) { in getProfiles() argument 603 return getProfilesLU(userId, enabledOnly, returnFullInfo); in getProfiles() 611 public int[] getProfileIds(int userId, boolean enabledOnly) { in getProfileIds() argument 618 return getProfileIdsLU(userId, enabledOnly).toArray(); in getProfileIds() 626 private List<UserInfo> getProfilesLU(int userId, boolean enabledOnly, boolean fullInfo) { in getProfilesLU() argument 627 IntArray profileIds = getProfileIdsLU(userId, enabledOnly); in getProfilesLU() 648 private IntArray getProfileIdsLU(int userId, boolean enabledOnly) { in getProfileIdsLU() argument 661 if (enabledOnly && !profile.isEnabled()) { in getProfileIdsLU()
|