Searched refs:mDynamicDenylistManager (Results 1 – 2 of 2) sorted by relevance
69 private DynamicDenylistManager mDynamicDenylistManager; field in DynamicDenylistManagerTest83 mDynamicDenylistManager.clearSharedPreferences(); in tearDown()126 mDynamicDenylistManager.updateDenylistPref(FAKE_UID_1_INT, in updateManualDenylist_policyReject_addsUid()138 mDynamicDenylistManager.updateDenylistPref(FAKE_UID_1_INT, POLICY_NONE); in updateManualDenylist_policyNone_removesUid()150 mDynamicDenylistManager.updateDenylistPref(FAKE_UID_1_INT, in updateManualDenylist_samePolicy_doNothing()160 mDynamicDenylistManager.setUidPolicyLocked(FAKE_UID_1_INT, in setUidPolicyLocked_invokeSetUidPolicy()243 assertFalse(mDynamicDenylistManager.isInManualDenylist(FAKE_UID_1_INT)); in isInManualDenylist_returnsFalse()252 assertFalse(mDynamicDenylistManager.isInManualDenylist(FAKE_UID_1_INT)); in isInManualDenylist_incorrectUid_returnsFalse()261 assertTrue(mDynamicDenylistManager.isInManualDenylist(FAKE_UID_1_INT)); in isInManualDenylist_initiated_returnsTrue()268 mDynamicDenylistManager.resetDenylistIfNeeded(null, false); in resetDenylistIfNeeded_nullPackageName_doNothing()[all …]
43 private final DynamicDenylistManager mDynamicDenylistManager; field in DataSaverBackend55 mDynamicDenylistManager = DynamicDenylistManager.getInstance(mContext); in DataSaverBackend()89 mDynamicDenylistManager.setUidPolicyLocked(uid, policy); in setIsAllowlisted()119 mDynamicDenylistManager.setUidPolicyLocked(uid, policy); in setIsDenylisted()130 && mDynamicDenylistManager.isInManualDenylist(uid); in isDenylisted()