Searched refs:OP_SCHEDULE_EXACT_ALARM (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/permission/java/com/android/server/permission/access/appop/ |
D | AppIdAppOpUpgrade.kt | 42 val permissionName = AppOpsManager.opToPermission(AppOpsManager.OP_SCHEDULE_EXACT_ALARM) in MutateStateScope() 52 AppOpsManager.opToDefaultMode(AppOpsManager.OP_SCHEDULE_EXACT_ALARM) in MutateStateScope()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/ |
D | AppOpsUpgradeTest.java | 19 import static android.app.AppOpsManager.OP_SCHEDULE_EXACT_ALARM; 250 AppOpsManager.opToPermission(OP_SCHEDULE_EXACT_ALARM)); in upgradeScheduleExactAlarm() 271 final int previousMode = getModeInFile(uid, OP_SCHEDULE_EXACT_ALARM); in upgradeScheduleExactAlarm() 274 if (previousMode == AppOpsManager.opToDefaultMode(OP_SCHEDULE_EXACT_ALARM)) { in upgradeScheduleExactAlarm() 281 uid, PERSISTENT_DEVICE_ID_DEFAULT, OP_SCHEDULE_EXACT_ALARM); in upgradeScheduleExactAlarm() 292 uid, PERSISTENT_DEVICE_ID_DEFAULT, OP_SCHEDULE_EXACT_ALARM); in upgradeScheduleExactAlarm() 293 assertEquals(AppOpsManager.opToDefaultMode(OP_SCHEDULE_EXACT_ALARM), mode); in upgradeScheduleExactAlarm()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsCheckingServiceImpl.java | 21 import static android.app.AppOpsManager.OP_SCHEDULE_EXACT_ALARM; 604 AppOpsManager.opToPermission(OP_SCHEDULE_EXACT_ALARM)); in upgradeScheduleExactAlarmLocked() 614 OP_SCHEDULE_EXACT_ALARM); in upgradeScheduleExactAlarmLocked() 615 if (oldMode == AppOpsManager.opToDefaultMode(OP_SCHEDULE_EXACT_ALARM)) { in upgradeScheduleExactAlarmLocked() 619 OP_SCHEDULE_EXACT_ALARM, in upgradeScheduleExactAlarmLocked()
|
/frameworks/native/libs/permission/include/binder/ |
D | AppOpsManager.h | 141 OP_SCHEDULE_EXACT_ALARM = 107, enumerator
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/ |
D | AlarmManagerServiceTest.java | 39 import static android.app.AppOpsManager.OP_SCHEDULE_EXACT_ALARM; 576 verify(mIAppOpsService).startWatchingMode(eq(OP_SCHEDULE_EXACT_ALARM), in setUp() 2453 when(mAppOpsManager.checkOpNoThrow(OP_SCHEDULE_EXACT_ALARM, TEST_CALLING_UID, 2986 mIAppOpsCallback.opChanged(OP_SCHEDULE_EXACT_ALARM, TEST_CALLING_UID, TEST_CALLING_PACKAGE, 3000 mIAppOpsCallback.opChanged(OP_SCHEDULE_EXACT_ALARM, TEST_CALLING_UID, TEST_CALLING_PACKAGE, 3016 mIAppOpsCallback.opChanged(OP_SCHEDULE_EXACT_ALARM, TEST_CALLING_UID, TEST_CALLING_PACKAGE, 3168 when(mAppOpsManager.checkOpNoThrow(OP_SCHEDULE_EXACT_ALARM, uid,
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/ |
D | AlarmManagerService.java | 1970 final int mode = mAppOps.checkOpNoThrow(AppOpsManager.OP_SCHEDULE_EXACT_ALARM, in onUserStarting() 2005 iAppOpsService.startWatchingMode(AppOpsManager.OP_SCHEDULE_EXACT_ALARM, null, in onBootPhase() 2011 if (op != AppOpsManager.OP_SCHEDULE_EXACT_ALARM in onBootPhase() 2024 AppOpsManager.OP_SCHEDULE_EXACT_ALARM, uid, packageName); in onBootPhase() 2031 AppOpsManager.OP_SCHEDULE_EXACT_ALARM); in onBootPhase() 2668 final int mode = mAppOps.checkOpNoThrow(AppOpsManager.OP_SCHEDULE_EXACT_ALARM, uid, in hasScheduleExactAlarmInternal()
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 1287 public static final int OP_SCHEDULE_EXACT_ALARM = AppProtoEnums.APP_OP_SCHEDULE_EXACT_ALARM; field in AppOpsManager 2604 OP_SCHEDULE_EXACT_ALARM, 2950 new AppOpInfo.Builder(OP_SCHEDULE_EXACT_ALARM, OPSTR_SCHEDULE_EXACT_ALARM,
|