Searched refs:curState (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
H A DNetworkState.java158 State curState = mStateDepository.get(i);
159 if ((preState == State.CONNECTED) && ((curState == State.DISCONNECTING) ||
160 (curState == State.DISCONNECTED))) {
162 } else if ((preState == State.DISCONNECTING) && (curState == State.DISCONNECTED)) {
164 } else if ((preState == State.DISCONNECTED) && (curState == State.DISCONNECTED)) {
168 preState.toString(), curState.toString()));
199 State curState = mStateDepository.get(i);
200 if ((preState == State.DISCONNECTED) && ((curState == State.CONNECTING) ||
201 (curState == State.CONNECTED) || (curState
[all...]
/frameworks/base/core/java/android/app/
H A DLocalActivityManager.java60 int curState = RESTORED; // Current state the activity is in. field in class:LocalActivityManager.LocalActivityRecord
112 if (r.curState == RESTORED || r.curState == DESTROYED) {
117 if (r.curState == INITIALIZING) {
143 r.curState = STARTED;
148 r.curState = RESUMED;
160 switch (r.curState) {
165 r.curState = STARTED;
171 r.curState = RESUMED;
181 r.curState
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DViewUtils.java58 * @param curState The current state as returned from a view or the result
64 public static int combineMeasuredStates(int curState, int newState) { argument
65 return curState | newState;
/frameworks/base/core/java/com/android/internal/app/procstats/
H A DServiceState.java351 public long getDuration(int opType, int curState, long startTime, int memFactor, argument
355 if (curState == memFactor) {
407 int serviceType, int curState, long curStartTime, long now) {
414 long time = getDuration(serviceType, curState, curStartTime, state, now);
416 if (curState == state && pw != null) {
458 int curState, long curStartTime, long now) {
484 if (curState == memFactor) {
490 if (!didCurState && curState != STATE_NOTHING) {
491 DumpUtils.printAdjTagAndValue(pw, curState, now - curStartTime);
406 dumpTime(PrintWriter pw, String prefix, int serviceType, int curState, long curStartTime, long now) argument
456 dumpTimeCheckin(PrintWriter pw, String label, String packageName, int uid, int vers, String serviceName, int serviceType, int opCount, int curState, long curStartTime, long now) argument
H A DDumpUtils.java200 int curState, long curStartTime, long now) {
209 if (curState == state) {
240 int curState, long curStartTime, long now) {
245 if (curState == state) {
199 dumpSingleTime(PrintWriter pw, String prefix, long[] durations, int curState, long curStartTime, long now) argument
239 dumpAdjTimesCheckin(PrintWriter pw, String sep, long[] durations, int curState, long curStartTime, long now) argument
/frameworks/support/v4/honeycomb/android/support/v4/view/
H A DViewCompatHC.java166 public static int combineMeasuredStates(int curState, int newState) { argument
167 return View.combineMeasuredStates(curState, newState);
/frameworks/base/services/core/java/com/android/server/
H A DWiredAccessoryManager.java329 int curState;
333 curState = Integer.parseInt((new String(buffer, 0, len)).trim());
335 if (curState > 0) {
336 updateStateLocked(uei.getDevPath(), uei.getDevName(), curState);
H A DDeviceIdleController.java2556 int curState = mState;
2557 while (curState != STATE_IDLE) {
2559 if (curState == mState) {
2565 curState = mState;
/frameworks/support/v4/java/android/support/v4/view/
H A DViewCompat.java471 int combineMeasuredStates(int curState, int newState); argument
1063 public int combineMeasuredStates(int curState, int newState) { argument
1064 return curState | newState;
1302 public int combineMeasuredStates(int curState, int newState) { argument
1303 return ViewCompatHC.combineMeasuredStates(curState, newState);
2396 * @param curState The current state as returned from a view or the result
2402 public static int combineMeasuredStates(int curState, int newState) { argument
2403 return IMPL.combineMeasuredStates(curState, newState);
/frameworks/base/core/java/com/android/internal/util/
H A DStateMachine.java1007 State curState = mStateStack[mStateStackTopIndex].state;
1008 if (mDbg) mSm.log("invokeExitMethods: " + curState.getName());
1009 curState.exit();
2021 pw.println("curState=" + getCurrentState().getName());
/frameworks/base/core/java/android/view/
H A DView.java19855 * @param curState The current state as returned from a view or the result
19861 public static int combineMeasuredStates(int curState, int newState) { argument
19862 return curState | newState;

Completed in 2318 milliseconds