/packages/services/BuiltInPrintService/src/com/android/bips/ |
D | LocalPrintJob.java | 122 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()
|
D | BuiltInPrintService.java | 306 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/ |
D | wprintJNI.c | 1112 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 …]
|
D | lib_wprint.c | 159 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/ |
D | CertificateStore.java | 55 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()
|
D | JobStatus.java | 152 Builder setCertificate(byte[] certificate) { in setCertificate() argument 153 mPrototype.mCertificate = certificate; in setCertificate()
|
D | CapabilitiesCache.java | 178 capabilities.certificate = mService.getCertificateStore().get(capabilities.uuid); in get() 299 capabilities.certificate = mService.getCertificateStore().get(capabilities.uuid); in accept()
|
D | Backend.java | 194 if (params.certificate != null) { in jobCallback() 195 builder.setCertificate(params.certificate); in jobCallback()
|
/packages/apps/KeyChain/robotests/src/com/android/keychain/ |
D | KeyChainServiceRoboTest.java | 232 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/ |
D | Android.bp | 32 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/ |
D | KeyChainServiceTest.java | 232 byte[] certificate = mService.getCertificate(alias1); in test_KeyChainService() 233 assertNotNull(certificate); in test_KeyChainService() 235 Arrays.toString(certificate)); in test_KeyChainService()
|
/packages/modules/CaptivePortalLogin/ |
D | Android.bp | 33 certificate: "networkstack", 41 certificate: "platform",
|
/packages/services/Telecomm/ |
D | Android.bp | 16 certificate: "platform", 70 certificate: "platform",
|
/packages/services/BuiltInPrintService/src/com/android/bips/jni/ |
D | LocalPrinterCapabilities.java | 58 public byte[] certificate; field in LocalPrinterCapabilities 128 + " certificate=" + (certificate != null) in toString()
|
D | JobCallbackParams.java | 27 public byte[] certificate; field in JobCallbackParams
|
/packages/services/BuiltInPrintService/jni/include/ |
D | lib_wprint.h | 193 uint8 *certificate; member 239 uint8 *certificate; member
|
/packages/apps/Dialer/java/com/android/dialer/simulator/service/ |
D | SimulatorService.java | 201 for (String certificate : certificates) { in isCertificateValid() 202 if (certificate.equals(bytesToHexString(clientCerfificate))) { in isCertificateValid()
|
/packages/modules/NetworkStack/ |
D | Android.bp | 107 certificate: "platform", 121 certificate: "networkstack",
|
/packages/apps/KeyChain/src/com/android/keychain/ |
D | KeyChainService.java | 536 X509Certificate certificate = (X509Certificate) mTrustedCertificateStore 538 if (certificate == null) { 543 return certificate.getEncoded();
|
/packages/apps/Settings/src/com/android/settings/ |
D | TrustedCredentialsDialogBuilder.java | 283 for (X509Certificate certificate : certificates) { in getCertLayout() 284 SslCertificate sslCert = new SslCertificate(certificate); in getCertLayout()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | TrustedCredentialsDialogBuilder.java | 283 for (X509Certificate certificate : certificates) { in getCertLayout() 284 SslCertificate sslCert = new SslCertificate(certificate); in getCertLayout()
|
/packages/apps/CertInstaller/ |
D | Android.bp | 5 certificate: "platform",
|
/packages/apps/Gallery/ |
D | Android.bp | 5 certificate: "media",
|
/packages/providers/UserDictionaryProvider/ |
D | Android.bp | 6 certificate: "shared",
|
/packages/providers/TelephonyProvider/ |
D | Android.bp | 6 certificate: "platform",
|