Home
last modified time | relevance | path

Searched refs:setPermissionFlags (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/
DDevicePermissionPolicyTest.kt45 setPermissionFlags( in testOnAppIdRemoved_clearPermissionFlags()
68 setPermissionFlags( in testOnDeviceIdRemoved_clearPermissionFlags()
71 setPermissionFlags( in testOnDeviceIdRemoved_clearPermissionFlags()
99 setPermissionFlags( in testRemoveInactiveDevicesPermission_clearPermissionFlags()
102 setPermissionFlags( in testRemoveInactiveDevicesPermission_clearPermissionFlags()
147 setPermissionFlags( in testOnStorageVolumeMounted_trimsPermissionsNotRequestAnymore()
150 setPermissionFlags( in testOnStorageVolumeMounted_trimsPermissionsNotRequestAnymore()
186 setPermissionFlags( in testResetRuntimePermissions_trimsPermissionStates()
217 setPermissionFlags( in testResetRuntimePermissions_keepsPermissionStates()
220 setPermissionFlags( in testResetRuntimePermissions_keepsPermissionStates()
[all …]
DAppIdPermissionPolicyTest.kt48 setPermissionFlags(APP_ID_1, USER_ID_0, PERMISSION_NAME_0, PermissionFlags.INSTALL_GRANTED) in testOnAppIdRemoved_appIdIsRemoved_permissionFlagsCleared()
78 setPermissionFlags(APP_ID_1, USER_ID_0, PERMISSION_NAME_0, oldFlags) in testOnStorageVolumeMounted_nonSystemAppAfterNonSystemUpdate_remainsRevoked()
117 setPermissionFlags(APP_ID_0, USER_ID_0, PERMISSION_NAME_0, oldFlags) in testOnPackageRemoved_packageIsRemoved_permissionDefinitionsAndStatesAreUpdated()
118 setPermissionFlags(APP_ID_1, USER_ID_0, PERMISSION_NAME_0, oldFlags) in testOnPackageRemoved_packageIsRemoved_permissionDefinitionsAndStatesAreUpdated()
267 setPermissionFlags(APP_ID_1, USER_ID_0, PERMISSION_NAME_0, oldFlags, newState) in testOnPackageInstalled()
DAppIdPermissionPolicyPermissionStatesTest.kt353 setPermissionFlags(APP_ID_1, getUserIdEvaluated(), PERMISSION_NAME_0, oldFlags) in testEvaluatePermissionState_legacyOrImplicitGrantedPreviouslyRevoked_getsAppOpRevoked()
512 setPermissionFlags( in testEvaluatePermissionState_noLongerImplicitNearbyWasGranted_getsRuntimeGranted()
763 setPermissionFlags(APP_ID_1, userId, implicitPermissionName, implicitPermissionFlags) in testInheritImplicitPermissionStates()
765 setPermissionFlags(APP_ID_1, userId, PERMISSION_NAME_2, sourceRuntimeFlags) in testInheritImplicitPermissionStates()
770 setPermissionFlags( in testInheritImplicitPermissionStates()
842 setPermissionFlags(APP_ID_1, userId, permissionName, oldFlags) in testEvaluatePermissionState()
851 setPermissionFlags(APP_ID_1, userId, permissionName, oldFlags, newState) in testEvaluatePermissionState()
DAppIdPermissionPolicyPermissionDefinitionsTest.kt332 setPermissionFlags(APP_ID_0, USER_ID_0, PERMISSION_NAME_0, PermissionFlags.RUNTIME_GRANTED) in testPermissionChanged()
439 setPermissionFlags(APP_ID_0, USER_ID_0, PERMISSION_NAME_0, PermissionFlags.RUNTIME_GRANTED) in testTrimPermissionStates_permissionsNoLongerRequested_getsFlagsRevoked()
581 setPermissionFlags(APP_ID_0, USER_ID_0, PERMISSION_READ_EXTERNAL_STORAGE, oldFlags) in testRevokePermissionsOnPackageUpdate()
610 setPermissionFlags(APP_ID_1, USER_ID_0, PERMISSION_NAME_0, oldFlags) in testEvaluatePermissionState_normalPermissionRequestedByInstalledPackage_getsGranted()
714 setPermissionFlags(APP_ID_1, USER_ID_0, permissionName, oldFlags) in testEvaluateNormalPermissionStateWithPermissionChanges()
DAppIdPermissionPolicyPermissionResetTest.kt78 setPermissionFlags(APP_ID_1, USER_ID_0, PERMISSION_NAME_0, oldFlags) in testResetRuntimePermissions()
DBasePermissionPolicyTest.kt347 protected fun setPermissionFlags( in <lambda>() method in com.android.server.permission.test.BasePermissionPolicyTest
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DAppIdPermissionPolicy.kt265 setPermissionFlags(appId, userId, permissionName, newFlags) in <lambda>()
313 setPermissionFlags(appId, userId, permissionName, newFlags) in <lambda>()
517 setPermissionFlags(appId, userId, permissionName, 0) in <lambda>()
552 setPermissionFlags(appId, userId, permissionName, 0) in <lambda>()
661 setPermissionFlags(appId, userId, permissionName, 0) in <lambda>()
701 setPermissionFlags(appId, userId, permissionName, 0) in <lambda>()
775 setPermissionFlags(appId, userId, permissionName, newFlags) in <lambda>()
862 setPermissionFlags(appId, userId, permissionName, PermissionFlags.INSTALL_REVOKED) in <lambda>()
899 setPermissionFlags(appId, userId, permissionName, newFlags) in <lambda>()
949 setPermissionFlags(appId, userId, permissionName, newFlags) in <lambda>()
[all …]
DDevicePermissionPolicy.kt146 setPermissionFlags(appId, deviceId, userId, permissionName, 0) in <lambda>()
164 setPermissionFlags(appId, deviceId, userId, permissionName, 0) in <lambda>()
239 fun MutateStateScope.setPermissionFlags( in <lambda>() method in com.android.server.permission.access.permission.DevicePermissionPolicy
DAppIdPermissionUpgrade.kt292 with(policy) { setPermissionFlags(appId, userId, permissionName, flags) } in <lambda>()
DPermissionService.kt1623 with(policy) { setPermissionFlags(appId, userId, permissionName, flags) } in <lambda>()
1631 return with(policy) { setPermissionFlags(appId, userId, permissionName, flags) } in <lambda>()
1635 setPermissionFlags(appId, deviceId, userId, permissionName, flags) in <lambda>()
/frameworks/base/services/
Dart-wear-profile17465 HPLcom/android/server/permission/access/permission/AppIdPermissionPolicy;->setPermissionFlags(Lcom/…