Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/os/
DWorkSourceTest.java347 assertEquals(100, wc1.getAttributionUid()); in testGetAttributionId()
348 assertEquals(100, ws.getAttributionUid()); in testGetAttributionId()
350 assertEquals(100, wc1.getAttributionUid()); in testGetAttributionId()
351 assertEquals(100, ws.getAttributionUid()); in testGetAttributionId()
354 assertEquals(300, wc2.getAttributionUid()); in testGetAttributionId()
355 assertEquals(100, ws.getAttributionUid()); in testGetAttributionId()
364 assertEquals(100, ws1.getAttributionUid()); in testGetAttributionIdWithoutWorkChain()
365 assertEquals(100, ws2.getAttributionUid()); in testGetAttributionIdWithoutWorkChain()
370 assertEquals(-1, ws.getAttributionUid()); in testGetAttributionWhenEmpty()
372 assertEquals(-1, ws.getAttributionUid()); in testGetAttributionWhenEmpty()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/rtt/
DRttServiceImpl.java750 final int uid = workChains.get(i).getAttributionUid(); in isRequestorSpamming()
765 final int uid = workChains.get(i).getAttributionUid(); in isRequestorSpamming()
906 int uidImportance = mActivityManager.getUidImportance(wc.getAttributionUid()); in preExecThrottleCheck()
936 RttRequesterInfo info = mRttRequesterInfo.get(wc.getAttributionUid()); in preExecThrottleCheck()
962 RttRequesterInfo info = mRttRequesterInfo.get(wc.getAttributionUid()); in preExecThrottleCheck()
965 mRttRequesterInfo.put(wc.getAttributionUid(), info); in preExecThrottleCheck()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiLockManager.java455 final int uid = workChain.getAttributionUid(); in addWsToLlWatchList()
472 final int uid = workChain.getAttributionUid(); in removeWsFromLlWatchList()
/frameworks/base/core/java/android/os/
DWorkSource.java161 public int getAttributionUid() { in getAttributionUid() method in WorkSource
166 return mNum > 0 ? mUids[0] : mChains.get(0).getAttributionUid(); in getAttributionUid()
947 public int getAttributionUid() {
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java4103 uid = mapUid(workChains.get(i).getAttributionUid()); in noteAlarmStartOrFinishLocked()
4136 uid = wc.getAttributionUid(); in noteWakupAlarmLocked()
4366 noteStartWakeLocked(wc.getAttributionUid(), pid, wc, name, historyName, type, in noteStartWakeFromSourceLocked()
4395 noteStartWakeLocked(newChain.getAttributionUid(), newPid, newChain, newName, in noteChangeWakelockFromSourceLocked()
4413 noteStopWakeLocked(goneChain.getAttributionUid(), pid, goneChain, name, in noteChangeWakelockFromSourceLocked()
4434 noteStopWakeLocked(wc.getAttributionUid(), pid, wc, name, historyName, type, in noteStopWakeFromSourceLocked()
4457 final int uid = workChain.getAttributionUid(); in noteLongPartialWakelockStartFromSource()
4494 final int uid = workChain.getAttributionUid(); in noteLongPartialWakelockFinishFromSource()
4649 uid = getAttributionUid(uid, workChain); in noteStartGpsLocked()
4673 uid = getAttributionUid(uid, workChain); in noteStopGpsLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/location/
DGnssLocationProvider.java1165 mAppOps.startOpNoThrow(AppOpsManager.OP_GPS, newChain.getAttributionUid(), in updateClientUids()
1172 mAppOps.finishOp(AppOpsManager.OP_GPS, goneChain.getAttributionUid(), in updateClientUids()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java1142 opUid = workChain.getAttributionUid(); in applyWakeLockFlagsOnAcquireLocked()
1982 final int uid = workChains.get(k).getAttributionUid(); in wakeLockAffectsUser()
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java4136 return alarm.workSource.getAttributionUid(); in getAlarmAttributionUid()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java8595 int workSourceUid = workSource.getAttributionUid(); in noteWakeupAlarm()
/frameworks/base/api/
Dsystem-current.txt6326 method public int getAttributionUid();
/frameworks/base/non-updatable-api/
Dsystem-current.txt6232 method public int getAttributionUid();
/frameworks/base/config/
Dboot-image-profile.txt12431 HPLandroid/os/WorkSource$WorkChain;->getAttributionUid()I
12446 HSPLandroid/os/WorkSource;->getAttributionUid()I
Dhiddenapi-greylist-max-o.txt88527 Lcom/android/internal/os/BatteryStatsImpl;->getAttributionUid(ILandroid/os/WorkSource$WorkChain;)I