/frameworks/base/services/tests/servicestests/src/com/android/server/input/ |
D | ConfigurationProcessorTest.java | 53 Map<String, Integer> associations = null; in testGetInputPortAssociations() local 55 associations = ConfigurationProcessor.processInputPortAssociations(xml); in testGetInputPortAssociations() 59 assertNotNull(associations); in testGetInputPortAssociations() 60 assertEquals(2, associations.size()); in testGetInputPortAssociations() 61 assertEquals(0, associations.get("USB1").intValue()); in testGetInputPortAssociations() 62 assertEquals(1, associations.get("USB2").intValue()); in testGetInputPortAssociations() 70 Map<String, Integer> associations = null; in testGetInputPortAssociationsBadDisplayport() local 72 associations = ConfigurationProcessor.processInputPortAssociations(xml); in testGetInputPortAssociationsBadDisplayport() 76 assertNotNull(associations); in testGetInputPortAssociationsBadDisplayport() 77 assertEquals(0, associations.size()); in testGetInputPortAssociationsBadDisplayport()
|
/frameworks/base/services/companion/java/com/android/server/companion/ |
D | AssociationStoreImpl.java | 215 final List<AssociationInfo> associations = getAssociationsByAddress(macAddress); in getAssociationsForPackageWithAddress() local 216 return CollectionUtils.find(associations, in getAssociationsForPackageWithAddress() 233 final List<AssociationInfo> associations = new ArrayList<>(ids.size()); in getAssociationsByAddress() 235 associations.add(mIdMap.get(id)); in getAssociationsByAddress() 238 return Collections.unmodifiableList(associations); in getAssociationsByAddress() 316 private void setAssociationsLocked(Collection<AssociationInfo> associations) { in setAssociationsLocked() argument 319 for (AssociationInfo association : associations) { in setAssociationsLocked()
|
D | PersistentDataStore.java | 301 @NonNull Collection<AssociationInfo> associations, in persistStateForUser() argument 304 if (DEBUG) Slog.d(TAG, " > " + associations); in persistStateForUser() 311 persistStateToFileLocked(file, associations, previouslyUsedIdsPerPackage); in persistStateForUser() 348 @Nullable Collection<AssociationInfo> associations, in persistStateToFileLocked() argument 362 writeAssociations(serializer, associations); in persistStateToFileLocked() 493 @Nullable Collection<AssociationInfo> associations) throws IOException { in writeAssociations() argument 495 for (AssociationInfo association : associations) { in writeAssociations()
|
D | CompanionDeviceManagerService.java | 293 final List<AssociationInfo> associations = mAssociationStore.getAssociationsForUser(userId); in onUserUnlocking() local 295 if (associations.isEmpty()) return; in onUserUnlocking() 297 updateAtm(userId, associations); in onUserUnlocking() 437 @UserIdInt int userId, @NonNull List<AssociationInfo> associations) { in notifyListeners() argument 441 listener.onAssociationsChanged(associations); in notifyListeners() 1199 private void updateAtm(int userId, List<AssociationInfo> associations) { in updateAtm() argument 1201 for (AssociationInfo association : associations) { in updateAtm() 1230 final List<AssociationInfo> associations = in maybeGrantAutoRevokeExemptions() local 1232 for (AssociationInfo a : associations) { in maybeGrantAutoRevokeExemptions()
|
/frameworks/base/services/companion/java/com/android/server/companion/presence/ |
D | BleCompanionDeviceScanner.java | 275 final List<AssociationInfo> associations = in notifyDeviceFound() local 277 if (DEBUG) Log.d(TAG, " > associations=" + Arrays.toString(associations.toArray())); in notifyDeviceFound() 279 for (AssociationInfo association : associations) { in notifyDeviceFound() 288 final List<AssociationInfo> associations = in notifyDeviceLost() local 290 if (DEBUG) Log.d(TAG, " > associations=" + Arrays.toString(associations.toArray())); in notifyDeviceLost() 292 for (AssociationInfo association : associations) { in notifyDeviceLost() 339 final List<AssociationInfo> associations = 341 Log.v(TAG, " > associations=" + Arrays.toString(associations.toArray()));
|
D | BluetoothCompanionDeviceConnectionListener.java | 112 final List<AssociationInfo> associations = in onDeviceConnectivityChanged() local 118 if (associations.isEmpty()) { in onDeviceConnectivityChanged() 121 Log.d(TAG, " > associations=" + Arrays.toString(associations.toArray())); in onDeviceConnectivityChanged() 125 for (AssociationInfo association : associations) { in onDeviceConnectivityChanged()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | ConfigurationProcessor.java | 89 Map<String, Integer> associations = new HashMap<String, Integer>(); in processInputPortAssociations() local 109 associations.put(inputPort, displayPort); in processInputPortAssociations() 115 return associations; in processInputPortAssociations()
|
D | InputManagerService.java | 3127 final Map<String, Integer> associations = new HashMap<>(mStaticAssociations); in getInputPortAssociations() local 3131 associations.putAll(mRuntimeAssociations); in getInputPortAssociations() 3134 return flatten(associations); in getInputPortAssociations() 3140 final Map<String, String> associations; in getInputUniqueIdAssociations() local 3142 associations = new HashMap<>(mUniqueIdAssociations); in getInputUniqueIdAssociations() 3145 return flatten(associations); in getInputUniqueIdAssociations()
|
/frameworks/base/core/java/android/companion/ |
D | IOnAssociationsChangedListener.aidl | 40 void onAssociationsChanged(in List<AssociationInfo> associations); in onAssociationsChanged() argument
|
D | CompanionDeviceManager.java | 613 void onAssociationsChanged(@NonNull List<AssociationInfo> associations); in onAssociationsChanged() argument 941 public void onAssociationsChanged(@NonNull List<AssociationInfo> associations) { in onAssociationsChanged() argument 942 mExecutor.execute(() -> mListener.onAssociationsChanged(associations)); in onAssociationsChanged()
|
/frameworks/base/services/companion/java/com/android/server/companion/virtual/ |
D | VirtualDeviceManagerService.java | 170 associations -> mAllAssociations.put(userId, associations); in onUserStarting() 344 final List<AssociationInfo> associations = in getAssociationInfo() local 346 if (associations != null) { in getAssociationInfo() 347 final int associationSize = associations.size(); in getAssociationInfo() 349 AssociationInfo associationInfo = associations.get(i); in getAssociationInfo()
|
/frameworks/base/core/java/com/android/server/ |
D | SystemConfig.java | 1314 ArraySet<String> associations = mAllowedAssociations.get(target); in readPermissionsFromXml() local 1315 if (associations == null) { in readPermissionsFromXml() 1316 associations = new ArraySet<>(); in readPermissionsFromXml() 1317 mAllowedAssociations.put(target, associations); in readPermissionsFromXml() 1320 associations.add(allowed); in readPermissionsFromXml()
|
/frameworks/av/media/extractors/mp4/ |
D | ItemTable.cpp | 885 IpmaBox(DataSourceHelper *source, Vector<AssociationEntry> *associations) : in IpmaBox() 886 FullBox(source, FOURCC("ipma")), mAssociations(associations) {} in IpmaBox() 1023 Vector<AssociationEntry> *associations) : in IprpBox() 1025 mProperties(properties), mAssociations(associations) {} in IprpBox()
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | ProcessStats.java | 1769 ArrayList<AssociationDumpContainer> associations = in dumpLocked() local 1784 associations.add(cont); in dumpLocked() 1786 Collections.sort(associations, ASSOCIATION_COMPARATOR); in dumpLocked() 1787 final int NCONT = associations.size(); in dumpLocked() 1789 final AssociationDumpContainer cont = associations.get(iasc); in dumpLocked()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 9953 List<?> associations = mCompanionManager.getAssociations( 9955 if (!ArrayUtils.isEmpty(associations)) {
|
/frameworks/proto_logging/stats/ |
D | atoms.proto | 11672 // Number of the set associations requested. 11674 // Concatenated string for the types from set associations request. 11677 // Concatenated string for the values from set associations request. 11708 // Number of the set associations in the response. 11710 // Concatenated string for the types from set associations request. 11713 // Concatenated string for the values from set associations request. 21550 /** Log the CompanionDeviceManager associations are created by various device
|