Searched refs:ZenAccessController (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/specialaccess/zenaccess/ |
D | ZenAccessControllerTest.java | 48 private ZenAccessController mController; 56 mController = new ZenAccessController(mContext, "key"); in setUp() 67 ZenAccessController.logSpecialPermissionChange(true, "app", mContext); in logSpecialPermissionChange() 72 ZenAccessController.logSpecialPermissionChange(false, "app", mContext); in logSpecialPermissionChange() 84 assertThat(ZenAccessController.hasAccess(mContext, TEST_PKG)).isTrue(); in hasAccess_granted_yes() 90 assertThat(ZenAccessController.hasAccess(mContext, TEST_PKG)).isFalse(); in hasAccess_notGranted_no()
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenAccessSettings.java | 38 import com.android.settings.applications.specialaccess.zenaccess.ZenAccessController; 108 ZenAccessController.getPackagesRequestingNotificationPolicyAccess(); in reloadList() 121 autoApproved.addAll(ZenAccessController.getPackagesWithManageNotifications()); in reloadList() 159 final boolean enabled = ZenAccessController.hasAccess(getContext(), packageName); in getPreferenceSummary()
|
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/zenaccess/ |
D | ZenAccessDetails.java | 55 ZenAccessController.getPackagesRequestingNotificationPolicyAccess(); in refreshUi() 70 final Set<String> autoApproved = ZenAccessController.getAutoApprovedPackages(context); in updatePreference() 77 preference.setChecked(ZenAccessController.hasAccess(context, mPackageName)); in updatePreference()
|
D | FriendlyWarningDialogFragment.java | 72 ZenAccessController.deleteRules(getContext(), pkg); in onCreateDialog() 73 ZenAccessController.setAccess(getContext(), pkg, false); in onCreateDialog()
|
D | ZenAccessController.java | 39 public class ZenAccessController extends BasePreferenceController { class 43 public ZenAccessController(Context context, String preferenceKey) { in ZenAccessController() method in ZenAccessController
|
D | ScaryWarningDialogFragment.java | 71 ZenAccessController.setAccess(getContext(), pkg, true); in onCreateDialog()
|