/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
H A D | NetworkState.java | 158 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 D | LocalActivityManager.java | 63 int curState = RESTORED; // Current state the activity is in. field in class:LocalActivityManager.LocalActivityRecord 115 if (r.curState == RESTORED || r.curState == DESTROYED) { 120 if (r.curState == INITIALIZING) { 161 r.curState = STARTED; 166 r.curState = RESUMED; 178 switch (r.curState) { 183 r.curState = STARTED; 189 r.curState = RESUMED; 199 r.curState [all...] |
/frameworks/base/core/java/com/android/internal/app/procstats/ |
H A D | ServiceState.java | 351 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, long vers, String serviceName, int serviceType, int opCount, int curState, long curStartTime, long now) argument
|
H A D | DumpUtils.java | 278 int curState, long curStartTime, long now) { 287 if (curState == state) { 318 int curState, long curStartTime, long now) { 323 if (curState == state) { 277 dumpSingleTime(PrintWriter pw, String prefix, long[] durations, int curState, long curStartTime, long now) argument 317 dumpAdjTimesCheckin(PrintWriter pw, String sep, long[] durations, int curState, long curStartTime, long now) argument
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | WiredAccessoryManager.java | 329 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 D | DeviceIdleController.java | 2876 int curState = mState; 2877 while (curState != STATE_IDLE) { 2879 if (curState == mState) { 2885 curState = mState;
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | StateMachine.java | 1019 State curState = mStateStack[mStateStackTopIndex].state; 1020 if (mDbg) mSm.log("invokeExitMethods: " + curState.getName()); 1021 curState.exit(); 2079 pw.println("curState=" + getCurrentState().getName());
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
H A D | ActivityManagerServiceTest.java | 160 PROCESS_STATE_TOP, // curState 169 PROCESS_STATE_SERVICE, // curState 181 PROCESS_STATE_IMPORTANT_FOREGROUND, // curState 190 PROCESS_STATE_TOP, // curState 201 PROCESS_STATE_SERVICE, // curState 212 PROCESS_STATE_TOP, // curState 223 PROCESS_STATE_IMPORTANT_BACKGROUND, // curState 236 PROCESS_STATE_FOREGROUND_SERVICE, // curState 248 PROCESS_STATE_TOP, // curState 269 private void verifySeqCounterAndInteractions(UidRecord uidRec, int prevState, int curState, argument [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | Tethering.java | 906 final int curState = intent.getIntExtra(EXTRA_WIFI_AP_STATE, WIFI_AP_STATE_DISABLED); 911 switch (curState) { 922 disableWifiIpServingLocked(ifname, curState);
|
/frameworks/support/compat/src/main/java/androidx/core/view/ |
H A D | ViewCompat.java | 1441 * @param curState The current state as returned from a view or the result 1450 public static int combineMeasuredStates(int curState, int newState) { argument 1451 return View.combineMeasuredStates(curState, newState);
|
/frameworks/base/core/java/android/view/ |
H A D | View.java | 23294 * @param curState The current state as returned from a view or the result 23300 public static int combineMeasuredStates(int curState, int newState) { argument 23301 return curState | newState; [all...] |