/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/grantPermissions/ |
D | StorageGrantBehavior.kt | 25 import com.android.permissioncontroller.permission.model.livedatatypes.LightAppPermGroup 39 group: LightAppPermGroup, in getPrompt() 81 group: LightAppPermGroup, in getDenyButton() 92 group: LightAppPermGroup, in isGroupFullyGranted() 104 override fun isPermissionFixed(group: LightAppPermGroup, perm: String): Boolean { in isPermissionFixed() 118 private fun appSupportsSplitStoragePermissions(group: LightAppPermGroup) = in appSupportsSplitStoragePermissions() 121 private fun shouldShowPhotoPickerPromptForApp(group: LightAppPermGroup) = in appSupportsSplitStoragePermissions() 127 private fun appSupportsPhotoPicker(group: LightAppPermGroup) = in appSupportsSplitStoragePermissions() 131 private fun getPartialGrantPermissions(group: LightAppPermGroup): Set<String> { in appSupportsSplitStoragePermissions()
|
D | LocationGrantBehavior.kt | 22 import com.android.permissioncontroller.permission.model.livedatatypes.LightAppPermGroup 34 group: LightAppPermGroup, in getPrompt() 60 group: LightAppPermGroup, in getDenyButton() 68 group: LightAppPermGroup, in isGroupFullyGranted() 79 group: LightAppPermGroup, in isForegroundFullyGranted() 93 override fun isPermissionFixed(group: LightAppPermGroup, perm: String): Boolean { in isPermissionFixed() 104 private fun supportsLocationAccuracy(group: LightAppPermGroup): Boolean { in supportsLocationAccuracy() 109 private fun isFineLocationHighlighted(group: LightAppPermGroup): Boolean { in isFineLocationHighlighted()
|
D | GrantBehavior.kt | 19 import com.android.permissioncontroller.permission.model.livedatatypes.LightAppPermGroup 36 group: LightAppPermGroup, in getPrompt() 51 group: LightAppPermGroup, in getPrompt() 60 open fun isGroupFullyGranted(group: LightAppPermGroup, requestedPerms: Set<String>): Boolean { in getPrompt() 69 group: LightAppPermGroup, in isForegroundFullyGranted() 79 open fun isPermissionFixed(group: LightAppPermGroup, perm: String): Boolean { in isPermissionFixed()
|
D | HealthGrantBehavior.kt | 19 import com.android.permissioncontroller.permission.model.livedatatypes.LightAppPermGroup 27 group: LightAppPermGroup, in getPrompt() 39 group: LightAppPermGroup, in getDenyButton() 47 group: LightAppPermGroup, in isGroupFullyGranted() 53 override fun isPermissionFixed(group: LightAppPermGroup, perm: String): Boolean { in isPermissionFixed()
|
D | BackgroundGrantBehavior.kt | 23 import com.android.permissioncontroller.permission.model.livedatatypes.LightAppPermGroup in <lambda>() 53 group: LightAppPermGroup, in <lambda>() 148 group: LightAppPermGroup, in <lambda>() 171 group: LightAppPermGroup, in <lambda>() 180 group: LightAppPermGroup, in <lambda>() 186 override fun isPermissionFixed(group: LightAppPermGroup, perm: String): Boolean { in <lambda>() 193 private fun hasBgPerms(group: LightAppPermGroup, requestedPerms: Set<String>): Boolean { in <lambda>()
|
D | BasicGrantBehavior.kt | 19 import com.android.permissioncontroller.permission.model.livedatatypes.LightAppPermGroup 27 group: LightAppPermGroup, in getPrompt() 35 group: LightAppPermGroup, in getDenyButton()
|
D | NotificationGrantBehavior.kt | 20 import com.android.permissioncontroller.permission.model.livedatatypes.LightAppPermGroup 35 group: LightAppPermGroup, in getPrompt() 51 group: LightAppPermGroup, in getDenyButton()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | SafetyNetLogger.java | 21 import com.android.permissioncontroller.permission.model.livedatatypes.LightAppPermGroup; 51 List<LightAppPermGroup> groups) { in logPermissionsRequested() 64 public static void logPermissionToggled(LightAppPermGroup group, boolean logOnlyBackground) { in logPermissionToggled() 78 public static void logPermissionToggled(LightAppPermGroup group) { in logPermissionToggled() 82 private static void buildChangedPermissionForGroup(LightAppPermGroup group, in buildChangedPermissionForGroup() 104 List<LightAppPermGroup> groups) { in buildChangedPermissionForPackageMessageNew() 108 for (LightAppPermGroup group: groups) { in buildChangedPermissionForPackageMessageNew()
|
D | KotlinUtils.kt | 88 import com.android.permissioncontroller.permission.model.livedatatypes.LightAppPermGroup in <lambda>() 739 group: LightAppPermGroup, in <lambda>() 742 ): LightAppPermGroup { in <lambda>() 779 return LightAppPermGroup( in <lambda>() 802 group: LightAppPermGroup, in <lambda>() 807 ): LightAppPermGroup { in <lambda>() 833 group: LightAppPermGroup, in <lambda>() 835 ): LightAppPermGroup { in <lambda>() 850 group: LightAppPermGroup, in <lambda>() 856 ): LightAppPermGroup { in <lambda>() [all …]
|
D | PermissionMapping.kt | 28 import com.android.permissioncontroller.permission.model.livedatatypes.LightAppPermGroup 332 fun getPartialStorageGrantPermissionsForGroup(group: LightAppPermGroup): Set<String> { in getPartialStorageGrantPermissionsForGroup()
|
D | Utils.java | 114 import com.android.permissioncontroller.permission.model.livedatatypes.LightAppPermGroup; 1552 public static boolean hasPermWithBackgroundModeCompat(LightAppPermGroup group) { in hasPermWithBackgroundModeCompat()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/ |
D | ReviewPermissionsViewModel.kt | 34 import com.android.permissioncontroller.permission.model.livedatatypes.LightAppPermGroup in <lambda>() 49 object : SmartUpdateMediatorLiveData<Map<String, LightAppPermGroup>>() { in <lambda>() 74 val permGroups: List<LightAppPermGroup?> = in <lambda>() 95 private fun shouldShowPermission(group: LightAppPermGroup): Boolean { in <lambda>() 106 val permGroupsMap: Map<String, LightAppPermGroup> = permissionGroupsLiveData.value!! in <lambda>() 130 permGroup: LightAppPermGroup in <lambda>() 195 permGroup: LightAppPermGroup, in <lambda>() 276 private fun isForegroundDisabledByPolicy(mGroup: LightAppPermGroup): Boolean { in <lambda>() 281 fun isFixedOrForegroundDisabled(mGroup: LightAppPermGroup): Boolean { in <lambda>() 292 fun getAdmin(context: Context, mGroup: LightAppPermGroup): EnforcedAdmin? { in <lambda>()
|
D | AppPermissionViewModel.kt | 65 import com.android.permissioncontroller.permission.model.livedatatypes.LightAppPermGroup in <lambda>() 172 private var lightAppPermGroup: LightAppPermGroup? = null in <lambda>() 174 private val mediaStorageSupergroupPermGroups = mutableMapOf<String, LightAppPermGroup>() in <lambda>() 416 permGroup: LightAppPermGroup? in <lambda>() 701 private fun shouldShowPhotoPickerPromptForApp(group: LightAppPermGroup): Boolean { in <lambda>() 715 private fun isLocationAccuracyAvailableForApp(group: LightAppPermGroup): Boolean { in <lambda>() 720 private fun isFineLocationChecked(group: LightAppPermGroup): Boolean { in <lambda>() 757 group: LightAppPermGroup, in <lambda>() 1172 private fun shouldClearOneTimeRevokedCompat(group: LightAppPermGroup): Boolean { in <lambda>() 1179 private fun expandsToStorageSupergroup(group: LightAppPermGroup): Boolean { in <lambda>() [all …]
|
D | GrantPermissionsViewModel.kt | 79 import com.android.permissioncontroller.permission.model.livedatatypes.LightAppPermGroup in <lambda>() 207 internal val group: LightAppPermGroup, in <lambda>() 469 private fun addRequiredGroupStates(groups: List<LightAppPermGroup>) { in <lambda>() 535 private fun isPermissionGrantableAndNotFixed(perm: String, group: LightAppPermGroup): Boolean { in <lambda>() 583 group: LightAppPermGroup, in <lambda>() 621 private fun getStateFromPolicy(perm: String, group: LightAppPermGroup): Int { in <lambda>() 991 groups: List<LightAppPermGroup> in <lambda>() 992 ): LightAppPermGroup? { in <lambda>() 1262 private fun getGrantBehavior(group: LightAppPermGroup): GrantBehavior { in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/ |
D | RuntimePermissionsUpgradeController.kt | 40 import com.android.permissioncontroller.permission.model.livedatatypes.LightAppPermGroup in <lambda>() 341 val bgGroups = mutableListOf<LightAppPermGroup>() in <lambda>() 342 val storageGroups = mutableListOf<LightAppPermGroup>() in <lambda>() 343 val bgSensorsGroups = mutableListOf<LightAppPermGroup>() in <lambda>() 431 bgApps: List<LightAppPermGroup>, in <lambda>() 432 storageAndMediaAppPermGroups: List<LightAppPermGroup>, in <lambda>() 433 bgSensorsGroups: List<LightAppPermGroup>, in <lambda>() 501 LightAppPermGroup( in <lambda>() 678 LightAppPermGroup( in <lambda>() 736 val bgGroups: List<LightAppPermGroup>, in <lambda>() [all …]
|
D | AutoRevokePermissions.kt | 40 import com.android.permissioncontroller.permission.model.livedatatypes.LightAppPermGroup in <lambda>() 129 val group: LightAppPermGroup = in <lambda>() 194 val group: LightAppPermGroup = in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/ |
D | ReviewPermissionsFragment.java | 61 import com.android.permissioncontroller.permission.model.livedatatypes.LightAppPermGroup; 127 (Map<String, LightAppPermGroup> permGroupsMap) -> { in onCreate() 214 LightAppPermGroup group = permPreference.getGroup(); in confirmPermissionsReview() 259 private void logReviewPermissionsFragmentResult(long changeId, LightAppPermGroup group) { in logReviewPermissionsFragmentResult() 278 private void bindUi(Map<String, LightAppPermGroup> permGroupsMap) { in bindUi() 333 private void loadPreferences(Map<String, LightAppPermGroup> permGroupsMap) { in loadPreferences() 352 for (LightAppPermGroup group : permGroupsMap.values()) { in loadPreferences() 459 private final LightAppPermGroup mGroup; 463 PermissionReviewPreference(PreferenceFragmentCompat fragment, LightAppPermGroup group, in PermissionReviewPreference() 472 LightAppPermGroup getGroup() { in getGroup()
|
D | PermissionPreference.java | 38 import com.android.permissioncontroller.permission.model.livedatatypes.LightAppPermGroup; 57 private final LightAppPermGroup mGroup; 117 PermissionPreference(PreferenceFragmentCompat fragment, LightAppPermGroup group, in PermissionPreference() 136 private void setState(LightAppPermGroup appPermGroup) { in setState()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
D | LightAppPermGroupLiveData.kt | 27 import com.android.permissioncontroller.permission.model.livedatatypes.LightAppPermGroup in <lambda>() 50 ) : SmartUpdateMediatorLiveData<LightAppPermGroup?>(), LocationUtils.LocationListener { in <lambda>() 112 value = LightAppPermGroup(packageInfo, permGroup.groupInfo, emptyMap()) in <lambda>() 140 LightAppPermGroup( in <lambda>()
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/ui/model/ |
D | ReviewPermissionsViewModelTest.kt | 27 import com.android.permissioncontroller.permission.model.livedatatypes.LightAppPermGroup 57 @Mock private lateinit var permGroup: LightAppPermGroup 58 @Mock private lateinit var foregroundSubGroup: LightAppPermGroup.AppPermSubGroup 59 @Mock private lateinit var backgroundSubGroup: LightAppPermGroup.AppPermSubGroup
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/ |
D | SafetyCenterQsViewModel.kt | 49 import com.android.permissioncontroller.permission.model.livedatatypes.LightAppPermGroup 71 val lightAppPermMap = mutableMapOf<LightAppPermissionGroupUsageKey, LightAppPermGroup?>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/ |
D | LightAppPermGroup.kt | 38 data class LightAppPermGroup( in <lambda>() class
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/utils/ |
D | GrantRevokeTests.kt | 46 import com.android.permissioncontroller.permission.model.livedatatypes.LightAppPermGroup 240 ): LightAppPermGroup { in createMockGroup() 242 return LightAppPermGroup(pkgInfo, pGi, perms, false, false) in createMockGroup() 283 groupToCheck: LightAppPermGroup, in assertGroupPermState()
|