Searched refs:state (Results 151 - 175 of 559) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A De_pv_amrwbdec.h117 int16 state; member in struct:__anon628
126 Decoder_State state; member in struct:__anon629
/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/core/java/android/preference/
H A DDialogPreference.java274 * @param state Optional instance state to restore on the dialog
276 protected void showDialog(Bundle state) { argument
301 if (state != null) {
302 dialog.onRestoreInstanceState(state);
431 protected void onRestoreInstanceState(Parcelable state) { argument
432 if (state == null || !state.getClass().equals(SavedState.class)) {
433 // Didn't save state for us in onSaveInstanceState
434 super.onRestoreInstanceState(state);
[all...]
H A DEditTextPreference.java65 * 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 DMultiCheckPreference.java144 * Get the boolean state of a given value.
151 * Set the boolean state of a given value.
153 public void setValue(int index, boolean state) { argument
154 mSetValues[index] = state;
275 // No need to save instance state since it's persistent
285 protected void onRestoreInstanceState(Parcelable state) { argument
286 if (state == null || !state.getClass().equals(SavedState.class)) {
287 // Didn't save state for us in onSaveInstanceState
288 super.onRestoreInstanceState(state);
[all...]
/frameworks/base/core/java/android/printservice/
H A DIPrintServiceClient.aidl34 boolean setPrintJobState(in PrintJobId printJobId, int state, String error);
/frameworks/base/media/java/android/media/
H A DIRemoteControlDisplay.aidl50 * Sets the playback information (state, position and speed) of a client.
52 * @param state the current playback state, one of the following values:
67 * or that the position information is not applicable (e.g. when state
74 * playing (e.g. when state is {@link RemoteControlClient#PLAYSTATE_ERROR}).
76 void setPlaybackState(int generationId, int state, long stateChangeTimeMs, long currentPosMs,
/frameworks/base/media/jni/mediaeditor/
H A DVideoBrowserInternal.h53 #define CHECK_STATE(fct, state, pC) \
55 if (state != pC->m_state) \
57 M4OSA_TRACE1_1("" #fct " called in bad state %d", pC->m_state) ; \
72 /*--- Video Browser state ---*/
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRootsLoader.java33 public RootsLoader(Context context, RootsCache roots, State state) { argument
36 mState = state;
/frameworks/rs/
H A DrsAllocation.h73 State state; member in struct:android::renderscript::Allocation::Hal
105 const Type * getType() const {return mHal.state.type;}
140 return (mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT) != 0;
143 return (mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_TEXTURE) != 0;
146 return (mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_RENDER_TARGET) != 0;
149 return (mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_VERTEX) != 0;
158 return mHal.state.mipmapControl != RS_ALLOCATION_MIPMAP_NONE;
171 mHal.state.type = t;
H A DrsPath.cpp32 mHal.state.quality = quality;
33 mHal.state.primitive = pp;
/frameworks/wilhelm/src/android/
H A DAudioRecorder_to_android.h54 extern void android_audioRecorder_setRecordState(CAudioRecorder* ar, SLuint32 state);
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
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...]
/frameworks/base/core/java/android/app/
H A DDatePickerDialog.java183 Bundle state = super.onSaveInstanceState();
184 state.putInt(YEAR, mDatePicker.getYear());
185 state.putInt(MONTH, mDatePicker.getMonth());
186 state.putInt(DAY, mDatePicker.getDayOfMonth());
187 return state;
/frameworks/base/core/java/com/android/internal/util/
H A DStateMachine.java37 * <p>The state machine defined here is a hierarchical state machine which processes messages
40 * <p>A state is a <code>State</code> object and must implement
44 * cleanup of the state respectively. The <code>getName</code> method returns the
45 * name of the state the default implementation returns the class name it may be
46 * desirable to have this return the name of the state instance name instead.
47 * In particular if a particular state class has multiple instances.</p>
49 * <p>When a state machine is created <code>addState</code> is used to build the
51 * is the initial state. After construction the programmer calls <code>start</code>
52 * which initializes and starts the state machin
466 LogRec(StateMachine sm, Message msg, String info, IState state, IState orgState, IState transToState) argument
477 update(StateMachine sm, Message msg, String info, IState state, IState orgState, IState dstState) argument
657 add(StateMachine sm, Message msg, String messageInfo, IState state, IState orgState, IState transToState) argument
720 State state; field in class:StateMachine.SmHandler.StateInfo
1132 addState(State state, State parent) argument
1279 addState(State state, State parent) argument
1287 addState(State state) argument
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaPlayerStateUnitTestTemplate.java151 * Calls method under test in the given state of the MediaPlayer object.
153 * @param state the MediaPlayer state in which the method under test is called.
155 private void callMediaPlayerMethodUnderTestInState(MediaPlayerStateErrors.MediaPlayerState state) { argument
156 Log.v(TAG, "call " + mMethodUnderTest + ": started in state " + state);
157 setMediaPlayerToState(state);
163 Log.v(TAG, "callMediaPlayerMethodUnderTestInState: wait is interrupted in state " + state);
166 Log.v(TAG, "call " + mMethodUnderTest + ": ended in state "
334 setMediaPlayerToState(MediaPlayerStateErrors.MediaPlayerState state) argument
379 setStateError(MediaPlayerStateErrors.MediaPlayerState state, boolean error) argument
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardUpdateMonitor.java102 // Telephony state
111 // Device provisioning state
215 * KeyguardTransportControl. There's a lot of client state to maintain which is why
221 public void setPlaybackState(int generationId, int state, long stateChangeTimeMs,
224 generationId, state, stateChangeTimeMs);
280 Log.v(TAG, "action " + action + " state" +
289 String state = intent.getStringExtra(TelephonyManager.EXTRA_STATE);
290 mHandler.sendMessage(mHandler.obtainMessage(MSG_PHONE_STATE_CHANGED, state));
324 SimArgs(IccCardConstants.State state) { argument
325 simState = state;
1052 isSimLocked(IccCardConstants.State state) argument
1062 isSimPinSecure(IccCardConstants.State state) argument
[all...]
/frameworks/rs/driver/runtime/
H A Drs_sample.c539 const Type_t *type = (Type_t *)alloc->mHal.state.type;
540 const Element_t *elem = type->mHal.state.element;
541 rs_data_kind dk = elem->mHal.state.dataKind;
542 rs_data_type dt = elem->mHal.state.dataType;
543 rs_sampler_value sampleMin = prog->mHal.state.minFilter;
544 rs_sampler_value sampleMag = prog->mHal.state.magFilter;
545 rs_sampler_value wrapS = prog->mHal.state.wrapS;
547 if (!(alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_TEXTURE)) {
559 uint32_t maxLOD = type->mHal.state.lodCount - 1;
568 uint32_t maxLOD = type->mHal.state
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dcod_amr.cpp157 state = pointer to a pointer to a structure of type cod_amrState
160 Structure pointed to by the pointer pointed to by state is
162 state points to the allocated memory
177 This function allocates memory and initializes state variables.
192 int cod_amr_init (cod_amrState **state, Flag dtx)
196 if (state == (cod_amrState **) NULL){
200 *state = NULL;
204 fprintf(stderr, "cod_amr_init: can not malloc state structure\n");
237 *state = s;
265 Word16 cod_amr_init(cod_amrState **state, Fla argument
631 cod_amr_exit(cod_amrState **state) argument
[all...]
H A Dpitch_fr.cpp762 state = pointer to a pointer of structure type Pitch_fr_State.
780 Purpose: Allocates state memory and initializes state memory
795 int Pitch_fr_init (Pitch_frState **state)
799 if (state == (Pitch_frState **) NULL){
803 *state = NULL;
807 // fprintf(stderr, "Pitch_fr_init: can not malloc state structure\n");
812 *state = s;
839 Word16 Pitch_fr_init(Pitch_frState **state) argument
843 if (state
942 Pitch_fr_reset(Pitch_frState *state) argument
1034 Pitch_fr_exit(Pitch_frState **state) argument
[all...]
/frameworks/av/include/media/
H A DAudioSystem.h44 static status_t muteMicrophone(bool state);
45 static status_t isMicrophoneMuted(bool *state);
68 // returns true in *state if tracks are active on the specified stream or have been active
70 static status_t isStreamActive(audio_stream_type_t stream, bool *state, uint32_t inPastMs = 0);
71 // returns true in *state if tracks are active for what qualifies as remote playback
74 static status_t isStreamActiveRemotely(audio_stream_type_t stream, bool *state,
76 // returns true in *state if a recorder is currently recording with the specified source
77 static status_t isSourceActive(audio_source_t source, bool *state);
189 static status_t setDeviceConnectionState(audio_devices_t device, audio_policy_dev_state_t state,
193 static status_t setPhoneState(audio_mode_t state);
[all...]
/frameworks/av/services/audioflinger/
H A DAudioMixer.h221 void (*hook)(state_t* state, int64_t pts); // one of process__*, never NULL
283 static void process__validate(state_t* state, int64_t pts);
284 static void process__nop(state_t* state, int64_t pts);
285 static void process__genericNoResampling(state_t* state, int64_t pts);
286 static void process__genericResampling(state_t* state, int64_t pts);
287 static void process__OneTrack16BitsStereoNoResampling(state_t* state,
290 static void process__TwoTracks16BitsStereoNoResampling(state_t* state,
/frameworks/base/core/java/android/net/
H A DDummyDataStateTracker.java26 * A dummy data state tracker for use when we don't have a real radio
130 * Record the detailed state of a network, and if it is a
131 * change from the previous state, send a notification to
133 * @param state the new {@code DetailedState}
134 * @param reason a {@code String} indicating a reason for the state change,
136 * @param extraInfo optional {@code String} providing extra information about the state change
138 private void setDetailedState(NetworkInfo.DetailedState state, String reason, argument
140 if (DBG) log("setDetailed state, old ="
141 + mNetworkInfo.getDetailedState() + " and new state=" + state);
[all...]
/frameworks/base/services/java/com/android/server/wifi/
H A DWifiSettingsStore.java36 /* Persisted state that tracks the wifi & airplane interaction from settings */
38 /* Tracks current airplane mode state */
47 /* Tracks if we have checked the saved wi-fi state after boot */
95 // When wifi state is disabled, we do not care
117 /* On airplane mode disable, restore wifi state if necessary */
135 private void persistWifiState(int state) { argument
137 mPersistWifiState = state;
138 Settings.Global.putInt(cr, Settings.Global.WIFI_ON, state);
158 * The settings app tracks the saved state, but the framework has to check it at boot to
/frameworks/base/services/java/com/android/server/
H A DTelephonyRegistry.java161 // we keep a copy of all of the state so we can send it out when folks
327 public void notifyCallState(int state, String incomingNumber) { argument
332 mCallState = state;
337 r.callback.onCallStateChanged(state, incomingNumber);
345 broadcastCallStateChanged(state, incomingNumber);
348 public void notifyServiceState(ServiceState state) { argument
353 mServiceState = state;
357 r.callback.onServiceStateChanged(new ServiceState(state));
365 broadcastServiceStateChanged(state);
458 public void notifyDataActivity(int state) { argument
477 notifyDataConnection(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, LinkCapabilities linkCapabilities, int networkType, boolean roaming) argument
642 broadcastServiceStateChanged(ServiceState state) argument
677 broadcastCallStateChanged(int state, String incomingNumber) argument
701 broadcastDataConnectionStateChanged(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, LinkCapabilities linkCapabilities, boolean roaming) argument
[all...]

Completed in 2448 milliseconds

1234567891011>>