Searched refs:state (Results 51 - 75 of 84) sorted by relevance

1234

/system/core/adb/
H A Dsysdeps_win32.c1250 fde->state & FDE_READ ? 'R' : ' ',
1251 fde->state & FDE_WRITE ? 'W' : ' ',
1252 fde->state & FDE_ERROR ? 'E' : ' ',
1343 if ((fde->state & FDE_PENDING) == 0) {
1344 fde->state |= FDE_PENDING;
1614 int events = fde->state & FDE_EVENTMASK;
1623 int events = fde->state & FDE_EVENTMASK;
1632 unsigned events0 = fde->state & FDE_EVENTMASK;
1790 if(!(fde->state & FDE_DONT_CLOSE)) {
1834 fde->state |
[all...]
H A Dservices.c510 int state; member in struct:state_info
518 D("wait_for_state %d\n", sinfo->state);
520 atransport *t = acquire_one_transport(sinfo->state, sinfo->transport, sinfo->serial, &err);
552 sinfo->state = CS_DEVICE;
555 sinfo->state = CS_DEVICE;
558 sinfo->state = CS_DEVICE;
H A Dadb.h257 ** If state is != CS_ANY, only transports in that state are considered.
261 atransport *acquire_one_transport(int state, transport_type ttype, const char* serial, char **error_out);
267 /* initialize a transport object's func pointers and state */
272 void init_usb_transport(atransport *t, usb_handle *usb, int state);
H A Dtransport.c741 atransport *acquire_one_transport(int state, transport_type ttype, const char* serial, char** error_out) argument
805 /* check for required connection state */
806 if (result && state != CS_ANY && result->connection_state != state) {
808 *error_out = "invalid device state";
817 } else if (state != CS_ANY && (serial || !ambiguous)) {
H A Dadb.c1259 if(!strncmp(service,"get-state",strlen("get-state"))) {
1261 char *state = connection_state_name(transport); local
1262 snprintf(buf, sizeof buf, "OKAY%04x%s",(unsigned)strlen(state),state);
/system/core/init/
H A Dinit.h116 void notify_service_state(const char *name, const char *state);
H A Dinit.c76 void notify_service_state(const char *name, const char *state) argument
83 property_set(pname, state);
155 * state and immediately takes it out of the restarting
156 * state if it was in there
752 /* run all property triggers based on current state of the properties */
/system/core/nexus/
H A DNetworkManager.h87 void onDhcpStateChanged(Controller *c, int state);
/system/core/toolbox/
H A Dps.c41 char *ptr, *name, *state; local
84 state = nexttok(&ptr);
163 printf(" %08x %08x %s %s", wchan, eip, state, cmdline[0] ? cmdline : name);
H A Dpowerd.c79 static int state = -1; local
85 last_state = state;
90 state = !(strncmp(buf, "Unknown", 7) == 0
94 //printf("charging_state_notify_handler: %d -> %d\n", last_state, state);
95 return state > last_state;
179 const char *powerdev = "/sys/power/state";
H A Dtop.c60 char state; member in struct:proc_info
346 &proc->state, &proc->utime, &proc->stime, &proc->vss, &proc->rss, &proc->prs);
483 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,
486 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/media/wilhelm/src/itf/
H A DIEffectSend.c70 SLuint32 state = outputMix->mObject.mInterfaceStates[index]; local
73 switch (state) {
86 SL_LOGE("EffectSend invalid interface state %u", state);
/system/media/wilhelm/tests/sandbox/
H A Dconfigbq.c194 // set the player's state to playing
200 SLBufferQueueState state; local
201 result = (*playerBufferQueue)->GetState(playerBufferQueue, &state);
203 if (state.count == 0)
H A Dreverb.c607 // set play state to paused to enable pre-fetch so we can get a more reliable duration
647 SLuint32 state; local
649 result = (*playerPlay)->GetPlayState(playerPlay, &state);
651 if (SL_PLAYSTATE_PLAYING != state)
655 assert(SL_PLAYSTATE_PAUSED == state);
/system/media/wilhelm/tests/automated/
H A DBufferQueue_test.cpp238 void SetPlayerState(SLuint32 state) { argument
239 res = (*playerPlay)->SetPlayState(playerPlay, state);
241 //verify the state can set correctly
242 GetPlayerState(state);
245 void GetPlayerState(SLuint32 state) { argument
248 ASSERT_EQ(state, playerState);
263 // changing the play state should not affect the buffer count
275 // set play state to playing
278 // state should be playing immediately after enqueue
291 // state shoul
[all...]
/system/media/wilhelm/tests/sandbox/streamSource/
H A DslesTestPlayStream.cpp89 SLAndroidBufferQueueState state; local
90 (*caller)->GetState(caller, &state);
91 //fprintf(stdout, "ABQ state count=%lu, index=%lu\n", state.count, state.index);
94 if (state.index == 500) {
/system/media/wilhelm/src/desktop/
H A DSndFile.c22 /** \brief Called by SndFile.c:audioPlayerTransportUpdate after a play state change or seek,
30 SLuint32 state = thisAP->mPlay.mState; local
32 if (SL_PLAYSTATE_PLAYING != state) {
186 /** \brief Called with mutex unlocked for marker and position updates, and play state change */
195 // FIXME a made-up number that should depend on player state and prefetch status
227 // FIXME only on seek or play state change (STOPPED, PAUSED) -> PLAYING
/system/extras/ext4_utils/
H A Dext4fixup.c48 /* Magic numbers to indicate what state the update process is in */
53 /* Internal state variables corresponding to the magic numbers */
150 static int set_fs_fixup_state(int fd, int state) argument
157 no_write_fixup_state = state;
161 switch (state) {
368 static int update_superblocks_and_bg_desc(int fd, int state) argument
388 if (state == STATE_UPDATING_SB) {
850 * corrupted, unrecoverable state. Set no_write, make it quiet, and do a recurse
851 * pass and a update_superblock pass. Set flags back to requested state when done.
852 * Only perform sanity check if the state i
[all...]
/system/media/wilhelm/src/android/
H A DAudioRecorder_to_android.cpp260 // data has been copied to the buffer, and the buffer queue state has been updated
446 void android_audioRecorder_setRecordState(CAudioRecorder* ar, SLuint32 state) { argument
447 SL_LOGV("android_audioRecorder_setRecordState(%p, %u) entering", ar, state);
453 switch (state) {
/system/media/wilhelm/tests/native-media/jni/
H A Dnative-media-jni.c149 XAAndroidBufferQueueState state;
150 (*caller)->GetState(caller, &state);
151 switch (state.index) {
454 // set the playing state for the streaming media player
463 // set the player's state
/system/media/wilhelm/src/
H A Dsles.c69 * realized state. If so, then acquire a strong reference to it and return true.
523 SLuint8 state; local
542 state = (exposedMask & 1) && ((NULL == (expose = mi->mExpose)) || (*expose)(self)) ?
547 state = INTERFACE_UNINITIALIZED;
549 *interfaceStateP++ = state;
/system/core/libpixelflinger/tinyutils/
H A DVector.h148 typedef int (*compar_r_t)(const TYPE* lhs, const TYPE* rhs, void* state);
151 inline status_t sort(compar_r_t cmp, void* state);
/system/core/libpixelflinger/codeflinger/
H A DGGLAssembler.cpp391 CONTEXT_LOAD(Rs, state.buffers.color.stride);
392 CONTEXT_LOAD(parts.cbPtr.reg, state.buffers.color.data);
427 CONTEXT_LOAD(Rs, state.buffers.depth.stride);
428 CONTEXT_LOAD(zbase, state.buffers.depth.data);
445 CONTEXT_LOAD(parts.covPtr.reg, state.buffers.coverage);
701 CONTEXT_LOAD(ref, state.alpha_test.ref);
H A Dtexturing.cpp352 CONTEXT_LOAD(txPtr.reg, state.texture[i].iterators.ydsdy);
354 CONTEXT_LOAD(txPtr.reg, state.texture[i].iterators.ydtdy);
373 CONTEXT_LOAD(s.reg, state.texture[i].iterators.ydsdy);
374 CONTEXT_LOAD(t.reg, state.texture[i].iterators.ydtdy);
379 CONTEXT_LOAD(ydsdy, state.texture[i].iterators.ydsdy);
381 CONTEXT_LOAD(ydtdy, state.texture[i].iterators.ydtdy);
1292 immed12_pre(GGL_OFFSETOF(state.texture[tmu].env_color[component])));
/system/extras/tests/fstest/
H A Dperm_checker.conf124 /sys/android_power/state 664 664 radio radio system system
127 /sys/qemu_trace/state 000 777 root system root system

Completed in 207 milliseconds

1234