Home
last modified time | relevance | path

Searched refs:procStateSeq (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/native/libs/binder/
DIUidObserver.cpp59 virtual void onUidStateChanged(uid_t uid, int32_t procState, int64_t procStateSeq, in onUidStateChanged() argument
65 data.writeInt64(procStateSeq); in onUidStateChanged()
116 int64_t procStateSeq = data.readInt64(); in onTransact() local
118 onUidStateChanged(uid, procState, procStateSeq, capability); in onTransact()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUidObserverControllerTest.java231 private void addPendingChange(int uid, int change, int procState, long procStateSeq, in addPendingChange() argument
237 record.procStateSeq = procStateSeq; in addPendingChange()
243 private void assertPendingChange(int uid, int change, int procState, long procStateSeq, in assertPendingChange() argument
252 assertEquals(procStateSeq, record.procStateSeq); in assertPendingChange()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java1110 long procStateSeq = 0; in testUidForeground() local
1111 callAndWaitOnUidStateChanged(UID_A, PROCESS_STATE_SERVICE, procStateSeq++); in testUidForeground()
1112 callAndWaitOnUidStateChanged(UID_B, PROCESS_STATE_SERVICE, procStateSeq++); in testUidForeground()
1119 callAndWaitOnUidStateChanged(UID_A, PROCESS_STATE_TOP, procStateSeq++); in testUidForeground()
1126 callAndWaitOnUidStateChanged(UID_A, PROCESS_STATE_SERVICE, procStateSeq++); in testUidForeground()
1127 callAndWaitOnUidStateChanged(UID_B, PROCESS_STATE_TOP, procStateSeq++); in testUidForeground()
1134 callAndWaitOnUidStateChanged(UID_A, PROCESS_STATE_SERVICE, procStateSeq++, in testUidForeground()
1136 callAndWaitOnUidStateChanged(UID_B, PROCESS_STATE_SERVICE, procStateSeq++, in testUidForeground()
1144 callAndWaitOnUidStateChanged(UID_A, PROCESS_STATE_IMPORTANT_FOREGROUND, procStateSeq++, in testUidForeground()
1146 callAndWaitOnUidStateChanged(UID_B, PROCESS_STATE_SERVICE, procStateSeq++, in testUidForeground()
[all …]
/frameworks/base/core/java/android/app/
DIUidObserver.aidl55 void onUidStateChanged(int uid, int procState, long procStateSeq, int capability); in onUidStateChanged() argument
DUidObserver.java48 public void onUidStateChanged(int uid, int procState, long procStateSeq, int capability) { in onUidStateChanged() argument
DIApplicationThread.aidl162 void setNetworkBlockSeq(long procStateSeq); in setNetworkBlockSeq() argument
DActivityManagerInternal.java263 public abstract void notifyNetworkPolicyRulesUpdated(int uid, long procStateSeq); in notifyNetworkPolicyRulesUpdated() argument
DIActivityManager.aidl658 void waitForNetworkStateUpdate(long procStateSeq); in waitForNetworkStateUpdate() argument
/frameworks/base/services/core/java/com/android/server/am/
DUidObserverController.java167 int procAdj, long procStateSeq, int capability, boolean ephemeral) { in enqueueUidChange() argument
189 changeRecord.procStateSeq = procStateSeq; in enqueueUidChange()
415 item.procStateSeq, in dispatchUidsChangedForObserver()
507 public long procStateSeq; field in UidObserverController.ChangeRecord
517 changeRecord.procStateSeq = procStateSeq; in copyTo()
DActivityManagerShellCommand.java2096 public void onUidStateChanged(int uid, int procState, long procStateSeq, int capability) {
2104 mPw.print(procStateSeq);
/frameworks/native/libs/binder/include_activitymanager/binder/
DIUidObserver.h35 virtual void onUidStateChanged(uid_t uid, int32_t procState, int64_t procStateSeq,
/frameworks/base/native/android/
Dactivity_manager.cpp46 void onUidStateChanged(uid_t uid, int32_t procState, int64_t procStateSeq,
127 int64_t procStateSeq __unused, in onUidStateChanged()
/frameworks/base/core/java/android/net/
DNetworkPolicyManager.java891 public long procStateSeq;
894 public UidState(int uid, int procState, long procStateSeq, int capability) {
897 this.procStateSeq = procStateSeq;
907 sb.append(procStateSeq);
/frameworks/av/services/mediaresourcemanager/
DUidObserver.h75 void onUidStateChanged(uid_t uid, int32_t procState, int64_t procStateSeq,
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyLogger.java117 void uidStateChanged(int uid, int procState, long procStateSeq, in uidStateChanged() argument
122 + ProcessList.makeProcStateString(procState) + ",seq=" + procStateSeq in uidStateChanged()
125 mUidStateChangeBuffer.uidStateChanged(uid, procState, procStateSeq, capability); in uidStateChanged()
435 public void uidStateChanged(int uid, int procState, long procStateSeq, in uidStateChanged() argument
445 data.lfield1 = procStateSeq; in uidStateChanged()
DNetworkPolicyManagerService.java1260 if (previousInfo.procStateSeq == -1) {
1264 if (newProcStateSeq <= previousInfo.procStateSeq) {
1310 @Override public void onUidStateChanged(int uid, int procState, long procStateSeq,
1318 if (isUidStateChangeRelevant(callbackInfo, procState, procStateSeq, capability)) {
1319 callbackInfo.update(uid, procState, procStateSeq, capability);
1340 public long procStateSeq = -1; field in NetworkPolicyManagerService.UidStateCallbackInfo
1345 public void update(int uid, int procState, long procStateSeq, int capability) { in update() argument
1348 this.procStateSeq = procStateSeq; in update()
1358 sb.append("seq=").append(procStateSeq).append(","); in toString()
4364 final long prevProcStateSeq = uidState != null ? uidState.procStateSeq : -1;
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DActivityManagerServiceTest.java844 pendingChange.procStateSeq = i; in testDispatchUids_dispatchNeededChanges()
908 changeItem.procState, changeItem.procStateSeq, in testDispatchUids_dispatchNeededChanges()
1062 changeItem.procStateSeq = 111; in testDispatchUidChanges_procStateCutpoint()
1068 changeItem.procState, changeItem.procStateSeq, in testDispatchUidChanges_procStateCutpoint()
1086 changeItem.procState, changeItem.procStateSeq, in testDispatchUidChanges_procStateCutpoint()
1104 changeItem.procState, changeItem.procStateSeq, in testDispatchUidChanges_procStateCutpoint()
1223 assertEquals(TEST_PROC_STATE_SEQ1, pendingChange.procStateSeq); in testEnqueueUidChangeLocked_dispatchUidsChanged()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DOneTimePermissionUserManager.java183 public void onUidStateChanged(int uid, int procState, long procStateSeq,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ongoingcall/
DOngoingCallController.kt423 procStateSeq: Long, in <lambda>()
/frameworks/native/services/sensorservice/
DSensorService.h304 int64_t procStateSeq __unused, in onUidStateChanged()
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibrationSettings.java894 public void onUidStateChanged(int uid, int procState, long procStateSeq, int capability) {
/frameworks/base/services/core/java/com/android/server/power/hint/
DHintManagerService.java410 public void onUidStateChanged(int uid, int procState, long procStateSeq, int capability) { in onUidStateChanged() argument
/frameworks/av/services/camera/libcameraservice/
DCameraService.h843 void onUidStateChanged(uid_t uid, int32_t procState, int64_t procStateSeq,
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.h515 void onUidStateChanged(uid_t uid, int32_t procState, int64_t procStateSeq,
/frameworks/base/services/core/java/com/android/server/app/
DGameManagerService.java2293 public void onUidStateChanged(int uid, int procState, long procStateSeq, int capability) {

12