Home
last modified time | relevance | path

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

/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/
DAppIdPermissionPolicyTest.kt70 val installedPackageState = mockPackageState( in testOnStorageVolumeMounted_nonSystemAppAfterNonSystemUpdate_remainsRevoked() constant
75 addPackageState(installedPackageState) in testOnStorageVolumeMounted_nonSystemAppAfterNonSystemUpdate_remainsRevoked()
82 onStorageVolumeMounted(null, listOf(installedPackageState.packageName), false) in testOnStorageVolumeMounted_nonSystemAppAfterNonSystemUpdate_remainsRevoked()
258 val installedPackageState = mockPackageState( in testOnPackageInstalled() constant
266 addPackageState(installedPackageState, newState) in testOnPackageInstalled()
269 onPackageInstalled(installedPackageState, USER_ID_0) in testOnPackageInstalled()
DAppIdPermissionPolicyPermissionStatesTest.kt737 val installedPackageState = mockPackageState( in testInheritImplicitPermissionStates() constant
762 addPackageState(installedPackageState) in testInheritImplicitPermissionStates()
769 addPackageState(installedPackageState) in testInheritImplicitPermissionStates()
778 testAction(installedPackageState) in testInheritImplicitPermissionStates()
825 val installedPackageState = mockPackageState( in testEvaluatePermissionState() constant
841 addPackageState(installedPackageState) in testEvaluatePermissionState()
850 addPackageState(installedPackageState, newState) in testEvaluatePermissionState()
853 testAction(installedPackageState) in testEvaluatePermissionState()
DDevicePermissionPolicyTest.kt160 val installedPackageState = mockPackageState( in testOnStorageVolumeMounted_trimsPermissionsNotRequestAnymore() constant
164 addPackageState(installedPackageState) in testOnStorageVolumeMounted_trimsPermissionsNotRequestAnymore()
DAppIdPermissionPolicyPermissionDefinitionsTest.kt603 val installedPackageState = mockPackageState( in testEvaluatePermissionState_normalPermissionRequestedByInstalledPackage_getsGranted() constant
608 addPackageState(installedPackageState) in testEvaluatePermissionState_normalPermissionRequestedByInstalledPackage_getsGranted()
613 testAction(installedPackageState) in testEvaluatePermissionState_normalPermissionRequestedByInstalledPackage_getsGranted()
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DAppIdPermissionPolicy.kt124 val installedPackageState = if (isSystemUpdated) packageState else null in <lambda>() constant
125 evaluateAllPermissionStatesForPackage(packageState, installedPackageState) in <lambda>()
784 installedPackageState: PackageState? in <lambda>()
794 evaluatePermissionState(appId, userId, permissionName, installedPackageState) in <lambda>()
802 installedPackageState: PackageState? in <lambda>()
808 installedPackageState in <lambda>()
816 installedPackageState: PackageState? in <lambda>()
823 installedPackageState in <lambda>()
832 installedPackageState: PackageState? in <lambda>()
871 installedPackageState != null && in <lambda>()
[all …]