/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QSIconView.java | 78 protected void setIcon(ImageView iv, QSTile.State state) { argument 79 if (!Objects.equals(state.icon, iv.getTag(R.id.qs_icon_tag))) { 81 ? iv.isShown() && mAnimationEnabled ? state.icon.getDrawable(mContext) 87 iv.setImageDrawable(d); 88 iv.setTag(R.id.qs_icon_tag, state.icon); 89 iv.setPadding(0, padding, 0, padding); 90 if (d instanceof Animatable && iv.isShown()) { 93 if (!iv.isShown()) { 99 iv.setColorFilter(getContext().getColor(R.color.qs_tile_disabled_color)); 101 iv [all...] |
H A D | QSDetailItems.java | 181 final ImageView iv = (ImageView) view.findViewById(android.R.id.icon); 182 iv.setImageResource(item.icon); 183 iv.getOverlay().clear(); 187 iv.getOverlay().add(item.overlay);
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
H A D | CryptoHelper.java | 30 private static final String KEY_IV = "iv"; 66 byte[] iv = cipher.getIV(); 67 byte[] mac = createMac(encryptedBytes, iv); 72 encryptedBundle.putByteArray(KEY_IV, iv); 80 byte[] iv = bundle.getByteArray(KEY_IV); 83 if (!verifyMac(encryptedBytes, iv, mac)) { 88 IvParameterSpec ivSpec = new IvParameterSpec(iv); 102 private boolean verifyMac(@Nullable byte[] cipherArray, @Nullable byte[] iv, @Nullable byte[] macArray) argument 111 return constantTimeArrayEquals(macArray, createMac(cipherArray, iv)); 115 private byte[] createMac(@NonNull byte[] cipher, @NonNull byte[] iv) throw argument [all...] |
/frameworks/rs/java/tests/MathErr/src/com/example/android/rs/matherr/ |
H A D | math_err.rs | 23 int32_t iv; 32 (i) = gf_u.iv; \ 40 sf_u.iv = (i); \
|
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
H A D | AesCtrDecryptor.h | 33 android::status_t decrypt(const android::Vector<uint8_t>& key, const Iv iv,
|
H A D | AesCtrDecryptor.cpp | 30 const Iv iv, const uint8_t* source, 43 memcpy(opensslIv, iv, sizeof(opensslIv)); 29 decrypt(const android::Vector<uint8_t>& key, const Iv iv, const uint8_t* source, uint8_t* destination, const SubSample* subSamples, size_t numSubSamples, size_t* bytesDecryptedOut) argument
|
H A D | CryptoPlugin.cpp | 35 ssize_t CryptoPlugin::decrypt(bool secure, const KeyId keyId, const Iv iv, argument 67 status_t res = mSession->decrypt(keyId, iv, srcPtr, dstPtr, subSamples,
|
H A D | Session.cpp | 65 const KeyId keyId, const Iv iv, const void* source, 79 key, iv, 64 decrypt( const KeyId keyId, const Iv iv, const void* source, void* destination, const SubSample* subSamples, size_t numSubSamples, size_t* bytesDecryptedOut) argument
|
H A D | CryptoPlugin.h | 46 bool secure, const KeyId keyId, const Iv iv,
|
H A D | DrmPlugin.h | 170 const Vector<uint8_t>& iv, 175 UNUSED(iv); 184 const Vector<uint8_t>& iv, 189 UNUSED(iv); 166 encrypt( const Vector<uint8_t>& sessionId, const Vector<uint8_t>& keyId, const Vector<uint8_t>& input, const Vector<uint8_t>& iv, Vector<uint8_t>& output) argument 180 decrypt( const Vector<uint8_t>& sessionId, const Vector<uint8_t>& keyId, const Vector<uint8_t>& input, const Vector<uint8_t>& iv, Vector<uint8_t>& output) argument
|
H A D | Session.h | 49 const KeyId keyId, const Iv iv, const void* source,
|
/frameworks/base/keystore/java/android/security/keystore/ |
H A D | AndroidKeyStoreAuthenticatedAESCipherSpi.java | 100 byte[] iv = spec.getIV(); 101 if (iv == null) { 103 } else if (iv.length != IV_LENGTH_BYTES) { 105 + iv.length + " bytes. Only " + IV_LENGTH_BYTES 116 setIv(iv); 156 byte[] iv = getIv(); 157 if ((iv != null) && (iv.length > 0)) { 160 params.init(new GCMParameterSpec(mTagLengthBits, iv)); 333 protected void setIv(byte[] iv) { argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_net_LocalSocketImpl.cpp | 188 struct iovec iv; local 195 memset(&iv, 0, sizeof(iv)); 197 iv.iov_base = buf; 198 iv.iov_len = len; 200 msg.msg_iov = &iv; 292 struct iovec iv; local 293 memset(&iv, 0, sizeof(iv)); 295 iv [all...] |
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A D | shadows.rs | 103 int H,X,ih,is,iv; 125 iv=(int)cv; 128 X = ((iv*is)/k2)*(k2- abs(6*ih- 2*(H>>1)*k2 - k2)) ; 131 X=( (X+iv*(k1 - is ))/k1 + k3 ) >> ABITS;
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | shadows.rs | 103 int H,X,ih,is,iv; 125 iv=(int)cv; 128 X = ((iv*is)/k2)*(k2- abs(6*ih- 2*(H>>1)*k2 - k2)) ; 131 X=( (X+iv*(k1 - is ))/k1 + k3 ) >> ABITS;
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | shadows.rs | 103 int H,X,ih,is,iv; 125 iv=(int)cv; 128 X = ((iv*is)/k2)*(k2- abs(6*ih- 2*(H>>1)*k2 - k2)) ; 131 X=( (X+iv*(k1 - is ))/k1 + k3 ) >> ABITS;
|
/frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/ |
H A D | shadows_f.rs | 103 int H,X,ih,is,iv; 125 iv=(int)cv; 128 X = ((iv*is)/k2)*(k2- abs(6*ih- 2*(H>>1)*k2 - k2)) ; 131 X=( (X+iv*(k1 - is ))/k1 + k3 ) >> ABITS;
|
/frameworks/av/drm/mediadrm/plugins/clearkey/tests/ |
H A D | AesCtrDecryptorUnittest.cpp | 33 status_t attemptDecrypt(const Key& key, const Iv& iv, const uint8_t* source, argument 40 return decryptor.decrypt(keyVector, iv, source, destination, subSamples, 45 void attemptDecryptExpectingSuccess(const Key& key, const Iv& iv, argument 52 ASSERT_EQ(android::OK, attemptDecrypt(key, iv, encrypted, outputBuffer, 70 Iv iv = { local 101 attemptDecryptExpectingSuccess<kTotalSize>(key, iv, encrypted, decrypted, 115 Iv iv = { local 147 attemptDecryptExpectingSuccess<kTotalSize>(key, iv, encrypted, decrypted, 161 Iv iv = { local 193 attemptDecryptExpectingSuccess<kTotalSize>(key, iv, encrypte 207 Iv iv = { local 256 Iv iv = { local 310 Iv iv = { local 365 Iv iv = { local [all...] |
/frameworks/av/media/libmedia/ |
H A D | ICrypto.cpp | 100 const uint8_t iv[16], 119 if (iv == NULL) { 120 iv = kDummy; 124 data.write(iv, 16); 292 uint8_t iv[16]; local 293 data.read(iv, sizeof(iv)); 355 iv, 97 decrypt( DestinationType dstType, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, const sp<IMemory> &sharedBuffer, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, void *dstPtr, AString *errorDetailMsg) argument
|
/frameworks/av/include/media/ |
H A D | Crypto.h | 55 const uint8_t iv[16],
|
H A D | ICrypto.h | 58 const uint8_t iv[16],
|
/frameworks/native/include/media/hardware/ |
H A D | CryptoAPI.h | 105 const uint8_t iv[16],
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
H A D | ProcessStats.java | 226 for (int iv=0; iv<versions.size(); iv++) { 227 final int vers = versions.keyAt(iv); 228 final PackageState otherState = versions.valueAt(iv); 426 for (int iv=vpkgs.size()-1; iv>=0; iv--) { 427 final PackageState pkgState = vpkgs.valueAt(iv); 448 vpkgs.removeAt(iv); [all...] |
/frameworks/av/include/ndk/ |
H A D | NdkMediaDrm.h | 413 const char *cipherAlgorithm, uint8_t *keyId, uint8_t *iv, 424 const char *cipherAlgorithm, uint8_t *keyId, uint8_t *iv,
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
H A D | MockDrmCryptoPlugin.h | 112 Vector<uint8_t> const &iv, 118 Vector<uint8_t> const &iv, 161 const uint8_t key[16], const uint8_t iv[16],
|