/packages/modules/Permission/framework-s/api/ |
D | module-lib-lint-baseline.txt | 20 RequiresPermission: android.app.role.RoleManager#addRoleHolderAsUser(String, String, int, android.o… 21 …Method 'addRoleHolderAsUser' documentation mentions permissions already declared by @RequiresPermi…
|
D | system-lint-baseline.txt | 20 RequiresPermission: android.app.role.RoleManager#addRoleHolderAsUser(String, String, int, android.o… 21 …Method 'addRoleHolderAsUser' documentation mentions permissions already declared by @RequiresPermi…
|
D | system-current.txt | 37 …ssion(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public void addRoleHolderAsUser(@NonNull St…
|
/packages/modules/Permission/framework-s/java/android/app/role/ |
D | IRoleManager.aidl | 34 void addRoleHolderAsUser(in String roleName, in String packageName, int flags, int userId, in addRoleHolderAsUser() method
|
D | RoleManager.java | 422 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/ |
D | RoleManagerTest.java | 859 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/ |
D | ManageRoleHolderStateLiveData.java | 102 roleManager.addRoleHolderAsUser(roleName, packageName, flags, user, executor, callback); in setRoleHolderAsUser()
|
/packages/services/Telephony/src/com/android/phone/ |
D | EmergencyAssistanceHelper.java | 132 context.getSystemService(RoleManager.class).addRoleHolderAsUser( in setDefaultEmergencyPackageAsync()
|
/packages/modules/Permission/service/java/com/android/role/ |
D | RoleShellCommand.java | 132 mRoleManager.addRoleHolderAsUser(roleName, packageName, flags, userId, in runAddRoleHolder()
|
D | RoleService.java | 523 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/ |
D | DeviceManagementRoleHolderHelper.java | 82 mRoleManager.addRoleHolderAsUser(roleName, packageName, /* flags= */ 0, in DeviceManagementRoleHolderHelper()
|
/packages/modules/DeviceLock/service/java/com/android/server/devicelock/ |
D | DeviceLockServiceImpl.java | 721 mRoleManager.addRoleHolderAsUser(RoleManager.ROLE_FINANCED_DEVICE_KIOSK, packageName,
|