Home
last modified time | relevance | path

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

/frameworks/native/include/android/
Dperformance_hint.h63 struct AWorkDuration;
83 typedef struct AWorkDuration AWorkDuration; typedef
251 AWorkDuration* _Nonnull workDuration) __INTRODUCED_IN(__ANDROID_API_V__);
260 AWorkDuration* _Nonnull AWorkDuration_create() __INTRODUCED_IN(__ANDROID_API_V__);
267 void AWorkDuration_release(AWorkDuration* _Nonnull aWorkDuration)
277 void AWorkDuration_setWorkPeriodStartTimestampNanos(AWorkDuration* _Nonnull aWorkDuration,
287 void AWorkDuration_setActualTotalDurationNanos(AWorkDuration* _Nonnull aWorkDuration,
298 void AWorkDuration_setActualCpuDurationNanos(AWorkDuration* _Nonnull aWorkDuration,
309 void AWorkDuration_setActualGpuDurationNanos(AWorkDuration* _Nonnull aWorkDuration,
/frameworks/base/native/android/
Dperformance_hint.cpp52 struct AWorkDuration : public hal::WorkDuration {}; struct
102 int reportActualWorkDuration(AWorkDuration* workDuration);
107 int reportActualWorkDurationInternal(AWorkDuration* workDuration);
272 return reportActualWorkDurationInternal(static_cast<AWorkDuration*>(&workDuration)); in reportActualWorkDuration()
359 int APerformanceHintSession::reportActualWorkDuration(AWorkDuration* workDuration) { in reportActualWorkDuration()
363 int APerformanceHintSession::reportActualWorkDurationInternal(AWorkDuration* workDuration) { in reportActualWorkDurationInternal()
532 AWorkDuration* workDurationPtr) { in APerformanceHint_reportActualWorkDuration2()
543 AWorkDuration* AWorkDuration_create() { in AWorkDuration_create()
544 return new AWorkDuration(); in AWorkDuration_create()
547 void AWorkDuration_release(AWorkDuration* aWorkDuration) { in AWorkDuration_release()
[all …]
/frameworks/base/core/jni/
Dandroid_os_PerformanceHintManager.cpp48 typedef void (*APH_reportActualWorkDuration2)(APerformanceHintSession*, AWorkDuration*);
50 typedef AWorkDuration* (*AWD_create)();
51 typedef void (*AWD_setTimeNanos)(AWorkDuration*, int64_t);
52 typedef void (*AWD_release)(AWorkDuration*);
299 AWorkDuration* workDuration = gAWD_createFn(); in nativeReportActualWorkDuration2()
/frameworks/base/native/android/tests/performance_hint/
DPerformanceHintNativeTest.cpp307 reinterpret_cast<AWorkDuration*>( in TEST_F()
317 AWorkDuration* aWorkDuration = AWorkDuration_create(); in TEST_F()