Searched refs:mPowerExemptionManager (Results 1 – 4 of 4) sorted by relevance
52 private PowerExemptionManager mPowerExemptionManager; field in AppStateAlarmsAndRemindersBridgeTest133 bridge.mPowerExemptionManager = mPowerExemptionManager; in createPermissionState_SeaGrantedNoUeaNoAllowlist()139 doReturn(false).when(mPowerExemptionManager).isAllowListed(TEST_PACKAGE, true); in createPermissionState_SeaGrantedNoUeaNoAllowlist()153 bridge.mPowerExemptionManager = mPowerExemptionManager; in createPermissionState_requestsBothSeaDeniedNoAllowlist()161 doReturn(false).when(mPowerExemptionManager).isAllowListed(TEST_PACKAGE, true); in createPermissionState_requestsBothSeaDeniedNoAllowlist()175 bridge.mPowerExemptionManager = mPowerExemptionManager; in createPermissionState_requestsNoneNoAllowlist()181 doReturn(false).when(mPowerExemptionManager).isAllowListed(TEST_PACKAGE, true); in createPermissionState_requestsNoneNoAllowlist()195 bridge.mPowerExemptionManager = mPowerExemptionManager; in createPermissionState_requestsOnlyUeaNoAllowlist()201 doReturn(false).when(mPowerExemptionManager).isAllowListed(TEST_PACKAGE, true); in createPermissionState_requestsOnlyUeaNoAllowlist()215 bridge.mPowerExemptionManager = mPowerExemptionManager; in createPermissionState_requestsNoneButAllowlisted()[all …]
50 PowerExemptionManager mPowerExemptionManager; field in AppStateAlarmsAndRemindersBridge58 mPowerExemptionManager = context.getSystemService(PowerExemptionManager.class); in AppStateAlarmsAndRemindersBridge()99 final boolean allowListed = mPowerExemptionManager.isAllowListed(packageName, true); in createPermissionState()
81 private final PowerExemptionManager mPowerExemptionManager; field in TvMediaOutputDialogActivity109 mPowerExemptionManager = powerExemptionManager; in TvMediaOutputDialogActivity()131 mAudioManager, mPowerExemptionManager, mKeyguardManager, mFeatureFlags, in onCreate()
127 private PowerExemptionManager mPowerExemptionManager; field in DeviceLockServiceImplTest141 mPowerExemptionManager); in setup() local