Searched defs:active (Results 1 - 5 of 5) sorted by relevance

/system/core/toolbox/
H A Dgetsebool.c17 int i, get_all = 0, rc = 0, active, pending, len = 0, opt; local
73 active = security_get_boolean_active(names[i]);
74 if (active < 0) {
77 fprintf(stderr, "Error getting active value for %s\n",
89 if (pending != active) {
91 (active ? "on" : "off"),
95 (active ? "on" : "off"));
H A Dschedtop.c25 size_t active; member in struct:thread_table
66 if (table->active >= table->allocated)
68 return table->data + table->active;
73 table->active++;
173 for (i = 0; i < last_threads.active; i++) {
178 for (j = 0; j < threads.active; j++)
181 if (j == threads.active)
204 proc_info = &processes.data[processes.active - 1];
213 printf("Processes: %zu, Threads %zu\n", processes.active, threads.active);
[all...]
/system/core/adb/
H A Dfdevent.c152 int active; local
154 active = (fde->state & FDE_EVENTMASK) != 0;
166 if(active) {
167 /* we're already active. if we're changing to *no*
183 /* we're not active. if we're watching events, we need
H A Dtransport.c319 int active = 0; local
338 active = 1;
345 if(active) {
357 // while a client socket is still active.
/system/core/sdcard/
H A Dsdcard.c1714 bool active = false; local
1716 if (!active) {
1736 active = true;
1756 active = false;

Completed in 440 milliseconds