Home
last modified time | relevance | path

Searched refs:hasMissingPackage (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/
DAppIdPermissionPolicyPermissionDefinitionsTest.kt46 testAdoptPermissions(hasMissingPackage = true, isSystem = true) in testAdoptPermissions_permissionsOfMissingSystemApp_getsAdopted()
73 testAdoptPermissions(hasMissingPackage = true) in testAdoptPermissions_permissionsOfNonSystemApp_notAdopted()
86 hasMissingPackage: Boolean = false, in testAdoptPermissions()
90 val packageToAdoptPermission = if (hasMissingPackage) { in testAdoptPermissions()
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DAppIdPermissionPolicy.kt839 var hasMissingPackage = false in <lambda>() variable
848 hasMissingPackage = true in <lambda>()
851 if (packageNames.size == 1 && hasMissingPackage) { in <lambda>()
904 if (hasMissingPackage && wasProtectionGranted) { in <lambda>()