Home
last modified time | relevance | path

Searched refs:certificate (Results 1 – 25 of 89) sorted by relevance

1234

/packages/services/BuiltInPrintService/src/com/android/bips/
DLocalPrintJob.java122 mCapabilities.certificate = mCertificateStore.get(mCapabilities.uuid); in restart()
248 if (mCapabilities.certificate != null && !IPPS_SCHEME.equals(mPath.getScheme())) { in deliver()
263 byte[] certificate = jobStatus.getCertificate(); in handleJobStatus()
264 if (certificate != null && mCapabilities != null) { in handleJobStatus()
268 mCertificateStore.put(mCapabilities.uuid, certificate); in handleJobStatus()
316 byte[] certificate = jobStatus.getCertificate(); in handleBadCertificate()
318 if (certificate == null) { in handleBadCertificate()
325 mPrintJob.getInfo().getPrinterId(), mCapabilities.uuid, certificate); in handleBadCertificate()
DBuiltInPrintService.java306 byte[] certificate) { in notifyCertificateChange() argument
308 if (certificate == null) { in notifyCertificateChange()
330 if (certificate != null) { in notifyCertificateChange()
331 acceptIntent.putExtra(EXTRA_CERTIFICATE, certificate); in notifyCertificateChange()
361 byte[] certificate = intent.getByteArrayExtra(EXTRA_CERTIFICATE); in onStartCommand()
364 if (certificate != null) { in onStartCommand()
365 mCertificateStore.put(printerUuid, certificate); in onStartCommand()
/packages/services/BuiltInPrintService/jni/lib/
DwprintJNI.c1112 if (cb_param->certificate) { in _wprint_callback_fn()
1114 jbyteArray certificate = (*env)->NewByteArray(env, cb_param->certificate_len); in _wprint_callback_fn() local
1115 jbyte *certificateBytes = (*env)->GetByteArrayElements(env, certificate, 0); in _wprint_callback_fn()
1116 memcpy(certificateBytes, (const void *) cb_param->certificate, in _wprint_callback_fn()
1118 (*env)->ReleaseByteArrayElements(env, certificate, certificateBytes, 0); in _wprint_callback_fn()
1120 certificate); in _wprint_callback_fn()
1121 (*env)->DeleteLocalRef(env, certificate); in _wprint_callback_fn()
1261 params->certificate = NULL; in _convertCertificate()
1262 jbyteArray certificate = (jbyteArray) (*env)->GetObjectField(env, printerCaps, in _convertCertificate() local
1264 if (certificate) { in _convertCertificate()
[all …]
Dlib_wprint.c159 uint8 *certificate; member
487 if (jq->certificate) { in _recycle_handle()
488 free(jq->certificate); in _recycle_handle()
489 jq->certificate = NULL; in _recycle_handle()
526 cb_param.certificate = jq->certificate; in _job_status_callback()
707 if (jq->job_params.certificate && jq->certificate) { in _is_certificate_allowed()
712 } else if (0 != memcmp(jq->job_params.certificate, jq->certificate, jq->certificate_len)) { in _is_certificate_allowed()
734 if (jq->certificate) { in _validate_certificate()
735 free(jq->certificate); in _validate_certificate()
736 jq->certificate = NULL; in _validate_certificate()
[all …]
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DCertificateStore.java55 public void put(String uuid, byte[] certificate) { in put() argument
56 byte[] oldCertificate = mCertificates.put(uuid, certificate); in put()
57 if (oldCertificate == null || !Arrays.equals(oldCertificate, certificate)) { in put()
59 if (DEBUG) Log.d(TAG, "New certificate uuid=" + uuid + " len=" + certificate.length); in put()
DJobStatus.java152 Builder setCertificate(byte[] certificate) { in setCertificate() argument
153 mPrototype.mCertificate = certificate; in setCertificate()
DCapabilitiesCache.java178 capabilities.certificate = mService.getCertificateStore().get(capabilities.uuid); in get()
299 capabilities.certificate = mService.getCertificateStore().get(capabilities.uuid); in accept()
DBackend.java194 if (params.certificate != null) { in jobCallback()
195 builder.setCertificate(params.certificate); in jobCallback()
/packages/apps/KeyChain/robotests/src/com/android/keychain/
DKeyChainServiceRoboTest.java232 byte[] certificate = mKeyChain.getCertificate(NON_EXISTING_ALIAS); in testGetCertificateReturnsNullForNonExistingAlias()
233 assertThat(certificate).isNull(); in testGetCertificateReturnsNullForNonExistingAlias()
238 byte[] certificate = mKeyChain.getCaCertificates(NON_EXISTING_ALIAS); in testGetCaCertificatesReturnsNullForNonExistingAlias()
239 assertThat(certificate).isNull(); in testGetCaCertificatesReturnsNullForNonExistingAlias()
/packages/modules/NetworkPermissionConfig/
DAndroid.bp32 certificate: "networkstack",
35 // Alternative stub APK signed with platform certificate. To use with InProcessNetworkStack.
39 certificate: "platform",
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DKeyChainServiceTest.java232 byte[] certificate = mService.getCertificate(alias1); in test_KeyChainService()
233 assertNotNull(certificate); in test_KeyChainService()
235 Arrays.toString(certificate)); in test_KeyChainService()
/packages/modules/CaptivePortalLogin/
DAndroid.bp33 certificate: "networkstack",
41 certificate: "platform",
/packages/services/Telecomm/
DAndroid.bp16 certificate: "platform",
70 certificate: "platform",
/packages/services/BuiltInPrintService/src/com/android/bips/jni/
DLocalPrinterCapabilities.java58 public byte[] certificate; field in LocalPrinterCapabilities
128 + " certificate=" + (certificate != null) in toString()
DJobCallbackParams.java27 public byte[] certificate; field in JobCallbackParams
/packages/services/BuiltInPrintService/jni/include/
Dlib_wprint.h193 uint8 *certificate; member
239 uint8 *certificate; member
/packages/apps/Dialer/java/com/android/dialer/simulator/service/
DSimulatorService.java201 for (String certificate : certificates) { in isCertificateValid()
202 if (certificate.equals(bytesToHexString(clientCerfificate))) { in isCertificateValid()
/packages/modules/NetworkStack/
DAndroid.bp107 certificate: "platform",
121 certificate: "networkstack",
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainService.java536 X509Certificate certificate = (X509Certificate) mTrustedCertificateStore
538 if (certificate == null) {
543 return certificate.getEncoded();
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsDialogBuilder.java283 for (X509Certificate certificate : certificates) { in getCertLayout()
284 SslCertificate sslCert = new SslCertificate(certificate); in getCertLayout()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DTrustedCredentialsDialogBuilder.java283 for (X509Certificate certificate : certificates) { in getCertLayout()
284 SslCertificate sslCert = new SslCertificate(certificate); in getCertLayout()
/packages/apps/CertInstaller/
DAndroid.bp5 certificate: "platform",
/packages/apps/Gallery/
DAndroid.bp5 certificate: "media",
/packages/providers/UserDictionaryProvider/
DAndroid.bp6 certificate: "shared",
/packages/providers/TelephonyProvider/
DAndroid.bp6 certificate: "platform",

1234