/frameworks/base/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | bgnscd.cpp | 91 state = points to memory of type Bgn_scdState. 94 The memory of type Bgn_scdState pointed to by state is set to all 110 Resets state memory. 125 Word16 Bgn_scd_reset (Bgn_scdState *state) 127 if (state == (Bgn_scdState *) NULL){ 133 Set_zero (state->frameEnergyHist, L_ENERGYHIST); 136 state->bgHangover = 0; 164 Word16 Bgn_scd_reset(Bgn_scdState *state) argument 166 if (state == (Bgn_scdState *) NULL) 173 memset(state [all...] |
H A D | c_g_aver.cpp | 121 state = pointer to a structure of type Cb_gain_averageState 124 Structure pointed to by state is initialized to zeros 139 Resets state memory 154 Word16 Cb_gain_average_reset (Cb_gain_averageState *state) 156 if (state == (Cb_gain_averageState *) NULL){ 162 Set_zero (state->cbGainHistory, L_CBGAINHIST); 165 state->hangVar = 0; 166 state->hangCount= 0; 194 Word16 Cb_gain_average_reset(Cb_gain_averageState *state) argument 196 if (state [all...] |
H A D | pstfilt.cpp | 166 state = pointer to structure of type Post_FilterState 169 fields of the structure pointed to by state is initialized to zero 183 This function initializes the state memory used by the Post_Filter function 199 int Post_Filter_reset (Post_FilterState *state) 201 if (state == (Post_FilterState *) NULL){ 206 Set_zero (state->mem_syn_pst, M); 207 Set_zero (state->res2, L_SUBFR); 208 Set_zero (state->synth_buf, L_FRAME + M); 209 agc_reset(state->agc_state); 210 preemphasis_reset(state 238 Post_Filter_reset(Post_FilterState *state) argument [all...] |
/frameworks/base/services/audioflinger/ |
H A D | AudioHardwareStub.h | 73 virtual status_t setMicMute(bool state) { mMicMute = state; return NO_ERROR; } argument 74 virtual status_t getMicMute(bool* state) { *state = mMicMute ; return NO_ERROR; } argument
|
H A D | AudioResamplerCubic.h | 44 } state; typedef in class:android::AudioResamplerCubic 50 static inline int32_t interp(state* p, int32_t x) { 53 static inline void advance(state* p, int16_t in) { 62 state left, right;
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | DefaultPhoneNotifier.java | 138 public static int convertCallState(Phone.State state) { argument 139 switch (state) { 153 public static Phone.State convertCallState(int state) { argument 154 switch (state) { 168 public static int convertDataState(Phone.DataState state) { argument 169 switch (state) { 185 public static Phone.DataState convertDataState(int state) { argument 186 switch (state) { 202 public static int convertDataActivityState(Phone.DataActivityState state) { argument 203 switch (state) { 221 convertDataActivityState(int state) argument [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
H A D | CdmaCall.java | 36 /*package*/ State state = State.IDLE; field in class:CdmaCall 50 default: throw new RuntimeException ("illegal call state:" + dcState); 73 return state; 96 return state.toString(); 105 state = stateFromDCState (dc.state); 109 attachFake(Connection conn, State state) { argument 112 this.state = state; 120 if (state ! [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
H A D | GsmCall.java | 49 default: throw new RuntimeException ("illegal call state:" + dcState); 92 return state.toString(); 101 state = stateFromDCState (dc.state); 105 attachFake(Connection conn, State state) { argument 108 this.state = state; 116 if (state != State.DISCONNECTED) { 131 state = State.DISCONNECTED; 142 state [all...] |
H A D | NetworkInfo.java | 37 State state = State.UNKNOWN; field in class:NetworkInfo 57 return state; 63 State state) { 69 this.state = state; 82 * See state strings defined in ril.h RIL_REQUEST_QUERY_AVAILABLE_NETWORKS 95 "RIL impl error: Invalid network state '" + s + "'"); 104 + "/" + state; 127 dest.writeSerializable(state); 141 (State) in.readSerializable()); /*state*/ 60 NetworkInfo(String operatorAlphaLong, String operatorAlphaShort, String operatorNumeric, State state) argument [all...] |
/frameworks/base/telephony/mockril/src/com/android/internal/telephony/mockril/ |
H A D | MockRilController.java | 88 * @return the radio state if it is valid, otherwise return -1 102 int state = resp.getState(); 103 if ((state >= RilCmds.RADIOSTATE_OFF) && (state <= RilCmds.RADIOSTATE_NV_READY)) 104 return state; 110 * Set the radio state of mock ril to the given state 111 * @param state for given radio state 112 * @return true if the state i 114 setRadioState(int state) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/google/android/maps/ |
H A D | MapView.java | 112 public void onSaveInstanceState(Bundle state) { argument 115 public void onRestoreInstanceState(Bundle state) { argument
|
/frameworks/base/vpn/tests/vpntests/src/android/net/vpn/ |
H A D | VpnTest.java | 69 VpnState state = VpnState.CONNECTING; 70 testVpnProfile(createTestProfile(state), state); 110 final VpnState state = VpnState.DISCONNECTING; 117 assertEquals(state, i.getSerializableExtra( 125 m.broadcastConnectivity(profileName, state); 136 private VpnProfile createTestProfile(VpnState state) { argument 144 p.setState(state); 148 private void testVpnProfile(VpnProfile p, VpnState state) { argument 155 if (state ! [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | SupplicantState.java | 26 * state. This is more fine-grained than most users will be interested in. 31 * state constants in <code>defs.h</code> in <code>wpa_supplicant</code>. 35 * This state indicates that client is not associated, but is likely to 36 * start looking for an access point. This state is entered when a 42 * Inactive state (wpa_supplicant disabled). 44 * This state is entered if there are no enabled networks in the 54 * This state is entered when wpa_supplicant starts scanning for a 62 * This state is entered when wpa_supplicant has found a suitable BSS 65 * state is entered when the driver is configured to try to associate 73 * This state i 151 isValidState(SupplicantState state) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ExpandableListActivity.java | 205 protected void onRestoreInstanceState(Bundle state) { argument 207 super.onRestoreInstanceState(state); 211 * Updates the screen state (current list and other views) when the
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothA2dp.java | 61 /** Indicates the state of an A2DP audio sink has changed. 185 int state = getSinkState(device); 186 return state == STATE_CONNECTED || state == STATE_PLAYING; 204 /** Check if any A2DP sink is in Non Disconnected state 220 /** Get the state of an A2DP sink 288 /** Helper for converting a state to a string. 292 public static String stateToString(int state) { argument 293 switch (state) { 305 return "<unknown state " [all...] |
/frameworks/base/core/java/android/preference/ |
H A D | EditTextPreference.java | 65 * We reset the enabled state. 182 // No need to save instance state since it's persistent 192 protected void onRestoreInstanceState(Parcelable state) { argument 193 if (state == null || !state.getClass().equals(SavedState.class)) { 194 // Didn't save state for us in onSaveInstanceState 195 super.onRestoreInstanceState(state); 199 SavedState myState = (SavedState) state;
|
H A D | PreferenceActivity.java | 140 protected void onRestoreInstanceState(Bundle state) { argument 141 Bundle container = state.getBundle(PREFERENCES_TAG); 146 mSavedInstanceState = state; 151 // Only call this if we didn't save the instance state for later. 153 super.onRestoreInstanceState(state);
|
H A D | PreferenceScreen.java | 146 private void showDialog(Bundle state) { argument 161 if (state != null) { 162 dialog.onRestoreInstanceState(state); 213 protected void onRestoreInstanceState(Parcelable state) { argument 214 if (state == null || !state.getClass().equals(SavedState.class)) { 215 // Didn't save state for us in onSaveInstanceState 216 super.onRestoreInstanceState(state); 220 SavedState myState = (SavedState) state;
|
/frameworks/base/core/java/com/android/internal/preference/ |
H A D | YesNoPreference.java | 99 // No need to save instance state since it's persistent 109 protected void onRestoreInstanceState(Parcelable state) { argument 110 if (!state.getClass().equals(SavedState.class)) { 111 // Didn't save state for us in onSaveInstanceState 112 super.onRestoreInstanceState(state); 116 SavedState myState = (SavedState) state;
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | ProcessedMessages.java | 26 * A list of messages recently processed by the state machine. 45 private HierarchicalState state; field in class:ProcessedMessages.Info 51 * @param state that handled the message 52 * @param orgState is the first state the received the message but 55 Info(Message message, HierarchicalState state, HierarchicalState orgState) { argument 56 update(message, state, orgState); 61 * @param state that handled the message 62 * @param orgState is the first state the received the message but 65 public void update(Message message, HierarchicalState state, HierarchicalState orgState) { argument 67 this.state 185 add(Message message, HierarchicalState state, HierarchicalState orgState) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | LevelListDrawable.java | 69 // in case the new state matches our current state... 212 private LevelListDrawable(LevelListState state, Resources res) { argument 213 LevelListState as = new LevelListState(state, this, res);
|
H A D | StateListDrawable.java | 34 * Each state Drawable is defined in a nested <code><item></code> element. For more 83 // in case the new state matches our current state... 198 * Gets the state set at an index. 200 * @param index The index of the state set. 201 * @return The state set at the index. 224 * Gets the index of the drawable with the provided state set. 226 * @param stateSet the state set to look up 227 * @return the index of the provided state set, or -1 if not found 302 private StateListDrawable(StateListState state, Resource argument [all...] |
H A D | TransitionDrawable.java | 59 * The current state of the transition. One of {@link #TRANSITION_STARTING}, 91 private TransitionDrawable(TransitionState state, Resources res) { argument 92 super(state, res); 95 private TransitionDrawable(TransitionState state, Drawable[] layers) { argument 96 super(layers, state); 100 LayerState createConstantState(LayerState state, Resources res) { argument 101 return new TransitionState((TransitionState) state, this, res);
|
/frameworks/base/libs/rs/ |
H A D | rsProgramFragment.cpp | 70 void ProgramFragment::setupGL(const Context *rsc, ProgramFragmentState *state) argument 72 if ((state->mLast.get() == this) && !mDirty) { 75 state->mLast.set(this); 142 void ProgramFragment::setupGL2(const Context *rsc, ProgramFragmentState *state, ShaderCache *sc) argument 146 if ((state->mLast.get() == this) && !mDirty) { 149 state->mLast.set(this);
|
H A D | rsProgramFragmentStore.cpp | 53 void ProgramFragmentStore::setupGL(const Context *rsc, ProgramFragmentStoreState *state) argument 55 if (state->mLast.get() == this) { 58 state->mLast.set(this); 88 void ProgramFragmentStore::setupGL2(const Context *rsc, ProgramFragmentStoreState *state) argument 90 if (state->mLast.get() == this) { 93 state->mLast.set(this);
|