Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/unit/
DHintSessionWrapperTests.cpp56 (APerformanceHintManager*, const int32_t*, size_t, int64_t, SessionTag));
78 SessionTag tag) { in stubCreateSessionInternal()
80 SessionTag::HWUI); in stubCreateSessionInternal()
84 int64_t initialTarget, SessionTag tag) { in stubManagedCreateSessionInternal()
87 SessionTag::HWUI); in stubManagedCreateSessionInternal()
93 SessionTag tag) { in stubSlowCreateSessionInternal()
96 SessionTag::HWUI); in stubSlowCreateSessionInternal()
/frameworks/native/include/private/
Dperformance_hint_private.h80 enum class SessionTag : int32_t { enum
109 int64_t initialTargetWorkDurationNanos, SessionTag tag);
/frameworks/base/core/java/android/os/
DIHintManager.aidl23 import android.hardware.power.SessionTag;
36 in long durationNanos, in SessionTag tag, out @nullable SessionConfig config); in createHintSessionWithConfig()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/hint/
DHintManagerServiceTest.java54 import android.hardware.power.SessionTag;
317 new int[]{TID, 1}, DEFAULT_TARGET_DURATION, SessionTag.OTHER, config));
327 SESSION_TIDS_A, DEFAULT_TARGET_DURATION, SessionTag.OTHER, new SessionConfig());
331 SESSION_TIDS_B, DOUBLED_TARGET_DURATION, SessionTag.OTHER, new SessionConfig());
335 SESSION_TIDS_C, 0L, SessionTag.OTHER, new SessionConfig());
348 SESSION_TIDS_A, DEFAULT_TARGET_DURATION, SessionTag.OTHER, config);
354 SESSION_TIDS_B, DOUBLED_TARGET_DURATION, SessionTag.APP, config2);
360 SESSION_TIDS_C, 0L, SessionTag.GAME, config3);
374 SessionTag.OTHER, new SessionConfig());
412 SESSION_TIDS_A, DEFAULT_TARGET_DURATION, SessionTag.OTHER, new SessionConfig());
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/
DMockIPower.h34 using aidl::android::hardware::power::SessionTag;
56 int64_t durationNanos, SessionTag tag, SessionConfig* config,
DMockPowerHalController.h53 int64_t durationNanos, aidl::android::hardware::power::SessionTag tag,
/frameworks/native/services/powermanager/tests/
DPowerHalWrapperAidlTest.cpp37 using aidl::android::hardware::power::SessionTag;
61 int64_t durationNanos, SessionTag tag, SessionConfig* config,
270 SessionTag tag = SessionTag::OTHER; in TEST_F()
326 SessionTag tag = SessionTag::OTHER; in TEST_F()
/frameworks/native/include/powermanager/
DPowerHalWrapper.h60 aidl::android::hardware::power::SessionTag tag,
82 aidl::android::hardware::power::SessionTag tag,
166 aidl::android::hardware::power::SessionTag tag,
DPowerHalController.h69 aidl::android::hardware::power::SessionTag tag,
/frameworks/base/native/android/
Dperformance_hint.cpp66 hal::SessionTag tag = hal::SessionTag::APP);
185 hal::SessionTag tag) { in createSession()
478 int64_t initialTargetWorkDurationNanos, SessionTag tag) { in APerformanceHint_createSessionInternal()
482 static_cast<hal::SessionTag>(tag)); in APerformanceHint_createSessionInternal()
/frameworks/base/native/android/tests/performance_hint/
DPerformanceHintNativeTest.cpp47 hal::SessionTag tag, std::optional<hal::SessionConfig>* config,
131 targetDuration, SessionTag::HWUI); in createSession()
205 createHintSessionWithConfig(_, _, _, hal::SessionTag::HWUI, _, _)) in TEST_F()
/frameworks/base/services/core/java/com/android/server/power/hint/
DHintManagerService.java37 import android.hardware.power.SessionTag;
806 @NonNull int[] tids, long durationNanos, @SessionTag int tag, in createHintSessionWithConfig()
831 if (adpfSessionTag() && tag == SessionTag.APP) { in createHintSessionWithConfig()
837 tag = SessionTag.GAME; in createHintSessionWithConfig()
843 tag = SessionTag.APP; in createHintSessionWithConfig()
846 tag = SessionTag.APP; in createHintSessionWithConfig()
978 long targetDuration, int[] tids, @SessionTag int sessionTag) { in logPerformanceHintSessionAtom()
/frameworks/base/libs/hwui/renderthread/
DHintSessionWrapper.h87 SessionTag tag) = nullptr;
DHintSessionWrapper.cpp126 targetDurationNanos, SessionTag::HWUI); in init()
/frameworks/native/services/powermanager/
DPowerHalWrapper.cpp54 int32_t, int32_t, const std::vector<int32_t>& threadIds, int64_t, Aidl::SessionTag, in createHintSessionWithConfig() argument
259 Aidl::SessionTag tag, Aidl::SessionConfig* config) { in createHintSessionWithConfig()
DPowerHalController.cpp139 aidl::android::hardware::power::SessionTag tag, in createHintSessionWithConfig()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DPowerAdvisor.cpp52 using aidl::android::hardware::power::SessionTag;
239 SessionTag::SURFACEFLINGER, in ensurePowerHintSessionRunning()
/frameworks/base/services/core/jni/
Dcom_android_server_hint_HintManagerService.cpp98 static_cast<hal::SessionTag>( in createHintSessionWithConfig()