Home
last modified time | relevance | path

Searched refs:iv (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/av/media/libmedia/
DICrypto.cpp97 const uint8_t iv[16], in decrypt()
114 if (iv == NULL) { in decrypt()
115 iv = kDummy; in decrypt()
119 data.write(iv, 16); in decrypt()
234 uint8_t iv[16]; in onTransact() local
235 data.read(iv, sizeof(iv)); in onTransact()
261 iv, in onTransact()
DIDrm.cpp319 Vector<uint8_t> const &iv, in encrypt()
327 writeVector(data, iv); in encrypt()
338 Vector<uint8_t> const &iv, in decrypt()
346 writeVector(data, iv); in decrypt()
675 Vector<uint8_t> sessionId, keyId, input, iv, output; in onTransact() local
679 readVector(data, iv); in onTransact()
680 uint32_t result = encrypt(sessionId, keyId, input, iv, output); in onTransact()
689 Vector<uint8_t> sessionId, keyId, input, iv, output; in onTransact() local
693 readVector(data, iv); in onTransact()
694 uint32_t result = decrypt(sessionId, keyId, input, iv, output); in onTransact()
/frameworks/rs/java/tests/MathErr/src/com/example/android/rs/matherr/
Dmath_err.rs23 int32_t iv;
32 (i) = gf_u.iv; \
40 sf_u.iv = (i); \
/frameworks/base/media/java/android/media/
DMediaDrm.java567 byte[] keyId, byte[] input, byte[] iv); in encryptNative() argument
570 byte[] keyId, byte[] input, byte[] iv); in decryptNative() argument
622 public byte[] encrypt(byte[] keyid, byte[] input, byte[] iv) { in encrypt() argument
623 return encryptNative(mDrm, mSessionId, keyid, input, iv); in encrypt()
633 public byte[] decrypt(byte[] keyid, byte[] input, byte[] iv) { in decrypt() argument
634 return decryptNative(mDrm, mSessionId, keyid, input, iv); in decrypt()
DMediaCodec.java397 iv = newIV; in set()
420 public byte[] iv; field in MediaCodec.CryptoInfo
438 builder.append(hexdigits.charAt((iv[i] & 0xf0) >> 4)); in toString()
439 builder.append(hexdigits.charAt(iv[i] & 0x0f)); in toString()
/frameworks/base/core/jni/
Dandroid_net_LocalSocketImpl.cpp501 struct iovec iv; in socket_read_all() local
508 memset(&iv, 0, sizeof(iv)); in socket_read_all()
510 iv.iov_base = buf; in socket_read_all()
511 iv.iov_len = len; in socket_read_all()
513 msg.msg_iov = &iv; in socket_read_all()
605 struct iovec iv; in socket_write_all() local
606 memset(&iv, 0, sizeof(iv)); in socket_write_all()
608 iv.iov_base = buffer; in socket_write_all()
609 iv.iov_len = len; in socket_write_all()
611 msg.msg_iov = &iv; in socket_write_all()
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Dshadows.rs103 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/
Dshadows.rs103 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/
Dshadows.rs103 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/mock/
DMockDrmCryptoPlugin.cpp454 Vector<uint8_t> const &iv, in encrypt() argument
462 vectorToString(iv).string()); in encrypt()
476 mByteArrayProperties.add(String8("mock-iv"), iv); in encrypt()
493 Vector<uint8_t> const &iv, in decrypt() argument
501 vectorToString(iv).string()); in decrypt()
515 mByteArrayProperties.add(String8("mock-iv"), iv); in decrypt()
667 MockCryptoPlugin::decrypt(bool secure, const uint8_t key[16], const uint8_t iv[16], in decrypt()
675 arrayToString(iv, sizeof(iv)).string(), in decrypt()
DMockDrmCryptoPlugin.h105 Vector<uint8_t> const &iv,
111 Vector<uint8_t> const &iv,
148 const uint8_t key[16], const uint8_t iv[16],
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DActivityTestMain.java76 ImageView iv = new ImageView(this); in addThumbnail() local
78 iv.setImageBitmap(bm); in addThumbnail()
80 iv.setBackgroundResource(android.R.drawable.gallery_thumb); in addThumbnail()
83 container.addView(iv, new LinearLayout.LayoutParams(w, h)); in addThumbnail()
85 iv.setOnClickListener(new View.OnClickListener() { in addThumbnail()
103 iv.setOnLongClickListener(new View.OnLongClickListener() { in addThumbnail()
/frameworks/av/include/media/
DIDrm.h90 Vector<uint8_t> const &iv,
96 Vector<uint8_t> const &iv,
DICrypto.h47 const uint8_t iv[16],
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.cpp166 const uint8_t iv[16], in queueSecureInputBuffer()
172 index, offset, subSamples, numSubSamples, key, iv, mode, in queueSecureInputBuffer()
600 jbyte *iv = NULL; in android_media_MediaCodec_queueSecureInputBuffer() local
664 iv = env->GetByteArrayElements(ivObj, &isCopy); in android_media_MediaCodec_queueSecureInputBuffer()
674 (const uint8_t *)key, (const uint8_t *)iv, in android_media_MediaCodec_queueSecureInputBuffer()
681 if (iv != NULL) { in android_media_MediaCodec_queueSecureInputBuffer()
682 env->ReleaseByteArrayElements(ivObj, iv, 0); in android_media_MediaCodec_queueSecureInputBuffer()
683 iv = NULL; in android_media_MediaCodec_queueSecureInputBuffer()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DCameraWidgetFrame.java209 ImageView iv = new ImageView(context); in inflateGenericWidgetView() local
210 iv.setImageResource(R.drawable.ic_lockscreen_camera); in inflateGenericWidgetView()
211 iv.setScaleType(ScaleType.CENTER); in inflateGenericWidgetView()
212 iv.setBackgroundColor(Color.argb(127, 0, 0, 0)); in inflateGenericWidgetView()
213 return iv; in inflateGenericWidgetView()
/frameworks/native/include/media/hardware/
DCryptoAPI.h78 const uint8_t iv[16],
/frameworks/av/media/libmediaplayerservice/
DDrm.h94 Vector<uint8_t> const &iv,
100 Vector<uint8_t> const &iv,
DCrypto.cpp239 const uint8_t iv[16], in decrypt()
256 secure, key, iv, mode, srcPtr, subSamples, numSubSamples, dstPtr, in decrypt()
DCrypto.h51 const uint8_t iv[16],
DDrm.cpp524 Vector<uint8_t> const &iv, in encrypt() argument
536 return mPlugin->encrypt(sessionId, keyId, input, iv, output); in encrypt()
542 Vector<uint8_t> const &iv, in decrypt() argument
554 return mPlugin->decrypt(sessionId, keyId, input, iv, output); in decrypt()
/frameworks/native/include/media/drm/
DDrmAPI.h262 Vector<uint8_t> const &iv,
271 Vector<uint8_t> const &iv,
/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp249 AString iv; in decryptBuffer() local
250 if (itemMeta->findString("cipher-iv", &iv)) { in decryptBuffer()
251 if ((!iv.startsWith("0x") && !iv.startsWith("0X")) in decryptBuffer()
252 || iv.size() != 16 * 2 + 2) { in decryptBuffer()
253 ALOGE("malformed cipher IV '%s'.", iv.c_str()); in decryptBuffer()
259 char c1 = tolower(iv.c_str()[2 + 2 * i]); in decryptBuffer()
260 char c2 = tolower(iv.c_str()[3 + 2 * i]); in decryptBuffer()
262 ALOGE("malformed cipher IV '%s'.", iv.c_str()); in decryptBuffer()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
DAdapterHelper.java126 ImageView iv = (ImageView) view; in fillView() local
133 resolvedRef, ViewAttribute.SRC, iv.getDrawable()); in fillView()
/frameworks/rs/driver/runtime/
Drs_cl.c1029 int32_t iv; member
1038 (i) = gf_u.iv; \
1046 sf_u.iv = (i); \
1054 int32_t iv = (int)v; in native_exp2() local
1055 int32_t x = iv + (iv >> 31); // ~floor(v) in native_exp2()
1068 int2 iv = convert_int2(v); in native_exp2() local
1069 int2 x = iv + (iv >> (int2)31);//floor(v); in native_exp2()
1083 int4 iv = convert_int4(v); in native_exp2() local
1084 int4 x = iv + (iv >> (int4)31);//floor(v); in native_exp2()

12