Searched refs:managedProfileId (Results 1 – 7 of 7) sorted by relevance
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/ |
D | RestrictedLockUtilsInternal.java | 260 int managedProfileId = getManagedProfileId(context, userId); in checkIfInputMethodDisallowed() local 261 if (managedProfileId != UserHandle.USER_NULL) { in checkIfInputMethodDisallowed() 262 profileAdmin = getProfileOrDeviceOwner(context, getUserHandleOf(managedProfileId)); in checkIfInputMethodDisallowed() 269 UserManager.get(context).getUserInfo(managedProfileId)); in checkIfInputMethodDisallowed() 271 profileAdmin.component, packageName, managedProfileId); in checkIfInputMethodDisallowed() 317 int managedProfileId = getManagedProfileId(context, userId); in checkIfAccessibilityServiceDisallowed() local 319 getUserHandleOf(managedProfileId)); in checkIfAccessibilityServiceDisallowed() 323 profileAdmin.component, packageName, managedProfileId); in checkIfAccessibilityServiceDisallowed() 395 int managedProfileId = getManagedProfileId(context, userId); in checkIfUsbDataSignalingIsDisabled() local 396 if (admin == null && managedProfileId != UserHandle.USER_NULL) { in checkIfUsbDataSignalingIsDisabled() [all …]
|
/packages/apps/Settings/src/com/android/settings/location/ |
D | LocationInjectedServiceBasePreferenceController.java | 120 final int managedProfileId = Utils.getManagedProfileId(mUserManager, UserHandle.myUserId()); in getLocationServices() local 121 if (managedProfileId != UserHandle.USER_NULL in getLocationServices() 122 && mLocationEnabler.getShareLocationEnforcedAdmin(managedProfileId) == null) { in getLocationServices() 123 userHandles.add(UserHandle.of(managedProfileId)); in getLocationServices()
|
D | LocationInjectedServicesForWorkPreferenceController.java | 44 final int managedProfileId = Utils.getManagedProfileId(mUserManager, UserHandle.myUserId()); in injectLocationServices() local 52 if (entry.getKey() == managedProfileId) { in injectLocationServices()
|
/packages/apps/Settings/src/com/android/settings/utils/ |
D | ManagedServiceSettings.java | 107 final int managedProfileId = Utils.getManagedProfileId(um, UserHandle.myUserId()); in updateList() local 138 if (managedProfileId != UserHandle.USER_NULL in updateList() 140 service.packageName, managedProfileId)) { in updateList() 163 private int getCurrentUser(int managedProfileId) { in getCurrentUser() argument 164 if (managedProfileId != UserHandle.USER_NULL) { in getCurrentUser() 165 return managedProfileId; in getCurrentUser()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowDoubleTwistPreferenceController.java | 26 public static void setManagedProfileId(int managedProfileId) { in setManagedProfileId() argument 27 sManagedProfileId = managedProfileId; in setManagedProfileId()
|
D | ShadowAudioHelper.java | 44 public static void setManagedProfileId(int managedProfileId) { in setManagedProfileId() argument 45 sManagedProfileId = managedProfileId; in setManagedProfileId()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationAccessSettings.java | 140 final int managedProfileId = Utils.getManagedProfileId(um, UserHandle.myUserId()); in updateList() local 176 if (managedProfileId != UserHandle.USER_NULL in updateList() 178 service.packageName, managedProfileId)) { in updateList()
|