Searched refs:tids (Results 1 – 6 of 6) sorted by relevance
/cts/hostsidetests/statsdatom/apps/adpfapp/src/android/adpf/atom/app/ |
D | ADPFAtomTestActivity.java | 67 final int[] tids = createHintSessionWithExitedThreads(); in onCreate() local 69 for (int tid : tids) { in onCreate() 108 int[] tids = createThreads(5, stopLatch); in createHintSessionWithExitedThreads() local 109 hintManager.createHintSession(tids, 100); in createHintSessionWithExitedThreads() 111 return tids; in createHintSessionWithExitedThreads() 115 int[] tids = new int[tidCnt]; in createThreads() local 120 tids[k.getAndIncrement()] = android.os.Process.myTid(); in createThreads() 131 return tids; in createThreads()
|
/cts/hostsidetests/os/src/android/os/cts/ |
D | ProcfsHostTests.java | 118 int[] tids = lookForTidsInProcess(mTestAppPid); in testProcTidStat() local 119 assertTrue("/proc/" + mTestAppPid + "/task/ includes < 2 threads", tids.length >= 2); in testProcTidStat() 121 for (int tid : tids) { in testProcTidStat() 229 int[] tids = new int[threads.length]; in lookForTidsInProcess() local 231 tids[i] = Integer.parseInt(threads[i]); in lookForTidsInProcess() 233 return tids; in lookForTidsInProcess()
|
/cts/hostsidetests/adpf/app/hintsession/src/cpp/ |
D | main.cpp | 199 std::vector<pid_t> tids; in android_main() local 200 tids.push_back(gettid()); in android_main() 201 getRenderer(pApp)->startHintSession(tids, 6 * initialStats.medianWorkDuration); in android_main()
|
D | Renderer.cpp | 343 void Renderer::startHintSession(std::vector<int32_t> &tids, int64_t target) { in startHintSession() argument 350 APerformanceHint_createSession(hintManager_, tids.data(), tids.size(), target); in startHintSession()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/performancehintmanager/ |
D | PerformanceHintManagerStatsTests.java | 259 List<Integer> tids = Arrays.stream(tidsStr.split(",")).map(Integer::parseInt).toList(); in testAdpfHintSessionTidCleanupIsPushed() local 267 assertThat(a0.getMaxInvalidTidCount()).isAtLeast(tids.size()); in testAdpfHintSessionTidCleanupIsPushed() 268 assertThat(a0.getTotalTidCount()).isAtLeast(tids.size()); in testAdpfHintSessionTidCleanupIsPushed() 269 assertThat(a0.getTotalInvalidTidCount()).isAtLeast(tids.size()); in testAdpfHintSessionTidCleanupIsPushed()
|
/cts/tests/tests/os/jni/ |
D | android_os_cts_PerformanceHintManagerTest.cpp | 186 std::vector<pid_t> tids; in nativeTestSetThreadsWithInvalidTid() local 187 tids.push_back(2); in nativeTestSetThreadsWithInvalidTid() 188 int result = APerformanceHint_setThreads(wrapper.session(), tids.data(), 1); in nativeTestSetThreadsWithInvalidTid()
|