Lines Matching refs:certHolder
47 List<X509Certificate> getX509CertsFromCertHolder(CertHolder certHolder); in getX509CertsFromCertHolder() argument
48 void removeOrInstallCert(CertHolder certHolder); in removeOrInstallCert() argument
62 public TrustedCredentialsDialogBuilder setCertHolder(CertHolder certHolder) { in setCertHolder() argument
63 return setCertHolders(certHolder == null ? new CertHolder[0] in setCertHolder()
64 : new CertHolder[]{certHolder}); in setCertHolder()
122 public void setCertHolders(CertHolder[] certHolder) { in setCertHolders() argument
123 mCertHolders = certHolder; in setCertHolders()
151 CertHolder certHolder = getCurrentCertInfo(); in onClickTrust() local
152 if (!mDelegate.startConfirmCredentialIfNotConfirmed(certHolder.getUserId(), in onClickTrust()
154 mDpm.approveCaCert(certHolder.getAlias(), certHolder.getUserId(), true); in onClickTrust()
160 final CertHolder certHolder = getCurrentCertInfo(); in onClickEnableOrDisable() local
164 mDelegate.removeOrInstallCert(certHolder); in onClickEnableOrDisable()
168 if (certHolder.isSystemCert()) { in onClickEnableOrDisable()
226 final CertHolder certHolder = getCurrentCertInfo(); in updatePositiveButton() local
227 mNeedsApproval = !certHolder.isSystemCert() in updatePositiveButton()
228 && isUserSecure(certHolder.getUserId()) in updatePositiveButton()
229 && !mDpm.isCaCertApproved(certHolder.getAlias(), certHolder.getUserId()); in updatePositiveButton()
232 mActivity, UserHandle.of(certHolder.getUserId())) != null; in updatePositiveButton()
242 final CertHolder certHolder = getCurrentCertInfo(); in updateNegativeButton() local
245 new UserHandle(certHolder.getUserId())); in updateNegativeButton()
246 CharSequence displayText = mActivity.getText(getButtonLabel(certHolder)); in updateNegativeButton()
266 CertHolder certHolder = getCurrentCertInfo(); in updateViewContainer() local
267 LinearLayout nextCertLayout = getCertLayout(certHolder); in updateViewContainer()
278 private LinearLayout getCertLayout(final CertHolder certHolder) { in getCertLayout() argument
281 List<X509Certificate> certificates = mDelegate.getX509CertsFromCertHolder(certHolder); in getCertLayout()
323 private static int getButtonLabel(CertHolder certHolder) { in getButtonLabel() argument
324 return certHolder.isSystemCert() ? ( certHolder.isDeleted() in getButtonLabel()