Searched refs:workChains (Results 1 – 6 of 6) sorted by relevance
179 List<WorkChain> workChains = ws1.getWorkChains(); in testSet_workChains() local180 assertEquals(1, workChains.size()); in testSet_workChains()182 assertEquals(1, workChains.get(0).getSize()); in testSet_workChains()183 assertEquals(75, workChains.get(0).getUids()[0]); in testSet_workChains()184 assertEquals("tag", workChains.get(0).getTags()[0]); in testSet_workChains()216 List<WorkChain> workChains = ws.getWorkChains(); in testAdd_workChains() local217 assertEquals(2, workChains.size()); in testAdd_workChains()218 assertEquals(1, workChains.get(1).getSize()); in testAdd_workChains()224 assertEquals(2, workChains.size()); in testAdd_workChains()
143 final ArrayList<WorkChain> workChains = mWorkSource.getWorkChains(); in getWorkSourceClientId() local144 if (workChains != null && !workChains.isEmpty()) { in getWorkSourceClientId()145 final WorkChain workChain = workChains.get(0); in getWorkSourceClientId()
719 final ArrayList<WorkChain> workChains = rri.workSource.getWorkChains(); in isRequestorSpamming() local720 if (workChains != null) { in isRequestorSpamming()721 for (int i = 0; i < workChains.size(); ++i) { in isRequestorSpamming()722 final int uid = workChains.get(i).getAttributionUid(); in isRequestorSpamming()734 final ArrayList<WorkChain> workChains = ws.getWorkChains(); in isRequestorSpamming() local735 if (workChains != null) { in isRequestorSpamming()736 for (int i = 0; i < workChains.size(); ++i) { in isRequestorSpamming()737 final int uid = workChains.get(i).getAttributionUid(); in isRequestorSpamming()868 final ArrayList<WorkChain> workChains = ws.getWorkChains(); in preExecThrottleCheck() local869 if (allUidsInBackground && workChains != null) { in preExecThrottleCheck()[all …]
4236 List<WorkChain> workChains = workSource.getWorkChains(); in noteAlarmStartOrFinishLocked() local4237 if (workChains != null) { in noteAlarmStartOrFinishLocked()4238 for (int i = 0; i < workChains.size(); ++i) { in noteAlarmStartOrFinishLocked()4239 uid = mapUid(workChains.get(i).getAttributionUid()); in noteAlarmStartOrFinishLocked()4270 ArrayList<WorkChain> workChains = workSource.getWorkChains(); in noteWakupAlarmLocked() local4271 if (workChains != null) { in noteWakupAlarmLocked()4272 for (int i = 0; i < workChains.size(); ++i) { in noteWakupAlarmLocked()4273 final WorkChain wc = workChains.get(i); in noteWakupAlarmLocked()4600 final ArrayList<WorkChain> workChains = workSource.getWorkChains(); in noteLongPartialWakelockStartFromSource() local4601 if (workChains != null) { in noteLongPartialWakelockStartFromSource()[all …]
1831 final ArrayList<WorkChain> workChains = workSource.getWorkChains(); in isValidWorkSource() local1832 return workChains != null && !workChains.isEmpty() && in isValidWorkSource()1833 workChains.get(0).getAttributionTag() != null; in isValidWorkSource()
1886 final ArrayList<WorkChain> workChains = wakeLock.mWorkSource.getWorkChains(); in wakeLockAffectsUser() local1887 if (workChains != null) { in wakeLockAffectsUser()1888 for (int k = 0; k < workChains.size(); k++) { in wakeLockAffectsUser()1889 final int uid = workChains.get(k).getAttributionUid(); in wakeLockAffectsUser()