Home
last modified time | relevance | path

Searched refs:curState (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DNetworkState.java158 State curState = mStateDepository.get(i); in validateNetworkDisconnection() local
159 if ((preState == State.CONNECTED) && ((curState == State.DISCONNECTING) || in validateNetworkDisconnection()
160 (curState == State.DISCONNECTED))) { in validateNetworkDisconnection()
162 } else if ((preState == State.DISCONNECTING) && (curState == State.DISCONNECTED)) { in validateNetworkDisconnection()
164 } else if ((preState == State.DISCONNECTED) && (curState == State.DISCONNECTED)) { in validateNetworkDisconnection()
168 preState.toString(), curState.toString())); in validateNetworkDisconnection()
199 State curState = mStateDepository.get(i); in validateNetworkConnection() local
200 if ((preState == State.DISCONNECTED) && ((curState == State.CONNECTING) || in validateNetworkConnection()
201 (curState == State.CONNECTED) || (curState == State.DISCONNECTED))) { in validateNetworkConnection()
203 } else if ((preState == State.CONNECTING) && (curState == State.CONNECTED)) { in validateNetworkConnection()
[all …]
/frameworks/base/core/java/android/app/
DLocalActivityManager.java60 int curState = RESTORED; // Current state the activity is in. field in LocalActivityManager.LocalActivityRecord
112 if (r.curState == RESTORED || r.curState == DESTROYED) { in moveToState()
117 if (r.curState == INITIALIZING) { in moveToState()
143 r.curState = STARTED; in moveToState()
148 r.curState = RESUMED; in moveToState()
160 switch (r.curState) { in moveToState()
165 r.curState = STARTED; in moveToState()
171 r.curState = RESUMED; in moveToState()
181 r.curState = RESUMED; in moveToState()
186 r.curState = CREATED; in moveToState()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DViewUtils.java64 public static int combineMeasuredStates(int curState, int newState) { in combineMeasuredStates() argument
65 return curState | newState; in combineMeasuredStates()
/frameworks/base/services/core/java/com/android/server/
DWiredAccessoryManager.java329 int curState; in init() local
333 curState = Integer.valueOf((new String(buffer, 0, len)).trim()); in init()
335 if (curState > 0) { in init()
336 updateStateLocked(uei.getDevPath(), uei.getDevName(), curState); in init() local
/frameworks/base/core/java/com/android/internal/util/
DStateMachine.java994 State curState = mStateStack[mStateStackTopIndex].state; in invokeExitMethods() local
995 if (mDbg) mSm.log("invokeExitMethods: " + curState.getName()); in invokeExitMethods()
996 curState.exit(); in invokeExitMethods()
/frameworks/base/core/java/com/android/internal/app/
DProcessStats.java491 int curState, long curStartTime, long now) { in dumpSingleTime() argument
500 if (curState == state) { in dumpSingleTime()
531 int curState, long curStartTime, long now) { in dumpAdjTimesCheckin() argument
536 if (curState == state) { in dumpAdjTimesCheckin()
548 int curState, long curStartTime, long now) { in dumpServiceTimeCheckin() argument
573 if (curState == memFactor) { in dumpServiceTimeCheckin()
579 if (!didCurState && curState != STATE_NOTHING) { in dumpServiceTimeCheckin()
580 printAdjTagAndValue(pw, curState, now - curStartTime); in dumpServiceTimeCheckin()
2365 int serviceType, int curState, long curStartTime, long now) { in dumpSingleServiceTime() argument
2372 long time = service.getDuration(serviceType, curState, curStartTime, in dumpSingleServiceTime()
[all …]
/frameworks/base/core/java/android/view/
DView.java17677 public static int combineMeasuredStates(int curState, int newState) {
17678 return curState | newState;