Searched refs:associations (Results 1 – 3 of 3) sorted by relevance
547 List<String> associations = new ArrayList<>(); in testCreateChannelNotifyListener() local548 associations.add("a"); in testCreateChannelNotifyListener()549 when(mCompanionMgr.getAssociations(PKG, uid)).thenReturn(associations); in testCreateChannelNotifyListener()572 List<String> associations = new ArrayList<>(); in testCreateChannelGroupNotifyListener() local573 associations.add("a"); in testCreateChannelGroupNotifyListener()574 when(mCompanionMgr.getAssociations(PKG, uid)).thenReturn(associations); in testCreateChannelGroupNotifyListener()592 List<String> associations = new ArrayList<>(); in testUpdateChannelNotifyListener() local593 associations.add("a"); in testUpdateChannelNotifyListener()594 when(mCompanionMgr.getAssociations(PKG, uid)).thenReturn(associations); in testUpdateChannelNotifyListener()610 List<String> associations = new ArrayList<>(); in testDeleteChannelNotifyListener() local[all …]
431 updateAssociations(associations -> CollectionUtils.remove(associations,494 updateAssociations(associations -> CollectionUtils.add(associations,506 List<Association> associations = readAllAssociations(userId);507 final List<Association> old = CollectionUtils.copyOf(associations);508 associations = update.apply(associations);509 if (size(old) == size(associations)) return;511 List<Association> finalAssociations = associations;630 ArrayList<Association> associations = readAllAssociations(getNextArgInt());631 for (int i = 0; i < size(associations); i++) {632 Association a = associations.get(i);
4900 List<String> associations = mCompanionManager.getAssociations( in hasCompanionDevice() local4902 if (!ArrayUtils.isEmpty(associations)) { in hasCompanionDevice()