Searched defs:state (Results 251 - 275 of 841) sorted by relevance

<<11121314151617181920>>

/frameworks/wilhelm/src/itf/
H A DIRecord.cpp22 static SLresult IRecord_SetRecordState(SLRecordItf self, SLuint32 state) argument
26 switch (state) {
33 thiz->mState = state;
35 android_audioRecorder_setRecordState(InterfaceToCAudioRecorder(thiz), state); local
59 SLuint32 state = thiz->mState; local
61 *pState = state;
/frameworks/wilhelm/tests/examples/
H A DslesTestSawtoothBufferQueue.cpp121 SLBufferQueueState state; local
251 res = (*bufferQueueItf)->GetState(bufferQueueItf, &state);
254 // while (state.playIndex < 100) {
255 while (state.count) {
257 (*bufferQueueItf)->GetState(bufferQueueItf, &state);
/frameworks/wilhelm/tests/sandbox/
H A Dconfigbq.c194 // set the player's state to playing
200 SLBufferQueueState state; local
201 result = (*playerBufferQueue)->GetState(playerBufferQueue, &state);
203 if (state.count == 0)
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp313 CodecState *state = local
317 state->mNumFramesWritten = 0;
318 state->mCodec = MediaCodec::CreateByType(
321 CHECK(state->mCodec != NULL);
323 err = state->mCodec->configure(
334 state->mCSD.push_back(buffer);
341 CodecState *state = &mStateByTrackIndex.editValueAt(i); local
343 status_t err = state->mCodec->start();
346 err = state->mCodec->getInputBuffers(&state
402 CodecState *state = &mStateByTrackIndex.editValueAt(i); local
421 CodecState *state = &mStateByTrackIndex.editValueAt(i); local
476 CodecState *state = &mStateByTrackIndex.editValueFor(trackIndex); local
519 CodecState *state = &mStateByTrackIndex.editValueAt(i); local
571 onOutputFormatChanged( size_t trackIndex __unused, CodecState *state) argument
602 renderAudio( CodecState *state, BufferInfo *info, const sp<MediaCodecBuffer> &buffer) argument
[all...]
H A Dcodec.cpp116 CodecState *state = local
119 state->mNumBytesDecoded = 0;
120 state->mNumBuffersDecoded = 0;
121 state->mIsAudio = isAudio;
123 state->mCodec = MediaCodec::CreateByType(
126 CHECK(state->mCodec != NULL);
128 err = state->mCodec->configure(
135 state->mSignalledInputEOS = false;
136 state->mSawOutputEOS = false;
145 CodecState *state local
169 CodecState *state = &stateByTrack.editValueFor(trackIndex); local
206 CodecState *state = &stateByTrack.editValueAt(i); local
235 CodecState *state = &stateByTrack.editValueAt(i); local
247 CodecState *state = &stateByTrack.editValueAt(i); local
313 CodecState *state = &stateByTrack.editValueAt(i); local
[all...]
/frameworks/av/media/common_time/
H A DICommonClock.cpp180 virtual status_t getState(State* state) { argument
187 *state = static_cast<State>(reply.readInt32());
347 State state; local
348 status_t status = getState(&state);
351 reply->writeInt32(static_cast<int32_t>(state));
/frameworks/av/media/libaaudio/src/legacy/
H A DAudioStreamRecord.cpp42 const aaudio_stream_state_t state = getState(); local
43 bool bad = !(state == AAUDIO_STREAM_STATE_UNINITIALIZED || state == AAUDIO_STREAM_STATE_CLOSED);
44 ALOGE_IF(bad, "stream not closed, in state %d", state);
256 // TODO add better state visibility to AudioRecord
H A DAudioStreamTrack.cpp47 const aaudio_stream_state_t state = getState(); local
48 bool bad = !(state == AAUDIO_STREAM_STATE_UNINITIALIZED || state == AAUDIO_STREAM_STATE_CLOSED);
49 ALOGE_IF(bad, "stream not closed, in state %d", state);
256 ALOGE("requestPause(), called when state is %s",
304 // TODO add better state visibility to AudioTrack
/frameworks/av/media/libaudioclient/
H A DIAudioTrack.cpp187 sp<VolumeShaper::State> state = new VolumeShaper::State; local
188 status = state->readFromParcel(reply);
192 return state;
284 sp<VolumeShaper::State> state = getVolumeShaperState(id); local
285 if (state.get() != nullptr) {
286 status = state->writeToParcel(reply);
/frameworks/av/media/libaudiohal/
H A DDeviceHalHidl.cpp157 status_t DeviceHalHidl::setMicMute(bool state) { argument
159 return processReturn("setMicMute", mDevice->setMicMute(state));
162 status_t DeviceHalHidl::getMicMute(bool *state) { argument
169 *state = mute;
175 status_t DeviceHalHidl::setMasterMute(bool state) { argument
177 return processReturn("setMasterMute", mDevice->setMasterMute(state));
180 status_t DeviceHalHidl::getMasterMute(bool *state) { argument
187 *state = mute;
H A DDeviceHalLocal.cpp65 status_t DeviceHalLocal::setMicMute(bool state) { argument
66 return mDev->set_mic_mute(mDev, state);
69 status_t DeviceHalLocal::getMicMute(bool *state) { argument
70 return mDev->get_mic_mute(mDev, state);
73 status_t DeviceHalLocal::setMasterMute(bool state) { argument
75 return mDev->set_master_mute(mDev, state);
78 status_t DeviceHalLocal::getMasterMute(bool *state) { argument
80 return mDev->get_master_mute(mDev, state);
/frameworks/av/media/libeffects/testlibs/
H A DAudioBiquadFilter.cpp88 void AudioBiquadFilter::setState(state_t state) { argument
89 switch (state) {
117 mState = state;
/frameworks/av/media/libstagefright/
H A DMidiExtractor.cpp227 EAS_STATE state; local
228 EAS_State(mEasData, mEasHandle, &state);
229 if ((state == EAS_STATE_STOPPED) || (state == EAS_STATE_ERROR)) {
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Ddec_amr.cpp117 state = pointer to a pointer to structures of type Decoder_amrState
120 structure pointed to by the pointer which is pointed to by state is
123 state pointer points to the address of the memory allocated by
138 This function allocates and initializes state memory used by the Decoder_amr
139 function. It stores the pointer to the filter status structure in state. This
156 int Decoder_amr_init (Decoder_amrState **state)
161 if (state == (Decoder_amrState **) NULL){
165 *state = NULL;
169 fprintf(stderr, "Decoder_amr_init: can not malloc state structure\n");
200 *state
395 Decoder_amr_reset(Decoder_amrState *state, enum Mode mode) argument
[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 Dp_ol_wgh.cpp110 state = pointer to a pointer of structure type pitchOLWghtState
128 This function allocates state memory and initializes state memory
143 int p_ol_wgh_init (pitchOLWghtState **state)
147 if (state == (pitchOLWghtState **) NULL){
151 *state = NULL;
155 // fprintf(stderr, "p_ol_wgh_init: can not malloc state structure\n");
161 *state = s;
189 Word16 p_ol_wgh_init(pitchOLWghtState **state) argument
193 if (state
391 p_ol_wgh_exit(pitchOLWghtState **state) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Ddec_gain2_amr_wb.cpp55 int16 state, (i) : State of BFH
178 int16 state, /* (i) : State of BFH */
230 *gain_pit = mult_int16(pdown_unusable[state], *past_gain_pit);
234 *gain_pit = mult_int16(pdown_usable[state], *past_gain_pit);
247 *past_gain_code = mult_int16(cdown_unusable[state], tmp);
251 *past_gain_code = mult_int16(cdown_usable[state], tmp);
169 dec_gain2_amr_wb( int16 index, int16 nbits, int16 code[], int16 L_subfr, int16 * gain_pit, int32 * gain_cod, int16 bfi, int16 prev_bfi, int16 state, int16 unusable_frame, int16 vad_hist, int16 * mem ) argument
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dwb_vad.c622 * Purpose: Allocates state memory and initializes state memory
627 VadVars ** state, /* i/o : State structure */
633 if (state == (VadVars **) NULL)
638 *state = NULL;
643 fprintf(stderr, "vad_init: can not malloc state structure\n");
648 *state = s;
656 * Purpose: Initializes state memory
661 VadVars * state /* i/o : State structure */
666 if (state
626 wb_vad_init( VadVars ** state, VO_MEM_OPERATOR *pMemOP ) argument
715 wb_vad_exit( VadVars ** state, VO_MEM_OPERATOR *pMemOP ) argument
[all...]
/frameworks/av/media/libstagefright/omx/
H A DSoftOMXComponent.cpp249 OMX_STATETYPE *state) {
254 return me->getState(state);
322 OMX_ERRORTYPE SoftOMXComponent::getState(OMX_STATETYPE * /* state */) {
247 GetStateWrapper( OMX_HANDLETYPE component, OMX_STATETYPE *state) argument
/frameworks/av/services/audiopolicy/engineconfigurable/src/
H A DEngine.h87 audio_policy_dev_state_t state)
89 return mPolicyEngine->setDeviceConnectionState(devDesc, state);
165 audio_policy_dev_state_t state);
86 setDeviceConnectionState(const sp<DeviceDescriptor> devDesc, audio_policy_dev_state_t state) argument
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyClientImpl.cpp217 String8 regId, int32_t state)
219 mAudioPolicyService->onDynamicPolicyMixStateUpdate(regId, state);
216 onDynamicPolicyMixStateUpdate( String8 regId, int32_t state) argument
/frameworks/base/core/java/android/app/
H A DFragmentController.java102 * Marks the fragment state as unsaved. This allows for "state loss" detection.
109 * Saves the state for all Fragments.
116 * Restores the saved state for all Fragments. The given Fragment list are Fragment
124 public void restoreAllState(Parcelable state, List<Fragment> nonConfigList) { argument
125 mHost.mFragmentManager.restoreAllState(state,
130 * Restores the saved state for all Fragments. The given FragmentManagerNonConfig are Fragment
135 public void restoreAllState(Parcelable state, FragmentManagerNonConfig nonConfig) { argument
136 mHost.mFragmentManager.restoreAllState(state, nonConfig);
161 * into the create state
[all...]
H A DLocalActivityManager.java59 Bundle instanceState; // Last retrieved freeze state.
60 int curState = RESTORED; // Current state the activity is in.
90 /** Current state the owner (ActivityGroup) is in */
153 // the launching of the activity gets its state a little ahead
156 // group's state catches up.
248 * include an explicit component, we can restore the state for a different
249 * activity class than was previously running when the state was saved (if
381 * all state are removed from the group.
439 * Restore a state that was previously returned by {@link #saveInstanceState}. This
442 * user later navigates to them the correct state wil
452 dispatchCreate(Bundle state) argument
[all...]
H A DStatusBarManager.java233 public static String windowStateToString(int state) { argument
234 if (state == WINDOW_STATE_HIDING) return "WINDOW_STATE_HIDING";
235 if (state == WINDOW_STATE_HIDDEN) return "WINDOW_STATE_HIDDEN";
236 if (state == WINDOW_STATE_SHOWING) return "WINDOW_STATE_SHOWING";
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothA2dp.java58 * Intent used to broadcast the change in connection state of the A2DP
63 * <li> {@link #EXTRA_STATE} - The current state of the profile. </li>
64 * <li> {@link #EXTRA_PREVIOUS_STATE}- The previous state of the profile.</li>
80 * Intent used to broadcast the change in the Playing state of the A2DP
85 * <li> {@link #EXTRA_STATE} - The current state of the profile. </li>
86 * <li> {@link #EXTRA_PREVIOUS_STATE}- The previous state of the profile. </li>
106 * Intent used to broadcast the change in the Audio Codec state of the
126 * A2DP sink device is streaming music. This state can be one of
133 * A2DP sink device is NOT streaming music. This state can be one of
278 * connection state inten
777 stateToString(int state) argument
[all...]

Completed in 1910 milliseconds

<<11121314151617181920>>