Home
last modified time | relevance | path

Searched refs:active (Results 1 – 5 of 5) sorted by relevance

/system/core/toolbox/
Dgetsebool.c17 int i, get_all = 0, rc = 0, active, pending, len = 0, opt; in getsebool_main() local
73 active = security_get_boolean_active(names[i]); in getsebool_main()
74 if (active < 0) { in getsebool_main()
89 if (pending != active) { in getsebool_main()
91 (active ? "on" : "off"), in getsebool_main()
95 (active ? "on" : "off")); in getsebool_main()
Dschedtop.c25 size_t active; member
66 if (table->active >= table->allocated) in get_item()
68 return table->data + table->active; in get_item()
73 table->active++; in commit_item()
173 for (i = 0; i < last_threads.active; i++) { in print_threads()
178 for (j = 0; j < threads.active; j++) in print_threads()
181 if (j == threads.active) in print_threads()
204 proc_info = &processes.data[processes.active - 1]; in update_table()
213 printf("Processes: %zu, Threads %zu\n", processes.active, threads.active); in update_table()
228 for (i = 0; i < last_processes.active; i++) { in update_table()
[all …]
/system/core/adb/
Dfdevent.c152 int active; in fdevent_update() local
154 active = (fde->state & FDE_EVENTMASK) != 0; in fdevent_update()
166 if(active) { in fdevent_update()
Dtransport.c319 int active = 0; in input_thread() local
338 active = 1; in input_thread()
345 if(active) { in input_thread()
/system/core/sdcard/
Dsdcard.c1681 bool active = false; in watch_package_list() local
1683 if (!active) { in watch_package_list()
1703 active = true; in watch_package_list()
1723 active = false; in watch_package_list()