Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/biometrics/
DSensorConfig.java30 String[] elems = config.split(":"); in SensorConfig() local
31 id = Integer.parseInt(elems[0]); in SensorConfig()
32 modality = Integer.parseInt(elems[1]); in SensorConfig()
33 strength = Integer.parseInt(elems[2]); in SensorConfig()
DBiometricStrengthController.java117 String[] elems = item.split(":"); in getIdToStrengthMap() local
118 final int id = Integer.parseInt(elems[0]); in getIdToStrengthMap()
119 final int strength = Integer.parseInt(elems[1]); in getIdToStrengthMap()
/frameworks/base/core/java/android/hardware/face/
DHidlFaceSensorConfig.java45 final String[] elems = config.split(":"); in parse() local
46 if (elems.length < 3) { in parse()
49 mSensorId = Integer.parseInt(elems[0]); in parse()
50 mModality = Integer.parseInt(elems[1]); in parse()
51 mStrength = Integer.parseInt(elems[2]); in parse()
/frameworks/base/core/java/android/hardware/fingerprint/
DHidlFingerprintSensorConfig.java48 final String[] elems = config.split(":"); in parse() local
49 if (elems.length < 3) { in parse()
52 mSensorId = Integer.parseInt(elems[0]); in parse()
53 mModality = Integer.parseInt(elems[1]); in parse()
54 mStrength = Integer.parseInt(elems[2]); in parse()
/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.java373 String[] elems = line.split(SPLIT_CHAR); in read() local
374 if (elems.length < 3) { in read()
387 int ownerUserId = Integer.parseInt(elems[0]); in read()
388 boolean isUsedByOtherApps = readBoolean(elems[1]); in read()
392 for (int i = 2; i < elems.length; i++) { in read()
393 String isa = elems[i]; in read()
395 dexUseInfo.mLoaderIsas.add(elems[i]); in read()
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/common/
Dmedia_c2_hidl_test_common.h73 std::apply([&ss](auto&&... elems) { ((ss << elems << '_'), ...); }, info.param); in PrintInstanceTupleNameToString()
/frameworks/base/core/jni/
Dandroid_media_AudioRecord.cpp368 void envReleaseArrayElements(JNIEnv *env, jbyteArray array, jbyte *elems, jint mode) { in envReleaseArrayElements() argument
369 env->ReleaseByteArrayElements(array, elems, mode); in envReleaseArrayElements()
378 void envReleaseArrayElements(JNIEnv *env, jshortArray array, jshort *elems, jint mode) { in envReleaseArrayElements() argument
379 env->ReleaseShortArrayElements(array, elems, mode); in envReleaseArrayElements()
388 void envReleaseArrayElements(JNIEnv *env, jfloatArray array, jfloat *elems, jint mode) { in envReleaseArrayElements() argument
389 env->ReleaseFloatArrayElements(array, elems, mode); in envReleaseArrayElements()
Dandroid_media_AudioTrack.cpp613 void envReleaseArrayElements(JNIEnv *env, jbyteArray array, jbyte *elems, jint mode) { in envReleaseArrayElements() argument
614 env->ReleaseByteArrayElements(array, elems, mode); in envReleaseArrayElements()
623 void envReleaseArrayElements(JNIEnv *env, jshortArray array, jshort *elems, jint mode) { in envReleaseArrayElements() argument
624 env->ReleaseShortArrayElements(array, elems, mode); in envReleaseArrayElements()
633 void envReleaseArrayElements(JNIEnv *env, jfloatArray array, jfloat *elems, jint mode) { in envReleaseArrayElements() argument
634 env->ReleaseFloatArrayElements(array, elems, mode); in envReleaseArrayElements()
/frameworks/av/media/libstagefright/webm/
DWebmWriter.cpp592 sp<WebmElement> elems[] = { ebml, segment, seekHead, info, tracks, cues }; in start() local
593 static const size_t nElems = sizeof(elems) / sizeof(elems[0]); in start()
597 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