Home
last modified time | relevance | path

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

123456

/packages/modules/vndk/apex/
DAndroid.bp19 certificate: ":com.android.vndk.current.certificate",
36 name: "com.android.vndk.current.certificate",
37 certificate: "com.android.vndk.current",
44 certificate: ":com.android.vndk.v29.certificate",
57 name: "com.android.vndk.v29.certificate",
58 certificate: "com.android.vndk.v29",
65 certificate: ":com.android.vndk.v28.certificate",
78 name: "com.android.vndk.v28.certificate",
79 certificate: "com.android.vndk.v28",
86 certificate: ":com.android.vndk.v27.certificate",
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeCertX509CertPayload.java42 public final X509Certificate certificate; field in IkeCertX509CertPayload
47 certificate = x509Certificate; in IkeCertX509CertPayload()
55 certificate = in IkeCertX509CertPayload()
59 if (certificate == null) { in IkeCertX509CertPayload()
63 if (certificate.getEncoded().length < certData.length) { in IkeCertX509CertPayload()
83 byteBuffer.put(certificate.getEncoded()); in encodeToByteBuffer()
97 return GENERIC_HEADER_LENGTH + CERT_ENCODING_LEN + certificate.getEncoded().length; in getPayloadLength()
/packages/services/BuiltInPrintService/src/com/android/bips/
DLocalPrintJob.java123 mCapabilities.certificate = mCertificateStore.get(mCapabilities.uuid); in restart()
258 if (mCapabilities.certificate != null && !IPPS_SCHEME.equals(mPath.getScheme())) { in deliver()
273 byte[] certificate = jobStatus.getCertificate(); in handleJobStatus()
274 if (certificate != null && mCapabilities != null) { in handleJobStatus()
278 mCertificateStore.put(mCapabilities.uuid, certificate); in handleJobStatus()
326 byte[] certificate = jobStatus.getCertificate(); in handleBadCertificate()
328 if (certificate == null) { in handleBadCertificate()
335 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/
Dlib_wprint.c159 uint8 *certificate; member
476 if (jq->job_params.certificate != NULL) { in _recycle_handle()
477 free((void *) jq->job_params.certificate); in _recycle_handle()
490 if (jq->certificate) { in _recycle_handle()
491 free(jq->certificate); in _recycle_handle()
492 jq->certificate = NULL; in _recycle_handle()
529 cb_param.certificate = jq->certificate; in _job_status_callback()
710 if (jq->job_params.certificate && jq->certificate) { in _is_certificate_allowed()
715 } else if (0 != memcmp(jq->job_params.certificate, jq->certificate, jq->certificate_len)) { in _is_certificate_allowed()
737 if (jq->certificate) { in _validate_certificate()
[all …]
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 …]
/packages/apps/CellBroadcastReceiver/apex/
DAndroid.bp12 certificate: ":com.android.cellbroadcast.certificate",
22 name: "com.android.cellbroadcast.certificate",
23 certificate: "com.android.cellbroadcast",
/packages/services/Telephony/apex/
DAndroid.bp11 certificate: ":com.android.telephony.certificate",
29 name: "com.android.telephony.certificate",
32 certificate: "com.android.telephony",
/packages/modules/IPsec/apex/
DAndroid.bp22 certificate: ":com.android.ipsec.certificate",
39 name: "com.android.ipsec.certificate",
42 certificate: "com.android.ipsec",
/packages/modules/Cronet/apex/
DAndroid.bp21 certificate: ":com.android.cronet.certificate",
47 name: "com.android.cronet.certificate",
48 certificate: "com.android.cronet",
/packages/modules/SdkExtensions/
DAndroid.bp37 certificate: ":com.android.sdkext.certificate",
47 name: "com.android.sdkext.certificate",
48 certificate: "com.android.sdkext",
/packages/modules/DnsResolver/apex/
DAndroid.bp26 certificate: ":com.android.resolv.certificate",
48 name: "com.android.resolv.certificate",
50 certificate: "testcert",
/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()
/packages/modules/RuntimeI18n/apex/
DAndroid.bp25 certificate: ":com.android.i18n.certificate",
54 name: "com.android.i18n.certificate",
55 certificate: "com.android.i18n",
/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.bp33 certificate: "networkstack",
36 // Alternative stub APK signed with platform certificate. To use with InProcessNetworkStack.
40 certificate: "platform",
/packages/modules/CellBroadcastService/
DAndroid.bp15 certificate: "platform",
28 certificate: "networkstack",
35 certificate: "platform",
/packages/modules/NetworkStack/tests/integration/
DAndroid.bp64 certificate: "networkstack",
80 certificate: "networkstack",
89 certificate: "networkstack",
/packages/apps/CellBroadcastReceiver/
DAndroid.bp29 certificate: "networkstack",
36 certificate: "platform",
/packages/modules/NetworkStack/
DAndroid.bp173 certificate: "platform",
196 certificate: "networkstack",
207 certificate: "networkstack",
292 certificate: "networkstack",
/packages/services/Telecomm/
DAndroid.bp15 certificate: "platform",
69 certificate: "platform",
/packages/modules/CaptivePortalLogin/
DAndroid.bp36 certificate: "networkstack",
50 certificate: "platform",
/packages/apps/CellBroadcastReceiver/tests/unit/
DAndroid.bp17 certificate: "networkstack",
39 certificate: "platform",
/packages/services/BuiltInPrintService/src/com/android/bips/jni/
DLocalPrinterCapabilities.java58 public byte[] certificate; field in LocalPrinterCapabilities
128 + " certificate=" + (certificate != null) in toString()

123456