Home
last modified time | relevance | path

Searched refs:settingIdentifier (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/ecm/
DEnhancedConfirmationDialogActivity.kt74 val settingIdentifier = intent.getStringExtra(Intent.EXTRA_SUBJECT) in <lambda>() constant
79 require(!settingIdentifier.isNullOrEmpty()) { "EXTRA_SUBJECT cannot be null or empty" } in <lambda>()
84 val setting = Setting.fromIdentifier(this, settingIdentifier, isEcmInApp) in <lambda>()
112 settingIdentifier: String, in <lambda>()
115 val settingType = SettingType.fromIdentifier(context, settingIdentifier, isEcmInApp) in <lambda>()
121 PermissionMapping.getGroupOfPlatformPermission(settingIdentifier)!! in <lambda>()
124 KotlinUtils.getPermGroupLabel(context, settingIdentifier) in <lambda>()
127 Roles.get(context)[settingIdentifier]!!.shortLabelResource in <lambda>()
163 settingIdentifier: String, in <lambda>()
168 PermissionMapping.isRuntimePlatformPermission(settingIdentifier) && in <lambda>()
[all …]
DEnhancedConfirmationStatsLogUtils.kt69 fun fromIdentifier(settingIdentifier: String): SettingType = in fromIdentifier()
71 settingIdentifier.startsWith("android:") -> Appop in fromIdentifier()
72 settingIdentifier.startsWith("android.permission.") -> Permission in fromIdentifier()
73 settingIdentifier.startsWith("android.permission-group.") -> Permission in fromIdentifier()
74 settingIdentifier.startsWith("android.app.role.") -> Role in fromIdentifier()
82 settingIdentifier: String, in logDialogResultReported()
89 val settingType = SettingType.fromIdentifier(settingIdentifier) in logDialogResultReported()
95 "settingIdentifier='$settingIdentifier', " + in logDialogResultReported()
104 settingIdentifier, in logDialogResultReported()
/packages/modules/Permission/framework-s/java/android/app/ecm/
DEnhancedConfirmationManager.java252 public boolean isRestricted(@NonNull String packageName, @NonNull String settingIdentifier) in isRestricted() argument
255 return mService.isRestricted(packageName, settingIdentifier, in isRestricted()
344 @NonNull String settingIdentifier) throws NameNotFoundException { in createRestrictedSettingDialogIntent() argument
348 intent.putExtra(Intent.EXTRA_SUBJECT, settingIdentifier); in createRestrictedSettingDialogIntent()
DIEnhancedConfirmationManager.aidl26 boolean isRestricted(in String packageName, in String settingIdentifier, int userId); in isRestricted() argument
/packages/modules/Permission/service/java/com/android/ecm/
DEnhancedConfirmationService.java153 public boolean isRestricted(@NonNull String packageName, @NonNull String settingIdentifier, in isRestricted() argument
162 Preconditions.checkStringNotEmpty(settingIdentifier, in isRestricted()
166 return isSettingEcmProtected(settingIdentifier) && isPackageEcmGuarded(packageName, in isRestricted()
349 private boolean isSettingEcmProtected(@NonNull String settingIdentifier) { in isSettingEcmProtected() argument
356 if (PROTECTED_SETTINGS.contains(settingIdentifier)) { in isSettingEcmProtected()
/packages/apps/Settings/src/com/android/settings/widget/
DRestrictedAppPreference.java135 public void checkEcmRestrictionAndSetDisabled(@NonNull String settingIdentifier, in checkEcmRestrictionAndSetDisabled() argument
137 mHelper.checkEcmRestrictionAndSetDisabled(settingIdentifier, packageName); in checkEcmRestrictionAndSetDisabled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowRestrictedLockUtilsInternal.java124 @NonNull String settingIdentifier, @NonNull String packageName) { in checkIfRequiresEnhancedConfirmation() argument
134 @NonNull String settingIdentifier, @NonNull String packageName) { in isEnhancedConfirmationRestricted() argument
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/notificationaccess/
DApprovalPreferenceController.java81 public ApprovalPreferenceController setSettingIdentifier(@NonNull String settingIdentifier) { in setSettingIdentifier() argument
82 mSettingIdentifier = settingIdentifier; in setSettingIdentifier()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DUtils.java1652 @Nullable String settingIdentifier) { in getApplicationEnhancedConfirmationRestrictedIntentAsUser() argument
1657 if (packageName == null || settingIdentifier == null) return null; in getApplicationEnhancedConfirmationRestrictedIntentAsUser()
1660 settingIdentifier); in getApplicationEnhancedConfirmationRestrictedIntentAsUser()
1663 packageName, settingIdentifier); in getApplicationEnhancedConfirmationRestrictedIntentAsUser()