Searched refs:currentChain (Results 1 – 1 of 1) sorted by relevance
268 ArrayList<AccessChainLink> currentChain = mAttributionChains.computeIfAbsent( in addLinkToChainIfNotPresentLocked() local273 if (currentChain.contains(link)) { in addLinkToChainIfNotPresentLocked()277 int currSize = currentChain.size(); in addLinkToChainIfNotPresentLocked()278 if (currSize == 0 || link.isEnd() || !currentChain.get(currSize - 1).isEnd()) { in addLinkToChainIfNotPresentLocked()281 currentChain.add(link); in addLinkToChainIfNotPresentLocked()283 currentChain.add(0, link); in addLinkToChainIfNotPresentLocked()284 } else if (currentChain.get(currentChain.size() - 1).isEnd()) { in addLinkToChainIfNotPresentLocked()286 currentChain.add(currSize - 1, link); in addLinkToChainIfNotPresentLocked()