Searched defs:state (Results 76 - 100 of 286) sorted by relevance

1234567891011>>

/frameworks/base/media/libstagefright/codecs/amrnb/dec/src/
H A Ddec_amr.h134 Word16 state; member in struct:Decoder_amrState
166 * Purpose : Allocates initializes state memory
175 * Purpose : Resets state memory
H A Dph_disp.cpp52 product of state->prevCbGain and ONFACTPLUS1 in the ph_disp
133 state = pointer to a structure of type ph_dispState
136 Structure pointed to by state is initialized to zeros
165 int ph_disp_reset (ph_dispState *state)
169 if (state == (ph_dispState *) NULL){
175 state->gainMem[i] = 0;
177 state->prevState = 0;
178 state->prevCbGain = 0;
179 state->lockFull = 0;
180 state
208 ph_disp_reset(ph_dispState *state) argument
299 ph_disp_lock(ph_dispState *state) argument
376 ph_disp_release(ph_dispState *state) argument
654 ph_disp( ph_dispState *state, enum Mode mode, Word16 x[], Word16 cbGain, Word16 ltpGain, Word16 inno[], Word16 pitch_fac, Word16 tmp_shift, Flag *pOverflow ) argument
[all...]
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/
H A Dcl_ltp.cpp127 state = Pointer to a pointer to a clLtpState structure
130 state points to the newly created clLtpState structure.
144 Allocates state memory and initializes state memory
159 int cl_ltp_init (clLtpState **state)
163 if (state == (clLtpState **) NULL){
167 *state = NULL;
171 fprintf(stderr, "cl_ltp_init: can not malloc state structure\n");
175 // init the sub state
183 *state
212 cl_ltp_init(clLtpState **state) argument
319 cl_ltp_reset(clLtpState *state) argument
414 cl_ltp_exit(clLtpState **state) argument
[all...]
H A Dgain_q.cpp135 Allocates state memory and initializes state memory
174 Word16 gainQuant_init(gainQuantState **state) argument
178 if (state == (gainQuantState **) NULL)
183 *state = NULL;
188 /* fprintf(stderr, "gainQuant_init: can not malloc state structure\n"); */
206 *state = s;
236 Initializes state memory to zero
274 Word16 gainQuant_reset(gainQuantState *state) argument
277 if (state
361 gainQuant_exit(gainQuantState **state) argument
[all...]
H A Dlevinson.cpp91 state = pointer to an array of pointers to structures of type
95 pointer pointed to by state points to the newly allocated memory to
110 This function allocates and initializes the state memory used by the
126 int Levinson_init (LevinsonState **state)
130 if (state == (LevinsonState **) NULL){
134 *state = NULL;
138 //fprint(stderr, "Levinson_init: can not malloc state structure\n");
143 *state = s;
171 Word16 Levinson_init(LevinsonState **state) argument
175 if (state
279 Levinson_reset(LevinsonState *state) argument
375 Levinson_exit(LevinsonState **state) argument
[all...]
/frameworks/base/media/libstagefright/codecs/amrwb/src/
H A De_pv_amrwbdec.h117 int16 state; member in struct:__anon669
126 Decoder_State state; member in struct:__anon670
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaRecorderStateUnitTestTemplate.java65 * Calls method under test in the given state of the MediaRecorder object.
67 * @param state the MediaRecorder state in which the method under test is called.
69 private void callMediaRecorderMethodUnderTestInState(MediaRecorderStateErrors.MediaRecorderState state) { argument
70 Log.v(TAG, "call " + mMethodUnderTest + ": started in state " + state);
71 setMediaRecorderToState(state);
77 Log.v(TAG, "call " + mMethodUnderTest + ": ended in state " + state);
82 * object to the corresponding state, give
215 setMediaRecorderToState(MediaRecorderStateErrors.MediaRecorderState state) argument
251 setStateError(MediaRecorderStateErrors.MediaRecorderState state, boolean error) argument
[all...]
/frameworks/base/services/java/com/android/server/location/
H A DLocationProviderInterface.java52 void updateNetworkState(int state, NetworkInfo info); argument
/frameworks/base/services/jni/
H A Dcom_android_server_LightsService.cpp110 light_state_t state; local
116 memset(&state, 0, sizeof(light_state_t));
117 state.color = colorARGB;
118 state.flashMode = flashMode;
119 state.flashOnMS = onMS;
120 state.flashOffMS = offMS;
121 state.brightnessMode = brightnessMode;
123 devices->lights[light]->set_light(devices->lights[light], &state);
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DAccessibilityManagerServiceTest.java552 public void setState(int state) { argument
553 mState = state;
561 * Ensures accessibility is in a given state by writing the state to the
565 * @param enabled The accessibility state to write to the settings.
654 * arguments) within the {@link #TIMEOUT_BINDER_CALL}. The verified state is
/frameworks/base/telephony/java/android/telephony/
H A DPhoneStateListener.java32 * on the device, including service state, signal strength, message
35 * Override the methods for the state that you wish to receive updates for, and
53 * Listen for changes to the network service state (cellular).
113 * Listen for changes to the device call state.
122 * Listen for changes to the data connection state (cellular).
163 * Callback invoked when device service state changes.
210 * Callback invoked when device call state changes.
216 public void onCallStateChanged(int state, String incomingNumber) { argument
221 * Callback invoked when connection state changes.
228 public void onDataConnectionStateChanged(int state) { argument
235 onDataConnectionStateChanged(int state, int networkType) argument
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCall.java48 public State state = State.IDLE; field in class:Call
99 * @return state of class call
102 return state;
H A DDefaultPhoneNotifier.java104 Phone.DataState state) {
105 doNotifyDataConnection(sender, reason, apnType, state);
109 Phone.DataState state) {
118 if (state == Phone.DataState.CONNECTED) {
127 convertDataState(state),
175 public static int convertCallState(Phone.State state) { argument
176 switch (state) {
190 public static Phone.State convertCallState(int state) { argument
191 switch (state) {
205 public static int convertDataState(Phone.DataState state) { argument
103 notifyDataConnection(Phone sender, String reason, String apnType, Phone.DataState state) argument
108 doNotifyDataConnection(Phone sender, String reason, String apnType, Phone.DataState state) argument
222 convertDataState(int state) argument
239 convertDataActivityState(Phone.DataActivityState state) argument
258 convertDataActivityState(int state) argument
[all...]
H A DDriverCall.java36 // If you add a state, make sure to look for the switch()
42 public State state; // May be null if unavail field in class:DriverCall
60 // index,isMT,state,mode,isMpty(,number,TOA)?
66 ret.state = stateFromCLCC(p.nextInt());
107 + state + ","
119 stateFromCLCC(int state) throws ATParseEx { argument
120 switch(state) {
128 throw new ATParseEx("illegal call state " + state);
/frameworks/media/libvideoeditor/osal/src/
H A DM4OSA_Thread.c59 threadContext->state = M4OSA_kThreadRunning;
63 while(threadContext->state == M4OSA_kThreadRunning)
71 if(threadContext->state == M4OSA_kThreadRunning)
74 //PR 2354 - ACO : Suppress stopping state and don't
76 threadContext->state = M4OSA_kThreadOpened;
112 * @note Once the thread is created, the state is M4OSA_kThreadOpened.
154 threadContext->state = M4OSA_kThreadOpened;
191 * Before calling this method, the state is M4OSA_kThreadOpened.
192 * Once the method is called, the state is M4OSA_kThreadStarting.
193 * Once the thread is running, the state i
467 M4OSA_threadSyncGetState(M4OSA_Context context, M4OSA_ThreadState* state) argument
[all...]
/frameworks/support/v13/java/android/support/v13/app/
H A DFragmentPagerAdapter.java39 * arbitrary amount of state. For larger sets of pages, consider
158 public void restoreState(Parcelable state, ClassLoader loader) { argument
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentPagerAdapter.java35 * arbitrary amount of state. For larger sets of pages, consider
154 public void restoreState(Parcelable state, ClassLoader loader) { argument
/frameworks/support/v4/java/android/support/v4/view/
H A DPagerAdapter.java233 * Save any instance state associated with this adapter and its pages that should be
234 * restored if the current UI state needs to be reconstructed.
236 * @return Saved state for this adapter
243 * Restore any instance state associated with this adapter and its pages
246 * @param state State previously saved by a call to {@link #saveState()}
249 public void restoreState(Parcelable state, ClassLoader loader) { argument
/frameworks/base/core/java/android/app/
H A DLocalActivityManager.java58 Bundle instanceState; // Last retrieved freeze state.
59 int curState = RESTORED; // Current state the activity is in.
89 /** Current state the owner (ActivityGroup) is in */
152 // the launching of the activity gets its state a little ahead
155 // group's state catches up.
247 * include an explicit component, we can restore the state for a different
248 * activity class than was previously running when the state was saved (if
380 * all state are removed from the group.
438 * Restore a state that was previously returned by {@link #saveInstanceState}. This
441 * user later navigates to them the correct state wil
451 dispatchCreate(Bundle state) argument
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothHeadset.java51 * Intent used to broadcast the change in connection state of the Headset
56 * <li> {@link #EXTRA_STATE} - The current state of the profile. </li>
57 * <li> {@link #EXTRA_PREVIOUS_STATE}- The previous state of the profile. </li>
72 * Intent used to broadcast the change in the Audio Connection state of the
77 * <li> {@link #EXTRA_STATE} - The current state of the profile. </li>
78 * <li> {@link #EXTRA_PREVIOUS_STATE}- The previous state of the profile. </li>
195 * Headset state when SCO audio is not connected.
196 * This state can be one of
203 * Headset state when SCO audio is connecting.
204 * This state ca
682 setAudioState(BluetoothDevice device, int state) argument
[all...]
/frameworks/base/core/java/android/net/
H A DDummyDataStateTracker.java25 * A dummy data state tracker for use when we don't have a real radio
123 * Record the detailed state of a network, and if it is a
124 * change from the previous state, send a notification to
126 * @param state the new @{code DetailedState}
127 * @param reason a {@code String} indicating a reason for the state change,
129 * @param extraInfo optional {@code String} providing extra information about the state change
131 private void setDetailedState(NetworkInfo.DetailedState state, String reason, argument
133 if (DBG) log("setDetailed state, old ="
134 + mNetworkInfo.getDetailedState() + " and new state=" + state);
[all...]
/frameworks/base/core/java/android/pim/
H A DContactsAsyncHelper.java83 * with tracking the state of the CallerInfo Queries and image
88 * loads, which then mix with the Phone state changes.
157 * Simple setter for the Photo state.
159 public void setPhotoState(int state) { argument
160 displayMode = state;
164 * Simple getter for the Photo state.
/frameworks/base/core/java/android/preference/
H A DListPreference.java285 // No need to save instance state since it's persistent
295 protected void onRestoreInstanceState(Parcelable state) { argument
296 if (state == null || !state.getClass().equals(SavedState.class)) {
297 // Didn't save state for us in onSaveInstanceState
298 super.onRestoreInstanceState(state);
302 SavedState myState = (SavedState) state;
H A DSeekBarPreference.java171 * must save the instance state so it is able to, for example, survive
177 // No need to save instance state since it's persistent
181 // Save the instance state
189 protected void onRestoreInstanceState(Parcelable state) { argument
190 if (!state.getClass().equals(SavedState.class)) {
191 // Didn't save state for us in onSaveInstanceState
192 super.onRestoreInstanceState(state);
196 // Restore the instance state
197 SavedState myState = (SavedState) state;
205 * SavedState, a subclass of {@link BaseSavedState}, will store the state
[all...]
H A DTwoStatePreference.java33 * enabled/disabled based on the current state.
72 * Sets the checked state and saves it to the {@link SharedPreferences}.
74 * @param checked The checked state.
86 * Returns the checked state.
88 * @return The checked state.
171 * @param disableDependentsState The preference state that should disable dependents.
243 // No need to save instance state since it's persistent
253 protected void onRestoreInstanceState(Parcelable state) { argument
254 if (state == null || !state
[all...]

Completed in 327 milliseconds

1234567891011>>