/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() 73 ZenAccessController.logSpecialPermissionChange(true, "app", mContext); in logSpecialPermissionChange() 78 ZenAccessController.logSpecialPermissionChange(false, "app", mContext); in logSpecialPermissionChange() 90 assertThat(ZenAccessController.hasAccess(mContext, TEST_PKG)).isTrue(); in hasAccess_granted_yes() 96 assertThat(ZenAccessController.hasAccess(mContext, TEST_PKG)).isFalse(); in hasAccess_notGranted_no()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/zenaccess/ |
D | ZenAccessDetails.java | 53 if (!ZenAccessController.isSupported(context.getSystemService(ActivityManager.class))) { in refreshUi() 58 ZenAccessController.getPackagesRequestingNotificationPolicyAccess(); in refreshUi() 73 final Set<String> autoApproved = ZenAccessController.getAutoApprovedPackages(context); in updatePreference() 80 preference.setChecked(ZenAccessController.hasAccess(context, mPackageName)); in updatePreference()
|
D | ZenAccessSettingObserverMixin.java | 56 if (!ZenAccessController.isSupported(mContext.getSystemService(ActivityManager.class))) { in onStart() 72 if (!ZenAccessController.isSupported(mContext.getSystemService(ActivityManager.class))) { in onStop()
|
D | FriendlyWarningDialogFragment.java | 67 ZenAccessController.deleteRules(getContext(), pkg); in onCreateDialog() 68 ZenAccessController.setAccess(getContext(), pkg, false); in onCreateDialog()
|
D | ZenAccessController.java | 39 public class ZenAccessController extends BasePreferenceController { class 45 public ZenAccessController(Context context, String preferenceKey) { in ZenAccessController() method in ZenAccessController
|
D | ScaryWarningDialogFragment.java | 66 (dialog, id) -> ZenAccessController.setAccess(getContext(), pkg, true)) in onCreateDialog()
|
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/zenaccess/ |
D | ZenAccessDetails.java | 53 if (!ZenAccessController.isSupported(context.getSystemService(ActivityManager.class))) { in refreshUi() 58 ZenAccessController.getPackagesRequestingNotificationPolicyAccess(); in refreshUi() 73 final Set<String> autoApproved = ZenAccessController.getAutoApprovedPackages(context); in updatePreference() 80 preference.setChecked(ZenAccessController.hasAccess(context, mPackageName)); in updatePreference()
|
D | ZenAccessSettingObserverMixin.java | 56 if (!ZenAccessController.isSupported(mContext.getSystemService(ActivityManager.class))) { in onStart() 72 if (!ZenAccessController.isSupported(mContext.getSystemService(ActivityManager.class))) { in onStop()
|
D | FriendlyWarningDialogFragment.java | 67 ZenAccessController.deleteRules(getContext(), pkg); in onCreateDialog() 68 ZenAccessController.setAccess(getContext(), pkg, false); in onCreateDialog()
|
D | ZenAccessController.java | 39 public class ZenAccessController extends BasePreferenceController { class 45 public ZenAccessController(Context context, String preferenceKey) { in ZenAccessController() method in ZenAccessController
|
D | ScaryWarningDialogFragment.java | 66 (dialog, id) -> ZenAccessController.setAccess(getContext(), pkg, true)) in onCreateDialog()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | ZenAccessSettings.java | 36 import com.android.settings.applications.specialaccess.zenaccess.ZenAccessController; 106 ZenAccessController.getPackagesRequestingNotificationPolicyAccess(); in reloadList() 157 final boolean enabled = ZenAccessController.hasAccess(getContext(), packageName); in getPreferenceSummary()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | ZenAccessSettings.java | 36 import com.android.car.developeroptions.applications.specialaccess.zenaccess.ZenAccessController; 106 ZenAccessController.getPackagesRequestingNotificationPolicyAccess(); in reloadList() 157 final boolean enabled = ZenAccessController.hasAccess(getContext(), packageName); in getPreferenceSummary()
|