Searched refs:enabledOnly (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/android/os/ |
D | IUserManager.aidl | 58 List<UserInfo> getProfiles(int userHandle, boolean enabledOnly); in getProfiles() argument 59 int[] getProfileIds(int userId, boolean enabledOnly); in getProfileIds() argument
|
D | UserManager.java | 2613 public @NonNull int[] getProfileIds(@UserIdInt int userId, boolean enabledOnly) { in getProfileIds() argument 2615 return mService.getProfileIds(userId, enabledOnly); in getProfileIds()
|
/frameworks/base/location/java/android/location/ |
D | ILocationManager.aidl | 91 List<String> getProviders(in Criteria criteria, boolean enabledOnly); in getProviders() argument 92 String getBestProvider(in Criteria criteria, boolean enabledOnly); in getBestProvider() argument
|
D | LocationManager.java | 448 public @NonNull List<String> getProviders(boolean enabledOnly) { in getProviders() argument 450 return mService.getProviders(null, enabledOnly); in getProviders() 490 public @NonNull List<String> getProviders(@NonNull Criteria criteria, boolean enabledOnly) { in getProviders() argument 493 return mService.getProviders(criteria, enabledOnly); in getProviders() 521 public @Nullable String getBestProvider(@NonNull Criteria criteria, boolean enabledOnly) { in getBestProvider() argument 524 return mService.getBestProvider(criteria, enabledOnly); in getBestProvider()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 713 public List<UserInfo> getProfiles(int userId, boolean enabledOnly) { in getProfiles() argument 723 return getProfilesLU(userId, enabledOnly, returnFullInfo); in getProfiles() 731 public int[] getProfileIds(int userId, boolean enabledOnly) { in getProfileIds() argument 738 return getProfileIdsLU(userId, enabledOnly).toArray(); in getProfileIds() 747 private List<UserInfo> getProfilesLU(int userId, boolean enabledOnly, boolean fullInfo) { in getProfilesLU() argument 748 IntArray profileIds = getProfileIdsLU(userId, enabledOnly); in getProfilesLU() 770 private IntArray getProfileIdsLU(int userId, boolean enabledOnly) { in getProfileIdsLU() argument 783 if (enabledOnly && !profile.isEnabled()) { in getProfileIdsLU()
|
/frameworks/base/services/core/java/com/android/server/ |
D | LocationManagerService.java | 2025 public List<String> getProviders(Criteria criteria, boolean enabledOnly) { in getProviders() argument 2037 if (enabledOnly && !provider.isUseableLocked()) { in getProviders() 2059 public String getBestProvider(Criteria criteria, boolean enabledOnly) { in getBestProvider() argument 2060 List<String> providers = getProviders(criteria, enabledOnly); in getBestProvider() 2062 providers = getProviders(null, enabledOnly); in getBestProvider()
|