Home
last modified time | relevance | path

Searched refs:getPasswordComplexity (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java6609 parentDpm.getPasswordComplexity(); in testGetPasswordComplexity_securityExceptionNotThrownForParentInstance()
6611 assertThat(dpm.getPasswordComplexity()).isEqualTo(PASSWORD_COMPLEXITY_NONE); in testGetPasswordComplexity_securityExceptionNotThrownForParentInstance()
6620 assertThrows(IllegalStateException.class, () -> dpm.getPasswordComplexity()); in testGetPasswordComplexity_illegalStateExceptionIfLocked()
6629 assertThrows(SecurityException.class, () -> dpm.getPasswordComplexity()); in testGetPasswordComplexity_securityExceptionWithoutPermissions()
6643 assertThat(dpm.getPasswordComplexity()).isEqualTo(PASSWORD_COMPLEXITY_NONE); in testGetPasswordComplexity_currentUserNoPassword()
6659 assertThat(dpm.getPasswordComplexity()).isEqualTo(PASSWORD_COMPLEXITY_MEDIUM); in testGetPasswordComplexity_currentUserHasPassword()
6682 assertThat(dpm.getPasswordComplexity()).isEqualTo(PASSWORD_COMPLEXITY_HIGH); in testGetPasswordComplexity_unifiedChallengeReturnsParentUserPassword()
7381 assertThat(dpm.getPasswordComplexity()).isEqualTo(PASSWORD_COMPLEXITY_NONE); in testSetRequiredPasswordComplexity_isSufficient()
7387 assertThat(dpm.getPasswordComplexity()).isEqualTo(PASSWORD_COMPLEXITY_LOW); in testSetRequiredPasswordComplexity_isSufficient()
7394 assertThat(dpm.getPasswordComplexity()).isEqualTo(PASSWORD_COMPLEXITY_HIGH); in testSetRequiredPasswordComplexity_isSufficient()
/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl92 int getPasswordComplexity(boolean parent); in getPasswordComplexity() method
DDevicePolicyManager.java4464 public int getPasswordComplexity() { in getPasswordComplexity() method in DevicePolicyManager
4470 return mService.getPasswordComplexity(mParentInstance); in getPasswordComplexity()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java4749 public int getPasswordComplexity(boolean parent) {
/frameworks/base/core/api/
Dcurrent.txt7166 …ission(android.Manifest.permission.REQUEST_PASSWORD_COMPLEXITY) public int getPasswordComplexity();
/frameworks/base/services/
Dart-profile16794 HPLcom/android/server/devicepolicy/DevicePolicyManagerService;->getPasswordComplexity(Z)I