Home
last modified time | relevance | path

Searched refs:elems (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/media/mca/filterfw/jni/
Djni_util.cpp148 jint* elems = env->GetIntArrayElements(static_cast<jintArray>(object), NULL); in ToCValue() local
150 result = MakeIntArrayValue(elems, count); in ToCValue()
151 env->ReleaseIntArrayElements(static_cast<jintArray>(object), elems, JNI_ABORT); in ToCValue()
153 jfloat* elems = env->GetFloatArrayElements(static_cast<jfloatArray>(object), NULL); in ToCValue() local
155 result = MakeFloatArrayValue(elems, count); in ToCValue()
156 env->ReleaseFloatArrayElements(static_cast<jfloatArray>(object), elems, JNI_ABORT); in ToCValue()
/frameworks/libs/net/common/hostdevice/com/android/testutils/
DMiscAsserts.kt72 fun <T> assertContainsAll(list: Collection<T>, vararg elems: T) { in assertContainsAll()
73 assertContainsAll(list, elems.asList()) in assertContainsAll()
76 fun <T> assertContainsAll(list: Collection<T>, elems: Collection<T>) { in assertContainsAll()
77 elems.forEach { assertTrue(list.contains(it), "$it not in list") } in assertContainsAll()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DPackageDexUsage.java375 String[] elems = line.split(SPLIT_CHAR); in read() local
376 if (elems.length < 3) { in read()
390 int ownerUserId = Integer.parseInt(elems[0]); in read()
391 boolean isUsedByOtherApps = readBoolean(elems[1]); in read()
395 for (int i = 2; i < elems.length; i++) { in read()
396 String isa = elems[i]; in read()
398 dexUseInfo.mLoaderIsas.add(elems[i]); in read()
433 String[] elems = line.split(SPLIT_CHAR); in read() local
434 if (elems.length != 2) { in read()
437 currentPackage = elems[0]; in read()
[all …]
/frameworks/base/core/jni/
Dandroid_media_AudioRecord.cpp454 void envReleaseArrayElements(JNIEnv *env, jbyteArray array, jbyte *elems, jint mode) { in envReleaseArrayElements() argument
455 env->ReleaseByteArrayElements(array, elems, mode); in envReleaseArrayElements()
464 void envReleaseArrayElements(JNIEnv *env, jshortArray array, jshort *elems, jint mode) { in envReleaseArrayElements() argument
465 env->ReleaseShortArrayElements(array, elems, mode); in envReleaseArrayElements()
474 void envReleaseArrayElements(JNIEnv *env, jfloatArray array, jfloat *elems, jint mode) { in envReleaseArrayElements() argument
475 env->ReleaseFloatArrayElements(array, elems, mode); in envReleaseArrayElements()
Dandroid_media_AudioTrack.cpp597 void envReleaseArrayElements(JNIEnv *env, jbyteArray array, jbyte *elems, jint mode) { in envReleaseArrayElements() argument
598 env->ReleaseByteArrayElements(array, elems, mode); in envReleaseArrayElements()
607 void envReleaseArrayElements(JNIEnv *env, jshortArray array, jshort *elems, jint mode) { in envReleaseArrayElements() argument
608 env->ReleaseShortArrayElements(array, elems, mode); in envReleaseArrayElements()
617 void envReleaseArrayElements(JNIEnv *env, jfloatArray array, jfloat *elems, jint mode) { in envReleaseArrayElements() argument
618 env->ReleaseFloatArrayElements(array, elems, mode); in envReleaseArrayElements()
/frameworks/av/media/libstagefright/webm/
DWebmWriter.cpp560 sp<WebmElement> elems[] = { ebml, segment, seekHead, info, tracks, cues }; in start() local
561 static const size_t nElems = sizeof(elems) / sizeof(elems[0]); in start()
565 WebmElement *e = elems[i].get(); in start()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardEntry.java2078 private void handlePhoneticNameFromSound(List<String> elems) { in handlePhoneticNameFromSound() argument
2088 if (elems == null || (size = elems.size()) < 1) { in handlePhoneticNameFromSound()
2099 if (elems.get(0).length() > 0) { in handlePhoneticNameFromSound()
2102 if (elems.get(i).length() > 0) { in handlePhoneticNameFromSound()
2108 final String[] namesArray = elems.get(0).split(" "); in handlePhoneticNameFromSound()
2121 mNameData.mPhoneticGiven = elems.get(0); in handlePhoneticNameFromSound()
2130 mNameData.mPhoneticMiddle = elems.get(2); in handlePhoneticNameFromSound()
2132 mNameData.mPhoneticGiven = elems.get(1); in handlePhoneticNameFromSound()
2134 mNameData.mPhoneticFamily = elems.get(0); in handlePhoneticNameFromSound()
/frameworks/base/core/proto/android/util/
Dlog.proto86 repeated Elem elems = 7; field
/frameworks/native/cmds/surfacereplayer/replayer/
DReplayer.cpp184 std::vector<std::string> elems; in split() local
188 elems.push_back(item); in split()
190 return elems; in split()