Searched refs:hasUserRestrictionForUser (Results 1 – 11 of 11) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImplTest.java | 1836 when(mUserManager.hasUserRestrictionForUser(eq(UserManager.DISALLOW_NETWORK_RESET), any())) in testPersistentGroupMetricWhenSendFactoryReset() 1838 when(mUserManager.hasUserRestrictionForUser(eq(UserManager.DISALLOW_CONFIG_WIFI), any())) in testPersistentGroupMetricWhenSendFactoryReset() 2006 when(mUserManager.hasUserRestrictionForUser(eq(UserManager.DISALLOW_NETWORK_RESET), any())) in testStartLocalConnectionWhenCreateGroup() 2008 when(mUserManager.hasUserRestrictionForUser(eq(UserManager.DISALLOW_CONFIG_WIFI), any())) in testStartLocalConnectionWhenCreateGroup() 3238 when(mUserManager.hasUserRestrictionForUser(eq(UserManager.DISALLOW_NETWORK_RESET), any())) in testFactoryResetSuccessWhenP2pEnabled() 3240 when(mUserManager.hasUserRestrictionForUser(eq(UserManager.DISALLOW_CONFIG_WIFI), any())) in testFactoryResetSuccessWhenP2pEnabled() 3248 verify(mUserManager).hasUserRestrictionForUser( in testFactoryResetSuccessWhenP2pEnabled() 3250 verify(mUserManager).hasUserRestrictionForUser(eq(UserManager.DISALLOW_CONFIG_WIFI), any()); in testFactoryResetSuccessWhenP2pEnabled() 3267 when(mUserManager.hasUserRestrictionForUser(eq(UserManager.DISALLOW_NETWORK_RESET), any())) in testFactoryResetSuccessWhenP2pFromDisabledToEnabled() 3269 when(mUserManager.hasUserRestrictionForUser(eq(UserManager.DISALLOW_CONFIG_WIFI), any())) in testFactoryResetSuccessWhenP2pFromDisabledToEnabled() [all …]
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | UserInfoHelper.java | 216 if (userManager.hasUserRestrictionForUser(DISALLOW_SHARE_LOCATION, in dump()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | OpenNetworkNotifierTest.java | 461 when(mUserManager.hasUserRestrictionForUser(UserManager.DISALLOW_CONFIG_WIFI, in userHasDisallowConfigWifiRestriction_notificationNotDisplayed() 481 when(mUserManager.hasUserRestrictionForUser(UserManager.DISALLOW_CONFIG_WIFI, in userHasDisallowConfigWifiRestriction_showingNotificationIsCleared()
|
D | WifiServiceImplTest.java | 1951 when(mUserManager.hasUserRestrictionForUser( in setupLohsPermissions() 2093 when(mUserManager.hasUserRestrictionForUser( in testHotspotDoesNotStartWhenTetheringDisallowed()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | AvailableNetworkNotifier.java | 265 .hasUserRestrictionForUser(UserManager.DISALLOW_CONFIG_WIFI, in isControllerEnabled()
|
D | WifiServiceImpl.java | 1762 if (mUserManager.hasUserRestrictionForUser( in startLocalOnlyHotspot() 3425 if (mUserManager.hasUserRestrictionForUser( 3430 if (!mUserManager.hasUserRestrictionForUser( 3437 if (mUserManager.hasUserRestrictionForUser(
|
/frameworks/base/core/java/android/os/ |
D | UserManager.java | 2559 return hasUserRestrictionForUser(restrictionKey, Process.myUserHandle()); in hasUserRestriction() 2572 return hasUserRestrictionForUser(restrictionKey, userHandle); in hasUserRestriction() 2591 public boolean hasUserRestrictionForUser(@NonNull @UserRestrictionKey String restrictionKey, in hasUserRestrictionForUser() method in UserManager
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 4248 if (userManager.hasUserRestrictionForUser( in factoryReset() 4250 || userManager.hasUserRestrictionForUser( in factoryReset()
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 7453 …ission.INTERACT_ACROSS_USERS}, conditional=true) public boolean hasUserRestrictionForUser(@NonNull…
|
/frameworks/base/api/ |
D | system-current.txt | 8554 …ission.INTERACT_ACROSS_USERS}, conditional=true) public boolean hasUserRestrictionForUser(@NonNull…
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 16462 HSPLandroid/os/UserManager;->hasUserRestrictionForUser(Ljava/lang/String;Landroid/os/UserHandle;)Z
|