Searched refs:getAttributionUid (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/os/ |
D | WorkSourceTest.java | 347 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/ |
D | RttServiceImpl.java | 750 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/ |
D | WifiLockManager.java | 455 final int uid = workChain.getAttributionUid(); in addWsToLlWatchList() 472 final int uid = workChain.getAttributionUid(); in removeWsFromLlWatchList()
|
/frameworks/base/core/java/android/os/ |
D | WorkSource.java | 161 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/ |
D | BatteryStatsImpl.java | 4103 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/ |
D | GnssLocationProvider.java | 1165 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/ |
D | PowerManagerService.java | 1142 opUid = workChain.getAttributionUid(); in applyWakeLockFlagsOnAcquireLocked() 1982 final int uid = workChains.get(k).getAttributionUid(); in wakeLockAffectsUser()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AlarmManagerService.java | 4136 return alarm.workSource.getAttributionUid(); in getAlarmAttributionUid()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 8595 int workSourceUid = workSource.getAttributionUid(); in noteWakeupAlarm()
|
/frameworks/base/api/ |
D | system-current.txt | 6326 method public int getAttributionUid();
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 6232 method public int getAttributionUid();
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 12431 HPLandroid/os/WorkSource$WorkChain;->getAttributionUid()I 12446 HSPLandroid/os/WorkSource;->getAttributionUid()I
|
D | hiddenapi-greylist-max-o.txt | 88527 Lcom/android/internal/os/BatteryStatsImpl;->getAttributionUid(ILandroid/os/WorkSource$WorkChain;)I
|