Searched refs:state (Results 26 - 50 of 57) sorted by relevance

123

/system/core/libpixelflinger/
H A Dscanline.cpp317 if (c->state.buffers.coverage)
318 free(c->state.buffers.coverage);
339 // c->state.needs.n, c->state.needs.p,
340 // c->state.needs.t[0], c->state.needs.t[1]);
343 const uint32_t cb_format = GGL_READ_NEEDS(CB_FORMAT, c->state.needs.n);
344 if (GGL_READ_NEEDS(T_FORMAT, c->state.needs.t[0]) == cb_format) {
345 if (c->state.needs.match(noblend1to1)) {
346 // this will match regardless of dithering state, sinc
[all...]
/system/security/keystore/
H A Dkeystore.cpp572 ResponseCode writeBlob(const char* filename, AES_KEY *aes_key, State state, Entropy* entropy) { argument
575 if (state != STATE_NO_ERROR) {
635 ResponseCode readBlob(const char* filename, AES_KEY *aes_key, State state) { argument
649 if (isEncrypted() && (state != STATE_NO_ERROR)) {
736 void setState(State state) { argument
737 mState = state;
1325 UserState* state = *it; local
1326 if (state->getUserId() == userId) {
1327 return state;
1351 UserState* state local
1641 State state = mKeyStore->getState(callingUid); local
1780 State state = mKeyStore->getState(callingUid); local
1798 State state = mKeyStore->getState(callingUid); local
1834 State state = mKeyStore->getState(callingUid); local
1986 State state = mKeyStore->getState(targetUid); local
2058 State state = mKeyStore->getState(callingUid); local
2183 State state = mKeyStore->getState(callingUid); local
2208 State state = mKeyStore->getState(callingUid); local
2266 State state = mKeyStore->getState(callingUid); local
2424 isKeystoreUnlocked(State state) argument
[all...]
/system/core/libbacktrace/
H A Dbacktrace_test.cpp61 int32_t state; member in struct:thread_t
175 android_atomic_acquire_store(1, &thread->state);
177 while (thread->state) {
464 ASSERT_TRUE(WaitForNonZero(&thread_data.state, 2));
483 android_atomic_acquire_store(0, &thread_data.state);
502 ASSERT_TRUE(WaitForNonZero(&thread_data.state, 2));
519 android_atomic_acquire_store(0, &thread_data.state);
540 ASSERT_TRUE(WaitForNonZero(&thread_data.state, 2));
549 android_atomic_acquire_store(0, &thread_data.state);
580 runners[i].state
[all...]
/system/core/adb/
H A Dtransport_usb.c112 void init_usb_transport(atransport *t, usb_handle *h, int state) argument
120 t->connection_state = state;
H A Dsysdeps_win32.c1257 fde->state & FDE_READ ? 'R' : ' ',
1258 fde->state & FDE_WRITE ? 'W' : ' ',
1259 fde->state & FDE_ERROR ? 'E' : ' ',
1350 if ((fde->state & FDE_PENDING) == 0) {
1351 fde->state |= FDE_PENDING;
1621 int events = fde->state & FDE_EVENTMASK;
1630 int events = fde->state & FDE_EVENTMASK;
1639 unsigned events0 = fde->state & FDE_EVENTMASK;
1797 if(!(fde->state & FDE_DONT_CLOSE)) {
1841 fde->state |
[all...]
H A Dcommandline.c199 " adb get-state - prints: offline | bootloader | device\n"
357 int state = 0; local
377 state = 1;
380 state = 1;
383 if(state == 1) state++;
386 if(state == 2) {
394 state = 0;
638 char *state = 0; local
651 format_host_command(command, sizeof command, "get-state", ttyp
[all...]
H A Dservices.c484 int state; member in struct:state_info
492 D("wait_for_state %d\n", sinfo->state);
494 atransport *t = acquire_one_transport(sinfo->state, sinfo->transport, sinfo->serial, &err);
644 sinfo->state = CS_DEVICE;
647 sinfo->state = CS_DEVICE;
650 sinfo->state = CS_DEVICE;
H A Dadb.h278 ** If state is != CS_ANY, only transports in that state are considered.
282 atransport *acquire_one_transport(int state, transport_type ttype, const char* serial, char **error_out);
288 /* initialize a transport object's func pointers and state */
293 void init_usb_transport(atransport *t, usb_handle *usb, int state);
H A Dtransport.c794 atransport *acquire_one_transport(int state, transport_type ttype, const char* serial, char** error_out) argument
874 /* check for required connection state */
875 if (result && state != CS_ANY && result->connection_state != state) {
877 *error_out = "invalid device state";
886 } else if (state != CS_ANY && (serial || !ambiguous)) {
/system/media/audio_utils/
H A Decho_reference.c30 // echo reference state: bit field indicating if read, write or both are active.
31 enum state { enum
40 uint32_t state; // active state: reading, writing or both member in struct:echo_reference
147 er->state &= ~ECHOREF_WRITING;
165 if ((er->state & ECHOREF_WRITING) == 0) {
170 er->state |= ECHOREF_WRITING;
173 if ((er->state & ECHOREF_READING) == 0) {
308 er->state &= ~ECHOREF_READING;
316 if ((er->state
[all...]
/system/core/libnetutils/
H A Ddhcpclient.c401 unsigned int state; local
417 state = STATE_SELECTING;
446 switch(state) {
491 if (state == STATE_SELECTING) {
503 switch(state) {
506 state = STATE_REQUESTING;
522 printerr("ignoring %s message in state %d\n",
523 dhcp_type_to_name(info.type), state);
/system/vold/
H A DDirectVolume.cpp341 int state; local
351 state = getState();
352 if (state != Volume::State_Mounted && state != Volume::State_Shared) {
378 } else if (state == Volume::State_Shared) {
H A DVolume.h96 void setState(int state);
/system/core/include/utils/
H A DVectorImpl.h94 typedef int (*compar_r_t)(const void* lhs, const void* rhs, void* state);
96 status_t sort(compar_r_t cmp, void* state);
H A DVector.h172 typedef int (*compar_r_t)(const TYPE* lhs, const TYPE* rhs, void* state);
175 inline status_t sort(compar_r_t cmp, void* state);
382 status_t Vector<TYPE>::sort(Vector<TYPE>::compar_r_t cmp, void* state) { argument
383 return VectorImpl::sort((VectorImpl::compar_r_t)cmp, state);
/system/core/init/
H A Dinit.h125 void notify_service_state(const char *name, const char *state);
/system/core/toolbox/
H A Dps.c46 char *ptr, *name, *state; local
91 state = nexttok(&ptr);
176 printf(" %08x %08x %s ", wchan, eip, state);
H A Dtop.c61 char state; member in struct:proc_info
350 &proc->state, &proc->utime, &proc->stime, &proc->vss, &proc->rss, &proc->prs);
474 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,
477 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/netd/server/
H A DNetlinkHandler.cpp114 const char *state = evt->findParam("STATE"); local
116 if (state)
117 notifyInterfaceClassActivity(label, !strcmp("active", state), timestamp);
/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 */
117 static int set_fs_fixup_state(int fd, int state) argument
124 no_write_fixup_state = state;
128 switch (state) {
264 static int update_superblocks_and_bg_desc(int fd, int state) argument
284 if (state == STATE_UPDATING_SB) {
766 * corrupted, unrecoverable state. Set no_write, make it quiet, and do a recurse
767 * pass and a update_superblock pass. Set flags back to requested state when done.
768 * Only perform sanity check if the state i
[all...]
/system/core/libpixelflinger/codeflinger/tinyutils/
H A DVector.h157 typedef int (*compar_r_t)(const TYPE* lhs, const TYPE* rhs, void* state);
160 inline status_t sort(compar_r_t cmp, void* state);
/system/core/libutils/
H A DVectorImpl.cpp165 status_t VectorImpl::sort(VectorImpl::compar_r_t cmp, void* state) argument
178 if (cmp(curr, item, state) > 0) {
202 } while (j>=0 && (cmp(curr, temp, state) > 0));
/system/core/libpixelflinger/codeflinger/
H A DGGLAssembler.cpp394 CONTEXT_LOAD(Rs, state.buffers.color.stride);
395 CONTEXT_ADDR_LOAD(parts.cbPtr.reg, state.buffers.color.data);
430 CONTEXT_LOAD(Rs, state.buffers.depth.stride);
431 CONTEXT_ADDR_LOAD(zbase, state.buffers.depth.data);
448 CONTEXT_ADDR_LOAD(parts.covPtr.reg, state.buffers.coverage);
704 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);
1310 immed12_pre(GGL_OFFSETOF(state.texture[tmu].env_color[component])));
/system/extras/tests/fstest/
H A Dperm_checker.conf127 /sys/android_power/state 664 664 radio radio system system
130 /sys/qemu_trace/state 000 777 root system root system

Completed in 1255 milliseconds

123