Home
last modified time | relevance | path

Searched refs:mDynamicDenylistManager (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/datasaver/
DDynamicDenylistManagerTest.java69 private DynamicDenylistManager mDynamicDenylistManager; field in DynamicDenylistManagerTest
83 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 …]
/packages/apps/Settings/src/com/android/settings/datausage/
DDataSaverBackend.java43 private final DynamicDenylistManager mDynamicDenylistManager; field in DataSaverBackend
55 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()