Home
last modified time | relevance | path

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

/hardware/google/aemu/base/
DHealthMonitor_unittest.cpp381 VariantWith<MetricEventHang>(Field(&MetricEventHang::taskId, 2)))) in TEST_F()
384 VariantWith<MetricEventHang>(Field(&MetricEventHang::taskId, 1)))) in TEST_F()
387 VariantWith<MetricEventHang>(Field(&MetricEventHang::taskId, 0)))) in TEST_F()
391 logMetricEvent(VariantWith<MetricEventUnHang>(Field(&MetricEventUnHang::taskId, 2)))) in TEST_F()
395 logMetricEvent(VariantWith<MetricEventUnHang>(Field(&MetricEventUnHang::taskId, 1)))) in TEST_F()
399 logMetricEvent(VariantWith<MetricEventUnHang>(Field(&MetricEventUnHang::taskId, 0)))) in TEST_F()
422 VariantWith<MetricEventHang>(Field(&MetricEventHang::taskId, 1)))) in TEST_F()
426 logMetricEvent(VariantWith<MetricEventUnHang>(Field(&MetricEventUnHang::taskId, 1)))) in TEST_F()
443 VariantWith<MetricEventHang>(Field(&MetricEventHang::taskId, 1)))) in TEST_F()
447 logMetricEvent(VariantWith<MetricEventUnHang>(Field(&MetricEventUnHang::taskId, 1)))) in TEST_F()
[all …]
DHealthMonitor.cpp223 mLogger.logMetricEvent(MetricEventHang{.taskId = task.id, in main()
237 mLogger.logMetricEvent(MetricEventUnHang{.taskId = task.id, in main()
/hardware/google/gfxstream/host/
DVirtioGpuTimelines.cpp59 void VirtioGpuTimelines::notifyTaskCompletion(TaskId taskId) { in notifyTaskCompletion() argument
61 auto iTask = mTaskIdToTask.find(taskId); in notifyTaskCompletion()
64 << "Task(id = " << static_cast<uint64_t>(taskId) << ") can't be found"; in notifyTaskCompletion()
69 << "Task(id = " << static_cast<uint64_t>(taskId) << ") has been destroyed"; in notifyTaskCompletion()
71 if (task->mId != taskId) { in notifyTaskCompletion()
73 << "Task id mismatch. Expected " << static_cast<uint64_t>(taskId) << " Actual " in notifyTaskCompletion()
78 << "Task(id = " << static_cast<uint64_t>(taskId) << ") has been set to completed."; in notifyTaskCompletion()
Dvirtio-gpu-gfxstream-renderer.cpp949 auto taskId = mVirtioGpuTimelines->enqueueTask(ring); in submitCmd() local
950 mVirtioGpuOps->async_wait_for_gpu_with_cb(sync_handle, [this, taskId] { in submitCmd()
951 mVirtioGpuTimelines->notifyTaskCompletion(taskId); in submitCmd()
975 auto taskId = mVirtioGpuTimelines->enqueueTask(ring); in submitCmd() local
978 [this, taskId] { mVirtioGpuTimelines->notifyTaskCompletion(taskId); }); in submitCmd()
998 auto taskId = mVirtioGpuTimelines->enqueueTask(ring); in submitCmd() local
999 mVirtioGpuOps->async_wait_for_gpu_vulkan_qsri_with_cb(image_handle, [this, taskId] { in submitCmd()
1000 mVirtioGpuTimelines->notifyTaskCompletion(taskId); in submitCmd()
1640 auto taskId = mVirtioGpuTimelines->enqueueTask(VirtioGpuRingGlobal{}); in flushResource() local
1642 res_handle, [this, taskId](std::shared_future<void> waitForGpu) { in flushResource()
[all …]
/hardware/google/pixel/power-libperfmgr/aidl/
DSessionTaskMap.cpp43 for (auto taskId : taskIds) { in add() local
44 mTasks[taskId].push_back(sessValPtr); in add()
80 void SessionTaskMap::getTaskVoteRange(pid_t taskId, std::chrono::steady_clock::time_point timeNow, in getTaskVoteRange() argument
84 auto taskItr = mTasks.find(taskId); in getTaskVoteRange()
115 std::vector<int64_t> SessionTaskMap::getSessionIds(pid_t taskId) const { in getSessionIds()
116 auto itr = mTasks.find(taskId); in getSessionIds()
161 for (const auto taskId : sessItr->second.linkedTasks) { in remove() local
163 auto taskItr = mTasks.find(taskId); in remove()
190 bool SessionTaskMap::removeDeadTaskSessionMap(int64_t sessionId, pid_t taskId) { in removeDeadTaskSessionMap() argument
196 auto taskItr = mTasks.find(taskId); in removeDeadTaskSessionMap()
DSessionTaskMap.h60 void getTaskVoteRange(pid_t taskId, std::chrono::steady_clock::time_point timeNow,
66 std::vector<int64_t> getSessionIds(pid_t taskId) const;
87 void forEachSessionInTask(pid_t taskId, FN fn) const { in forEachSessionInTask() argument
88 auto taskSessItr = mTasks.find(taskId); in forEachSessionInTask()
117 bool removeDeadTaskSessionMap(int64_t sessionId, pid_t taskId);
DPowerSessionManager.cpp231 for (auto taskId : tasks) { in dumpToFd() local
232 dump_buf << taskId << ":"; in dumpToFd()
233 const auto &sessionIds = mSessionTaskMap.getSessionIds(taskId); in dumpToFd()
/hardware/google/gfxstream/guest/android-emu/aemu/base/
DAndroidHealthMonitorConsumerBasic.h23 void consumeHangEvent(uint64_t taskId, const EventHangMetadata* metadata,
25 void consumeUnHangEvent(uint64_t taskId, const EventHangMetadata* metadata,
DAndroidHealthMonitorConsumer.h73 virtual void consumeHangEvent(uint64_t taskId, const EventHangMetadata* metadata,
75 virtual void consumeUnHangEvent(uint64_t taskId, const EventHangMetadata* metadata,
/hardware/google/aemu/base/include/aemu/base/
DMetrics.h78 uint64_t taskId; /* From HealthMonitor */ member
83 uint64_t taskId; /* From HealthMonitor */ member
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraAllocator.h60 virtual int32_t waitForBackgroundTask(uint32_t &taskId) = 0;
DQCamera2HWI.h517 virtual int32_t waitForBackgroundTask(uint32_t &taskId);
DQCamera2HWI.cpp11109 int32_t QCamera2HardwareInterface::waitForBackgroundTask(uint32_t& taskId) in waitForBackgroundTask() argument
11111 return waitDeferredWork(taskId); in waitForBackgroundTask()
/hardware/interfaces/automotive/remoteaccess/test_grpc_server/impl/src/
DTestWakeupClientServiceImpl.cpp80 mLooper->removeMessages(mTaskTimeoutMessageHandler, response.taskId); in maybePopOne()
89 int taskId = mTaskIdCounter++; in add() local
91 .taskId = taskId, in add()
95 android::Message message(taskId); in add()
/hardware/interfaces/automotive/remoteaccess/test_grpc_server/impl/include/
DTestWakeupClientServiceImpl.h51 int taskId; member
60 (l.timestampInMs == r.timestampInMs && l.taskId > r.taskId); in operator()
/hardware/google/gfxstream/host/tests/
DVirtioGpuTimelines_unittest.cpp144 auto taskId = virtioGpuTimelines->enqueueTask(RingGlobal{}); in TEST() local
148 virtioGpuTimelines->notifyTaskCompletion(taskId); in TEST()
/hardware/google/pixel/power-libperfmgr/aidl/tests/
DSessionTaskMapTest.cpp44 std::vector<int64_t> getSessions(int taskId, const SessionTaskMap &m) { in getSessions() argument
47 taskId, [&](int sessionId, const auto & /*sve*/) { sessionIds.push_back(sessionId); }); in getSessions()
227 int getVoteMin(const SessionTaskMap &m, int64_t taskId, std::chrono::steady_clock::time_point t) { in getVoteMin() argument
230 m.getTaskVoteRange(taskId, t, range, fakeEfficiencyParam, fakeEfficiencyParam); in getVoteMin()