Home
last modified time | relevance | path

Searched refs:removed (Results 1 – 25 of 207) sorted by relevance

123456789

/frameworks/base/core/api/
DAndroid.bp36 name: "non-updatable-removed.txt",
37 srcs: ["removed.txt"],
51 name: "non-updatable-system-removed.txt",
52 srcs: ["system-removed.txt"],
71 name: "non-updatable-module-lib-removed.txt",
72 srcs: ["module-lib-removed.txt"],
91 name: "non-updatable-test-removed.txt",
92 srcs: ["test-removed.txt"],
107 name: "non-updatable-exportable-removed.txt",
108 srcs: [":api-stubs-docs-non-updatable{.exportable.removed-api.txt}"],
[all …]
/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/
DProgramInfoCache.java141 if (chunk.removed != null) { in updateFromHalProgramListChunk()
142 for (int i = 0; i < chunk.removed.length; i++) { in updateFromHalProgramListChunk()
144 ConversionUtils.identifierFromHalProgramIdentifier(chunk.removed[i])); in updateFromHalProgramListChunk()
169 ArraySet<UniqueProgramIdentifier> removed = new ArraySet<>(); in filterAndUpdateFromInternal() local
171 removed.addAll(mProgramInfoMap.valueAt(index).keySet()); in filterAndUpdateFromInternal()
181 removed.remove(entries.keyAt(entryIndex)); in filterAndUpdateFromInternal()
191 for (int removedIndex = 0; removedIndex < removed.size(); removedIndex++) { in filterAndUpdateFromInternal()
192 removeUniqueId(removed.valueAt(removedIndex)); in filterAndUpdateFromInternal()
195 return buildChunks(purge, mComplete, modified, maxNumModifiedPerChunk, removed, in filterAndUpdateFromInternal()
229 Set<UniqueProgramIdentifier> removed = new ArraySet<>(); in filterAndApplyChunkInternal() local
[all …]
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DProgramInfoCache.java119 for (android.hardware.broadcastradio.V2_0.ProgramIdentifier halProgramId : chunk.removed) { in updateFromHalProgramListChunk()
143 ArraySet<UniqueProgramIdentifier> removed = new ArraySet<>(); in filterAndUpdateFromInternal() local
145 removed.addAll(mProgramInfoMap.valueAt(index).keySet()); in filterAndUpdateFromInternal()
155 removed.remove(entries.keyAt(entryIndex)); in filterAndUpdateFromInternal()
165 for (int removedIndex = 0; removedIndex < removed.size(); removedIndex++) { in filterAndUpdateFromInternal()
166 removeUniqueId(removed.valueAt(removedIndex)); in filterAndUpdateFromInternal()
169 return buildChunks(purge, mComplete, modified, maxNumModifiedPerChunk, removed, in filterAndUpdateFromInternal()
197 Set<UniqueProgramIdentifier> removed = new ArraySet<>(); in filterAndApplyChunkInternal() local
198 for (android.hardware.broadcastradio.V2_0.ProgramIdentifier halProgramId : chunk.removed) { in filterAndApplyChunkInternal()
204 removed.addAll(mProgramInfoMap.get(removedId).keySet()); in filterAndApplyChunkInternal()
[all …]
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/
DAidlTestUtils.java134 List<RadioManager.ProgramInfo> modified, List<ProgramSelector.Identifier> removed) { in makeHalChunk() argument
142 new android.hardware.broadcastradio.ProgramIdentifier[removed.size()]; in makeHalChunk()
143 for (int i = 0; i < removed.size(); i++) { in makeHalChunk()
144 halRemoved[i] = ConversionUtils.identifierToHalProgramIdentifier(removed.get(i)); in makeHalChunk()
150 ProgramInfo[] modified, ProgramIdentifier[] removed) { in makeHalChunk() argument
155 halChunk.removed = removed; in makeHalChunk()
161 List<UniqueProgramIdentifier> removed) throws RemoteException { in makeChunk() argument
167 if (removed != null) { in makeChunk()
168 removedSet.addAll(removed); in makeChunk()
/frameworks/base/services/core/java/com/android/server/utils/
DAlarmQueue.java80 boolean removed = false; in removeKey()
85 removed = true; in removeKey()
88 return removed; in removeKey()
196 final boolean removed = mAlarmPriorityQueue.removeKey(key); in addAlarm()
198 if (mTriggerTimeElapsed == NOT_SCHEDULED || removed in addAlarm()
227 boolean removed = false; in removeAlarmsForUserId()
234 removed = true; in removeAlarmsForUserId()
237 if (removed) { in removeAlarmsForUserId()
253 boolean removed = false; in removeAlarmsIf()
260 removed = true; in removeAlarmsIf()
[all …]
/frameworks/base/core/tests/coretests/src/android/util/
DLongArrayQueueTest.java181 final int removed = 345; in sizeAfterOperations() local
182 for (int i = 0; i < removed; i++) { in sizeAfterOperations()
186 assertEquals(added - removed, mQueueUnderTest.size()); in sizeAfterOperations()
227 int removed = 212; in getValidPositions() local
231 for (int i = 0; i < removed; i++) { in getValidPositions()
234 for (int i = 0; i < (added - removed); i++) { in getValidPositions()
235 assertEquals(removed + i, mQueueUnderTest.get(i)); in getValidPositions()
/frameworks/base/core/java/android/app/
DNotificationHistory.java369 boolean removed = false; in removeNotificationFromWrite()
374 removed = true; in removeNotificationFromWrite()
378 if (removed) { in removeNotificationFromWrite()
382 return removed; in removeNotificationFromWrite()
389 boolean removed = false; in removeConversationsFromWrite()
395 removed = true; in removeConversationsFromWrite()
399 if (removed) { in removeConversationsFromWrite()
403 return removed; in removeConversationsFromWrite()
410 boolean removed = false; in removeChannelFromWrite()
415 removed = true; in removeChannelFromWrite()
[all …]
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/hidl/
DHidlToAidlCallbackConverter.java74 public void onRemoved(long deviceId, ArrayList<Integer> removed, int userId) { in onRemoved() argument
75 int[] enrollmentIds = new int[removed.size()]; in onRemoved()
76 for (int i = 0; i < removed.size(); i++) { in onRemoved()
77 enrollmentIds[i] = removed.get(i); in onRemoved()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/
DAlarmStoreTest.java117 ArrayList<Alarm> removed = mAlarmStore.remove(a -> (a.getWhenElapsed() < 4)); in remove() local
118 assertEquals(2, removed.size()); in remove()
120 assertTrue(removed.contains(a1) && removed.contains(a2)); in remove()
125 removed = mAlarmStore.remove(unused -> false); in remove()
126 assertEquals(0, removed.size()); in remove()
129 removed = mAlarmStore.remove(unused -> true); in remove()
130 assertEquals(4, removed.size()); in remove()
/frameworks/base/services/core/java/com/android/server/display/mode/
DSystemRequestObserver.java110 SparseArray<List<Integer>> removed = mDisplaysRestrictions.remove(token); in removeSystemRequestedVotes() local
111 if (removed != null) { in removeSystemRequestedVotes()
112 for (int i = 0; i < removed.size(); i++) { in removeSystemRequestedVotes()
113 updateStorageLocked(removed.keyAt(i)); in removeSystemRequestedVotes()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DFavoritesModelTest.kt107 val removed = 4 in <lambda>() constant
119 val removed = 4 in <lambda>() constant
130 val removed = 4 in <lambda>() constant
136 verify(adapter).notifyItemMoved(removed, lastPos) in <lambda>()
144 val removed = 4 in <lambda>() constant
156 val removed = 4 in <lambda>() constant
168 val removed = 4 in <lambda>() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/ui/viewmodel/
DNotificationIconsViewData.kt54 val removed: List<String> = emptyList(), in <lambda>() constant in com.android.systemui.statusbar.notification.icon.ui.viewmodel.NotificationIconsViewData.Diff
79 val removed: List<NotificationIconInfo> = in <lambda>() constant
84 removed in <lambda>()
91 return Diff(added, removed.map { it.notifKey }, replacements) in <lambda>()
/frameworks/base/services/core/java/com/android/server/wm/
DImeTargetChangeListener.java43 boolean visible, boolean removed) { in onImeTargetOverlayVisibilityChanged() argument
59 boolean removed) { in onImeInputTargetVisibilityChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataProcessor.kt1380 val removed = mediaDataRepository.removeMediaEntry(key) ?: return in <lambda>() constant
1381 if (keyguardUpdateMonitor.isUserInLockdown(removed.userId)) { in <lambda>()
1382 logger.logMediaRemoved(removed.appUid, removed.packageName, removed.instanceId) in <lambda>()
1383 } else if (isAbleToResume(removed)) { in <lambda>()
1384 convertToResumePlayer(key, removed) in <lambda>()
1386 handlePossibleRemoval(key, removed, notificationRemoved = true) in <lambda>()
1389 logger.logMediaRemoved(removed.appUid, removed.packageName, removed.instanceId) in <lambda>()
1417 removed: MediaData, in <lambda>()
1420 val hasSession = removed.token != null in <lambda>()
1421 if (hasSession && removed.semanticActions != null) { in <lambda>()
[all …]
DLegacyMediaDataManagerImpl.kt1437 val removed = mediaEntries.remove(key) ?: return in onNotificationRemoved() constant
1438 if (keyguardUpdateMonitor.isUserInLockdown(removed.userId)) { in onNotificationRemoved()
1439 logger.logMediaRemoved(removed.appUid, removed.packageName, removed.instanceId) in onNotificationRemoved()
1440 } else if (isAbleToResume(removed)) { in onNotificationRemoved()
1441 convertToResumePlayer(key, removed) in onNotificationRemoved()
1443 handlePossibleRemoval(key, removed, notificationRemoved = true) in onNotificationRemoved()
1446 logger.logMediaRemoved(removed.appUid, removed.packageName, removed.instanceId) in onNotificationRemoved()
1474 removed: MediaData, in handlePossibleRemoval()
1477 val hasSession = removed.token != null in handlePossibleRemoval()
1478 if (hasSession && removed.semanticActions != null) { in handlePossibleRemoval()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DForegroundServicesUserState.java86 boolean removed = false; in removeNotification()
87 removed |= removeImportantNotification(pkg, key); in removeNotification()
88 removed |= removeStandardLayoutNotification(pkg, key); in removeNotification()
89 return removed; in removeNotification()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/wallpaper/
DLocalColorRepositoryTest.java93 List<RectF> removed = mRepo.removeAreas(mCallback1, asList(area1), 0); in testAddAndRemoveAreas() local
94 assertEquals(new ArraySet(asList(area1)), new ArraySet(removed)); in testAddAndRemoveAreas()
96 removed = mRepo.removeAreas(mCallback1, asList(area2), 0); in testAddAndRemoveAreas()
97 assertEquals(new ArraySet(), new ArraySet(removed)); in testAddAndRemoveAreas()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/
DControlStatus.kt30 val removed: Boolean constant
40 override val removed: Boolean = false constant in com.android.systemui.controls.ControlStatus
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssGeofenceProxy.java90 boolean removed = mGnssNative.removeGeofence(geofenceId); in removeHardwareGeofence()
91 if (removed) { in removeHardwareGeofence()
94 return removed; in removeHardwareGeofence()
/frameworks/base/cmds/uiautomator/
DAndroid.bp25 name: "uiautomator-removed-api",
26 srcs: ["api/removed.txt"],
/frameworks/base/core/java/android/hardware/radio/
DProgramList.java212 RadioManager.ProgramInfo>> removed = programsIterator.next(); in apply() local
213 if (removed.getValue() != null) { in apply()
214 removedList.add(removed.getKey()); in apply()
275 RadioManager.ProgramInfo removed = entries.remove(Objects.requireNonNull(key)); in removeLocked() local
276 if (removed == null) return; in removeLocked()
526 @Nullable Set<UniqueProgramIdentifier> removed) { in Chunk() argument
530 mRemoved = (removed != null) ? removed : Collections.emptySet(); in Chunk()
/frameworks/base/tests/UsageReportingTest/src/com/android/tests/usagereporter/
DUsageReporterActivity.java74 ArrayList<String> removed = null; in onStart() local
80 if (removed == null) { in onStart()
81 removed = new ArrayList(); in onStart()
83 removed.add(token); in onStart()
86 if (removed != null) { in onStart()
87 for (String token : removed) { in onStart()
/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/
DClientControllerTest.java137 final var removed = callback.waitForRemovedClient(5, TimeUnit.SECONDS); in testRemoveClient() local
138 assertThat(removed).isSameInstanceAs(added); in testRemoveClient()
174 public void onClientRemoved(ClientState removed) { in onClientRemoved() argument
175 mRemoved = removed; in onClientRemoved()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DAllModel.kt132 val removed = map.remove(key) in <lambda>() constant
133 if (removed != null) { in <lambda>()
136 return removed in <lambda>()
/frameworks/base/media/java/android/mtp/
DMtpStorageManager.java677 private synchronized boolean removeObjectFromCache(MtpObject removed, boolean removeGlobal, in removeObjectFromCache() argument
679 boolean ret = removed.isRoot() in removeObjectFromCache()
680 || removed.getParent().mChildren.remove(removed.getName(), removed); in removeObjectFromCache()
682 Log.w(TAG, "Failed to remove from parent " + removed.getPath()); in removeObjectFromCache()
683 if (removed.isRoot()) { in removeObjectFromCache()
684 ret = mRoots.remove(removed.getId(), removed) && ret; in removeObjectFromCache()
686 ret = mObjects.remove(removed.getId(), removed) && ret; in removeObjectFromCache()
689 Log.w(TAG, "Failed to remove from global cache " + removed.getPath()); in removeObjectFromCache()
690 if (removed.getObserver() != null) { in removeObjectFromCache()
691 removed.getObserver().stopWatching(); in removeObjectFromCache()
[all …]

123456789