Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DAppOpsCoordinatorTest.java250 entry1.mActiveAppOps); in testAppOpsUpdateOnlyAppliedToRelevantNotificationWithStandardLayout()
253 entry2.mActiveAppOps); in testAppOpsUpdateOnlyAppliedToRelevantNotificationWithStandardLayout()
256 entry3_diffUser.mActiveAppOps); in testAppOpsUpdateOnlyAppliedToRelevantNotificationWithStandardLayout()
289 entry1.mActiveAppOps); in testAppOpsUpdateAppliedToAllNotificationsWithStandardLayouts()
292 entry2.mActiveAppOps); in testAppOpsUpdateAppliedToAllNotificationsWithStandardLayouts()
295 entry3.mActiveAppOps); in testAppOpsUpdateAppliedToAllNotificationsWithStandardLayouts()
316 entry.mActiveAppOps); in testAppOpsAreRemoved()
325 entry.mActiveAppOps); in testAppOpsAreRemoved()
336 entry.mActiveAppOps.clear(); in testNullAppOps()
337 entry.mActiveAppOps.addAll(List.of(47, 33)); in testNullAppOps()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DAppOpsCoordinator.java200 entry.mActiveAppOps.clear();
202 entry.mActiveAppOps.addAll(activeOps);
235 changed |= entry.mActiveAppOps.add(code); in handleAppOpsChanged()
237 changed |= entry.mActiveAppOps.remove(code); in handleAppOpsChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DForegroundServiceNotificationListener.java188 synchronized (entry.mActiveAppOps) { in tagAppOps()
189 entry.mActiveAppOps.clear(); in tagAppOps()
191 entry.mActiveAppOps.addAll(activeOps); in tagAppOps()
DForegroundServiceController.java155 synchronized (entry.mActiveAppOps) { in onAppOpChanged()
157 changed |= entry.mActiveAppOps.add(appOpCode); in onAppOpChanged()
159 changed |= entry.mActiveAppOps.remove(appOpCode); in onAppOpChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DForegroundServiceControllerTest.java126 assertFalse(entry.mActiveAppOps.contains(AppOpsManager.OP_CAMERA)); in testAppOps_appOpChangedBeforeNotificationExists()
132 Assert.assertTrue(entry.mActiveAppOps.contains(AppOpsManager.OP_CAMERA)); in testAppOps_appOpChangedBeforeNotificationExists()
149 Assert.assertTrue(entry.mActiveAppOps.contains(AppOpsManager.OP_CAMERA)); in testAppOps_appOpAddedToForegroundNotif()
159 entry.mActiveAppOps.add(AppOpsManager.OP_CAMERA); in testAppOpsAlreadyAdded()
170 Assert.assertTrue(entry.mActiveAppOps.contains(AppOpsManager.OP_CAMERA)); in testAppOpsAlreadyAdded()
190 Assert.assertFalse(entry.mActiveAppOps.contains(AppOpsManager.OP_CAMERA)); in testAppOps_appOpNotAddedToUnrelatedNotif()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManager.java329 if (!row.getEntry().mActiveAppOps.isEmpty()) { in initializeAppOpsInfo()
331 row.getEntry().mActiveAppOps); in initializeAppOpsInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationViewHierarchyManager.java489 row.showAppOpsIcons(entry.mActiveAppOps); in updateRowStatesInternal()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationEntry.java152 public final ArraySet<Integer> mActiveAppOps = new ArraySet<>(3); field in NotificationEntry