Home
last modified time | relevance | path

Searched refs:curState (Results 1 – 13 of 13) 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.java64 int curState = RESTORED; // Current state the activity is in. field in LocalActivityManager.LocalActivityRecord
122 if (r.curState == RESTORED || r.curState == DESTROYED) { in moveToState()
127 if (r.curState == INITIALIZING) { in moveToState()
168 r.curState = STARTED; in moveToState()
173 r.curState = RESUMED; in moveToState()
185 switch (r.curState) { in moveToState()
190 r.curState = STARTED; in moveToState()
196 r.curState = RESUMED; in moveToState()
206 r.curState = RESUMED; in moveToState()
211 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.java303 int curState, long curStartTime, long now) { in dumpSingleTime() argument
312 if (curState == state) { in dumpSingleTime()
343 int curState, long curStartTime, long now) { in dumpAdjTimesCheckin() argument
348 if (curState == state) { in dumpAdjTimesCheckin()
/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
DDeviceIdleController.java3954 int curState = mState; in onShellCommand() local
3955 while (curState != STATE_IDLE) { in onShellCommand()
3957 if (curState == mState) { in onShellCommand()
3963 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()
2094 final IState curState = getCurrentState(); in dump() local
2095 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.java266 private void verifySeqCounterAndInteractions(UidRecord uidRec, int prevState, int curState, in verifySeqCounterAndInteractions() argument
273 uidRec.setCurProcState(curState); in verifySeqCounterAndInteractions()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java1982 int curState = mDeviceIdleController.getState(); in verifyStateConditions() local
1984 "Expected " + stateToString(expectedState) + " but was " + stateToString(curState), in verifyStateConditions()
1985 expectedState, curState); in verifyStateConditions()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTethering.java991 final int curState = intent.getIntExtra(EXTRA_WIFI_AP_STATE, WIFI_AP_STATE_DISABLED); in handleWifiApAction() local
996 switch (curState) { in handleWifiApAction()
1009 disableWifiIpServingLocked(ifname, curState); in handleWifiApAction()
/frameworks/base/core/java/android/view/
DView.java25222 public static int combineMeasuredStates(int curState, int newState) { in combineMeasuredStates() argument
25223 return curState | newState; in combineMeasuredStates()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt7459 Landroid/app/LocalActivityManager$LocalActivityRecord;->curState:I