Searched refs:mShadowAppOpsManager (Results 1 – 1 of 1) sorted by relevance
117 private ShadowAppOpsManager mShadowAppOpsManager; field in DeviceLockServiceImplTest159 mShadowAppOpsManager = shadowOf(mContext.getSystemService(AppOpsManager.class)); in setup()239 final int opMode = mShadowAppOpsManager.unsafeCheckOpNoThrow( in setCallerAllowedToSendUndismissibleNotifications_trueAllowsAppOp()255 final int opMode = mShadowAppOpsManager.unsafeCheckOpNoThrow( in setCallerAllowedToSendUndismissibleNotifications_falseDisallowsAppOp()271 final int opMode = mShadowAppOpsManager.unsafeCheckOpNoThrow( in setCallerExemptFromActivityBgStartRestrictionState_trueAllowsAppOp()287 final int opMode = mShadowAppOpsManager.unsafeCheckOpNoThrow( in setCallerExemptFromActivityBgStartRestrictionState_falseDisallowsAppOp()303 final int hibernationOpMode = mShadowAppOpsManager.unsafeCheckOpNoThrow( in setUidExemptFromRestrictionsState_trueAllowsAppOps()308 final int powerOpMode = mShadowAppOpsManager.unsafeCheckOpNoThrow( in setUidExemptFromRestrictionsState_trueAllowsAppOps()324 final int hibernationOpMode = mShadowAppOpsManager.unsafeCheckOpNoThrow( in setUidExemptFromRestrictionsState_falseDisallowsAppOps()329 final int powerOpMode = mShadowAppOpsManager.unsafeCheckOpNoThrow( in setUidExemptFromRestrictionsState_falseDisallowsAppOps()