Home
last modified time | relevance | path

Searched refs:patternObj (Results 1 – 2 of 2) sorted by relevance

/aosp14/frameworks/base/services/core/jni/
H A Dcom_android_server_input_InputManagerService.cpp2097 static void nativeVibrate(JNIEnv* env, jobject nativeImplObj, jint deviceId, jlongArray patternObj, in nativeVibrate() argument
2101 size_t patternSize = env->GetArrayLength(patternObj); in nativeVibrate()
2110 patternObj, nullptr)); in nativeVibrate()
2126 env->ReleasePrimitiveArrayCritical(patternObj, patternMillis, JNI_ABORT); in nativeVibrate()
2133 jlongArray patternObj, jobject amplitudesObj, jint repeat, in nativeVibrateCombined() argument
2137 size_t patternSize = env->GetArrayLength(patternObj); in nativeVibrateCombined()
2145 const jlong* patternMillis = env->GetLongArrayElements(patternObj, nullptr); in nativeVibrateCombined()
/aosp14/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.cpp1943 ScopedLocalRef<jobject> patternObj{ local
1946 if (patternObj.get() == nullptr) {
1951 patternObj.get(), gFields.patternEncryptBlocksID);
1953 patternObj.get(), gFields.patternSkipBlocksID);
2111 jobject patternObj = env->GetObjectField(cryptoInfoObj, gFields.cryptoInfoPatternID); in android_media_MediaCodec_queueSecureInputBuffer() local
2114 if (patternObj == NULL) { in android_media_MediaCodec_queueSecureInputBuffer()
2118 pattern.mEncryptBlocks = env->GetIntField(patternObj, gFields.patternEncryptBlocksID); in android_media_MediaCodec_queueSecureInputBuffer()
2119 pattern.mSkipBlocks = env->GetIntField(patternObj, gFields.patternSkipBlocksID); in android_media_MediaCodec_queueSecureInputBuffer()