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

1234567891011>>

/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dec_gains.cpp126 state = pointer to a pointer to a structure containing code state data of
144 This function resets the state data for the ec_gain module.
159 int ec_gain_code_reset (ec_gain_codeState *state)
163 if (state == (ec_gain_codeState *) NULL){
169 state->gbuf[i] = 1;
170 state->past_gain_code = 0;
171 state->prev_gc = 1;
199 Word16 ec_gain_code_reset(ec_gain_codeState *state) argument
203 if (state
315 ec_gain_code( ec_gain_codeState *st, gc_predState *pred_state, Word16 state, Word16 *gain_code, Flag *pOverflow ) argument
577 ec_gain_pitch( ec_gain_pitchState *st, Word16 state, Word16 *gain_pitch, Flag *pOverflow ) argument
686 ec_gain_pitch_reset(ec_gain_pitchState *state) argument
[all...]
H A Dpost_pro.cpp141 state = pointer to a structure of type Post_ProcessState
144 structure pointed to by state will have all its fields initialized
159 This function initializes state memory to zero.
174 int Post_Process_reset (Post_ProcessState *state)
176 if (state == (Post_ProcessState *) NULL){
181 state->y2_hi = 0;
182 state->y2_lo = 0;
183 state->y1_hi = 0;
184 state->y1_lo = 0;
185 state
213 Post_Process_reset(Post_ProcessState *state) argument
[all...]
H A Dsp_dec.cpp137 state = pointer to an array of pointers to structures of type
145 to by state is set to NULL
147 by state is set to NULL
149 by state is set to NULL
151 to by state is set to the input no_hp_post_MR122
166 This function allocates memory for filter structure and initializes state
185 int Speech_Decode_Frame_init (Speech_Decode_FrameState **state,
190 if (state == (Speech_Decode_FrameState **) NULL){
194 *state = NULL;
199 fprintf(stderr, "Speech_Decode_Frame_init: can not malloc state "
376 Speech_Decode_FrameState *state = local
487 Speech_Decode_FrameState **state = local
[all...]
H A Dagc.cpp508 state = pointer to a structure of type agcState
511 Structure pointed to by state is initialized to zeros
526 Reset of agc (i.e. set state memory to 1.0).
541 int agc_reset (agcState *state)
543 if (state == (agcState *) NULL)
549 state->past_gain = 4096; // initial value of past_gain = 1.0
577 Word16 agc_reset(agcState *state) argument
579 if (state == (agcState *) NULL)
585 state->past_gain = 4096; /* initial value of past_gain = 1.0 */
599 st = pointer to agc state
[all...]
H A Dbgnscd.cpp91 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 Dc_g_aver.cpp121 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 Dpstfilt.cpp166 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/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dsp_enc.cpp110 state = pointer to an array of pointers to structures of type
117 by state is set to NULL
119 by state is set to NULL
120 dtx field of the structure pointed to by the pointer pointed to by state
136 This function allocates memory for filter structure and initializes state
168 fprintf(stderr, "Speech_Encode_Frame_init: can not malloc state "
233 /* fprintf(stderr, "Speech_Encode_Frame_init: can not malloc state "
264 state = pointer to structures of type Speech_Decode_FrameState
281 This function resets state memory
299 Speech_Encode_FrameState *state
344 Speech_Encode_FrameState *state = local
453 Speech_Encode_FrameState **state = local
[all...]
H A Dton_stab.cpp104 state = pointer to pointer to structure type tonStabState.
122 Purpose: Allocates state memory and initializes state memory
137 int ton_stab_init (tonStabState **state)
141 if (state == (tonStabState **) NULL){
145 *state = NULL;
149 // fprintf(stderr, "ton_stab_init: can not malloc state structure\n");
155 *state = s;
184 Word16 ton_stab_init(tonStabState **state) argument
188 if (state
381 ton_stab_exit(tonStabState **state) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dphase_dispersion.cpp160 int16 i, j, state; local
173 state = 0;
177 state = 1;
181 state = 2;
193 if (state < 2)
195 state++;
211 state = 0;
213 if (state > *prev_state + 1)
215 state--;
220 *prev_state = state;
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DAHierarchicalStateMachine.cpp70 ALOGW("Warning message %s unhandled in root state.",
74 void AHierarchicalStateMachine::changeState(const sp<AState> &state) { argument
75 if (state == mState) {
91 cur = state;
106 mState = state;
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DTestedScreen.java63 protected void onRestoreInstanceState(Bundle state) { argument
64 super.onRestoreInstanceState(state);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRootsLoader.java35 public RootsLoader(Context context, RootsCache roots, State state) { argument
38 mState = state;
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DSetArcTransmissionStateAction.java125 void handleTimerEvent(int state) { argument
126 if (mState != state || mState != STATE_WAITING_TIMEOUT) {
H A DSystemAudioAutoInitiationAction.java88 void handleTimerEvent(int state) { argument
89 if (mState != state) {
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DCameraExceptionHandler.java35 RuntimeException e, String commandHistory, int action, int state) {
50 RuntimeException e, String commandHistory, int action, int state);
99 final int action, final int state) {
103 mCallback.onCameraException(ex, commandHistory, action, state);
49 onCameraException( RuntimeException e, String commandHistory, int action, int state) argument
97 onCameraException( final RuntimeException ex, final String commandHistory, final int action, final int state) argument
/frameworks/rs/
H A DrsProgramRaster.h44 State state; member in struct:android::renderscript::ProgramRaster::Hal
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DTintDrawableWrapper.java58 private boolean updateTint(int[] state) { argument
60 final int color = mTintStateList.getColorForState(state, mCurrentColor);
/frameworks/av/services/audioflinger/
H A DAudioResamplerCubic.h44 } 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/av/services/camera/libcameraservice/device3/
H A DStatusTracker.h38 * State tracking for idle and other collective state transitions.
43 * internal state correctly, which means the notifyStatus call to the parent may
56 // New components start in the idle state.
62 // Set the state of a tracked component to be idle. Ignores unknown IDs; can
68 // Set the state of a tracked component to be active. Ignores unknown IDs.
82 void markComponent(int id, ComponentState state,
92 ComponentState state; member in struct:android::camera3::StatusTracker::StateChange
95 // A queue of yet-to-be-processed state changes to components
108 // Merged fence for all processed state changes
110 // Current overall device state
[all...]
/frameworks/base/cmds/ime/src/com/android/commands/ime/
H A DIme.java138 private void runSetEnabled(boolean state) { argument
147 boolean res = mImm.setInputMethodEnabled(id, state);
148 if (state) {
/frameworks/base/core/java/android/app/
H A DListActivity.java152 * // requerying or closing it as the activity changes state.
217 protected void onRestoreInstanceState(Bundle state) { argument
219 super.onRestoreInstanceState(state);
232 * Updates the screen state (current list and other views) when the
H A DTabActivity.java83 protected void onRestoreInstanceState(Bundle state) { argument
84 super.onRestoreInstanceState(state);
86 String cur = state.getString("currentTab");
120 * Updates the screen state (current list and other views) when the
/frameworks/base/core/java/android/os/
H A DSystemService.java42 State(String state) { argument
43 sStates.put(state, this);
76 * Return current state of given service.
80 final State state = sStates.get(rawState);
81 if (state != null) {
82 return state;
103 * Wait until given service has entered specific state.
105 public static void waitForState(String service, State state, long timeoutMillis) argument
111 if (state.equals(currentState)) {
117 + "; waited " + timeoutMillis + "ms for " + state);
[all...]
/frameworks/base/core/java/com/android/internal/net/
H A DLegacyVpnInfo.java42 public int state = -1; field in class:LegacyVpnInfo
53 out.writeInt(state);
63 info.state = in.readInt();
75 * Return best matching {@link LegacyVpnInfo} state based on given
89 Log.w(TAG, "Unhandled state " + info.getDetailedState()

Completed in 4429 milliseconds

1234567891011>>