Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DLooperStats.java250 if (entry.workSourceUid != msg.workSourceUid in findEntry()
290 public final int workSourceUid; field in LooperStats.Entry
306 this.workSourceUid = msg.workSourceUid; in Entry()
313 this.workSourceUid = Message.UID_NONE; in Entry()
334 result = 31 * result + msg.workSourceUid; in idFor()
348 public final int workSourceUid; field in LooperStats.ExportedEntry
365 this.workSourceUid = entry.workSourceUid; in ExportedEntry()
DBinderCallsStats.java117 public CallSession callStarted(Binder binder, int code, int workSourceUid) { in callStarted() argument
142 int parcelReplySize, int workSourceUid) { in callEnded() argument
147 processCallEnded(s, parcelRequestSize, parcelReplySize, workSourceUid); in callEnded()
155 int parcelRequestSize, int parcelReplySize, int workSourceUid) { in processCallEnded() argument
180 final UidEntry uidEntry = getUidEntry(workSourceUid); in processCallEnded()
292 exported.workSourceUid = entry.workSourceUid; in getExportedCallStats()
357 callStat.workSourceUid = uid; in createDebugEntry()
420 .append(packageMap.mapUid(e.workSourceUid)) in dumpLocked()
441 String uidStr = packageMap.mapUid(entry.workSourceUid); in dumpLocked()
576 public int workSourceUid; field in BinderCallsStats.ExportedCallStat
[all …]
DBinderInternal.java115 CallSession callStarted(Binder binder, int code, int workSourceUid); in callStarted() argument
124 int workSourceUid); in callEnded() argument
/frameworks/base/core/java/android/os/
DMessage.java97 public int workSourceUid = UID_NONE; field in Message
181 m.workSourceUid = orig.workSourceUid; in obtain()
334 workSourceUid = UID_NONE; in recycleUnchecked()
362 this.workSourceUid = o.workSourceUid; in copyFrom()
649 dest.writeInt(workSourceUid); in writeToParcel()
663 workSourceUid = source.readInt(); in readFromParcel()
DBinder.java1049 final int workSourceUid = sWorkSourceProvider.resolveWorkSourceUid( in execTransactInternal() local
1051 observer.callEnded(callSession, data.dataSize(), reply.dataSize(), workSourceUid); in execTransactInternal()
DLooper.java212 long origWorkSource = ThreadLocalWorkSource.setUid(msg.workSourceUid); in loop()
DHandler.java749 msg.workSourceUid = ThreadLocalWorkSource.getUid(); in enqueueMessage()
DParcel.java341 long nativePtr, int workSourceUid); in nativeReplaceCallingWorkSourceUid() argument
635 public boolean replaceCallingWorkSourceUid(int workSourceUid) { in replaceCallingWorkSourceUid() argument
636 return nativeReplaceCallingWorkSourceUid(mNativePtr, workSourceUid); in replaceCallingWorkSourceUid()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DLooperStatsTest.java80 message.workSourceUid = 1000; in testSingleMessageDispatched()
93 assertThat(entry.workSourceUid).isEqualTo(1000); in testSingleMessageDispatched()
116 message.workSourceUid = 123; in testThrewException()
125 assertThat(entry.workSourceUid).isEqualTo(123); in testThrewException()
201 assertThat(entry1.workSourceUid).isEqualTo(-1); in testMultipleMessagesDispatched()
215 assertThat(entry2.workSourceUid).isEqualTo(-1); in testMultipleMessagesDispatched()
230 assertThat(entry3.workSourceUid).isEqualTo(-1); in testMultipleMessagesDispatched()
489 message.workSourceUid = 1000; in testScreenStateTrackingDisabled()
DBinderCallsStatsTest.java516 assertEquals(WORKSOURCE_UID, stat.workSourceUid); in testGetExportedStatsWhenDetailedTrackingEnabled()
628 assertEquals(WORKSOURCE_UID + 1, callStats.workSourceUid); in testOverflow_oneOverflowEntryPerUid()
634 assertEquals(WORKSOURCE_UID + 2, callStats.workSourceUid); in testOverflow_oneOverflowEntryPerUid()
/frameworks/base/services/core/java/com/android/server/
DLooperStatsService.java110 .comparing((LooperStats.ExportedEntry entry) -> entry.workSourceUid) in dump()
137 packageMap.mapUid(entry.workSourceUid), in dump()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java1304 e.writeInt(callStat.workSourceUid); in pullBinderCallsStats()
1353 e.writeInt(entry.workSourceUid); in pullLooperStats()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java8564 int workSourceUid = workSource.getAttributionUid(); in noteWakeupAlarm() local
8567 workSourceUid = sourceUid; in noteWakeupAlarm()
8572 UserHandle.getUserId(workSourceUid), SystemClock.elapsedRealtime()); in noteWakeupAlarm()