Lines Matching refs:mPolicy
54 private Policy mPolicy;
60 mPolicy = new Policy(this);
69 if (savedScreenId == UNKNOWN_SCREEN_ID || !mPolicy.isAdminActive()) {
144 mPolicy.readFromLocal();
145 mPasswordQualityInputField.setSelection(mPolicy.getPasswordQuality());
146 if (mPolicy.getPasswordLength() > 0) {
147 mPasswordLengthInputField.setText(String.valueOf(mPolicy.getPasswordLength()));
152 if (mPolicy.getPasswordMinUpperCase() > 0) {
154 String.valueOf(mPolicy.getPasswordMinUpperCase()));
166 mPolicy.readFromLocal();
167 int passwordQualitySelection = mPolicy.getPasswordQuality();
170 passwordLengthView.setText(String.valueOf(mPolicy.getPasswordLength()));
176 String.valueOf(mPolicy.getPasswordMinUpperCase()));
182 if (!mPolicy.isAdminActive()) {
193 mPolicy.configurePolicy();
198 else if (!mPolicy.isActivePasswordSufficient()) {
224 mPolicy.getPolicyAdmin());
272 mPolicy.saveToLocal(passwordQuality, passwordLength, passwordMinUppercase);