/frameworks/base/native/android/ |
D | performance_hint.cpp | 42 APerformanceHintSession* createSession(const int32_t* threadIds, size_t size, 120 const int32_t* threadIds, size_t size, int64_t initialTargetWorkDurationNanos) { in createSession() argument 122 std::vector<int32_t> tids(threadIds, threadIds + size); in createSession() 213 const int32_t* threadIds, size_t size, in APerformanceHint_createSession() argument 215 return manager->createSession(threadIds, size, initialTargetWorkDurationNanos); in APerformanceHint_createSession()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_hint_HintManagerService.cpp | 46 std::vector<int32_t> threadIds, int64_t durationNanos) { in createHintSession() argument 48 gPowerHalController.createHintSession(tgid, uid, std::move(threadIds), durationNanos); in createHintSession() 105 std::vector<int32_t> threadIds(tidArray.size()); in nativeCreateHintSession() local 107 threadIds[i] = tidArray[i]; in nativeCreateHintSession() 109 return createHintSession(env, tgid, uid, std::move(threadIds), durationNanos); in nativeCreateHintSession()
|
/frameworks/native/services/powermanager/tests/ |
D | PowerHalWrapperAidlTest.cpp | 51 (int32_t tgid, int32_t uid, const std::vector<int32_t>& threadIds, 210 std::vector<int> threadIds{gettid()}; in TEST_F() local 215 createHintSession(Eq(tgid), Eq(uid), Eq(threadIds), Eq(durationNanos), _)) in TEST_F() 217 auto result = mWrapper->createHintSession(tgid, uid, threadIds, durationNanos); in TEST_F() 224 std::vector<int> threadIds{}; in TEST_F() local 227 createHintSession(Eq(tgid), Eq(uid), Eq(threadIds), Eq(durationNanos), _)) in TEST_F() 230 auto result = mWrapper->createHintSession(tgid, uid, threadIds, durationNanos); in TEST_F()
|
/frameworks/native/services/powermanager/benchmarks/ |
D | PowerHalAidlBenchmarks.cpp | 101 std::vector<int32_t> threadIds{1}; in runSessionBenchmark() local 105 auto status = pwHal->createHintSession(1, 0, threadIds, durationNanos, &hal); in runSessionBenchmark() 154 std::vector<int32_t> threadIds{static_cast<int32_t>(state.range(0))}; in BM_PowerHalAidlBenchmarks_createHintSession() local 166 binder::Status ret = hal->createHintSession(tgid, uid, threadIds, durationNanos, &appSession); in BM_PowerHalAidlBenchmarks_createHintSession() 173 ret = hal->createHintSession(tgid, uid, threadIds, durationNanos, &appSession); in BM_PowerHalAidlBenchmarks_createHintSession()
|
/frameworks/native/services/powermanager/ |
D | PowerHalWrapper.cpp | 96 int32_t, int32_t, const std::vector<int32_t>& threadIds, int64_t) { in createHintSession() argument 98 threadIds.size()); in createHintSession() 156 int32_t, int32_t, const std::vector<int32_t>& threadIds, int64_t) { in createHintSession() argument 158 threadIds.size()); in createHintSession() 238 int32_t tgid, int32_t uid, const std::vector<int32_t>& threadIds, int64_t durationNanos) { in createHintSession() argument 241 fromStatus(mHandle->createHintSession(tgid, uid, threadIds, durationNanos, &appSession), in createHintSession()
|
D | PowerHalController.cpp | 102 int32_t tgid, int32_t uid, const std::vector<int32_t>& threadIds, int64_t durationNanos) { in createHintSession() argument 104 auto result = handle->createHintSession(tgid, uid, threadIds, durationNanos); in createHintSession()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | KernelCpuThreadReaderTest.java | 105 private void setupDirectory(Path processPath, int[] threadIds, String processName, in setupDirectory() argument 119 for (int i = 0; i < threadIds.length; i++) { in setupDirectory() 121 final Path threadPath = selfThreadsPath.resolve(String.valueOf(threadIds[i])); in setupDirectory() 139 int[] readerCpuFrequencies, int uid, int processId, int[] threadIds, String processName, in checkResults() argument 145 assertEquals(threadIds.length, processCpuUsage.threadCpuUsages.size()); in checkResults() 154 assertEquals(threadIds[threadCount], threadCpuUsage.threadId); in checkResults() 168 assertEquals(threadCount, threadIds.length); in checkResults()
|
/frameworks/native/include/powermanager/ |
D | PowerHalWrapper.h | 123 int32_t tgid, int32_t uid, const std::vector<int32_t>& threadIds, 137 int32_t tgid, int32_t uid, const std::vector<int32_t>& threadIds, 152 int32_t tgid, int32_t uid, const std::vector<int32_t>& threadIds, 190 int32_t tgid, int32_t uid, const std::vector<int32_t>& threadIds,
|
D | PowerHalController.h | 61 int32_t tgid, int32_t uid, const std::vector<int32_t>& threadIds,
|
/frameworks/native/include/private/ |
D | performance_hint_private.h | 90 const int32_t* threadIds, size_t size,
|
/frameworks/base/tests/GamePerformance/src/android/gameperformance/ |
D | GraphicBufferMetrics.java | 325 Set<Integer> threadIds = new TreeSet<>(); in buildEventModel() local 326 threadIds.addAll(result.keySet()); in buildEventModel() 327 for (int threadId : threadIds) { in buildEventModel()
|
/frameworks/base/services/core/java/com/android/server/power/hint/ |
D | HintManagerService.java | 363 int uid, int pid, int[] threadIds, IBinder token, in AppHintSession() argument 368 mThreadIds = threadIds; in AppHintSession()
|