Searched refs:iv (Results 1 - 19 of 19) sorted by relevance

/frameworks/av/media/libmedia/
H A DICrypto.cpp97 const uint8_t iv[16],
114 if (iv == NULL) {
115 iv = kDummy;
119 data.write(iv, 16);
234 uint8_t iv[16]; local
235 data.read(iv, sizeof(iv));
261 iv,
94 decrypt( bool secure, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const void *srcPtr, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, void *dstPtr, AString *errorDetailMsg) argument
/frameworks/av/include/media/
H A DICrypto.h47 const uint8_t iv[16],
/frameworks/av/media/libmediaplayerservice/
H A DCrypto.h48 const uint8_t iv[16],
H A DCrypto.cpp147 const uint8_t iv[16],
164 secure, key, iv, mode, srcPtr, subSamples, numSubSamples, dstPtr,
144 decrypt( bool secure, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const void *srcPtr, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, void *dstPtr, AString *errorDetailMsg) argument
/frameworks/native/include/media/hardware/
H A DCryptoAPI.h48 // Neither key nor iv are being used in this mode.
49 // Each subsample is encrypted w/ an iv of all zeroes.
78 const uint8_t iv[16],
/frameworks/base/core/jni/
H A Dandroid_net_LocalSocketImpl.cpp523 struct iovec iv; local
530 memset(&iv, 0, sizeof(iv));
532 iv.iov_base = buf;
533 iv.iov_len = len;
535 msg.msg_iov = &iv;
627 struct iovec iv; local
628 memset(&iv, 0, sizeof(iv));
630 iv
[all...]
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.cpp858 AString iv; local
859 if (itemMeta->findString("cipher-iv", &iv)) {
860 if ((!iv.startsWith("0x") && !iv.startsWith("0X"))
861 || iv.size() != 16 * 2 + 2) {
862 ALOGE("malformed cipher IV '%s'.", iv.c_str());
868 char c1 = tolower(iv.c_str()[2 + 2 * i]);
869 char c2 = tolower(iv.c_str()[3 + 2 * i]);
871 ALOGE("malformed cipher IV '%s'.", iv
[all...]
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DActivityTestMain.java76 ImageView iv = new ImageView(this);
78 iv.setImageBitmap(bm);
80 iv.setBackgroundResource(android.R.drawable.gallery_thumb);
83 container.addView(iv, new LinearLayout.LayoutParams(w, h));
85 iv.setOnClickListener(new View.OnClickListener() {
103 iv.setOnLongClickListener(new View.OnLongClickListener() {
/frameworks/base/media/java/android/media/
H A DMediaCodec.java358 iv = newIV;
381 public byte[] iv; field in class:MediaCodec.CryptoInfo
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.h66 const uint8_t iv[16],
H A Dandroid_media_MediaCodec.cpp155 const uint8_t iv[16],
161 index, offset, subSamples, numSubSamples, key, iv, mode,
506 jbyte *iv = NULL; local
570 iv = env->GetByteArrayElements(ivObj, &isCopy);
580 (const uint8_t *)key, (const uint8_t *)iv,
587 if (iv != NULL) {
588 env->ReleaseByteArrayElements(ivObj, iv, 0);
589 iv = NULL;
752 gFields.cryptoInfoIVID = env->GetFieldID(clazz, "iv", "[B");
149 queueSecureInputBuffer( size_t index, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, int64_t presentationTimeUs, uint32_t flags, AString *errorDetailMsg) argument
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DCameraWidgetFrame.java184 ImageView iv = new ImageView(context);
185 iv.setImageResource(com.android.internal.R.drawable.ic_lockscreen_camera);
186 iv.setScaleType(ScaleType.CENTER);
187 iv.setBackgroundColor(Color.argb(127, 0, 0, 0));
188 return iv;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DTabletTicker.java293 ImageView iv = (ImageView)group.findViewById(iconId);
294 iv.setImageDrawable(icon);
295 iv.setVisibility(View.VISIBLE);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
H A DBaseAdapter.java225 ImageView iv = (ImageView) view;
232 resolvedRef, ViewAttribute.SRC, iv.getDrawable());
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DQuickSettings.java317 ImageView iv = (ImageView) view.findViewById(R.id.user_imageview);
320 iv.setImageDrawable(us.avatar);
437 ImageView iv = (ImageView) view.findViewById(R.id.rssi_image);
440 iv.setImageResource(rssiState.signalIconId);
496 ImageView iv = (ImageView) view.findViewById(R.id.battery_image);
510 iv.setImageDrawable(d);
511 iv.setImageLevel(batteryState.batteryLevel);
/frameworks/av/media/libstagefright/
H A DMediaCodec.cpp207 const uint8_t iv[16],
222 msg->setPointer("iv", (void *)iv);
1317 const uint8_t *iv; local
1332 iv = NULL;
1342 CHECK(msg->findPointer("iv", (void **)&iv));
1393 iv,
201 queueSecureInputBuffer( size_t index, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, int64_t presentationTimeUs, uint32_t flags, AString *errorDetailMsg) argument
/frameworks/av/include/media/stagefright/
H A DMediaCodec.h85 const uint8_t iv[16],
/frameworks/base/cmds/pm/src/com/android/commands/pm/
H A DPm.java774 byte[] iv = null;
810 } else if (opt.equals("--iv")) {
811 iv = hexToBytes(nextOptionData());
812 if (iv == null) {
813 System.err.println("Error: must supply argument for --iv");
859 if (algo != null || iv != null || key != null || macAlgo != null || macKey != null
861 if (algo == null || iv == null || key == null) {
862 System.err.println("Error: all of --algo, --iv, and --key must be specified");
884 encryptionParams = new ContainerEncryptionParams(algo, new IvParameterSpec(iv),
1464 System.err.println(" [--algo <algorithm name> --key <key-in-hex> --iv <I
[all...]
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
H A DUT_math_agree.java129 int[] iv = new int[dim];
131 iv[i] = rand.nextInt();
132 return iv;

Completed in 183 milliseconds