Home
last modified time | relevance | path

Searched refs:associations (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/input/
DConfigurationProcessorTest.java55 List<Pair<String, String>> associations = null; in testGetInputPortAssociations() local
57 associations = ConfigurationProcessor.processInputPortAssociations(xml); in testGetInputPortAssociations()
61 assertNotNull(associations); in testGetInputPortAssociations()
62 assertEquals(2, associations.size()); in testGetInputPortAssociations()
63 assertTrue(associations.contains(Pair.create("USB1", "0"))); in testGetInputPortAssociations()
64 assertTrue(associations.contains(Pair.create("USB2", "1"))); in testGetInputPortAssociations()
72 List<Pair<String, String>> associations = null; in testGetInputPortAssociationsBadDisplayport() local
74 associations = ConfigurationProcessor.processInputPortAssociations(xml); in testGetInputPortAssociationsBadDisplayport()
78 assertNotNull(associations); in testGetInputPortAssociationsBadDisplayport()
79 assertEquals(0, associations.size()); in testGetInputPortAssociationsBadDisplayport()
/frameworks/base/services/companion/java/com/android/server/companion/
DCompanionDeviceManagerService.java168 Set<Association> associations = readAllAssociations(userHandle); in onUnlockUser() local
169 if (associations == null || associations.isEmpty()) { in onUnlockUser()
173 for (Association association : associations) { in onUnlockUser()
458 updateAssociations(associations -> CollectionUtils.remove(associations,
524 updateAssociations(associations -> CollectionUtils.add(associations,
536 Set<Association> associations = readAllAssociations(userId);
537 final Set<Association> old = CollectionUtils.copyOf(associations);
538 associations = update.apply(associations);
539 if (size(old) == size(associations)) return;
541 Set<Association> finalAssociations = associations;
/frameworks/base/services/core/java/com/android/server/input/
DConfigurationProcessor.java91 List<Pair<String, String>> associations = new ArrayList<>(); in processInputPortAssociations() local
116 associations.add(new Pair<>(inputPort, displayPort)); in processInputPortAssociations()
119 return associations; in processInputPortAssociations()
DInputManagerService.java1911 List<Pair<String, String>> associations = in getInputPortAssociations() local
1913 List<String> associationList = flatten(associations); in getInputPortAssociations()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java1665 List<String> associations = new ArrayList<>(); in testCreateChannelNotifyListener() local
1666 associations.add("a"); in testCreateChannelNotifyListener()
1667 when(mCompanionMgr.getAssociations(PKG, mUid)).thenReturn(associations); in testCreateChannelNotifyListener()
1693 List<String> associations = new ArrayList<>(); in testCreateChannelGroupNotifyListener() local
1694 associations.add("a"); in testCreateChannelGroupNotifyListener()
1695 when(mCompanionMgr.getAssociations(PKG, mUid)).thenReturn(associations); in testCreateChannelGroupNotifyListener()
1713 List<String> associations = new ArrayList<>(); in testUpdateChannelNotifyListener() local
1714 associations.add("a"); in testUpdateChannelNotifyListener()
1715 when(mCompanionMgr.getAssociations(PKG, mUid)).thenReturn(associations); in testUpdateChannelNotifyListener()
1731 List<String> associations = new ArrayList<>(); in testDeleteChannelNotifyListener() local
[all …]
/frameworks/base/core/java/com/android/server/
DSystemConfig.java921 ArraySet<String> associations = mAllowedAssociations.get(target); in readPermissionsFromXml() local
922 if (associations == null) { in readPermissionsFromXml()
923 associations = new ArraySet<>(); in readPermissionsFromXml()
924 mAllowedAssociations.put(target, associations); in readPermissionsFromXml()
927 associations.add(allowed); in readPermissionsFromXml()
/frameworks/av/media/extractors/mp4/
DItemTable.cpp838 IpmaBox(DataSourceHelper *source, Vector<AssociationEntry> *associations) : in IpmaBox()
839 FullBox(source, FOURCC("ipma")), mAssociations(associations) {} in IpmaBox()
971 Vector<AssociationEntry> *associations) : in IprpBox()
973 mProperties(properties), mAssociations(associations) {} in IprpBox()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java7311 List<String> associations = mCompanionManager.getAssociations(
7313 if (!ArrayUtils.isEmpty(associations)) {