Searched refs:BG_PERM_NAME (Results 1 – 1 of 1) sorted by relevance
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/utils/ |
D | GrantRevokeTests.kt | 91 private const val BG_PERM_NAME = Manifest.permission.ACCESS_BACKGROUND_LOCATION constant 436 perms[FG_PERM_2_NAME] = createMockPerm(pkg, FG_PERM_2_NAME, BG_PERM_NAME) in grantTwoPermTest() 503 val pkg = createMockPackage(mapOf(FG_PERM_NAME to true, BG_PERM_NAME to false)) in grantBgPermTest() 505 perms[FG_PERM_NAME] = createMockPerm(pkg, FG_PERM_NAME, BG_PERM_NAME) in grantBgPermTest() 506 perms[BG_PERM_NAME] = createMockPerm(pkg, BG_PERM_NAME, null, listOf(FG_PERM_NAME)) in grantBgPermTest() 514 permName = BG_PERM_NAME, in grantBgPermTest() 524 mutableMapOf(FG_PERM_NAME to (true to NO_FLAGS), BG_PERM_NAME to (true to newFlags)) in grantBgPermTest() 535 val pkg = createMockPackage(mapOf(FG_PERM_NAME to false, BG_PERM_NAME to false)) in grantBgAndFgPermTest() 537 perms[FG_PERM_NAME] = createMockPerm(pkg, FG_PERM_NAME, BG_PERM_NAME) in grantBgAndFgPermTest() 538 perms[BG_PERM_NAME] = createMockPerm(pkg, BG_PERM_NAME, null, listOf(FG_PERM_NAME)) in grantBgAndFgPermTest() [all …]
|