HomeSort by relevance Sort by last modified time
    Searched refs:procState (Results 1 - 25 of 34) sorted by null

1 2

  /frameworks/base/core/java/android/app/
IUidObserver.aidl 25 * @param procState The updated process state for the uid.
29 void onUidStateChanged(int uid, int procState, long procStateSeq);
ActivityManager.java 158 public void onUidStateChanged(int uid, int procState, long procStateSeq) {
160 procState, mContext));
544 public static final boolean isProcStateBackground(int procState) {
545 return procState >= PROCESS_STATE_TRANSIENT_BACKGROUND;
    [all...]
IApplicationThread.aidl 60 void scheduleResumeActivity(IBinder token, int procState, boolean isForward,
66 int procState, in Bundle state, in PersistableBundle persistentState,
  /frameworks/base/services/core/java/com/android/server/am/
ProcessMemInfo.java 23 final int procState;
34 procState = _procState;
ProcessList.java 350 String procState;
353 procState = "PER ";
356 procState = "PERU";
359 procState = "TOP ";
362 procState = "BFGS";
365 procState = "FGS ";
368 procState = "TPSL";
371 procState = "IMPF";
374 procState = "IMPB";
377 procState = "TRNB"
    [all...]
PendingIntentRecord.java 286 int procState = owner.getUidState(callingUid);
287 if (!ActivityManager.isProcStateBackground(procState)) {
303 + procState);
ActivityManagerService.java     [all...]
ActivityManagerShellCommand.java     [all...]
  /cts/tests/app/src/android/app/cts/android/app/cts/tools/
WatchUidRunner.java 50 "procstate", "active", "idle", "uncached", "cached", "gone"
99 public void expect(int cmd, String procState, long timeout) {
106 if (procState != null && (line.length < 3 || !procState.equals(line[2]))) {
107 throw new IllegalStateException("Expected procstate " + procState
112 public void waitFor(int cmd, String procState, long timeout) {
117 if (procState == null) {
120 if (line.length >= 3 && procState.equals(line[2])) {
123 Log.d("XXXX", "Skipping because procstate not " + procState + ":
    [all...]
  /external/svox/pico/lib/
picowa.c 55 picoos_uint8 procState; /* for next processing step decision */
95 wa->procState = WA_STEPSTATE_COLLECT;
391 wa->procState, wa->inLen, wa->outLen));
393 switch (wa->procState) {
407 wa->procState = WA_STEPSTATE_PROCESS;
429 wa->procState = WA_STEPSTATE_PROCESS;
461 wa->procState = WA_STEPSTATE_COLLECT;
479 wa->procState = WA_STEPSTATE_FEED;
489 wa->procState = WA_STEPSTATE_COLLECT;
509 wa->procState = WA_STEPSTATE_COLLECT
    [all...]
picospho.c 66 * - 'procState' : the next state to be processed
173 picoos_uint8 procState; /* for next processing step decision */
258 spho->procState = SPHO_STEPSTATE_INIT;
    [all...]
picosig.c 70 picoos_uint8 procState; /* where to take up work at next processing step */
131 sig_subObj->procState = PICOSIG_COLLECT;
766 PICODBG_DEBUG(("picosig.sigStep -- doing state %i",sig_subObj->procState));
768 switch (sig_subObj->procState) {
795 sig_subObj->procState = PICOSIG_SCHEDULE;
    [all...]
picosa.c 184 picoos_uint8 procState; /* for next processing step decision */
263 sa->procState = SA_STEPSTATE_COLLECT;
    [all...]
picoacph.c 133 picoos_uint8 procState; /* for next processing step decision */
171 acph->procState = SA_STEPSTATE_COLLECT;
    [all...]
picocep.c 162 picoos_uint8 procState; /* where to take up work at next processing step */
322 cep->procState = PICOCEP_STEPSTATE_COLLECT;
    [all...]
picopam.c 151 picoos_uint8 procState; /* where to take up work at next processing step */
575 pam->procState = 0;
    [all...]
  /frameworks/base/core/java/android/os/
PowerManagerInternal.java 145 public abstract void updateUidProcState(int uid, int procState);
  /frameworks/base/core/java/android/net/
NetworkPolicyManager.java 328 * Returns true if {@param procState} is considered foreground and as such will be allowed
331 public static boolean isProcStateAllowedWhileIdleOrPowerSaveMode(int procState) {
332 return procState <= ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE;
336 * Returns true if {@param procState} is considered foreground and as such will be allowed
339 public static boolean isProcStateAllowedWhileOnRestrictBackground(int procState) {
340 return procState <= ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE;
  /frameworks/base/core/java/com/android/internal/app/procstats/
ProcessState.java 653 int procState = type % STATE_COUNT;
658 if (procState <= STATE_IMPORTANT_FOREGROUND) {
660 } else if (procState <= STATE_RECEIVER) {
701 final int procState = type % STATE_COUNT;
702 data.processStateTime[procState] += time;
707 } else if (procState <= STATE_IMPORTANT_FOREGROUND) {
710 } else if (procState <= STATE_RECEIVER) {
717 double newAvg = ( (data.processStatePss[procState]
718 * (double)data.processStateSamples[procState])
720 ) / (data.processStateSamples[procState]+samples)
    [all...]
  /frameworks/base/services/core/java/com/android/server/net/
NetworkPolicyManagerService.java     [all...]
  /frameworks/base/services/core/java/com/android/server/job/
JobSchedulerService.java 605 @Override public void onUidStateChanged(int uid, int procState, long procStateSeq) {
606 updateUidState(uid, procState);
    [all...]
  /frameworks/base/services/core/java/com/android/server/pm/
ShortcutService.java 486 public void onUidStateChanged(int uid, int procState, long procStateSeq) {
487 injectPostToHandler(() -> handleOnUidStateChanged(uid, procState));
508 void handleOnUidStateChanged(int uid, int procState) {
510 Slog.d(TAG, "onUidStateChanged: uid=" + uid + " state=" + procState);
513 mUidState.put(uid, procState);
518 if (isProcessStateForeground(procState)) {
    [all...]
  /frameworks/base/services/core/java/com/android/server/power/
PowerManagerService.java     [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/
NetworkPolicyManagerServiceTest.java     [all...]
  /frameworks/base/services/usage/java/com/android/server/usage/
UsageStatsService.java 350 public void onUidStateChanged(int uid, int procState, long procStateSeq) {
351 final int newCounter = (procState <= ActivityManager.PROCESS_STATE_TOP) ? 0 : 1;
    [all...]

Completed in 1315 milliseconds

1 2