/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/ |
D | EnhancedConfirmationManagerTest.kt | 22 import android.app.ecm.EnhancedConfirmationManager 56 private val ecm by lazy { context.getSystemService(EnhancedConfirmationManager::class.java)!! } in <lambda>() constant 92 eventually { assertFalse(ecm.isRestricted(APP_PACKAGE_NAME, PROTECTED_SETTING)) } in givenStoreAppThenIsNotRestrictedFromProtectedSetting() 101 eventually { assertTrue(ecm.isRestricted(APP_PACKAGE_NAME, PROTECTED_SETTING)) } in givenLocalAppThenIsRestrictedFromProtectedSetting() 110 eventually { assertTrue(ecm.isRestricted(APP_PACKAGE_NAME, PROTECTED_SETTING)) } in givenDownloadedThenAppIsRestrictedFromProtectedSetting() 127 eventually { assertFalse(ecm.isRestricted(APP_PACKAGE_NAME, PROTECTED_SETTING)) } in givenExplicitlyRestrictedAppThenIsRestrictedFromProtectedSetting() 129 eventually { assertTrue(ecm.isRestricted(APP_PACKAGE_NAME, PROTECTED_SETTING)) } in givenExplicitlyRestrictedAppThenIsRestrictedFromProtectedSetting() 138 eventually { assertFalse(ecm.isRestricted(APP_PACKAGE_NAME, NON_PROTECTED_SETTING)) } in givenRestrictedAppThenIsNotRestrictedFromNonProtectedSetting() 147 eventually { assertFalse(ecm.isClearRestrictionAllowed(APP_PACKAGE_NAME)) } in givenRestrictedAppThenClearRestrictionNotAllowedByDefault() 156 eventually { assertTrue(ecm.isRestricted(APP_PACKAGE_NAME, PROTECTED_SETTING)) } in givenRestrictedAppWhenClearRestrictionThenNotRestrictedFromProtectedSetting() [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/ecm/ |
D | EnhancedConfirmationStatsLogUtils.kt | 17 package com.android.permissioncontroller.ecm 21 import android.app.ecm.EnhancedConfirmationManager 117 val ecm = userContext.getSystemService(EnhancedConfirmationManager::class.java) in isPackageEcmRestricted() constant 120 ecm?.isRestricted(packageName, arbitrarilyChosenRestrictedSetting) ?: false in isPackageEcmRestricted()
|
D | EnhancedConfirmationDialogActivity.kt | 17 package com.android.permissioncontroller.ecm in <lambda>() 22 import android.app.ecm.EnhancedConfirmationManager in <lambda>() 44 import com.android.permissioncontroller.ecm.EnhancedConfirmationStatsLogUtils.DialogResult in <lambda>() 98 val ecm = Utils.getSystemServiceSafe(userContext, EnhancedConfirmationManager::class.java) in <lambda>() constant 100 val wasClearRestrictionAllowed = ecm.isClearRestrictionAllowed(packageName) in <lambda>() 101 ecm.setClearRestrictionAllowed(packageName) in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/ |
D | GrantPermissionsActivity.java | 46 import android.app.ecm.EnhancedConfirmationManager; 86 import com.android.permissioncontroller.ecm.EnhancedConfirmationStatsLogUtils; 490 EnhancedConfirmationManager ecm = Utils.getSystemServiceSafe(userContext, in blockRestrictedPermissions() local 514 if (requestedPermGroup != null && isPermissionEcmRestricted(ecm, in blockRestrictedPermissions() 525 if (!restrictedPermGroups.isEmpty() && wasEcmDialogAlreadyShown(ecm, mTargetPackage)) { in blockRestrictedPermissions() 542 Intent intent = ecm.createRestrictedSettingDialogIntent(mTargetPackage, in blockRestrictedPermissions() 566 private boolean isPermissionEcmRestricted(EnhancedConfirmationManager ecm, in isPermissionEcmRestricted() argument 569 return ecm.isRestricted(packageName, requestedPermission); in isPermissionEcmRestricted() 576 private boolean wasEcmDialogAlreadyShown(EnhancedConfirmationManager ecm, in wasEcmDialogAlreadyShown() argument 579 return ecm.isClearRestrictionAllowed(packageName); in wasEcmDialogAlreadyShown()
|
/packages/modules/Permission/service/java/com/android/ecm/ |
D | EnhancedConfirmationService.java | 17 package com.android.ecm; 24 import android.app.ecm.EnhancedConfirmationManager; 25 import android.app.ecm.IEnhancedConfirmationManager;
|
D | EnhancedConfirmationStatsLogUtils.kt | 17 package com.android.ecm
|
/packages/modules/Permission/framework-s/java/android/app/ecm/ |
D | IEnhancedConfirmationManager.aidl | 17 package android.app.ecm;
|
D | EnhancedConfirmationFrameworkInitializer.java | 17 package android.app.ecm;
|
D | EnhancedConfirmationManager.java | 17 package android.app.ecm;
|
/packages/modules/Permission/framework-s/api/ |
D | module-lib-current.txt | 2 package android.app.ecm {
|
D | system-current.txt | 2 package android.app.ecm { 10 …field public static final String ACTION_SHOW_ECM_RESTRICTED_SETTING_DIALOG = "android.app.ecm.acti…
|
/packages/modules/Permission/framework-s/ |
D | Android.bp | 102 "android.app.ecm",
|
/packages/modules/Permission/ |
D | Android.bp | 112 "android.app.ecm",
|
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/ |
D | AppInfoSettingsMoreOptions.kt | 20 import android.app.ecm.EnhancedConfirmationManager
|
/packages/modules/Permission/service/ |
D | Android.bp | 140 "com.android.ecm",
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/ |
D | AutoRevokePermissions.kt | 34 import com.android.permissioncontroller.ecm.EnhancedConfirmationStatsLogUtils in <lambda>()
|
D | PermissionControllerServiceImpl.java | 60 import com.android.permissioncontroller.ecm.EnhancedConfirmationStatsLogUtils;
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/ |
D | AppInfoSettingsMoreOptionsTest.kt | 22 import android.app.ecm.EnhancedConfirmationManager
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | AppInfoDashboardFragmentTest.java | 38 import android.app.ecm.EnhancedConfirmationManager;
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | AppInfoDashboardFragment.java | 27 import android.app.ecm.EnhancedConfirmationManager;
|
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/model/ |
D | Role.java | 21 import android.app.ecm.EnhancedConfirmationManager;
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/ |
D | GrantPermissionsViewModel.kt | 71 import com.android.permissioncontroller.ecm.EnhancedConfirmationStatsLogUtils in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | Utils.java | 57 import android.app.ecm.EnhancedConfirmationManager;
|