Searched refs:getPasswordComplexity (Results 1 – 6 of 6) sorted by relevance
6609 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()
92 int getPasswordComplexity(boolean parent); in getPasswordComplexity() method
4464 public int getPasswordComplexity() { in getPasswordComplexity() method in DevicePolicyManager4470 return mService.getPasswordComplexity(mParentInstance); in getPasswordComplexity()
4749 public int getPasswordComplexity(boolean parent) {
7166 …ission(android.Manifest.permission.REQUEST_PASSWORD_COMPLEXITY) public int getPasswordComplexity();
16794 HPLcom/android/server/devicepolicy/DevicePolicyManagerService;->getPasswordComplexity(Z)I