Searched refs:permFlags (Results 1 – 7 of 7) sorted by relevance
/packages/apps/PermissionController/tests/mocking/src/com/android/permissioncontroller/permission/utils/ |
D | GrantRevokeTests.kt | 138 val permFlags = mutableListOf<Int>() in createMockPackage() constant 141 permFlags.add(if (isGranted) { in createMockPackage() 148 return LightPackageInfo(TEST_PACKAGE_NAME, listOf(), permNames, permFlags, TEST_UID, in createMockPackage() 491 val permFlags = FLAG_PERMISSION_SYSTEM_FIXED in grantSystemFixedTest() constant 494 perms[FG_PERM_2_NAME] = createMockPerm(pkg, FG_PERM_2_NAME, flags = permFlags) in grantSystemFixedTest() 505 expectedFlags = permFlags, originalFlags = permFlags) in grantSystemFixedTest() 510 FG_PERM_2_NAME to (false to permFlags)) in grantSystemFixedTest() 521 val permFlags = FLAG_PERMISSION_SYSTEM_FIXED in grantBgSystemFixedTest() constant 524 perms[BG_PERM_NAME] = createMockPerm(pkg, BG_PERM_NAME, null, FG_PERM_NAMES, permFlags) in grantBgSystemFixedTest() 537 BG_PERM_NAME to (false to permFlags)) in grantBgSystemFixedTest() [all …]
|
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/data/ |
D | PermStateLiveData.kt | 89 val permFlags = context.packageManager.getPermissionFlags(permInfo.name, in <lambda>() constant 92 permFlags and PackageManager.FLAG_PERMISSION_REVOKED_COMPAT == 0 in <lambda>() 97 permissionStates[permissionName] = PermState(permFlags, granted) in <lambda>()
|
D | AppPermGroupUiInfoLiveData.kt | 186 val flags = permissionState[permissionName]?.permFlags ?: return true in <lambda>() 233 permState.permFlags and PackageManager.FLAG_PERMISSION_USER_FIXED != 0 in <lambda>() 235 permState.permFlags and PackageManager.FLAG_PERMISSION_ONE_TIME != 0 in <lambda>()
|
D | AutoRevokeStateLiveData.kt | 91 permState.permFlags and (FLAG_PERMISSION_GRANTED_BY_DEFAULT or in <lambda>()
|
D | AutoRevokedPackagesLiveData.kt | 136 if (state.permFlags and FLAG_PERMISSION_AUTO_REVOKED != 0) { in <lambda>()
|
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/ |
D | PermState.kt | 25 data class PermState(val permFlags: Int, val granted: Boolean) constant in com.android.permissioncontroller.permission.model.livedatatypes.PermState
|
D | LightPermission.kt | 50 this(pkgInfo, permInfo, permState.granted, permState.permFlags, foregroundPerms)
|