/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/ |
D | WifiRestrictionsCacheTest.java | 75 when(mUserManager.getUserRestrictions()).thenReturn(mUserRestrictionsOwner); in setUp() 80 when(mUserManager.getUserRestrictions()).thenReturn(mUserRestrictionsGuest); in setUp() 169 when(mUserManager.getUserRestrictions()).thenReturn(userRestrictions); in mockInstance()
|
/frameworks/base/core/java/android/companion/virtual/audio/ |
D | UserRestrictionsDetector.java | 56 Bundle bundle = mUserManager.getUserRestrictions(); in isUnmuteMicrophoneDisallowed()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiRestrictionsCache.java | 94 mUserRestrictions = mUserManager.getUserRestrictions(); in WifiRestrictionsCache()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceUserInfoTest.java | 473 assertTrue(mUserManagerService.getUserRestrictions(userId).getBoolean( in testUpgradeProfileType_updateRestrictions() 475 assertTrue(mUserManagerService.getUserRestrictions(userId).getBoolean( in testUpgradeProfileType_updateRestrictions() 477 assertTrue(mUserManagerService.getUserRestrictions(userId).getBoolean( in testUpgradeProfileType_updateRestrictions()
|
D | UserManagerTest.java | 1309 Bundle restrictions = mUserManager.getUserRestrictions(UserHandle.of(userInfo.id)); in testAddRestrictedProfile() 1462 Bundle stored = mUserManager.getUserRestrictions(asHandle(testUser.id)); in testRestrictions()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerServiceMigrationTest.java | 197 .that(dpm.getParentProfileInstance(admin1).getUserRestrictions(admin1).keySet()) in testCompMigrationAffiliated() 201 dpm.getUserRestrictions(admin1).keySet()) in testCompMigrationAffiliated()
|
D | DevicePolicyManagerTest.java | 1402 when(getServices().userManager.getUserRestrictions()).thenReturn(new Bundle()); in testClearDeviceOwner() 2013 dpm.getUserRestrictions(admin1) in testSetUserRestriction_asDo() 2031 dpm.getUserRestrictions(admin1) in testSetUserRestriction_asDo() 2175 dpm.getUserRestrictions(admin1) in testSetUserRestriction_asPo() 2197 dpm.getUserRestrictions(admin1) in testSetUserRestriction_asPo() 2213 dpm.getUserRestrictions(admin1) in testSetUserRestriction_asPo() 7814 DpmTestUtils.assertRestrictions(new Bundle(), dpm.getUserRestrictions(admin1)); in testSetUserRestriction_financeDo_invalidRestrictions_restrictionNotSet() 7848 dpm.getUserRestrictions(admin1)); in testSetUserRestriction_financeDo_validRestrictions_setsRestriction()
|
/frameworks/base/core/java/android/os/ |
D | IUserManager.aidl | 93 Bundle getUserRestrictions(int userId); in getUserRestrictions() method
|
D | UserManager.java | 3990 public Bundle getUserRestrictions() { in getUserRestrictions() method in UserManager 3992 return mService.getUserRestrictions(getContextUserIfAppropriate()); in getUserRestrictions() 4010 public Bundle getUserRestrictions(UserHandle userHandle) { in getUserRestrictions() method in UserManager 4012 return mService.getUserRestrictions(userHandle.getIdentifier()); in getUserRestrictions()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
D | AccountManagerServiceTest.java | 170 when(mMockUserManager.getUserRestrictions(any(UserHandle.class))).thenReturn(bundle); in setUp() 493 when(mMockUserManager.getUserRestrictions(any(UserHandle.class))).thenReturn(bundle); in testStartAddAccountSessionUserCannotModifyAccountNoDPM() 519 when(mMockUserManager.getUserRestrictions(any(UserHandle.class))).thenReturn(bundle); in testStartAddAccountSessionUserCannotModifyAccountWithDPM() 1010 when(mMockUserManager.getUserRestrictions(any(UserHandle.class))).thenReturn(bundle); in testFinishSessionAsUserUserCannotModifyAccountNoDPM() 1036 when(mMockUserManager.getUserRestrictions(any(UserHandle.class))).thenReturn(bundle); in testFinishSessionAsUserUserCannotModifyAccountWithDPM() 1481 when(mMockUserManager.getUserRestrictions(any(UserHandle.class))).thenReturn(bundle); in testRemoveAccountAsUserUserCannotModifyAccount() 1987 when(mMockUserManager.getUserRestrictions(any(UserHandle.class))).thenReturn(bundle); in testAddAccountAsUserUserCannotModifyAccountNoDPM() 2014 when(mMockUserManager.getUserRestrictions(any(UserHandle.class))).thenReturn(bundle); in testAddAccountAsUserUserCannotModifyAccountWithDPM()
|
/frameworks/base/core/java/android/accounts/ |
D | ChooseTypeAndAccountActivity.java | 153 .getUserRestrictions(new UserHandle(UserHandle.getUserId(mCallingUid))); in onCreate()
|
/frameworks/base/core/java/android/app/admin/ |
D | IDevicePolicyManager.aidl | 258 Bundle getUserRestrictions(in ComponentName who, in String callerPackage, boolean parent); in getUserRestrictions() method
|
D | DevicePolicyManager.java | 12072 public @NonNull Bundle getUserRestrictions(@NonNull ComponentName admin) { in getUserRestrictions() method in DevicePolicyManager 12076 ret = mService.getUserRestrictions( in getUserRestrictions()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 3439 public Bundle getUserRestrictions(@UserIdInt int userId) { in getUserRestrictions() method in UserManagerService 6045 if (getUserRestrictions(UserHandle.getCallingUserId()).getBoolean( 6093 if (getUserRestrictions(UserHandle.getCallingUserId()).getBoolean(restriction, false)) { 6282 if (getUserRestrictions(UserHandle.getCallingUserId()).getBoolean(restriction, false)) { 7443 return getUserRestrictions(userId).getBoolean(key);
|
D | PackageManagerShellCommand.java | 3353 final Bundle restrictions = um.getUserRestrictions(translatedUserId); in runGetUserRestriction()
|
D | PackageManagerService.java | 3146 Bundle restrictions = mUserManager.getUserRestrictions(userId);
|
/frameworks/base/core/api/ |
D | lint-baseline.txt | 744 RequiresPermission: android.os.UserManager#getUserRestrictions(android.os.UserHandle): 745 …Method 'getUserRestrictions' documentation mentions permissions already declared by @RequiresPermi…
|
D | module-lib-lint-baseline.txt | 1050 RequiresPermission: android.os.UserManager#getUserRestrictions(android.os.UserHandle): 1051 …Method 'getUserRestrictions' documentation mentions permissions already declared by @RequiresPermi…
|
D | test-lint-baseline.txt | 1208 RequiresPermission: android.os.UserManager#getUserRestrictions(android.os.UserHandle): 1209 …Method 'getUserRestrictions' documentation mentions permissions already declared by @RequiresPermi…
|
D | system-lint-baseline.txt | 1134 RequiresPermission: android.os.UserManager#getUserRestrictions(android.os.UserHandle): 1135 …Method 'getUserRestrictions' documentation mentions permissions already declared by @RequiresPermi…
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 6040 if (getUserManager().getUserRestrictions(new UserHandle(userId))
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 13653 public Bundle getUserRestrictions(ComponentName who, String callerPackage, boolean parent) {
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/frameworks/base/boot/ |
D | boot-image-profile.txt | 12136 HSPLandroid/os/IUserManager$Stub$Proxy;->getUserRestrictions(I)Landroid/os/Bundle; 12976 HSPLandroid/os/UserManager;->getUserRestrictions()Landroid/os/Bundle; 12977 HSPLandroid/os/UserManager;->getUserRestrictions(Landroid/os/UserHandle;)Landroid/os/Bundle;
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 12139 HSPLandroid/os/IUserManager$Stub$Proxy;->getUserRestrictions(I)Landroid/os/Bundle; 12979 HSPLandroid/os/UserManager;->getUserRestrictions()Landroid/os/Bundle; 12980 HSPLandroid/os/UserManager;->getUserRestrictions(Landroid/os/UserHandle;)Landroid/os/Bundle;
|