Home
last modified time | relevance | path

Searched refs:expectedPermissions (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/ui/model/
DPermissionUsageViewModelTest.kt124 val expectedPermissions = PermissionMapping.getPlatformPermissionGroups().toMutableSet() in <lambda>() constant
126 expectedPermissions.remove(android.Manifest.permission_group.NOTIFICATIONS) in <lambda>()
128 assertThat(uiData.permissionGroupUsageCount.keys).isEqualTo(expectedPermissions) in <lambda>()
/packages/modules/Permission/tests/cts/permissionpolicy/src/android/permissionpolicy/cts/
DPermissionPolicyTest.java122 List<ExpectedPermissionInfo> expectedPermissions = loadExpectedPermissions( in platformPermissionPolicyIsUnaltered() local
126 expectedPermissions.addAll(loadExpectedPermissions(R.raw.automotive_android_manifest)); in platformPermissionPolicyIsUnaltered()
166 for (ExpectedPermissionInfo expectedPermission : expectedPermissions) { in platformPermissionPolicyIsUnaltered()
/packages/modules/Virtualization/tests/testapk/src/java/com/android/microdroid/test/
DMicrodroidTests.java2241 int expectedPermissions = OsConstants.S_IRUSR | OsConstants.S_IXUSR; in testFileUnderBinHasExecutePermission() local
2243 expectedPermissions |= OsConstants.S_IRGRP | OsConstants.S_IXGRP; in testFileUnderBinHasExecutePermission()
2245 assertThat(testResults.mFileMode & allPermissionsMask).isEqualTo(expectedPermissions); in testFileUnderBinHasExecutePermission()