Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DPermGroupsPackagesLiveData.kt88 val isPreMApp = packageInfo.targetSdkVersion < Build.VERSION_CODES.M in <lambda>() constant
93 if (isPreMApp && groupInfo.packageName != OS_PKG) { in <lambda>()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/permission/utils/
DGrantRevokeTests.kt138 isPreMApp: Boolean = false, in createMockPackage()
153 if (isPreMApp) { in createMockPackage()
588 val pkg = createMockPackage(mapOf(FG_PERM_NAME to false), isPreMApp = true) in grantPreMAppTest()
655 val pkg = createMockPackage(mapOf(FG_PERM_NAME to false), isPreMApp = true) in cantGrantPreRuntimeAppWithRuntimeOnlyPermTest()
957 val pkg = createMockPackage(mapOf(FG_PERM_NAME to true), isPreMApp = true) in revokePreMAppTest()