Home
last modified time | relevance | path

Searched refs:hasUserRestrictionForUser (Results 1 – 11 of 11) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java1836 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/
DUserInfoHelper.java216 if (userManager.hasUserRestrictionForUser(DISALLOW_SHARE_LOCATION, in dump()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DOpenNetworkNotifierTest.java461 when(mUserManager.hasUserRestrictionForUser(UserManager.DISALLOW_CONFIG_WIFI, in userHasDisallowConfigWifiRestriction_notificationNotDisplayed()
481 when(mUserManager.hasUserRestrictionForUser(UserManager.DISALLOW_CONFIG_WIFI, in userHasDisallowConfigWifiRestriction_showingNotificationIsCleared()
DWifiServiceImplTest.java1951 when(mUserManager.hasUserRestrictionForUser( in setupLohsPermissions()
2093 when(mUserManager.hasUserRestrictionForUser( in testHotspotDoesNotStartWhenTetheringDisallowed()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DAvailableNetworkNotifier.java265 .hasUserRestrictionForUser(UserManager.DISALLOW_CONFIG_WIFI, in isControllerEnabled()
DWifiServiceImpl.java1762 if (mUserManager.hasUserRestrictionForUser( in startLocalOnlyHotspot()
3425 if (mUserManager.hasUserRestrictionForUser(
3430 if (!mUserManager.hasUserRestrictionForUser(
3437 if (mUserManager.hasUserRestrictionForUser(
/frameworks/base/core/java/android/os/
DUserManager.java2559 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/
DWifiP2pServiceImpl.java4248 if (userManager.hasUserRestrictionForUser( in factoryReset()
4250 || userManager.hasUserRestrictionForUser( in factoryReset()
/frameworks/base/non-updatable-api/
Dsystem-current.txt7453 …ission.INTERACT_ACROSS_USERS}, conditional=true) public boolean hasUserRestrictionForUser(@NonNull…
/frameworks/base/api/
Dsystem-current.txt8554 …ission.INTERACT_ACROSS_USERS}, conditional=true) public boolean hasUserRestrictionForUser(@NonNull…
/frameworks/base/config/
Dboot-image-profile.txt16462 HSPLandroid/os/UserManager;->hasUserRestrictionForUser(Ljava/lang/String;Landroid/os/UserHandle;)Z