Home
last modified time | relevance | path

Searched refs:elems (Results 1 – 10 of 10) 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/base/services/core/java/com/android/server/pm/dex/
DPackageDexUsage.java371 String[] elems = line.split(SPLIT_CHAR); in read() local
372 if (elems.length < 3) { in read()
386 int ownerUserId = Integer.parseInt(elems[0]); in read()
387 boolean isUsedByOtherApps = readBoolean(elems[1]); in read()
391 for (int i = 2; i < elems.length; i++) { in read()
392 String isa = elems[i]; in read()
394 dexUseInfo.mLoaderIsas.add(elems[i]); in read()
429 String[] elems = line.split(SPLIT_CHAR); in read() local
430 if (elems.length != 2) { in read()
433 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/base/core/proto/android/util/
Dlog.proto86 repeated Elem elems = 7; field
/frameworks/opt/vcard/java/com/android/vcard/
DVCardEntry.java2066 private void handlePhoneticNameFromSound(List<String> elems) { in handlePhoneticNameFromSound() argument
2076 if (elems == null || (size = elems.size()) < 1) { in handlePhoneticNameFromSound()
2087 if (elems.get(0).length() > 0) { in handlePhoneticNameFromSound()
2090 if (elems.get(i).length() > 0) { in handlePhoneticNameFromSound()
2096 final String[] namesArray = elems.get(0).split(" "); in handlePhoneticNameFromSound()
2109 mNameData.mPhoneticGiven = elems.get(0); in handlePhoneticNameFromSound()
2118 mNameData.mPhoneticMiddle = elems.get(2); in handlePhoneticNameFromSound()
2120 mNameData.mPhoneticGiven = elems.get(1); in handlePhoneticNameFromSound()
2122 mNameData.mPhoneticFamily = elems.get(0); in handlePhoneticNameFromSound()
/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()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Drepeated_field.h1594 void** elems = rep_->elements;
1598 elems[rep_->allocated_size] = elems[current_size_];
1600 elems[current_size_] = value;
1641 void** elems = rep_->elements;
1645 elems[rep_->allocated_size] = elems[current_size_];
1647 elems[current_size_] = value;
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DOffloadControllerTest.java734 private static void assertArrayListContains(ArrayList<String> list, String... elems) { in assertArrayListContains() argument
735 for (String element : elems) { in assertArrayListContains()