/frameworks/base/core/java/com/android/internal/os/ |
D | BinderCallsStats.java | 145 mCallStatsObserver.noteCallStats(uidEntry.workSourceUid, 220 public CallSession callStarted(Binder binder, int code, int workSourceUid) { in callStarted() argument 254 int parcelReplySize, int workSourceUid) { in callEnded() argument 259 processCallEnded(s, parcelRequestSize, parcelReplySize, workSourceUid); in callEnded() 267 int parcelRequestSize, int parcelReplySize, int workSourceUid) { in processCallEnded() argument 282 uidEntry = getUidEntry(workSourceUid); in processCallEnded() 311 uidEntry = getUidEntry(workSourceUid); in processCallEnded() 355 if (mCallStatsObserver != null && !UserHandle.isCore(workSourceUid)) { in processCallEnded() 356 mSendUidsToObserver.add(workSourceUid); in processCallEnded() 475 ExportedCallStat e = getExportedCallStat(entry.workSourceUid, stat); in getExportedCallStats() [all …]
|
D | LooperStats.java | 265 if (entry.workSourceUid != msg.workSourceUid in findEntry() 305 public final int workSourceUid; field in LooperStats.Entry 321 this.workSourceUid = msg.workSourceUid; in Entry() 328 this.workSourceUid = Message.UID_NONE; in Entry() 349 result = 31 * result + msg.workSourceUid; in idFor() 363 public final int workSourceUid; field in LooperStats.ExportedEntry 380 this.workSourceUid = entry.workSourceUid; in ExportedEntry()
|
D | BinderInternal.java | 117 CallSession callStarted(Binder binder, int code, int workSourceUid); in callStarted() argument 126 int workSourceUid); in callEnded() argument 145 void noteCallStats(int workSourceUid, long incrementalCallCount, in noteCallStats() argument
|
/frameworks/base/core/java/android/os/ |
D | Message.java | 99 public int workSourceUid = UID_NONE; field in Message 183 m.workSourceUid = orig.workSourceUid; in obtain() 336 workSourceUid = UID_NONE; in recycleUnchecked() 364 this.workSourceUid = o.workSourceUid; in copyFrom() 652 dest.writeInt(workSourceUid); in writeToParcel() 666 workSourceUid = source.readInt(); in readFromParcel()
|
D | Looper.java | 230 long origWorkSource = ThreadLocalWorkSource.setUid(msg.workSourceUid); in loopOnce()
|
D | Binder.java | 1534 final int workSourceUid = sWorkSourceProvider.resolveWorkSourceUid( in execTransactInternal() local 1536 observer.callEnded(callSession, data.dataSize(), reply.dataSize(), workSourceUid); in execTransactInternal()
|
D | Handler.java | 782 msg.workSourceUid = ThreadLocalWorkSource.getUid(); in enqueueMessage()
|
D | Parcel.java | 490 long nativePtr, int workSourceUid); in nativeReplaceCallingWorkSourceUid() argument 1073 public boolean replaceCallingWorkSourceUid(int workSourceUid) { in replaceCallingWorkSourceUid() argument 1074 return nativeReplaceCallingWorkSourceUid(mNativePtr, workSourceUid); in replaceCallingWorkSourceUid()
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | BatteryStatsBinderCallStatsTest.java | 61 int workSourceUid = Process.FIRST_APPLICATION_UID + 1; in testNoteBinderCallStats() local 71 bi.noteBinderCallStats(workSourceUid, 42, callStats); in testNoteBinderCallStats() 81 bi.noteBinderCallStats(workSourceUid, 8, callStats); in testNoteBinderCallStats() 83 BatteryStatsImpl.Uid uid = bi.getUidStatsLocked(workSourceUid); in testNoteBinderCallStats()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | LooperStatsTest.java | 85 message.workSourceUid = 1000; in testSingleMessageDispatched() 98 assertThat(entry.workSourceUid).isEqualTo(1000); in testSingleMessageDispatched() 121 message.workSourceUid = 123; in testThrewException() 130 assertThat(entry.workSourceUid).isEqualTo(123); in testThrewException() 206 assertThat(entry1.workSourceUid).isEqualTo(-1); in testMultipleMessagesDispatched() 220 assertThat(entry2.workSourceUid).isEqualTo(-1); in testMultipleMessagesDispatched() 235 assertThat(entry3.workSourceUid).isEqualTo(-1); in testMultipleMessagesDispatched() 511 message.workSourceUid = 1000; in testScreenStateTrackingDisabled()
|
D | BinderCallsStatsTest.java | 583 assertEquals(WORKSOURCE_UID, stat.workSourceUid); in testGetExportedStatsWhenDetailedTrackingEnabled() 695 assertEquals(WORKSOURCE_UID + 1, callStats.workSourceUid); in testOverflow_oneOverflowEntryPerUid() 701 assertEquals(WORKSOURCE_UID + 2, callStats.workSourceUid); in testOverflow_oneOverflowEntryPerUid() 837 public void noteCallStats(int workSourceUid, long incrementalCallCount, in testCallStatsObserver()
|
/frameworks/base/services/core/java/android/os/ |
D | BatteryStatsInternal.java | 104 public abstract void noteBinderCallStats(int workSourceUid, long incrementalBinderCallCount, in noteBinderCallStats() argument
|
/frameworks/base/services/core/java/com/android/server/ |
D | LooperStatsService.java | 115 .comparing((LooperStats.ExportedEntry entry) -> entry.workSourceUid) in dump() 142 packageMap.mapUid(entry.workSourceUid), in dump()
|
D | BinderCallsStatsService.java | 296 public void noteCallStats(int workSourceUid, long incrementalCallCount, in onBootPhase() 298 batteryStatsInternal.noteBinderCallStats(workSourceUid, in onBootPhase()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiCecController.java | 735 int workSourceUid = Binder.getCallingWorkSourceUid(); in getCallingUid() local 736 if (workSourceUid == -1) { in getCallingUid() 739 return workSourceUid; in getCallingUid()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 767 public void noteBinderCallStats(int workSourceUid, long incrementatCallCount, in noteBinderCallStats() argument 771 mStats::noteBinderCallStats, workSourceUid, incrementatCallCount, callStats, in noteBinderCallStats()
|
D | ActivityManagerService.java | 8519 int workSourceUid = workSource.getAttributionUid(); in noteWakeupAlarm() local 8522 workSourceUid = sourceUid; in noteWakeupAlarm() 8527 UserHandle.getUserId(workSourceUid), SystemClock.elapsedRealtime()); in noteWakeupAlarm()
|
/frameworks/base/services/core/java/com/android/server/stats/pull/ |
D | StatsPullAtomService.java | 2786 pulledData.add(FrameworkStatsLog.buildStatsEvent(atomTag, callStat.workSourceUid, 2846 pulledData.add(FrameworkStatsLog.buildStatsEvent(atomTag, entry.workSourceUid,
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | BatteryStatsImpl.java | 7372 public void noteBinderCallStats(int workSourceUid, long incrementalCallCount, in noteBinderCallStats() argument 7374 noteBinderCallStats(workSourceUid, incrementalCallCount, callStats, in noteBinderCallStats() 7378 public void noteBinderCallStats(int workSourceUid, long incrementalCallCount, in noteBinderCallStats() argument 7382 getUidStatsLocked(workSourceUid, elapsedRealtimeMs, uptimeMs) in noteBinderCallStats()
|