/frameworks/base/telephony/tests/telephonymockriltests/src/com/android/telephonymockriltests/functional/ |
SimpleTestUsingMockRil.java | 42 * Get the current radio state of RIL 45 int state = mMockRilCtrl.getRadioState(); local 46 Log.v(TAG, "testGetRadioState: " + state); 47 assertTrue(state >= 0 && state <= 9); 51 * Set the current radio state of RIL 52 * and verify the radio state is set correctly 55 for (int state = 0; state <= 9; state++) [all...] |
/frameworks/base/libs/rs/ |
rsProgram.cpp | 30 mHal.state.inputElementsCount++; 33 mHal.state.constantsCount++; 36 mHal.state.texturesCount++; 40 mHal.state.textures = new ObjectBaseRef<Allocation>[mHal.state.texturesCount]; 41 mHal.state.samplers = new ObjectBaseRef<Sampler>[mHal.state.texturesCount]; 42 mHal.state.textureTargets = new RsTextureTarget[mHal.state.texturesCount]; 43 mHal.state.inputElements = new ObjectBaseRef<Element>[mHal.state.inputElementsCount] [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
NetworkState.java | 19 import android.net.NetworkInfo.State; 28 public static final int DO_NOTHING = -1; // no state change 30 private List<State> mStateDepository; 31 private State mTransitionTarget; 33 private String mReason = null; // record mReason of state transition failure 36 mStateDepository = new ArrayList<State>(); 38 mTransitionTarget = State.UNKNOWN; 41 public NetworkState(State currentState) { 42 mStateDepository = new ArrayList<State>(); 45 mTransitionTarget = State.UNKNOWN [all...] |
/external/webrtc/src/common_audio/signal_processing_library/main/source/ |
resample_by_2.c | 30 WebRtc_Word32 *state; local 37 state = filtState; // filter state array; length = 8 43 diff = in32 - state[1]; 44 tmp1 = WEBRTC_SPL_SCALEDIFF32( kResampleAllpass2[0], diff, state[0] ); 45 state[0] = in32; 46 diff = tmp1 - state[2]; 47 tmp2 = WEBRTC_SPL_SCALEDIFF32( kResampleAllpass2[1], diff, state[1] ); 48 state[1] = tmp1; 49 diff = tmp2 - state[3] 83 WebRtc_Word32 *state; local [all...] |
resample_48khz.c | 28 WebRtcSpl_State48khzTo16khz* state, WebRtc_Word32* tmpmem) 34 WebRtcSpl_LPBy2ShortToInt(in, 480, tmpmem + 16, state->S_48_48); 40 // copy state to and from input array 41 memcpy(tmpmem + 8, state->S_48_32, 8 * sizeof(WebRtc_Word32)); 42 memcpy(state->S_48_32, tmpmem + 488, 8 * sizeof(WebRtc_Word32)); 49 WebRtcSpl_DownBy2IntToShort(tmpmem, 320, out, state->S_32_16); 52 // initialize state of 48 -> 16 resampler 53 void WebRtcSpl_ResetResample48khzTo16khz(WebRtcSpl_State48khzTo16khz* state) 55 memset(state->S_48_48, 0, 16 * sizeof(WebRtc_Word32)); 56 memset(state->S_48_32, 0, 8 * sizeof(WebRtc_Word32)) [all...] |
/external/dhcpcd/ |
client.c | 138 int state; member in struct:if_state 189 daemonise(struct if_state *state, const struct options *options) 197 if (state->options & DHCPCD_DAEMONISED || 238 writepid(*state->pid_fd, pid); 239 close(*state->pid_fd); 240 *state->pid_fd = -1; 245 state->options |= DHCPCD_DAEMONISED; 246 timerclear(&state->exit); 249 state->options |= DHCPCD_PERSISTENT | DHCPCD_FORKED; 390 get_old_lease(struct if_state *state) 1769 struct if_state *state = NULL; local [all...] |
/external/oprofile/events/i386/ppro/ |
unit_masks | 6 0x08 (M)odified cache state 7 0x04 (E)xclusive cache state 8 0x02 (S)hared cache state 9 0x01 (I)nvalid cache state
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldThreadStateTest.java | 23 Thread.State [] exStates = { Thread.State.NEW, Thread.State.RUNNABLE, 24 Thread.State.BLOCKED, Thread.State.WAITING, 25 Thread.State.TIMED_WAITING, Thread.State.TERMINATED }; 32 assertEquals(exStates[i], Thread.State.valueOf(spNames[i])); 38 Thread.State.valueOf(s); 47 Thread.State [] thStates = Thread.State.values() [all...] |
/external/webkit/Tools/TestWebKitAPI/Tests/WebKit2/ |
PageLoadBasic.cpp | 37 struct State { 38 State() 52 State* state = reinterpret_cast<State*>(const_cast<void*>(clientInfo)); local 53 TEST_ASSERT(state->didDecidePolicyForNavigationAction); 54 TEST_ASSERT(!state->didCommitLoadForFrame); 59 TEST_ASSERT(!state->didStartProvisionalLoadForFrame); 62 state->didStartProvisionalLoadForFrame = true; 67 State* state = reinterpret_cast<State*>(const_cast<void*>(clientInfo)) local 79 State* state = reinterpret_cast<State*>(const_cast<void*>(clientInfo)); local 92 State* state = reinterpret_cast<State*>(const_cast<void*>(clientInfo)); local 113 State state; local [all...] |
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
NetworkState.java | 19 import android.net.NetworkInfo.State; 26 * Data structure to keep track of the network state transitions. 30 * Desired direction of state transition. 36 private List<State> mStateDepository; 37 private State mTransitionTarget; 39 private String mReason = null; // record mReason of state transition failure 42 mStateDepository = new ArrayList<State>(); 44 mTransitionTarget = State.UNKNOWN; 47 public NetworkState(State currentState) { 48 mStateDepository = new ArrayList<State>(); [all...] |
/external/llvm/test/FrontendObjC/ |
2007-04-03-ObjcEH.m | 8 -(void) Foo:(int) state; 12 - (void) Foo:(int) state { 16 if (state) {
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
OperatorInfo.java | 26 public enum State { 37 private State state = State.UNKNOWN; field in class:OperatorInfo 55 public State 57 return state; 63 State state) { 69 this.state = state; [all...] |
/external/srtp/crypto/math/ |
stat.c | 86 int state = 0; local 91 * the state variable holds the number of bits in the 102 if (state > 0) { 105 state++; 108 if (state > 25) { 109 debug_print(mod_stat, ">25 runs: %d", state); 113 } else if (state < 0) { 116 if (state < -25) { 117 debug_print(mod_stat, ">25 gaps: %d", state); 120 if (state < -6) 211 int state = 0; local [all...] |
/external/zlib/ |
infback.c | 19 local void fixedtables OF((struct inflate_state FAR *state)); 35 struct inflate_state FAR *state; local 49 state = (struct inflate_state FAR *)ZALLOC(strm, 1, 51 if (state == Z_NULL) return Z_MEM_ERROR; 53 strm->state = (struct internal_state FAR *)state; 54 state->dmax = 32768U; 55 state->wbits = windowBits; 56 state->wsize = 1U << windowBits; 57 state->window = window 248 struct inflate_state FAR *state; local [all...] |
/external/qemu/distrib/zlib-1.2.3/ |
infback.c | 19 local void fixedtables OF((struct inflate_state FAR *state)); 35 struct inflate_state FAR *state; local 49 state = (struct inflate_state FAR *)ZALLOC(strm, 1, 51 if (state == Z_NULL) return Z_MEM_ERROR; 53 strm->state = (struct internal_state FAR *)state; 54 state->dmax = 32768U; 55 state->wbits = windowBits; 56 state->wsize = 1U << windowBits; 57 state->window = window 248 struct inflate_state FAR *state; local [all...] |
/external/speex/libspeex/ |
speex.c | 61 EXPORT void speex_encoder_destroy(void *state) 63 (*((SpeexMode**)state))->enc_destroy(state); 66 EXPORT void speex_decoder_destroy(void *state) 68 (*((SpeexMode**)state))->dec_destroy(state); 73 int speex_encode_native(void *state, spx_word16_t *in, SpeexBits *bits) 75 return (*((SpeexMode**)state))->enc(state, in, bits); 78 int speex_decode_native(void *state, SpeexBits *bits, spx_word16_t *out [all...] |
/external/chromium/chrome/browser/chromeos/ |
network_state_notifier.h | 21 enum State { 28 State state() const { function in class:chromeos::NetworkStateDetails 35 explicit NetworkStateDetails(State state) 36 : state_(state) { 39 State state_; 44 // NetworkStateNotifier sends notification when network state has 50 // Returns the singleton instance of the network state notifier; 68 // Retrieve the current state from libcros [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_idle_api.cc | 36 IdleState state; member in struct:__anon2638::ExtensionIdlePollingData 44 static const char* IdleStateToDescription(IdleState state); 51 // Internal object which watches for changes in the system idle state. 66 const char* IdleStateToDescription(IdleState state) { 67 if (IDLE_STATE_ACTIVE == state) 69 if (IDLE_STATE_IDLE == state) 74 // Helper function for reporting the idle state. The lifetime of the object 101 if (IDLE_STATE_ACTIVE != polling_data.state) 102 return polling_data.state; 108 return polling_data.state; 120 IdleState state = CalculateIdleStateAndUpdateTimestamp( local 141 IdleState state = ThrottledCalculateIdleState(threshold, profile()); local [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
StateChangeResult.java | 20 * Stores supplicant state change information passed from WifiMonitor to 21 * a state machine. WifiStateMachine, SupplicantStateTracker and WpsStateMachine 22 * are example state machines that handle it. 26 StateChangeResult(int networkId, String BSSID, SupplicantState state) { 27 this.state = state; 33 SupplicantState state; field in class:StateChangeResult
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/ |
color1-expected-completion46b.txt | 2 android:state_focused : State value for StateListDrawable, set when a view has input focus. [boolean] 3 android:state_window_focused : State value for StateListDrawable, set when a view's window has input focus. [boolean] 4 android:state_enabled : State value for StateListDrawable, set when a view is enabled. [boolean] 5 android:state_checkable : State identifier indicating that the object <var>may</var> display a check mark. [boolean] 6 android:state_checked : State identifier indicating that the object is currently checked. [boolean] 7 android:state_selected : State value for StateListDrawable, set when a view (or one of its parents) is currently selected. [boolean] 8 android:state_pressed : State value for StateListDrawable, set when the user is pressing down in a view. [boolean] 9 android:state_activated : State value for StateListDrawable, set when a view or its parent has been "activated" meaning the user has currently marked it as being of interest. [boolean] 10 android:state_active : State value for StateListDrawable. [boolean] 11 android:state_single : State value for StateListDrawable. [boolean [all...] |
/system/core/init/ |
ueventd_parser.c | 27 static void parse_line_device(struct parse_state *state, int nargs, char **args); 31 struct parse_state state; local 35 state.filename = fn; 36 state.line = 1; 37 state.ptr = s; 38 state.nexttoken = 0; 39 state.parse_line = parse_line_device; 41 int token = next_token(&state); 44 state.parse_line(&state, 0, 0) [all...] |
/bootable/recovery/edify/ |
expr.h | 42 } State; 53 typedef Value* (*Function)(const char* name, State* state, 67 Value* EvaluateValue(State* state, Expr* expr); 74 char* Evaluate(State* state, Expr* expr); 77 Value* Literal(const char* name, State* state, int argc, Expr* argv[]); 82 Value* ConcatFn(const char* name, State* state, int argc, Expr* argv[]) [all...] |
/external/guava/src/com/google/common/base/ |
Service.java | 23 * An object with an operational state, plus asynchronous {@link #start()} and 24 * {@link #stop()} lifecycle methods to transfer into and out of this state. 28 * <li>{@link State#NEW} -></li> 29 * <li>{@link State#STARTING} -></li> 30 * <li>{@link State#RUNNING} -></li> 31 * <li>{@link State#STOPPING} -></li> 32 * <li>{@link State#TERMINATED}</li> 35 * If the service fails while starting, running or stopping, its state will be 36 * {@link State#FAILED}, and its behavior is undefined. Such a service cannot be 42 * the threading and state management easier 86 State state(); method in interface:Service [all...] |
/development/tools/emulator/opengl/shared/OpenglCodecCommon/ |
GLClientState.h | 64 bool enableDirty; // true if any enable state has changed since last draw 81 void enable(int location, int state); 191 const GLClientState::VertexAttribState *state = getState(GLClientState::VERTEX_LOCATION); local 192 *ptr = state->size; 197 const GLClientState::VertexAttribState *state = getState(GLClientState::VERTEX_LOCATION); local 198 *ptr = state->type; 203 const GLClientState::VertexAttribState *state = getState(GLClientState::VERTEX_LOCATION); local 204 *ptr = state->stride; 209 const GLClientState::VertexAttribState *state = getState(GLClientState::COLOR_LOCATION); local 210 *ptr = state->size 215 const GLClientState::VertexAttribState *state = getState(GLClientState::COLOR_LOCATION); local 221 const GLClientState::VertexAttribState *state = getState(GLClientState::COLOR_LOCATION); local 227 const GLClientState::VertexAttribState *state = getState(GLClientState::NORMAL_LOCATION); local 233 const GLClientState::VertexAttribState *state = getState(GLClientState::NORMAL_LOCATION); local 239 const GLClientState::VertexAttribState *state = getState(getActiveTexture() + GLClientState::TEXCOORD0_LOCATION); local 245 const GLClientState::VertexAttribState *state = getState(getActiveTexture() + GLClientState::TEXCOORD0_LOCATION); local 251 const GLClientState::VertexAttribState *state = getState(getActiveTexture() + GLClientState::TEXCOORD0_LOCATION); local 257 const GLClientState::VertexAttribState *state = getState(GLClientState::POINTSIZE_LOCATION); local 263 const GLClientState::VertexAttribState *state = getState(GLClientState::POINTSIZE_LOCATION); local 269 const GLClientState::VertexAttribState *state = getState(GLClientState::MATRIXINDEX_LOCATION); local 275 const GLClientState::VertexAttribState *state = getState(GLClientState::MATRIXINDEX_LOCATION); local 281 const GLClientState::VertexAttribState *state = getState(GLClientState::MATRIXINDEX_LOCATION); local 287 const GLClientState::VertexAttribState *state = getState(GLClientState::WEIGHT_LOCATION); local 293 const GLClientState::VertexAttribState *state = getState(GLClientState::WEIGHT_LOCATION); local 299 const GLClientState::VertexAttribState *state = getState(GLClientState::WEIGHT_LOCATION); local 305 const GLClientState::VertexAttribState *state = getState(GLClientState::VERTEX_LOCATION); local 311 const GLClientState::VertexAttribState *state = getState(GLClientState::NORMAL_LOCATION); local 317 const GLClientState::VertexAttribState *state = getState(GLClientState::COLOR_LOCATION); local 323 const GLClientState::VertexAttribState *state = getState(getActiveTexture()+GLClientState::TEXCOORD0_LOCATION); local 329 const GLClientState::VertexAttribState *state = getState(GLClientState::POINTSIZE_LOCATION); local 335 const GLClientState::VertexAttribState *state = getState(GLClientState::MATRIXINDEX_LOCATION); local 341 const GLClientState::VertexAttribState *state = getState(GLClientState::WEIGHT_LOCATION); local [all...] |
/external/icu4c/common/ |
rbbicst.pl | 6 # rbbicst Compile the RBBI rule paser state table data into initialized C data. 26 $num_states = 1; # Always the state number for the line being compiled. 29 $states{"pop"} = 255; # Add the "pop" to the list of defined state names. 30 # This prevents any state from being labelled with "pop", 31 # and resolves references to "pop" in the next state field. 53 # State Label: handling. 54 # Does the first token end with a ":"? If so, it's the name of a state. 55 # Put in a hash, together with the current state number, 60 $state_name =~ s/://; # strip off the colon from the state name. 63 print " rbbicst: at line $line-num duplicate definition of state $state_name\n" [all...] |