Home
last modified time | relevance | path

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

/frameworks/base/services/core/jni/
Dcom_android_server_hint_HintManagerService.cpp79 jlong session_ptr = reinterpret_cast<jlong>(result.value().get()); in createHintSession() local
81 auto res = gSessionMap.insert({session_ptr, result.value()}); in createHintSession()
82 return res.second ? session_ptr : 0; in createHintSession()
102 jlong session_ptr = reinterpret_cast<jlong>(result.value().get()); in createHintSessionWithConfig() local
104 auto res = gSessionMap.insert({session_ptr, result.value()}); in createHintSessionWithConfig()
109 return session_ptr; in createHintSessionWithConfig()
118 static void pauseHintSession(JNIEnv* env, int64_t session_ptr) { in pauseHintSession() argument
119 auto appSession = reinterpret_cast<PowerHintSessionWrapper*>(session_ptr); in pauseHintSession()
123 static void resumeHintSession(JNIEnv* env, int64_t session_ptr) { in resumeHintSession() argument
124 auto appSession = reinterpret_cast<PowerHintSessionWrapper*>(session_ptr); in resumeHintSession()
[all …]