Home
last modified time | relevance | path

Searched refs:active (Results 1 – 6 of 6) 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.c28 size_t active; member
69 if (table->active >= table->allocated) in get_item()
71 return table->data + table->active; in get_item()
76 table->active++; in commit_item()
175 for (i = 0; i < last_threads.active; i++) { in print_threads()
180 for (j = 0; j < threads.active; j++) in print_threads()
183 if (j == threads.active) in print_threads()
206 proc_info = &processes.data[processes.active - 1]; in update_table()
215 printf("Processes: %d, Threads %d\n", processes.active, threads.active); in update_table()
230 for (i = 0; i < last_processes.active; i++) { in update_table()
[all …]
/system/core/sh/
Dhistedit.c229 static int active = 0; in histcmd() local
296 active = 0; in histcmd()
304 if (++active > MAXHISTLOOPS) { in histcmd()
305 active = 0; in histcmd()
440 if (lflg == 0 && active > 0) in histcmd()
441 --active; in histcmd()
/system/core/adb/
Dfdevent.c161 int active; in fdevent_update() local
163 active = (fde->state & FDE_EVENTMASK) != 0; in fdevent_update()
175 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.c1655 bool active = false; in watch_package_list() local
1657 if (!active) { in watch_package_list()
1677 active = true; in watch_package_list()
1697 active = false; in watch_package_list()