Home
last modified time | relevance | path

Searched refs:addRoleHolderAsUser (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Permission/framework-s/api/
Dmodule-lib-lint-baseline.txt20 RequiresPermission: android.app.role.RoleManager#addRoleHolderAsUser(String, String, int, android.o…
21 …Method 'addRoleHolderAsUser' documentation mentions permissions already declared by @RequiresPermi…
Dsystem-lint-baseline.txt20 RequiresPermission: android.app.role.RoleManager#addRoleHolderAsUser(String, String, int, android.o…
21 …Method 'addRoleHolderAsUser' documentation mentions permissions already declared by @RequiresPermi…
Dsystem-current.txt37 …ssion(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public void addRoleHolderAsUser(@NonNull St…
/packages/modules/Permission/framework-s/java/android/app/role/
DIRoleManager.aidl34 void addRoleHolderAsUser(in String roleName, in String packageName, int flags, int userId, in addRoleHolderAsUser() method
DRoleManager.java422 public void addRoleHolderAsUser(@NonNull String roleName, @NonNull String packageName, in addRoleHolderAsUser() method in RoleManager
431 mService.addRoleHolderAsUser(roleName, packageName, flags, user.getIdentifier(), in addRoleHolderAsUser()
/packages/modules/Permission/tests/cts/role/src/android/app/role/cts/
DRoleManagerTest.java859 addRoleHolderAsUser(ROLE_NAME, APP_FOR_PROFILE_PACKAGE_NAME, privateProfile); in openDefaultAppListAndSetDefaultAppThenIsDefaultAppForPrivateSpace()
1374 addRoleHolderAsUser(roleName, packageName, Process.myUserHandle(), expectSuccess); in addRoleHolder()
1382 private void addRoleHolderAsUser(@NonNull String roleName, @NonNull String packageName, in addRoleHolderAsUser() method in RoleManagerTest
1385 runWithShellPermissionIdentity(() -> sRoleManager.addRoleHolderAsUser(roleName, in addRoleHolderAsUser()
1390 private void addRoleHolderAsUser(@NonNull String roleName, @NonNull String packageName, in addRoleHolderAsUser() method in RoleManagerTest
1392 addRoleHolderAsUser(roleName, packageName, userHandle, true); in addRoleHolderAsUser()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
DManageRoleHolderStateLiveData.java102 roleManager.addRoleHolderAsUser(roleName, packageName, flags, user, executor, callback); in setRoleHolderAsUser()
/packages/services/Telephony/src/com/android/phone/
DEmergencyAssistanceHelper.java132 context.getSystemService(RoleManager.class).addRoleHolderAsUser( in setDefaultEmergencyPackageAsync()
/packages/modules/Permission/service/java/com/android/role/
DRoleShellCommand.java132 mRoleManager.addRoleHolderAsUser(roleName, packageName, flags, userId, in runAddRoleHolder()
DRoleService.java523 public void addRoleHolderAsUser(@NonNull String roleName, @NonNull String packageName, in addRoleHolderAsUser() method in RoleService.Stub
897 addRoleHolderAsUser(RoleManager.ROLE_BROWSER, packageName, 0, userId, callback); in setBrowserRoleHolder()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DDeviceManagementRoleHolderHelper.java82 mRoleManager.addRoleHolderAsUser(roleName, packageName, /* flags= */ 0, in DeviceManagementRoleHolderHelper()
/packages/modules/DeviceLock/service/java/com/android/server/devicelock/
DDeviceLockServiceImpl.java721 mRoleManager.addRoleHolderAsUser(RoleManager.ROLE_FINANCED_DEVICE_KIOSK, packageName,