/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | AdditionalSubtypeMap.java | 83 final ArrayMap<String, List<InputMethodSubtype>> newMap = new ArrayMap<>(mMap); in cloneWithRemoveOrSelf() local 84 newMap.remove(key); in cloneWithRemoveOrSelf() 85 return createOrEmpty(newMap); in cloneWithRemoveOrSelf() 103 final ArrayMap<String, List<InputMethodSubtype>> newMap = new ArrayMap<>(mMap); in cloneWithRemoveOrSelf() local 104 return newMap.removeAll(keys) ? createOrEmpty(newMap) : this; in cloneWithRemoveOrSelf() 120 final ArrayMap<String, List<InputMethodSubtype>> newMap = new ArrayMap<>(mMap); in cloneWithPut() local 121 newMap.put(key, value); in cloneWithPut() 122 return new AdditionalSubtypeMap(newMap); in cloneWithPut()
|
D | RawInputMethodMap.java | 73 final var newMap = new ArrayMap<String, InputMethodInfo>(size); in toInputMethodMap() local 96 newMap.put(imi.getId(), imi); in toInputMethodMap() 99 newMap.put(imi.getId(), new InputMethodInfo(imi, newAdditionalSubtypes)); in toInputMethodMap() 103 return InputMethodMap.of(updated ? newMap : mMap); in toInputMethodMap()
|
D | InputMethodSettings.java | 588 final AdditionalSubtypeMap newMap; in getNewAdditionalSubtypeMap() local 590 newMap = additionalSubtypeMap.cloneWithRemoveOrSelf(imi.getId()); in getNewAdditionalSubtypeMap() 592 newMap = additionalSubtypeMap.cloneWithPut(imi.getId(), subtypes); in getNewAdditionalSubtypeMap() 594 return newMap; in getNewAdditionalSubtypeMap()
|
/frameworks/base/libs/androidfw/ |
D | ZipFileRO.cpp | 249 FileMap* newMap = new FileMap(); in createEntryFileMap() local 250 if (!newMap->create(mFileName, fd, ze.offset, actualLen, true)) { in createEntryFileMap() 251 delete newMap; in createEntryFileMap() 255 return newMap; in createEntryFileMap() 274 incfs::IncFsFileMap newMap; in createEntryIncFsFileMap() local 275 if (!newMap.Create(fd, ze.offset, actualLen, mFileName)) { in createEntryIncFsFileMap() 278 return std::move(newMap); in createEntryIncFsFileMap()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | SmartspaceDedupingCoordinator.kt | 104 val newMap = mutableMapOf<String, TrackedSmartspaceTarget>() in <lambda>() constant 113 newMap[key] = trackedTarget in <lambda>() 121 if (!newMap.containsKey(prevKey)) { in <lambda>() 131 trackedSmartspaceTargets = newMap in <lambda>()
|
/frameworks/libs/systemui/displaylib/src/com/android/app/displaylib/ |
D | DisplayRepository.kt | 408 val newMap = state.valueMap.toMutableMap() in mapElementsLazily() constant 410 added.forEach { key -> createValue(key)?.let { newMap[key] = it } } in mapElementsLazily() 411 removed.forEach { key -> newMap.remove(key) } in mapElementsLazily() 413 val resultSet = newMap.values.toSet() in mapElementsLazily() 414 State(currentSet, newMap, resultSet) in mapElementsLazily()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProviderMap.java | 174 … HashMap<String, ContentProviderRecord> newMap = new HashMap<String, ContentProviderRecord>(); in getProvidersByName() local 175 mProvidersByNamePerUser.put(userId, newMap); in getProvidersByName() 176 return newMap; in getProvidersByName() 187 HashMap<ComponentName, ContentProviderRecord> newMap in getProvidersByClass() local 189 mProvidersByClassPerUser.put(userId, newMap); in getProvidersByClass() 190 return newMap; in getProvidersByClass()
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
D | ArrayMapTests.java | 424 ArrayMap newMap = new ArrayMap<Integer, String>(); in run() 426 newMap.put(i, String.valueOf(i)); in run() 428 ArrayMap mapCopy = new ArrayMap(newMap); in run() 429 if (!compare(mapCopy, newMap)) { in run() 431 newMap + ", got " + mapCopy); in run() 432 dump(newMap, mapCopy); in run()
|
/frameworks/base/packages/SystemUI/utils/kairos/src/com/android/systemui/kairos/internal/ |
D | IncrementalImpl.kt | 104 ?.also { (_, newMap) -> state.setCacheFromPush(newMap, epoch) } in calmUpdates() method
|
/frameworks/base/services/core/java/com/android/server/utils/ |
D | WatchedSparseBooleanMatrix.java | 465 int[] newMap = ArrayUtils.newUnpaddedIntArray(newOrder); in resizeMatrix() local 466 System.arraycopy(mMap, 0, newMap, 0, minOrder); in resizeMatrix() 478 mMap = newMap; in resizeMatrix()
|
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/publish/ |
D | DeviceCapabilityInfo.java | 145 public synchronized boolean updateCapabilityRegistrationTrackerMap(String[] newMap) { in updateCapabilityRegistrationTrackerMap() argument 147 mServiceCapRegTracker = PublishServiceDescTracker.fromCarrierConfig(newMap); in updateCapabilityRegistrationTrackerMap()
|
D | PublishControllerImpl.java | 976 String[] newMap = getCarrierServiceDescriptionFeatureTagMap(); in handleCarrierConfigChangedMessage() local 977 if (mDeviceCapabilityInfo.updateCapabilityRegistrationTrackerMap(newMap)) { in handleCarrierConfigChangedMessage()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/ |
D | SatelliteController.java | 7642 Map<Integer, List<SubscriptionInfo>> newMap) { in isPriorityChanged() argument 7643 if (currentMap.size() == 0 || currentMap.size() != newMap.size()) { in isPriorityChanged() 7649 List<SubscriptionInfo> newList = newMap.get(entry.getKey()); in isPriorityChanged()
|