Home
last modified time | relevance | path

Searched refs:procStateSeq (Results 1 – 25 of 28) 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()
106 int64_t procStateSeq = data.readInt64(); in onTransact() local
107 onUidStateChanged(uid, procState, procStateSeq); in onTransact()
/frameworks/base/core/java/android/app/
DIUidObserver.aidl54 void onUidStateChanged(int uid, int procState, long procStateSeq); in onUidStateChanged() argument
DActivityManagerInternal.java126 public abstract void notifyNetworkPolicyRulesUpdated(int uid, long procStateSeq); in notifyNetworkPolicyRulesUpdated() argument
DIApplicationThread.aidl142 void setNetworkBlockSeq(long procStateSeq); in setNetworkBlockSeq() argument
DIActivityManager.aidl572 void waitForNetworkStateUpdate(long procStateSeq); in waitForNetworkStateUpdate() argument
DActivityManager.java173 public void onUidStateChanged(int uid, int procState, long procStateSeq) { in onUidStateChanged() argument
DActivityThread.java1610 public void setNetworkBlockSeq(long procStateSeq) { in setNetworkBlockSeq() argument
1612 mNetworkBlockSeq = procStateSeq; in setNetworkBlockSeq()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyLogger.java91 void uidStateChanged(int uid, int procState, long procStateSeq) { in uidStateChanged() argument
94 uid + " state changed to " + procState + " with seq=" + procStateSeq); in uidStateChanged()
95 mUidStateChangeBuffer.uidStateChanged(uid, procState, procStateSeq); in uidStateChanged()
326 public void uidStateChanged(int uid, int procState, long procStateSeq) { in uidStateChanged() argument
334 data.lfield1 = procStateSeq; in uidStateChanged()
DNetworkPolicyManagerService.java917 @Override public void onUidStateChanged(int uid, int procState, long procStateSeq) {
919 uid, procState, procStateSeq).sendToTarget();
4714 final long procStateSeq = (Long) msg.obj;
4716 handleUidChanged(uid, procState, procStateSeq);
4731 void handleUidChanged(int uid, int procState, long procStateSeq) { in handleUidChanged() argument
4738 mLogger.uidStateChanged(uid, procState, procStateSeq); in handleUidChanged()
4742 mActivityManagerInternal.notifyNetworkPolicyRulesUpdated(uid, procStateSeq); in handleUidChanged()
/frameworks/native/libs/binder/include/binder/
DIUidObserver.h37 virtual void onUidStateChanged(uid_t uid, int32_t procState, int64_t procStateSeq) = 0;
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerServiceTest.java525 pendingChange.procStateSeq = i; in testDispatchUids_dispatchNeededChanges()
582 changeItem.processState, changeItem.procStateSeq); in testDispatchUids_dispatchNeededChanges()
624 changeItem.procStateSeq = 111; in testDispatchUidChanges_procStateCutpoint()
630 changeItem.processState, changeItem.procStateSeq); in testDispatchUidChanges_procStateCutpoint()
647 changeItem.processState, changeItem.procStateSeq); in testDispatchUidChanges_procStateCutpoint()
664 changeItem.processState, changeItem.procStateSeq); in testDispatchUidChanges_procStateCutpoint()
816 assertEquals(TEST_PROC_STATE_SEQ1, uidRecord.pendingChange.procStateSeq); in testEnqueueUidChangeLocked_dispatchUidsChanged()
/frameworks/base/services/core/java/com/android/server/am/
DUidRecord.java112 long procStateSeq; field in UidRecord.ChangeItem
DActivityManagerService.java3380 validateUid.lastDispatchedProcStateSeq = item.procStateSeq; in dispatchUidsChanged()
3463 item.procStateSeq); in dispatchUidsChangedForObserver()
16722 pendingChange.procStateSeq = uidRec != null ? uidRec.curProcStateSeq : 0; in enqueueUidChangeLocked()
18016 public void notifyNetworkPolicyRulesUpdated(int uid, long procStateSeq) { in notifyNetworkPolicyRulesUpdated() argument
18019 + uid + " seq: " + procStateSeq); in notifyNetworkPolicyRulesUpdated()
18027 + " procStateSeq: " + procStateSeq); in notifyNetworkPolicyRulesUpdated()
18033 if (record.lastNetworkUpdatedProcStateSeq >= procStateSeq) { in notifyNetworkPolicyRulesUpdated()
18035 Slog.d(TAG_NETWORK, "procStateSeq: " + procStateSeq + " has already" in notifyNetworkPolicyRulesUpdated()
18040 record.lastNetworkUpdatedProcStateSeq = procStateSeq; in notifyNetworkPolicyRulesUpdated()
18041 if (record.curProcStateSeq > procStateSeq) { in notifyNetworkPolicyRulesUpdated()
[all …]
DActivityManagerShellCommand.java1456 … public void onUidStateChanged(int uid, int procState, long procStateSeq) throws RemoteException {
1464 mPw.println(procStateSeq);
/frameworks/native/services/sensorservice/
DSensorService.h183 int64_t procStateSeq __unused) {} in onUidStateChanged()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java1283 final long procStateSeq = 222;
1284 callOnUidStateChanged(UID_A, ActivityManager.PROCESS_STATE_SERVICE, procStateSeq);
1285 verify(mActivityManagerInternal).notifyNetworkPolicyRulesUpdated(UID_A, procStateSeq);
1288 private void callOnUidStateChanged(int uid, int procState, long procStateSeq)
1290 mUidObserver.onUidStateChanged(uid, procState, procStateSeq);
/frameworks/av/services/camera/libcameraservice/
DCameraService.h560 void onUidStateChanged(uid_t uid, int32_t procState, int64_t procStateSeq);
/frameworks/base/services/core/java/com/android/server/
DPinnerService.java307 public void onUidStateChanged(int uid, int procState, long procStateSeq) in registerUidListener()
DAppStateTracker.java636 public void onUidStateChanged(int uid, int procState, long procStateSeq) { in onUidStateChanged() argument
DVibratorService.java180 @Override public void onUidStateChanged(int uid, int procState, long procStateSeq) {
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.h385 void onUidStateChanged(uid_t uid, int32_t procState, int64_t procStateSeq);
DAudioPolicyService.cpp978 int64_t procStateSeq __unused) { in onUidStateChanged()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java311 public void onUidStateChanged(int uid, int procState, long procStateSeq) {
/frameworks/base/services/core/java/com/android/server/job/controllers/
DQuotaController.java477 public void onUidStateChanged(int uid, int procState, long procStateSeq) {
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java924 @Override public void onUidStateChanged(int uid, int procState, long procStateSeq) {

12