/packages/apps/PermissionController/src/com/android/permissioncontroller/role/ui/ |
D | RoleLiveData.java | 63 RoleManager roleManager = mContext.getSystemService(RoleManager.class); in onActive() local 64 roleManager.addOnRoleHoldersChangedListenerAsUser(mContext.getMainExecutor(), this, mUser); in onActive() 69 RoleManager roleManager = mContext.getSystemService(RoleManager.class); in onInactive() local 70 roleManager.removeOnRoleHoldersChangedListenerAsUser(this, mUser); in onInactive() 81 RoleManager roleManager = mContext.getSystemService(RoleManager.class); in loadValueInBackground() local 82 List<String> holderPackageNames = roleManager.getRoleHoldersAsUser(mRole.getName(), mUser); in loadValueInBackground()
|
D | RoleListLiveData.java | 63 RoleManager roleManager = mContext.getSystemService(RoleManager.class); in onActive() local 64 roleManager.addOnRoleHoldersChangedListenerAsUser(mContext.getMainExecutor(), this, in onActive() 70 RoleManager roleManager = mContext.getSystemService(RoleManager.class); in onInactive() local 71 roleManager.removeOnRoleHoldersChangedListenerAsUser(this, mUser); in onInactive() 86 RoleManager roleManager = mContext.getSystemService(RoleManager.class); in loadValueInBackground() local 108 List<String> holderPackageNames = roleManager.getRoleHoldersAsUser(role.getName(), in loadValueInBackground()
|
D | ManageRoleHolderStateLiveData.java | 83 RoleManager roleManager = context.getSystemService(RoleManager.class); in setRoleHolderAsUser() local 102 roleManager.addRoleHolderAsUser(roleName, packageName, flags, user, executor, callback); in setRoleHolderAsUser() 104 roleManager.removeRoleHolderAsUser(roleName, packageName, flags, user, executor, in setRoleHolderAsUser() 133 RoleManager roleManager = context.getSystemService(RoleManager.class); in clearRoleHoldersAsUser() local 148 roleManager.clearRoleHoldersAsUser(roleName, flags, user, executor, callback); in clearRoleHoldersAsUser()
|
D | RequestRoleActivity.java | 144 RoleManager roleManager = getSystemService(RoleManager.class); in onCreate() local 145 List<String> currentPackageNames = roleManager.getRoleHolders(mRoleName); in onCreate() 213 RoleManager roleManager = getSystemService(RoleManager.class); in handleChangeDefaultDialerDialogCompatibility() local 214 String holderPackageName = CollectionUtils.firstOrNull(roleManager.getRoleHolders( in handleChangeDefaultDialerDialogCompatibility() 265 RoleManager roleManager = getSystemService(RoleManager.class); in handleSmsDefaultDialogCompatibility() local 266 String holderPackageName = CollectionUtils.firstOrNull(roleManager.getRoleHolders( in handleSmsDefaultDialogCompatibility()
|
D | RequestRoleFragment.java | 124 RoleManager roleManager = context.getSystemService(RoleManager.class); in onCreateDialog() local 125 List<String> currentPackageNames = roleManager.getRoleHolders(mRoleName); in onCreateDialog()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | RoleManagerAdapterImpl.java | 47 public RoleManagerAdapterImpl(Context context, RoleManager roleManager) { in RoleManagerAdapterImpl() argument 49 mRoleManager = roleManager; in RoleManagerAdapterImpl()
|
/packages/apps/PermissionController/src/com/android/permissioncontroller/role/model/ |
D | HomeRoleBehavior.java | 105 RoleManager roleManager = context.getSystemService(RoleManager.class); in preparePreferenceAsUser() local 106 String packageName = CollectionUtils.firstOrNull(roleManager.getRoleHoldersAsUser( in preparePreferenceAsUser()
|
D | AssistantRoleBehavior.java | 65 RoleManager roleManager = context.getSystemService(RoleManager.class); in onRoleAdded() local 66 List<String> packageNames = roleManager.getRoleHolders(role.getName()); in onRoleAdded()
|
D | Role.java | 734 RoleManager roleManager = context.getSystemService(RoleManager.class); in revoke() local 735 List<String> otherRoleNames = roleManager.getHeldRolesFromController(packageName); in revoke()
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | SelfManagedCallingActivity.java | 245 RoleManager roleManager = (RoleManager) getSystemService(ROLE_SERVICE); in requestCallScreeningRole() local 246 Intent intent = roleManager.createRequestRoleIntent(RoleManager.ROLE_CALL_SCREENING); in requestCallScreeningRole()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationBackend.java | 102 RoleManager roleManager, PackageInfo app) { in loadAppRow() argument 104 recordCanBeBlocked(context, pm, roleManager, app, row); in loadAppRow()
|