Searched refs:State (Results 176 - 200 of 302) sorted by relevance

1234567891011>>

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DConnection.java194 public Call.State mPreHandoverState = Call.State.IDLE;
387 * Returns getCall().getState() or Call.State.IDLE if not
390 public Call.State getState() {
396 return Call.State.IDLE;
406 public Call.State getStateBeforeHandover() {
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DNetworkMonitor.java64 import com.android.internal.util.State;
224 private final State mDefaultState = new DefaultState();
225 private final State mValidatedState = new ValidatedState();
226 private final State mMaybeNotifyState = new MaybeNotifyState();
227 private final State mEvaluatingState = new EvaluatingState();
228 private final State mCaptivePortalState = new CaptivePortalState();
291 private class DefaultState extends State {
358 // Being in the ValidatedState State indicates a Network is:
362 private class ValidatedState extends State {
382 // Being in the MaybeNotifyState State indicate
[all...]
/frameworks/base/keystore/java/android/security/
H A DKeyStore.java97 public enum State { UNLOCKED, LOCKED, UNINITIALIZED }; enum in class:KeyStore
133 public State state(int userId) {
143 case NO_ERROR: return State.UNLOCKED;
144 case LOCKED: return State.LOCKED;
145 case UNINITIALIZED: return State.UNINITIALIZED;
150 public State state() {
155 return state() == State.UNLOCKED;
/frameworks/base/services/net/java/android/net/ip/
H A DIpManager.java50 import com.android.internal.util.State;
385 private final State mStoppedState = new StoppedState();
386 private final State mStoppingState = new StoppingState();
387 private final State mStartedState = new StartedState();
388 private final State mRunningState = new RunningState();
1004 class StoppedState extends State {
1059 class StoppingState extends State {
1092 class StartedState extends State {
1155 class RunningState extends State {
1369 public void handled(State processedI
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DGsmCdmaPhoneTest.java229 doReturn(DctConstants.State.IDLE).when(mDcTracker).getState(
236 doReturn(DctConstants.State.CONNECTED).when(mDcTracker).getState(
238 mCT.mState = PhoneConstants.State.IDLE;
244 mCT.mState = PhoneConstants.State.RINGING;
265 doReturn(GsmCdmaCall.State.IDLE).when(mGsmCdmaCall).getState();
271 doReturn(GsmCdmaCall.State.ACTIVE).when(mGsmCdmaCall).getState();
293 doReturn(GsmCdmaCall.State.IDLE).when(mGsmCdmaCall).getState();
323 mCT.mState = PhoneConstants.State.IDLE;
329 mCT.mState = PhoneConstants.State.RINGING;
334 mCT.mState = PhoneConstants.State
[all...]
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp380 const Layer::State& s(getDrawingState());
385 const Layer::State& s(getDrawingState());
402 const State& s(getDrawingState());
531 const State& s(getDrawingState());
810 const State& s(getCurrentState());
859 const State& s(getCurrentState());
1012 const State& s(getDrawingState());
1235 const Layer::State& s(getDrawingState());
1274 bool Layer::isOpaque(const Layer::State& s) const
1289 const Layer::State
[all...]
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
H A DConnectionUtil.java32 import android.net.NetworkInfo.State;
194 if (mWifiNetworkInfo.getState() == State.CONNECTED) {
262 public void recordNetworkState(int networkType, State networkState) {
277 public void setStateTransitionCriteria(int networkType, State initState,
278 StateTransitionDirection transitionDir, State targetState) {
434 public boolean waitForNetworkState(int networkType, State expectedState, long timeout) {
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/
H A DBitmapRegionTileSource.java163 public enum State { NOT_LOADED, LOADED, ERROR_LOADING }; enum in class:BitmapRegionTileSource.BitmapSource
164 private State mState = State.NOT_LOADED;
178 mState = State.ERROR_LOADING;
194 mState = State.LOADED;
199 public State getLoadingState() {
/frameworks/opt/net/voip/src/java/android/net/sip/
H A DSipAudioCall.java243 case SipSession.State.READY_TO_CALL:
246 case SipSession.State.INCOMING_CALL:
249 case SipSession.State.OUTGOING_CALL:
252 case SipSession.State.OUTGOING_CALL_RING_BACK:
330 * The value returned must be one of the states in {@link SipSession.State}.
336 if (mSipSession == null) return SipSession.State.READY_TO_CALL;
921 && (SipSession.State.IN_CALL == getState())) {
/frameworks/base/core/java/android/app/usage/
H A DNetworkStats.java134 public @interface State {} interface in class:NetworkStats.Bucket
211 private static @State int convertState(int networkStatsSet) {
277 public @State int getState() {
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DConnectivityManagerTestBase.java26 import android.net.NetworkInfo.State;
159 protected boolean waitForNetworkState(int networkType, State expectedState, long timeout) {
487 State.CONNECTED, WIFI_CONNECTION_TIMEOUT));
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
H A DBandwidthTest.java21 import android.net.NetworkInfo.State;
281 State.CONNECTED, ConnectionUtil.LONG_TIMEOUT));
292 State.CONNECTED, ConnectionUtil.LONG_TIMEOUT));
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardSimPukView.java40 import com.android.internal.telephony.IccCardConstants.State;
62 public void onSimStateChanged(int subId, int slotId, State simState) {
120 mSubId = monitor.getNextSubIdForState(IccCardConstants.State.PUK_REQUIRED);
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DRecyclerViewActivity.java108 public void onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state) {
146 RecyclerView.State state) {
200 RecyclerView.Recycler recycler, RecyclerView.State state) {
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DRecyclerViewActivity.java108 public void onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state) {
146 RecyclerView.State state) {
200 RecyclerView.Recycler recycler, RecyclerView.State state) {
/frameworks/wilhelm/tools/permute/
H A Dpermute.c62 } State; typedef in typeref:struct:__anon1847
79 static unsigned split(State *s, unsigned frameStart, unsigned frameLength, unsigned segmentBudget)
213 State s;
/frameworks/base/media/java/android/media/session/
H A DPlaybackState.java185 public @interface State {} interface in class:PlaybackState
197 * State indicating this item is currently stopped.
204 * State indicating this item is currently paused.
211 * State indicating this item is currently playing.
218 * State indicating this item is currently fast forwarding.
225 * State indicating this item is currently rewinding.
232 * State indicating this item is currently buffering and will begin playing
240 * State indicating this item is currently in an error state. The error
248 * State indicating the class doing playback is currently connecting to a
258 * State indicatin
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRootsFragment.java104 final State state = ((BaseActivity) context).getDisplayState();
143 final State state = ((BaseActivity) context).getDisplayState();
145 if (state.action == State.ACTION_GET_CONTENT) {
314 @Nullable Intent handlerAppIntent, State state) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSTileView.java94 protected void handleStateChanged(QSTile.State state) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DEmergencyCryptkeeperText.java91 IccCardConstants.State simState = mKeyguardUpdateMonitor.getSimState(subId);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
H A DImsExternalCallTrackerTest.java106 assertEquals(connection.getState(), Call.State.DISCONNECTED);
/frameworks/support/media-compat/java/android/support/v4/media/session/
H A DPlaybackStateCompat.java199 public @interface State {} interface in class:PlaybackStateCompat
210 * State indicating this item is currently stopped.
217 * State indicating this item is currently paused.
224 * State indicating this item is currently playing.
231 * State indicating this item is currently fast forwarding.
238 * State indicating this item is currently rewinding.
245 * State indicating this item is currently buffering and will begin playing
253 * State indicating this item is currently in an error state. The error
261 * State indicating the class doing playback is currently connecting to a
274 * State indicatin
[all...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DRecyclerViewAccessibilityLifecycleTest.java101 public void onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state) {
/frameworks/av/media/libstagefright/wifi-display/source/
H A DWifiDisplaySource.h62 enum State { enum in struct:android::WifiDisplaySource
122 State mState;
/frameworks/base/core/java/android/net/
H A DNetworkIdentity.java178 if (state.networkInfo.getState() != NetworkInfo.State.DISCONNECTED &&
179 state.networkInfo.getState() != NetworkInfo.State.UNKNOWN) {

Completed in 1389 milliseconds

1234567891011>>