Home
last modified time | relevance | path

Searched refs:newGroup (Results 1 – 5 of 5) sorted by relevance

/packages/apps/PermissionController/tests/mocking/src/com/android/permissioncontroller/permission/utils/
DGrantRevokeTests.kt349 val newGroup = KotlinUtils.grantForegroundRuntimePermissions(app, group) in grantOnePermTest() constant
358 assertGroupPermState(newGroup, expectedState) in grantOnePermTest()
375 val newGroup = KotlinUtils.grantForegroundRuntimePermissions(app, group) in grantTwoPermTest() constant
389 assertGroupPermState(newGroup, expectedState) in grantTwoPermTest()
404 val newGroup = KotlinUtils.grantForegroundRuntimePermissions(app, group) in grantNoAppOpPerm() constant
414 assertGroupPermState(newGroup, expectedState) in grantNoAppOpPerm()
430 val newGroup = KotlinUtils.grantBackgroundRuntimePermissions(app, group) in grantBgPermTest() constant
441 assertGroupPermState(newGroup, expectedState) in grantBgPermTest()
458 val newGroup = KotlinUtils.grantForegroundRuntimePermissions(app, group) in grantBgAndFgPermTest() constant
469 assertGroupPermState(newGroup, expectedState) in grantBgAndFgPermTest()
[all …]
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DAppPermissionViewModel.kt543 var newGroup = group in <lambda>() variable
549 newGroup = KotlinUtils in <lambda>()
550 .revokeBackgroundRuntimePermissions(app, newGroup) in <lambda>()
555 SafetyNetLogger.logPermissionToggled(newGroup, true) in <lambda>()
560 newGroup = KotlinUtils in <lambda>()
561 .revokeForegroundRuntimePermissions(app, newGroup, false, setOneTime) in <lambda>()
566 SafetyNetLogger.logPermissionToggled(newGroup) in <lambda>()
571 newGroup = KotlinUtils.grantForegroundRuntimePermissions(app, newGroup) in <lambda>()
574 SafetyNetLogger.logPermissionToggled(newGroup) in <lambda>()
579 newGroup = KotlinUtils.grantBackgroundRuntimePermissions(app, newGroup) in <lambda>()
[all …]
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/service/
DRuntimePermissionsUpgradeController.kt517 val newGroup = grantBackgroundRuntimePermissions(context.application, group, in <lambda>() constant
520 logRuntimePermissionUpgradeResult(newGroup, in <lambda>()
521 permissions intersect newGroup.backgroundPermNames) in <lambda>()
523 val newGroup = grantForegroundRuntimePermissions(context.application, group, in <lambda>() constant
526 logRuntimePermissionUpgradeResult(newGroup, in <lambda>()
527 permissions intersect newGroup.foregroundPermNames) in <lambda>()
/packages/apps/Car/Notification/src/com/android/car/notification/
DPreprocessingManager.java369 NotificationGroup newGroup = new NotificationGroup(); in group()
370 newGroup.addNotification(notification); in group()
371 validGroupList.add(newGroup); in group()
428 NotificationGroup newGroup = new NotificationGroup(); in additionalGroup() local
429 newGroup.setGroupSummaryNotification(newNotification); in additionalGroup()
430 mOldProcessedNotifications.add(newGroup); in additionalGroup()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DGroupNotificationViewHolder.java153 NotificationGroup newGroup = new NotificationGroup(); in bind() local
154 newGroup.addNotification(group.getGroupSummaryNotification()); in bind()
159 newGroup.setChildTitles(group.generateChildTitles()); in bind()
160 list.add(newGroup); in bind()