Home
last modified time | relevance | path

Searched refs:curState (Results 1 – 12 of 12) 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.java66 int curState = RESTORED; // Current state the activity is in. field in LocalActivityManager.LocalActivityRecord
136 if (r.curState == RESTORED || r.curState == DESTROYED) { in moveToState()
141 if (r.curState == INITIALIZING) { in moveToState()
183 r.curState = STARTED; in moveToState()
189 r.curState = RESUMED; in moveToState()
207 switch (r.curState) { in moveToState()
212 r.curState = STARTED; in moveToState()
219 r.curState = RESUMED; in moveToState()
230 r.curState = RESUMED; in moveToState()
235 r.curState = CREATED; in moveToState()
[all …]
/frameworks/base/core/java/com/android/internal/app/procstats/
DServiceState.java391 public long getDuration(int opType, int curState, long startTime, int memFactor, in getDuration() argument
395 if (curState == memFactor) { in getDuration()
458 int serviceType, int curState, long curStartTime, long now) {
459 return dumpTimeInternal(pw, prefix, serviceType, curState, curStartTime, now, false);
463 int serviceType, int curState, long curStartTime, long now, boolean negativeIfRunning) {
471 long time = getDuration(serviceType, curState, curStartTime, state, now);
473 if (curState == state && pw != null) {
519 int curState, long curStartTime, long now) {
545 if (curState == memFactor) {
551 if (!didCurState && curState != STATE_NOTHING) {
[all …]
DDumpUtils.java379 int curState, long curStartTime, long now) { in dumpSingleTime() argument
388 if (curState == state) { in dumpSingleTime()
419 int curState, long curStartTime, long now) { in dumpAdjTimesCheckin() argument
424 if (curState == state) { in dumpAdjTimesCheckin()
548 public static int aggregateCurrentProcessState(int curState) { in aggregateCurrentProcessState() argument
549 int screenStateIndex = curState / (ADJ_SCREEN_MOD * STATE_COUNT); in aggregateCurrentProcessState()
551 int procStateIndex = curState % STATE_COUNT; in aggregateCurrentProcessState()
/frameworks/base/services/core/java/com/android/server/
DWiredAccessoryManager.java349 int curState; in init() local
353 curState = Integer.parseInt((new String(buffer, 0, len)).trim()); in init()
355 if (curState > 0) { in init()
356 updateStateLocked(uei.getDevPath(), uei.getDevName(), curState); in init() local
/frameworks/base/core/java/com/android/internal/util/
DStateMachine.java1020 State curState = mStateStack[mStateStackTopIndex].state; in invokeExitMethods() local
1021 if (mDbg) mSm.log("invokeExitMethods: " + curState.getName()); in invokeExitMethods()
1022 curState.exit(); in invokeExitMethods()
2095 final IState curState = getCurrentState(); in dump() local
2096 pw.println("curState=" + (curState == null ? "<QUIT>" : curState.getName())); in dump()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioInputDescriptor.cpp159 app_state_t curState = client->appState(); in getHighestPriorityClient() local
160 if (curState >= topState) { in getHighestPriorityClient()
166 topState = curState; in getHighestPriorityClient()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerServiceTest.java307 private void verifySeqCounterAndInteractions(UidRecord uidRec, int prevState, int curState, in verifySeqCounterAndInteractions() argument
314 uidRec.setCurProcState(curState); in verifySeqCounterAndInteractions()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java2112 int curState = mDeviceIdleController.getState(); in verifyStateConditions() local
2114 "Expected " + stateToString(expectedState) + " but was " + stateToString(curState), in verifyStateConditions()
2115 expectedState, curState); in verifyStateConditions()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DDeviceIdleController.java4359 int curState = mState; in onShellCommand() local
4360 while (curState != STATE_IDLE) { in onShellCommand()
4362 if (curState == mState) { in onShellCommand()
4368 curState = mState; in onShellCommand()
/frameworks/base/core/java/android/view/
DView.java25904 public static int combineMeasuredStates(int curState, int newState) { in combineMeasuredStates() argument
25905 return curState | newState; in combineMeasuredStates()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt7456 Landroid/app/LocalActivityManager$LocalActivityRecord;->curState:I