Home
last modified time | relevance | path

Searched refs:workChains (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRILRequest.java170 final List<WorkChain> workChains = mWorkSource.getWorkChains(); in getWorkSourceClientId() local
171 if (workChains != null && !workChains.isEmpty()) { in getWorkSourceClientId()
172 final WorkChain workChain = workChains.get(0); in getWorkSourceClientId()
/frameworks/base/core/tests/coretests/src/android/os/
DWorkSourceTest.java198 List<WorkChain> workChains = ws1.getWorkChains(); in testSet_workChains() local
199 assertEquals(1, workChains.size()); in testSet_workChains()
201 assertEquals(1, workChains.get(0).getSize()); in testSet_workChains()
202 assertEquals(75, workChains.get(0).getUids()[0]); in testSet_workChains()
203 assertEquals("tag", workChains.get(0).getTags()[0]); in testSet_workChains()
237 List<WorkChain> workChains = ws.getWorkChains(); in testAdd_workChains() local
238 assertEquals(2, workChains.size()); in testAdd_workChains()
239 assertEquals(1, workChains.get(1).getSize()); in testAdd_workChains()
245 assertEquals(2, workChains.size()); in testAdd_workChains()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java4856 List<WorkChain> workChains = workSource.getWorkChains(); in noteAlarmStartOrFinishLocked() local
4857 if (workChains != null) { in noteAlarmStartOrFinishLocked()
4858 for (int i = 0; i < workChains.size(); ++i) { in noteAlarmStartOrFinishLocked()
4859 uid = mapUid(workChains.get(i).getAttributionUid()); in noteAlarmStartOrFinishLocked()
4897 List<WorkChain> workChains = workSource.getWorkChains(); in noteWakupAlarmLocked() local
4898 if (workChains != null) { in noteWakupAlarmLocked()
4899 for (int i = 0; i < workChains.size(); ++i) { in noteWakupAlarmLocked()
4900 final WorkChain wc = workChains.get(i); in noteWakupAlarmLocked()
5231 final List<WorkChain> workChains = workSource.getWorkChains(); in noteLongPartialWakelockStartFromSource() local
5232 if (workChains != null) { in noteLongPartialWakelockStartFromSource()
[all …]
/frameworks/base/services/core/java/com/android/server/location/
DLocationManagerService.java924 List<WorkChain> workChains = workSource.getWorkChains(); in validateLocationRequest() local
925 if (workChains != null && !workChains.isEmpty() in validateLocationRequest()
926 && workChains.get(0).getAttributionTag() == null) { in validateLocationRequest()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java2899 final List<WorkChain> workChains = wakeLock.mWorkSource.getWorkChains();
2900 if (workChains != null) {
2901 for (int k = 0; k < workChains.size(); k++) {
2902 final int uid = workChains.get(k).getAttributionUid();