Searched refs:keyBytes (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/core/java/android/net/nsd/
H A DDnsSdTxtRecord.java70 byte[] keyBytes;
83 keyBytes = key.getBytes("US-ASCII");
89 for (int i = 0; i < keyBytes.length; i++) {
90 if (keyBytes[i] == '=') {
95 if (keyBytes.length + valLen >= 255) {
103 insert(keyBytes, valBytes, currentLoc);
168 private void insert(byte[] keyBytes, byte[] value, int index) { argument
178 avLen = keyBytes.length + valLen + (value != null ? 1 : 0);
186 System.arraycopy(keyBytes, 0, mData, insertion + 1, keyBytes
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DSyntheticPasswordCrypto.java88 public static byte[] encrypt(byte[] keyBytes, byte[] personalisation, byte[] message) { argument
89 byte[] keyHash = personalisedHash(personalisation, keyBytes);
101 public static byte[] decrypt(byte[] keyBytes, byte[] personalisation, byte[] ciphertext) { argument
102 byte[] keyHash = personalisedHash(personalisation, keyBytes);
/frameworks/base/services/core/java/com/android/server/updates/
H A DCertificateTransparencyLogInstallReceiver.java151 byte[] keyBytes = Base64.decode(base64PublicKey, Base64.DEFAULT);
153 byte[] id = MessageDigest.getInstance("SHA-256").digest(keyBytes);
/frameworks/av/drm/mediacas/plugins/clearkey/
H A DClearKeyCasPlugin.cpp326 const sp<ABuffer>& keyBytes = keys[keyIndex].key_bytes; local
327 CHECK(keyBytes->size() == kUserKeyLength);
330 reinterpret_cast<const uint8_t*>(keyBytes->data()),
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsBackupAgent.java727 byte[] keyBytes = key.getBytes();
728 totalSize += INTEGER_BYTE_COUNT + keyBytes.length;
729 values[backedUpSettingIndex * 2] = keyBytes;
H A DSettingsProvider.java2160 final byte[] keyBytes = new byte[32];
2162 rand.nextBytes(keyBytes);
2165 final String userKey = ByteStringUtils.toHexString(keyBytes);
2197 final byte[] keyBytes = ByteStringUtils.fromHexToByteArray(userKey);
2201 if (keyBytes == null || (keyBytes.length != 16 && keyBytes.length != 32)) {
2208 m.init(new SecretKeySpec(keyBytes, m.getAlgorithm()));
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 318 milliseconds