Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_hardware_SyncFence.cpp33 T* fromJlong(jlong jPtr) { in fromJlong() argument
34 return reinterpret_cast<T*>(static_cast<uintptr_t>(jPtr)); in fromJlong()
51 static jboolean SyncFence_isValid(JNIEnv*, jobject, jlong jPtr) { in SyncFence_isValid() argument
52 return fromJlong<Fence>(jPtr)->isValid(); in SyncFence_isValid()
55 static jint SyncFence_getFd(JNIEnv*, jobject, jlong jPtr) { in SyncFence_getFd() argument
56 return fromJlong<Fence>(jPtr)->get(); in SyncFence_getFd()
59 static jboolean SyncFence_wait(JNIEnv* env, jobject, jlong jPtr, jlong timeoutNanos) { in SyncFence_wait() argument
60 Fence* fence = fromJlong<Fence>(jPtr); in SyncFence_wait()
65 static jlong SyncFence_getSignalTime(JNIEnv* env, jobject, jlong jPtr) { in SyncFence_getSignalTime() argument
66 return fromJlong<Fence>(jPtr)->getSignalTime(); in SyncFence_getSignalTime()
[all …]