Searched refs:permFlags (Results 1 – 7 of 7) sorted by relevance
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/permission/utils/ |
D | GrantRevokeTests.kt | 142 val permFlags = mutableListOf<Int>() in createMockPackage() constant 145 permFlags.add(if (isGranted) { in createMockPackage() 152 return LightPackageInfo(TEST_PACKAGE_NAME, listOf(), permNames, permFlags, TEST_UID, in createMockPackage() 495 val permFlags = FLAG_PERMISSION_SYSTEM_FIXED in grantSystemFixedTest() constant 498 perms[FG_PERM_2_NAME] = createMockPerm(pkg, FG_PERM_2_NAME, flags = permFlags) in grantSystemFixedTest() 509 expectedFlags = permFlags, originalFlags = permFlags) in grantSystemFixedTest() 514 FG_PERM_2_NAME to (false to permFlags)) in grantSystemFixedTest() 525 val permFlags = FLAG_PERMISSION_SYSTEM_FIXED in grantBgSystemFixedTest() constant 528 perms[BG_PERM_NAME] = createMockPerm(pkg, BG_PERM_NAME, null, FG_PERM_NAMES, permFlags) in grantBgSystemFixedTest() 541 BG_PERM_NAME to (false to permFlags)) in grantBgSystemFixedTest() [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
D | AppPermGroupUiInfoLiveData.kt | 200 val flags = permissionState[permissionName]?.permFlags ?: return true in <lambda>() 224 return permissionState.any { (it.value.permFlags and flagMask) != 0 } in <lambda>() 265 permState.permFlags and PackageManager.FLAG_PERMISSION_USER_FIXED != 0 in <lambda>() 270 it.value.permFlags and PackageManager.FLAG_PERMISSION_ONE_TIME != 0 } && in <lambda>() 272 it.value.permFlags and PackageManager.FLAG_PERMISSION_ONE_TIME == 0 && in <lambda>()
|
D | PermStateLiveData.kt | 87 val permFlags = context.packageManager.getPermissionFlags(permInfo.name, in <lambda>() constant 90 permFlags and PackageManager.FLAG_PERMISSION_REVOKED_COMPAT == 0 in <lambda>() 95 permissionStates[permissionName] = PermState(permFlags, granted) in <lambda>()
|
D | HibernationSettingStateLiveData.kt | 95 permState.permFlags and (FLAG_PERMISSION_GRANTED_BY_DEFAULT or in <lambda>()
|
D | AutoRevokedPackagesLiveData.kt | 119 if (state.permFlags and FLAG_PERMISSION_AUTO_REVOKED != 0) { in <lambda>()
|
/packages/modules/Permission/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)
|