Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DPerformanceHintManager.java84 long nativeSessionPtr = nativeCreateSession(mNativeManagerPtr, tids, in createHintSession() local
86 if (nativeSessionPtr == 0) return null; in createHintSession()
87 return new Session(nativeSessionPtr); in createHintSession()
112 public Session(long nativeSessionPtr) { in Session() argument
113 mNativeSessionPtr = nativeSessionPtr; in Session()
355 private static native int[] nativeGetThreadIds(long nativeSessionPtr); in nativeGetThreadIds() argument
356 private static native void nativeUpdateTargetWorkDuration(long nativeSessionPtr, in nativeUpdateTargetWorkDuration() argument
358 private static native void nativeReportActualWorkDuration(long nativeSessionPtr, in nativeReportActualWorkDuration() argument
360 private static native void nativeCloseSession(long nativeSessionPtr); in nativeCloseSession() argument
361 private static native void nativeSendHint(long nativeSessionPtr, int hint); in nativeSendHint() argument
[all …]
/frameworks/base/core/jni/
Dandroid_os_PerformanceHintManager.cpp214 static void nativeUpdateTargetWorkDuration(JNIEnv* env, jclass clazz, jlong nativeSessionPtr, in nativeUpdateTargetWorkDuration() argument
217 gAPH_updateTargetWorkDurationFn(reinterpret_cast<APerformanceHintSession*>(nativeSessionPtr), in nativeUpdateTargetWorkDuration()
221 static void nativeReportActualWorkDuration(JNIEnv* env, jclass clazz, jlong nativeSessionPtr, in nativeReportActualWorkDuration() argument
224 gAPH_reportActualWorkDurationFn(reinterpret_cast<APerformanceHintSession*>(nativeSessionPtr), in nativeReportActualWorkDuration()
228 static void nativeCloseSession(JNIEnv* env, jclass clazz, jlong nativeSessionPtr) { in nativeCloseSession() argument
230 gAPH_closeSessionFn(reinterpret_cast<APerformanceHintSession*>(nativeSessionPtr)); in nativeCloseSession()
233 static void nativeSendHint(JNIEnv* env, jclass clazz, jlong nativeSessionPtr, jint hint) { in nativeSendHint() argument
235 gAPH_sendHintFn(reinterpret_cast<APerformanceHintSession*>(nativeSessionPtr), hint); in nativeSendHint()
238 static void nativeSetThreads(JNIEnv* env, jclass clazz, jlong nativeSessionPtr, jintArray tids) { in nativeSetThreads() argument
250 int err = gAPH_setThreadsFn(reinterpret_cast<APerformanceHintSession*>(nativeSessionPtr), in nativeSetThreads()
[all …]