Searched refs:workChains (Results 1 – 5 of 5) sorted by relevance
170 final List<WorkChain> workChains = mWorkSource.getWorkChains(); in getWorkSourceClientId() local171 if (workChains != null && !workChains.isEmpty()) { in getWorkSourceClientId()172 final WorkChain workChain = workChains.get(0); in getWorkSourceClientId()
198 List<WorkChain> workChains = ws1.getWorkChains(); in testSet_workChains() local199 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() local238 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()
4856 List<WorkChain> workChains = workSource.getWorkChains(); in noteAlarmStartOrFinishLocked() local4857 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() local4898 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() local5232 if (workChains != null) { in noteLongPartialWakelockStartFromSource()[all …]
924 List<WorkChain> workChains = workSource.getWorkChains(); in validateLocationRequest() local925 if (workChains != null && !workChains.isEmpty() in validateLocationRequest()926 && workChains.get(0).getAttributionTag() == null) { in validateLocationRequest()
2899 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();