Home
last modified time | relevance | path

Searched refs:workSourceUid (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DBinderCallsStats.java145 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 …]
DLooperStats.java265 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()
DBinderInternal.java117 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/
DMessage.java99 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()
DLooper.java230 long origWorkSource = ThreadLocalWorkSource.setUid(msg.workSourceUid); in loopOnce()
DBinder.java1534 final int workSourceUid = sWorkSourceProvider.resolveWorkSourceUid( in execTransactInternal() local
1536 observer.callEnded(callSession, data.dataSize(), reply.dataSize(), workSourceUid); in execTransactInternal()
DHandler.java782 msg.workSourceUid = ThreadLocalWorkSource.getUid(); in enqueueMessage()
DParcel.java490 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/
DBatteryStatsBinderCallStatsTest.java61 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/
DLooperStatsTest.java85 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()
DBinderCallsStatsTest.java583 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/
DBatteryStatsInternal.java104 public abstract void noteBinderCallStats(int workSourceUid, long incrementalBinderCallCount, in noteBinderCallStats() argument
/frameworks/base/services/core/java/com/android/server/
DLooperStatsService.java115 .comparing((LooperStats.ExportedEntry entry) -> entry.workSourceUid) in dump()
142 packageMap.mapUid(entry.workSourceUid), in dump()
DBinderCallsStatsService.java296 public void noteCallStats(int workSourceUid, long incrementalCallCount, in onBootPhase()
298 batteryStatsInternal.noteBinderCallStats(workSourceUid, in onBootPhase()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecController.java735 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/
DBatteryStatsService.java767 public void noteBinderCallStats(int workSourceUid, long incrementatCallCount, in noteBinderCallStats() argument
771 mStats::noteBinderCallStats, workSourceUid, incrementatCallCount, callStats, in noteBinderCallStats()
DActivityManagerService.java8519 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/
DStatsPullAtomService.java2786 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/
DBatteryStatsImpl.java7372 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()