Home
last modified time | relevance | path

Searched refs:tasks (Results 1 – 25 of 38) sorted by relevance

12

/system/chre/platform/linux/tests/
Dtask_test.cc65 Task tasks[numTasks] = {Task(incrementGVar, std::chrono::milliseconds(0), 0), in TEST() local
74 EXPECT_TRUE(tasks[i] < tasks[i + 1]); in TEST()
75 EXPECT_TRUE(tasks[i] <= tasks[i + 1]); in TEST()
76 EXPECT_FALSE(tasks[i] > tasks[i + 1]); in TEST()
77 EXPECT_FALSE(tasks[i] >= tasks[i + 1]); in TEST()
/system/core/fastboot/
Dtask_test.cpp49 std::vector<std::unique_ptr<Task>> tasks; in collectTasks() local
51 tasks.emplace_back(ParseFastbootInfoLine(fp, command)); in collectTasks()
53 return tasks; in collectTasks()
65 std::vector<std::unique_ptr<Task>> tasks = collectTasks(fp.get(), commands); in TEST_F() local
75 for (auto& task : tasks) { in TEST_F()
79 for (size_t i = 0; i < tasks.size(); i++) { in TEST_F()
80 auto task = tasks[i]->AsFlashTask(); in TEST_F()
Dtask.cpp175 const FlashingPlan* fp, std::vector<std::unique_ptr<Task>>& tasks) { in InitializeFromTasks() argument
215 for (const auto& task : tasks) { in InitializeFromTasks()
239 tasks.erase(std::remove_if(tasks.begin(), tasks.end(), remove_if_callback), tasks.end()); in InitializeFromTasks()
Dfastboot.cpp1640 void AddResizeTasks(const FlashingPlan* fp, std::vector<std::unique_ptr<Task>>* tasks) { in AddResizeTasks() argument
1645 for (size_t i = 0; i < tasks->size(); i++) { in AddResizeTasks()
1646 if (auto flash_task = tasks->at(i)->AsFlashTask()) { in AddResizeTasks()
1661 tasks->insert(tasks->begin() + loc.value(), std::make_move_iterator(resize_tasks.begin()), in AddResizeTasks()
1716 std::vector<std::unique_ptr<Task>> tasks; in ParseFastbootInfo() local
1740 tasks.emplace_back(std::move(task)); in ParseFastbootInfo()
1742 if (auto flash_super_task = FlashSuperLayoutTask::InitializeFromTasks(fp, tasks)) { in ParseFastbootInfo()
1743 auto it = tasks.begin(); in ParseFastbootInfo()
1744 for (size_t i = 0; i < tasks.size(); i++) { in ParseFastbootInfo()
1745 if (auto flash_task = tasks[i]->AsFlashTask()) { in ParseFastbootInfo()
[all …]
Dtask.h84 const FlashingPlan* fp, std::vector<std::unique_ptr<Task>>& tasks);
Dfastboot.h145 void AddResizeTasks(const FlashingPlan* fp, std::vector<std::unique_ptr<Task>>& tasks);
/system/core/storaged/
Duid_info.cpp29 parcel->writeInt32(tasks.size()); in writeToParcel()
30 for (const auto& task_it : tasks) { in writeToParcel()
49 tasks[task.pid] = task; in readFromParcel()
Dstoraged_uid_monitor.cpp188 uid_io_stats[u.uid].tasks[t.pid] = t; in get_uid_io_stats_locked()
338 for (const auto& task_it : uid.tasks) { in update_curr_io_stats_locked()
343 last_uid_io_stats_[uid.uid].tasks[pid].io[FOREGROUND].read_bytes; in update_curr_io_stats_locked()
345 last_uid_io_stats_[uid.uid].tasks[pid].io[BACKGROUND].read_bytes; in update_curr_io_stats_locked()
347 last_uid_io_stats_[uid.uid].tasks[pid].io[FOREGROUND].write_bytes; in update_curr_io_stats_locked()
349 last_uid_io_stats_[uid.uid].tasks[pid].io[BACKGROUND].write_bytes; in update_curr_io_stats_locked()
Dstoraged_service.cpp199 uinfo.tasks = it.second.tasks; in dumpUids()
Dstoraged_utils.cpp81 for (const auto& task_it : uid.tasks) { in log_console_running_uids_info()
/system/core/rootdir/
Dinit.rc118 chown system system /dev/stune/tasks
119 chown system system /dev/stune/foreground/tasks
120 chown system system /dev/stune/background/tasks
121 chown system system /dev/stune/top-app/tasks
122 chown system system /dev/stune/rt/tasks
128 chmod 0664 /dev/stune/tasks
129 chmod 0664 /dev/stune/foreground/tasks
130 chmod 0664 /dev/stune/background/tasks
131 chmod 0664 /dev/stune/top-app/tasks
132 chmod 0664 /dev/stune/rt/tasks
[all …]
/system/extras/memory_replay/traces/
DTRACES18 doing various tasks on the phone such as starting and closing apps.
22 doing various tasks on the phone such as starting and closing apps.
26 doing various tasks on the phone such as starting and closing apps.
/system/core/storaged/include/
Duid_info.h67 std::unordered_map<uint32_t, task_info> tasks; // mapped from pid variable
/system/sepolicy/prebuilts/api/33.0/private/
Dupdate_engine_common.te9 # by update_engine execing scripts in vendor to perform any update tasks needed
/system/sepolicy/private/
Dupdate_engine_common.te9 # by update_engine execing scripts in vendor to perform any update tasks needed
/system/sepolicy/prebuilts/api/31.0/private/
Dupdate_engine_common.te9 # by update_engine execing scripts in vendor to perform any update tasks needed
/system/sepolicy/prebuilts/api/32.0/private/
Dupdate_engine_common.te9 # by update_engine execing scripts in vendor to perform any update tasks needed
/system/sepolicy/prebuilts/api/34.0/private/
Dupdate_engine_common.te9 # by update_engine execing scripts in vendor to perform any update tasks needed
/system/gsid/
Dgsid.rc26 exec_background - root root -- /system/bin/gsid run-startup-tasks
/system/chre/java/test/utils/src/com/google/android/utils/chre/
DContextHubServiceTestHelper.java246 public void runConcurrentTasks(List<Runnable> tasks, long timeout, TimeUnit unit) in runConcurrentTasks() argument
249 for (Runnable task : tasks) { in runConcurrentTasks()
/system/extras/tests/workloads/
Drecentfling.sh21 (-B) echo $$ > /dev/cpuset/background/tasks;;
/system/libsysprop/srcs/android/sysprop/
DCarProperties.sysprop54 # Whether the Vehicle HAL should be used for user management tasks.
/system/libbase/
DREADME.md5 This library is a collection of convenience functions to make common tasks
/system/sepolicy/prebuilts/api/29.0/private/
Dsystem_app.te134 # Settings app writes to /dev/stune/foreground/tasks.
/system/memory/lmkd/
DREADME.md20 instead userspace lmkd daemon performs these tasks.

12