Home
last modified time | relevance | path

Searched refs:curState (Results 1 – 11 of 11) 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/base/core/java/com/android/internal/app/procstats/
DServiceState.java351 public long getDuration(int opType, int curState, long startTime, int memFactor, in getDuration() argument
355 if (curState == memFactor) { in getDuration()
407 int serviceType, int curState, long curStartTime, long now) { in dumpTime() argument
414 long time = getDuration(serviceType, curState, curStartTime, state, now); in dumpTime()
416 if (curState == state && pw != null) { in dumpTime()
458 int curState, long curStartTime, long now) { in dumpTimeCheckin() argument
484 if (curState == memFactor) { in dumpTimeCheckin()
490 if (!didCurState && curState != STATE_NOTHING) { in dumpTimeCheckin()
491 DumpUtils.printAdjTagAndValue(pw, curState, now - curStartTime); in dumpTimeCheckin()
DDumpUtils.java200 int curState, long curStartTime, long now) { in dumpSingleTime() argument
209 if (curState == state) { in dumpSingleTime()
240 int curState, long curStartTime, long now) { in dumpAdjTimesCheckin() argument
245 if (curState == state) { in dumpAdjTimesCheckin()
/frameworks/base/services/core/java/com/android/server/
DWiredAccessoryManager.java329 int curState; in init() local
333 curState = Integer.parseInt((new String(buffer, 0, len)).trim()); in init()
335 if (curState > 0) { in init()
336 updateStateLocked(uei.getDevPath(), uei.getDevName(), curState); in init() local
DDeviceIdleController.java2659 int curState = mState; in onShellCommand() local
2660 while (curState != STATE_IDLE) { in onShellCommand()
2662 if (curState == mState) { in onShellCommand()
2668 curState = mState; in onShellCommand()
/frameworks/base/core/java/com/android/internal/util/
DStateMachine.java1019 State curState = mStateStack[mStateStackTopIndex].state; in invokeExitMethods() local
1020 if (mDbg) mSm.log("invokeExitMethods: " + curState.getName()); in invokeExitMethods()
1021 curState.exit(); in invokeExitMethods()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerServiceTest.java269 private void verifySeqCounterAndInteractions(UidRecord uidRec, int prevState, int curState, in verifySeqCounterAndInteractions() argument
276 uidRec.curProcState = curState; in verifySeqCounterAndInteractions()
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java868 final int curState = intent.getIntExtra(EXTRA_WIFI_AP_STATE, WIFI_AP_STATE_DISABLED); in handleWifiApAction() local
873 switch (curState) { in handleWifiApAction()
884 disableWifiIpServingLocked(ifname, curState); in handleWifiApAction()
/frameworks/support/compat/java/android/support/v4/view/
DViewCompat.java2507 public static int combineMeasuredStates(int curState, int newState) { in combineMeasuredStates() argument
2508 return View.combineMeasuredStates(curState, newState); in combineMeasuredStates()
/frameworks/base/core/java/android/view/
DView.java22202 public static int combineMeasuredStates(int curState, int newState) {
22203 return curState | newState;