Searched refs:INSTALL_GRANTED (Results 1 – 6 of 6) sorted by relevance
56 const val INSTALL_GRANTED = 1 shl 0 constant331 if (flags.hasBits(INSTALL_GRANTED)) { in isPermissionGranted()435 flags = flags or (oldFlags and INSTALL_GRANTED) in fromApiFlags()505 INSTALL_GRANTED -> "INSTALL_GRANTED" in flagToString()
118 PermissionFlags.INSTALL_GRANTED in <lambda>()
867 val wasGranted = oldFlags.hasBits(PermissionFlags.INSTALL_GRANTED) in <lambda>()890 PermissionFlags.INSTALL_GRANTED in <lambda>()
48 setPermissionFlags(APP_ID_1, USER_ID_0, PERMISSION_NAME_0, PermissionFlags.INSTALL_GRANTED) in testOnAppIdRemoved_appIdIsRemoved_permissionFlagsCleared()116 val oldFlags = PermissionFlags.INSTALL_GRANTED in testOnPackageRemoved_packageIsRemoved_permissionDefinitionsAndStatesAreUpdated()395 val flags = PermissionFlags.INSTALL_GRANTED in testUpdateAndGetPermissionFlags()
54 val oldFlags = PermissionFlags.INSTALL_GRANTED or PermissionFlags.INSTALL_REVOKED in testEvaluatePermissionState_normalPermissionAlreadyGranted_remainsUnchanged()78 val expectedNewFlags = PermissionFlags.INSTALL_GRANTED in testEvaluatePermissionState_normalPermissionNotInstallRevoked_getsGranted()97 val expectedNewFlags = PermissionFlags.INSTALL_GRANTED or oldFlags in testEvaluatePermissionState_normalAppOpPermission_getsRoleAndUserSetFlagsPreserved()309 val oldFlags = PermissionFlags.INSTALL_GRANTED or PermissionFlags.PREGRANT or in testEvaluatePermissionState_nonRuntimeFlagsOnRuntimePermissions_getsCleared()621 val expectedNewFlags = PermissionFlags.INSTALL_GRANTED in testInheritImplicitPermissionStates_nonRuntimeNewImplicit_sourceFlagsNotInherited()
617 val expectedNewFlags = PermissionFlags.INSTALL_GRANTED in testEvaluatePermissionState_normalPermissionRequestedByInstalledPackage_getsGranted()644 val expectedNewFlags = PermissionFlags.INSTALL_GRANTED in testEvaluatePermissionState_normalPermissionRequestedBySystemPackage_getsGranted()662 val expectedNewFlags = PermissionFlags.INSTALL_GRANTED in testEvaluatePermissionState_normalCompatibilityPermission_getsGranted()