Home
last modified time | relevance | path

Searched refs:getEnforcedAdmin (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/base/interactor/
DDisabledByPolicyInteractorTest.kt79 whenever(restrictedLockProxy.getEnforcedAdmin(anyInt(), anyString())).thenReturn(null) in testEnabledWhenNoAdmin()
89 whenever(restrictedLockProxy.getEnforcedAdmin(anyInt(), anyString())).thenReturn(admin) in testDisabledWhenAdminWithNoRestrictions()
102 whenever(restrictedLockProxy.getEnforcedAdmin(anyInt(), anyString())).thenReturn(ADMIN) in testEnabledWhenAdminWithRestrictions()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/base/interactor/
DDisabledByPolicyInteractor.kt82 restrictedLockProxy.getEnforcedAdmin(user.identifier, userRestriction) in isDisabled()
119 fun getEnforcedAdmin(userId: Int, userRestriction: String?): EnforcedAdmin? = method
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/legacyhelper/data/
DLegacyUserDataHelper.kt80 getEnforcedAdmin( in createRecord()
105 private fun getEnforcedAdmin( in getEnforcedAdmin() method