Searched refs:AppOpItem (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/ |
D | AppOpsControllerImpl.java | 66 private final List<AppOpItem> mActiveItems = new ArrayList<>(); 68 private final List<AppOpItem> mNotedItems = new ArrayList<>(); 158 private AppOpItem getAppOpItem(List<AppOpItem> appOpList, int code, int uid, in getAppOpItem() 162 AppOpItem item = appOpList.get(i); in getAppOpItem() 173 AppOpItem item = getAppOpItem(mActiveItems, code, uid, packageName); in updateActives() 175 item = new AppOpItem(code, uid, packageName, System.currentTimeMillis()); in updateActives() 189 AppOpItem item; in removeNoted() 207 AppOpItem item; in addNoted() 212 item = new AppOpItem(code, uid, packageName, System.currentTimeMillis()); in addNoted() 229 public List<AppOpItem> getActiveAppOps() { in getActiveAppOps() [all …]
|
D | AppOpsController.java | 63 List<AppOpItem> getActiveAppOps(); in getActiveAppOps() 73 List<AppOpItem> getActiveAppOpsForUser(int userId); in getActiveAppOpsForUser()
|
D | AppOpItem.java | 22 public class AppOpItem { class 30 public AppOpItem(int code, int uid, String packageName, long timeStarted) { in AppOpItem() method in AppOpItem
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/ |
D | AppOpsControllerTest.java | 179 verify(mMockHandler).scheduleRemoval(any(AppOpItem.class), anyLong()); in opNotedScheduledForRemoval() 211 List<AppOpItem> list = mController.getActiveAppOps(); in noDoubleUpdateOnOpNoted() 233 public void scheduleRemoval(AppOpItem item, long timeToRemoval) { in testActiveOpNotRemovedAfterNoted() 248 List<AppOpItem> list = mController.getActiveAppOps(); in testActiveOpNotRemovedAfterNoted() 276 List<AppOpItem> list = mController.getActiveAppOps(); in testNotedNotRemovedAfterActive()
|