Searched defs:state (Results 26 - 37 of 37) sorted by relevance

12

/system/core/sh/
H A Djobs.c314 if (curjob != -1 && jobtab[curjob].state == JOBSTOPPED) {
319 if (jp2->state != JOBSTOPPED)
363 if (jp->state == JOBDONE)
374 jp->state = JOBRUNNING;
426 if (jp->state == JOBDONE && !(mode & SHOW_NO_FREE)) {
495 if (jp->state == JOBDONE && !(mode & SHOW_NO_FREE))
620 if (!jp->used || jp->state != JOBRUNNING) {
637 while (job->state == JOBRUNNING) {
811 jp->state = JOBRUNNING;
991 while (jp->state
1080 int state = done ? JOBDONE : JOBSTOPPED; local
[all...]
/system/core/toolbox/
H A Dtop.c61 char state; member in struct:proc_info
347 &proc->state, &proc->utime, &proc->stime, &proc->vss, &proc->rss, &proc->prs);
480 printf("%5d %2d %3ld%% %c %5d %6ldK %6ldK %3s %-8.8s %s\n", proc->pid, proc->prs, proc->delta_time * 100 / total_delta_time, proc->state, proc->num_threads,
483 printf("%5d %5d %2d %3ld%% %c %6ldK %6ldK %3s %-8.8s %-15s %s\n", proc->pid, proc->tid, proc->prs, proc->delta_time * 100 / total_delta_time, proc->state,
/system/extras/ext4_utils/
H A Dext4fixup.c51 /* Magic numbers to indicate what state the update process is in */
56 /* Internal state variables corresponding to the magic numbers */
153 static int set_fs_fixup_state(int fd, int state) argument
160 no_write_fixup_state = state;
164 switch (state) {
371 static int update_superblocks_and_bg_desc(int fd, int state) argument
391 if (state == STATE_UPDATING_SB) {
853 * corrupted, unrecoverable state. Set no_write, make it quiet, and do a recurse
854 * pass and a update_superblock pass. Set flags back to requested state when done.
855 * Only perform sanity check if the state i
[all...]
/system/core/adb/
H A Dadb.c1522 if(!strncmp(service,"get-state",strlen("get-state"))) {
1524 char *state = connection_state_name(transport); local
1525 snprintf(buf, sizeof buf, "OKAY%04x%s",(unsigned)strlen(state),state);
H A Dcommandline.c161 " adb get-state - prints: offline | bootloader | device\n"
282 int state = 0; local
302 state = 1;
305 state = 1;
308 if(state == 1) state++;
311 if(state == 2) {
319 state = 0;
454 char *state = 0; local
467 format_host_command(command, sizeof command, "get-state", ttyp
[all...]
H A Dtransport.c786 atransport *acquire_one_transport(int state, transport_type ttype, const char* serial, char** error_out) argument
860 /* check for required connection state */
861 if (result && state != CS_ANY && result->connection_state != state) {
863 *error_out = "invalid device state";
872 } else if (state != CS_ANY && (serial || !ambiguous)) {
/system/core/init/
H A Dinit.c89 void notify_service_state(const char *name, const char *state) argument
96 property_set(pname, state);
172 * state and immediately takes it out of the restarting
173 * state if it was in there
953 /* run all property triggers based on current state of the properties */
/system/core/libcutils/
H A Dmq.c127 /** Local peer state. You typically have one peer per process. */
665 * Switches the master peer proxy into a state where it's waiting for a
968 int state = peerProxy->inputState; local
970 switch (state) {
995 LOG_ALWAYS_FATAL("Unknown state: %d", state);
1014 // Initial state == expecting a header.
H A Dtztime.c141 struct state { struct
182 static void gmtload P((struct state * sp));
186 struct tm * tmp, const struct state *sp));
197 long, struct tm *, const struct state* sp)),
198 long offset, const struct state * sp));
201 long, struct tm*, const struct state* sp)),
202 long offset, int * okayp, const struct state * sp));
204 struct tm * (*funcp) P((const time_t*, long, struct tm*,const struct state *sp)),
206 const struct state *sp));
208 const struct state * s
[all...]
/system/core/include/private/pixelflinger/
H A Dggl_context.h528 state_t state; member in struct:android::context_t
/system/security/keystore/
H A Dkeystore.cpp695 void setState(State state) { argument
696 mState = state;
1335 State state; member in struct:action
1392 if (action->state != STATE_ANY && action->state != keyStore->getState()) {
1463 ALOGI("uid: %d action: %c -> %d state: %d -> %d retry: %d",
/system/bluetooth/bluez-clean-headers/bluetooth/
H A Dhci.h2431 uint16_t state; member in struct:hci_conn_info

Completed in 8112 milliseconds

12