Home
last modified time | relevance | path

Searched refs:getAppOps (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DForegroundServiceControllerTest.java76 assertNull(mFsc.getAppOps(0, "pkg1")); in testAppOpsCRUD()
83 assertEquals(1, mFsc.getAppOps(0, "pkg1").size()); in testAppOpsCRUD()
84 assertTrue(mFsc.getAppOps(0, "pkg1").contains(8)); in testAppOpsCRUD()
86 assertEquals(1, mFsc.getAppOps(UserHandle.getUserId(500000), "pkg2").size()); in testAppOpsCRUD()
87 assertTrue(mFsc.getAppOps(UserHandle.getUserId(500000), "pkg2").contains(7)); in testAppOpsCRUD()
89 assertEquals(1, mFsc.getAppOps(0, "pkg3").size()); in testAppOpsCRUD()
90 assertTrue(mFsc.getAppOps(0, "pkg3").contains(1)); in testAppOpsCRUD()
96 assertEquals(3, mFsc.getAppOps(0, "pkg1").size()); in testAppOpsCRUD()
97 assertTrue(mFsc.getAppOps(0, "pkg1").contains(8)); in testAppOpsCRUD()
98 assertTrue(mFsc.getAppOps(0, "pkg1").contains(9)); in testAppOpsCRUD()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationListControllerTest.java163 when(mForegroundServiceController.getAppOps(entry.notification.getUserId(), in testAppOps_addNotificationWithExistingAppOps()
185 when(mForegroundServiceController.getAppOps(entry.notification.getUserId(), in testAdd_addNotificationWithNoExistingAppOps()
204 when(mForegroundServiceController.getAppOps(entry.notification.getUserId(), in testAdd_addNonForegroundNotificationWithExistingAppOps()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationListController.java91 mForegroundServiceController.getAppOps( in tagForeground()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DForegroundServiceController.java82 public ArraySet<Integer> getAppOps(int userId, String pkg) { in getAppOps() method in ForegroundServiceController