Searched refs:State (Results 51 - 75 of 212) sorted by relevance

123456789

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DSignalController.java31 public abstract class SignalController<T extends SignalController.State,
54 private final State[] mHistory;
68 mHistory = new State[HISTORY_SIZE];
185 pw.println(" Current State: " + mCurrentState);
195 pw.println(" Previous State(" + (mHistoryIndex + HISTORY_SIZE - i) + "): "
250 static class State { class in class:SignalController
263 public void copyFrom(State state) {
303 State other = (State) o;
/frameworks/native/services/surfaceflinger/
H A DLayer.h103 struct State { struct in class:android::Layer
171 virtual bool isOpaque(const Layer::State& s) const;
308 inline const State& getDrawingState() const { return mDrawingState; }
309 inline const State& getCurrentState() const { return mCurrentState; }
310 inline State& getCurrentState() { return mCurrentState; }
377 State mCurrentState;
378 State mDrawingState;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiApConfigStore.java30 import com.android.internal.util.State;
57 private State mDefaultState = new DefaultState();
58 private State mInactiveState = new InactiveState();
59 private State mActiveState = new ActiveState();
93 class DefaultState extends State {
112 class InactiveState extends State {
131 class ActiveState extends State {
H A DWifiController.java42 import com.android.internal.util.State;
325 class DefaultState extends State {
400 class ApStaDisabledState extends State {
482 class StaEnabledState extends State {
520 class StaDisabledWithScanState extends State {
607 class ApEnabledState extends State {
636 class EcmState extends State {
664 class DeviceActiveState extends State {
692 class DeviceInactiveState extends State {
711 class ScanOnlyLockHeldState extends State {
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmCallTracker.java95 PhoneConstants.State mState = PhoneConstants.State.IDLE;
189 if (mForegroundCall.getState() == GsmCall.State.ACTIVE) {
211 if (mForegroundCall.getState() != GsmCall.State.IDLE) {
268 if (mRingingCall.getState() == GsmCall.State.INCOMING) {
273 } else if (mRingingCall.getState() == GsmCall.State.WAITING) {
295 if (mRingingCall.getState() == GsmCall.State.INCOMING) {
323 return mForegroundCall.getState() == GsmCall.State.ACTIVE
324 && mBackgroundCall.getState() == GsmCall.State.HOLDING
348 return (mForegroundCall.getState() == GsmCall.State
[all...]
H A DGsmMmiCode.java136 State mState = State.PENDING;
248 ret.mState = State.PENDING;
250 ret.mState = State.COMPLETE;
262 ret.mState = State.PENDING;
557 public State
578 if (mState == State.COMPLETE || mState == State.FAILED) {
582 mState = State.CANCELLED;
980 mState = State
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DCarrierText.java39 import com.android.internal.telephony.IccCardConstants.State;
114 State simState = mKeyguardUpdateMonitor.getSimState(subId);
124 if (simState == IccCardConstants.State.READY) {
230 private CharSequence getCarrierTextForSimState(IccCardConstants.State simState,
292 private StatusMode getStatusForIccState(IccCardConstants.State simState) {
300 && (simState == IccCardConstants.State.ABSENT ||
301 simState == IccCardConstants.State.PERM_DISABLED);
304 simState = missingAndNotProvisioned ? IccCardConstants.State.NETWORK_LOCKED : simState;
340 private CharSequence getCarrierHelpTextForSimState(IccCardConstants.State simState,
H A DKeyguardUpdateMonitor.java54 import com.android.internal.telephony.IccCardConstants.State;
194 handleSimStateChange(msg.arg1, msg.arg2, (State) msg.obj);
659 * the intent and provide a {@link SimCard.State} result.
662 public State simState;
666 SimData(State state, int slot, int id) {
673 State state;
687 state = IccCardConstants.State.PERM_DISABLED;
689 state = IccCardConstants.State.ABSENT;
692 state = IccCardConstants.State.READY;
697 state = IccCardConstants.State
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DPickFragment.java96 * @param action Which action defined in BaseActivity.State is the picker shown for.
111 case BaseActivity.State.ACTION_OPEN_TREE:
115 case BaseActivity.State.ACTION_OPEN_COPY_DESTINATION:
125 mAction == BaseActivity.State.ACTION_OPEN_TREE ||
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaCallTracker.java94 PhoneConstants.State mState = PhoneConstants.State.IDLE;
141 if (mState != PhoneConstants.State.IDLE) {
219 if (mForegroundCall.getState() == CdmaCall.State.ACTIVE) {
295 if (mRingingCall.getState() == CdmaCall.State.INCOMING) {
300 } else if (mRingingCall.getState() == CdmaCall.State.WAITING) {
330 if (mRingingCall.getState() == CdmaCall.State.INCOMING) {
364 return mForegroundCall.getState() == CdmaCall.State.ACTIVE
365 && mBackgroundCall.getState() == CdmaCall.State.HOLDING
382 || (mForegroundCall.getState() == CdmaCall.State
[all...]
H A DCdmaConnection.java160 if (parent.mState == CdmaCall.State.ACTIVE) {
161 parent.attachFake(this, CdmaCall.State.ACTIVE);
163 parent.attachFake(this, CdmaCall.State.DIALING);
185 parent.attachFake(this, CdmaCall.State.WAITING);
230 if (getState() != CdmaCall.State.HOLDING) {
244 public CdmaCall.State getState() {
246 return CdmaCall.State.DISCONNECTED;
455 boolean wasHolding = (getState() == CdmaCall.State.HOLDING);
510 if (changed && !wasHolding && (getState() == CdmaCall.State.HOLDING)) {
531 mParent.attachFake(this, CdmaCall.State
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DScrollbarHelper.java29 static int computeScrollOffset(RecyclerView.State state, OrientationHelper orientation,
60 static int computeScrollExtent(RecyclerView.State state, OrientationHelper orientation,
79 static int computeScrollRange(RecyclerView.State state, OrientationHelper orientation,
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipSessionGroup.java372 + SipSession.State.toString(session.mState));
489 SipSession.State.INCOMING_CALL);
499 SipSession.State.INCOMING_CALL);
509 + SipSession.State.toString(mState) + ": processing "
539 int mState = SipSession.State.READY_TO_CALL;
604 mState = SipSession.State.READY_TO_CALL;
756 + SipSession.State.toString(mState);
764 + SipSession.State.toString(mState) + ": processing "
786 case SipSession.State.REGISTERING:
787 case SipSession.State
[all...]
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
H A DRootsCacheTest.java22 import com.android.documentsui.BaseActivity.State;
49 private State mState;
55 mState = new State();
56 mState.action = State.ACTION_OPEN;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhoneStateIntentReceiver.java47 PhoneConstants.State mPhoneState = PhoneConstants.State.IDLE;
78 public PhoneConstants.State getPhoneState() {
178 PhoneConstants.State.class, phoneState);
H A DWakeLockStateMachine.java27 import com.android.internal.util.State;
111 class DefaultState extends State {
138 class IdleState extends State {
182 class WaitingState extends State {
H A DIccCard.java22 import com.android.internal.telephony.IccCardConstants.State;
45 public State getState();
58 * Notifies handler of any transition into IccCardConstants.State.ABSENT
64 * Notifies handler of any transition into IccCardConstants.State.NETWORK_LOCKED
70 * Notifies handler of any transition into IccCardConstants.State.isPinLocked()
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.h47 enum State { enum in struct:android::SimplePlayer
85 State mState;
/frameworks/av/include/media/stagefright/timedtext/
H A DTimedTextDriver.h68 enum State { enum in class:android::TimedTextDriver
86 State mState;
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DStateMachineTest.java28 import com.android.internal.util.State;
109 class S1 extends State {
212 class S1 extends State {
304 class S1 extends State {
319 class S2 extends State {
345 class S3 extends State {
358 class S4 extends State {
489 class S1 extends State {
576 class S1 extends State {
658 * until what == TEST_CMD_2 and then transitions to state mS2. State
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneBase.java63 private PhoneConstants.State mState = PhoneConstants.State.IDLE;
153 public PhoneConstants.State getState() {
199 * {@link com.android.internal.telephony.PhoneConstants.State}
207 * {@link com.android.internal.telephony.Call.State}. Use this when changes
260 Call.State foregroundCallState = getForegroundCall().getState();
261 Call.State backgroundCallState = getBackgroundCall().getState();
262 Call.State ringingCallState = getRingingCall().getState();
543 PhoneConstants.State oldState = mState;
546 mState = PhoneConstants.State
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipPhoneBase.java58 private PhoneConstants.State mState = PhoneConstants.State.IDLE;
120 public PhoneConstants.State getState() {
173 * {@link com.android.internal.telephony.Call.State}. Use this when changes
230 Call.State foregroundCallState = getForegroundCall().getState();
231 Call.State backgroundCallState = getBackgroundCall().getState();
232 Call.State ringingCallState = getRingingCall().getState();
522 PhoneConstants.State oldState = mState;
525 mState = PhoneConstants.State.RINGING;
528 mState = PhoneConstants.State
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DStateMachine.java42 * <p>A state is a <code>State</code> object and must implement
90 * <p>In addition to <code>processMessage</code> each <code>State</code> has
152 class State1 extends State {
267 class P1 extends State {
294 class S1 extends State {
314 class S2 extends State {
342 class P2 extends State {
707 /** State used when state machine is halted */
710 /** State used when state machine is quitting */
722 State stat
[all...]
/frameworks/base/services/core/java/com/android/server/policy/
H A DGlobalActions.java120 private ToggleAction.State mAirplaneState = ToggleAction.State.Off;
248 mState = buttonOn ? State.TurningOn : State.TurningOff;
584 silentModeOn ? ToggleAction.State.On : ToggleAction.State.Off);
805 enum State { enum in class:GlobalActions.ToggleAction
813 State(boolean intermediate) { method in class:GlobalActions.ToggleAction.State
822 protected State mState = State
[all...]
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DNetworkMonitor.java63 import com.android.internal.util.State;
235 private final State mDefaultState = new DefaultState();
236 private final State mValidatedState = new ValidatedState();
237 private final State mMaybeNotifyState = new MaybeNotifyState();
238 private final State mEvaluatingState = new EvaluatingState();
239 private final State mCaptivePortalState = new CaptivePortalState();
240 private final State mLingeringState = new LingeringState();
295 private class DefaultState extends State {
349 // Being in the ValidatedState State indicates a Network is:
353 private class ValidatedState extends State {
[all...]

Completed in 1438 milliseconds

123456789