Lines Matching refs:mAdminComponent
30 protected ComponentName mAdminComponent; field in BaseDeviceAdminTest
40 mAdminComponent = new ComponentName(mContext, AdminReceiver.class); in setUp()
55 return dpm.isDeviceOwnerApp(mAdminComponent.getPackageName()); in isDeviceOwner()
67 for (int i = 0; i < 1000 && dpm.isAdminActive(mAdminComponent); i++) { in assertNotActiveAdmin()
70 assertFalse("Still active admin", dpm.isAdminActive(mAdminComponent)); in assertNotActiveAdmin()
78 dpm.setPasswordMinimumLength(mAdminComponent, 0); in resetComplexPasswordRestrictions()
79 dpm.setPasswordMinimumUpperCase(mAdminComponent, 0); in resetComplexPasswordRestrictions()
80 dpm.setPasswordMinimumLowerCase(mAdminComponent, 0); in resetComplexPasswordRestrictions()
81 dpm.setPasswordMinimumLetters(mAdminComponent, 0); in resetComplexPasswordRestrictions()
82 dpm.setPasswordMinimumNumeric(mAdminComponent, 0); in resetComplexPasswordRestrictions()
83 dpm.setPasswordMinimumSymbols(mAdminComponent, 0); in resetComplexPasswordRestrictions()
84 dpm.setPasswordMinimumNonLetter(mAdminComponent, 0); in resetComplexPasswordRestrictions()
92 dpm.setPasswordQuality(mAdminComponent, DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED); in clearPassword()