Searched defs:mState (Results 51 - 75 of 82) sorted by relevance

1234

/frameworks/av/include/media/stagefright/
H A DOMXCodec.h198 State mState; member in struct:android::OMXCodec
/frameworks/av/media/libstagefright/wifi-display/
H A DANetworkSession.cpp91 State mState; member in struct:android::ANetworkSession::Session
133 mState(state),
139 if (mState == CONNECTED) {
205 return mState == LISTENING_RTSP;
209 return mState == LISTENING_TCP_DGRAMS;
213 return !mSawReceiveFailure && mState != CONNECTING;
218 && (mState == CONNECTING
219 || (mState == CONNECTED && !mOutBuffer.empty())
220 || (mState == DATAGRAM && !mOutDatagrams.empty()));
224 if (mState
[all...]
/frameworks/av/services/audioflinger/
H A DAudioMixer.h242 state_t mState __attribute__((aligned(32))); member in class:android::AudioMixer
/frameworks/base/cmds/am/src/com/android/commands/am/
H A DAm.java888 int mState; field in class:Am.MyActivityController
1047 mState = state;
1051 while (mState != STATE_NORMAL) {
1065 mState = STATE_NORMAL;
1072 switch (mState) {
1101 mState = STATE_NORMAL;
1114 } else if (mState == STATE_CRASHED) {
1122 } else if (mState == STATE_ANR) {
1132 } else if (mState == STATE_EARLY_ANR) {
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DConnectivityManagerTestActivity.java80 public State mState; field in class:ConnectivityManagerTestActivity
129 mState = State.DISCONNECTED;
131 mState = State.CONNECTED;
211 mState = State.UNKNOWN;
/frameworks/base/services/common_time/
H A Dcommon_time_server.h155 ICommonClock::State mState; member in class:android::CommonTimeServer
225 if (mState == ICommonClock::STATE_MASTER)
/frameworks/base/services/java/com/android/server/
H A DBluetoothManagerService.java97 private int mState; field in class:BluetoothManagerService
159 mState = BluetoothAdapter.STATE_OFF;
751 mState = newState;
780 mState = BluetoothAdapter.STATE_OFF;
827 bluetoothStateChangeHandler(mState, BluetoothAdapter.STATE_ON);
836 mState = BluetoothAdapter.STATE_OFF;
/frameworks/base/media/java/android/media/audiofx/
H A DVisualizer.java141 private int mState = STATE_UNINITIALIZED; field in class:Visualizer
143 * Lock to synchronize access to mState
190 mState = STATE_UNINITIALIZED;
205 mState = STATE_ENABLED;
207 mState = STATE_INITIALIZED;
219 mState = STATE_UNINITIALIZED;
238 if (mState == STATE_UNINITIALIZED) {
239 throw(new IllegalStateException("setEnabled() called in wrong state: "+mState));
242 if ((enabled && (mState == STATE_INITIALIZED)) ||
243 (!enabled && (mState
[all...]
H A DAudioEffect.java283 private int mState = STATE_UNINITIALIZED; field in class:AudioEffect
285 * Lock to synchronize access to mState
395 mState = STATE_INITIALIZED;
407 mState = STATE_UNINITIALIZED;
1227 if (mState != STATE_INITIALIZED) {
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
H A DScoAudioTest.java416 private int mState = 0; field in class:ScoAudioTest.SimpleRecordController
426 if (mState == 0) {
430 mState = 1;
435 mState = 0;
446 mState = 0;
487 if (mState == 1) {
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
H A DVideoEditorAudioDecoder.cpp79 State mState; member in struct:android::VideoEditorAudioDecoderSource
124 mState(CREATED),
130 if( STARTED == mState ) {
138 if( CREATED != mState ) {
139 ALOGV("VideoEditorAudioDecoderSource::start: invalid state %d", mState);
143 mState = STARTED;
156 if( STARTED != mState ) {
157 ALOGV("VideoEditorAudioDecoderSource::stop: invalid state %d", mState);
170 mState = CREATED;
215 if ( STARTED != mState ) {
[all...]
H A DVideoEditorVideoEncoder.cpp100 State mState; member in struct:android::VideoEditorVideoEncoderSource
120 mState(CREATED),
128 if( STARTED == mState ) {
138 if( CREATED != mState ) {
139 ALOGV("VideoEditorVideoEncoderSource::start: invalid state %d", mState);
142 mState = STARTED;
153 if( STARTED != mState ) {
154 ALOGV("VideoEditorVideoEncoderSource::stop: invalid state %d", mState);
171 mState = CREATED;
192 if ( STARTED != mState ) {
270 VideoEditorVideoEncoder_State mState; member in struct:android::__anon325
[all...]
/frameworks/av/media/libeffects/testlibs/
H A DEffectReverb.h288 uint32_t mState; member in struct:__anon473
/frameworks/base/core/java/android/widget/
H A DFastScroller.java106 private int mState; field in class:FastScroller
163 } else if (mState == STATE_VISIBLE) {
173 int[] state = mState == STATE_DRAGGING ? PRESSED_STATES : DEFAULT_STATES;
211 if (mState != STATE_VISIBLE) { // Optimization
223 mState = state;
228 return mState;
292 mState = STATE_NONE;
310 return !(mState == STATE_NONE);
315 if (mState == STATE_NONE) {
325 if (mState
[all...]
H A DImageView.java77 private int[] mState = null; field in class:ImageView
425 mState = state;
661 if (mState == null) {
664 return mState;
667 super.onCreateDrawableState(extraSpace + mState.length), mState);
H A DOverScroller.java500 mScrollerX.mState != SplineOverScroller.SPLINE) ||
502 mScrollerY.mState != SplineOverScroller.SPLINE));
581 private int mState = SPLINE; field in class:OverScroller.SplineOverScroller
735 mState = CUBIC;
759 mState = SPLINE;
841 // mState is used to detect successive notifications
842 if (mState == SPLINE) {
863 mState = BALLISTIC;
869 switch (mState) {
911 switch (mState) {
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DStateMachine.java453 private State mState; field in class:StateMachine.LogRec
478 mState = state;
507 return mState;
527 sb.append(mState == null ? "<null>" : mState.getName());
/frameworks/base/telephony/java/android/telephony/
H A DServiceState.java125 private int mState = STATE_OUT_OF_SERVICE; field in class:ServiceState
177 mState = s.mState;
198 mState = in.readInt();
216 out.writeInt(mState);
257 return mState;
357 return ((mState * 0x1234)
382 return (mState == s.mState
473 return (mState
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DBaseCommands.java42 protected RadioState mState = RadioState.RADIO_UNAVAILABLE; field in class:BaseCommands
111 return mState;
135 if (mState.isOn()) {
153 if (mState.isAvailable()) {
171 if (!mState.isAvailable()) {
189 if (mState == RadioState.RADIO_OFF || !mState.isAvailable()) {
595 Log.v(LOG_TAG, "setRadioState old: " + mState
599 oldState = mState;
600 mState
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipPhone.java612 private Call.State mState = Call.State.IDLE; field in class:SipPhone.SipConnection
645 if (mState == Call.State.ACTIVE) call.startAudio();
651 if (mState == Call.State.HOLDING) call.startAudio();
658 if (mState == newState) return;
678 + mPeer.getUriString() + ": " + mState
777 if (state == mState) return;
779 mState = state;
784 return mState;
814 + ": " + mState + ": on phone "
816 if (!mState
[all...]
/frameworks/base/media/java/android/media/
H A DAudioRecord.java156 private int mState = STATE_UNINITIALIZED; field in class:AudioRecord
220 mState = STATE_UNINITIALIZED;
242 return; // with mState == STATE_UNINITIALIZED
247 mState = STATE_INITIALIZED;
353 mState = STATE_UNINITIALIZED;
414 return mState;
514 if (mState != STATE_INITIALIZED) {
536 if (mState != STATE_INITIALIZED) {
555 if (mState != STATE_INITIALIZED) {
581 if (mState !
[all...]
H A DAudioTrack.java150 private int mState = STATE_UNINITIALIZED; field in class:AudioTrack
308 mState = STATE_UNINITIALIZED;
331 return; // with mState == STATE_UNINITIALIZED
337 mState = STATE_NO_STATIC_DATA;
339 mState = STATE_INITIALIZED;
504 mState = STATE_UNINITIALIZED;
593 return mState;
757 if (mState != STATE_INITIALIZED) {
793 if (mState != STATE_INITIALIZED) {
810 if (mState !
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DGlobalActions.java217 mState = buttonOn ? State.TurningOn : State.TurningOff;
218 mAirplaneState = mState;
612 protected State mState = State.Off; field in class:GlobalActions.ToggleAction
665 boolean on = ((mState == State.On) || (mState == State.TurningOn));
683 if (mState.inTransition()) {
688 final boolean nowOn = !(mState == State.On);
698 return !mState.inTransition();
708 mState = buttonOn ? State.On : State.Off;
714 mState
[all...]
/frameworks/av/include/media/
H A DToneGenerator.h160 bool isInited() { return (mState == TONE_IDLE)?false:true;}
259 volatile unsigned short mState; // ToneGenerator state (tone_state) member in class:android::ToneGenerator
/frameworks/base/core/java/android/app/
H A DFragment.java356 int mState = INITIALIZING; field in class:Fragment
486 final Bundle mState; field in class:Fragment.SavedState
489 mState = state;
493 mState = in.readBundle();
494 if (loader != null && mState != null) {
495 mState.setClassLoader(loader);
506 dest.writeBundle(mState);
716 mSavedFragmentState = state != null && state.mState != null
717 ? state.mState : null;
821 if (mState >
[all...]

Completed in 155 milliseconds

1234