/frameworks/base/services/core/java/com/android/server/policy/role/ |
D | LegacyRoleResolutionPolicy.java | 21 import android.app.role.RoleManager; 69 case RoleManager.ROLE_ASSISTANT: { in getRoleHolders() 79 case RoleManager.ROLE_BROWSER: { in getRoleHolders() 86 case RoleManager.ROLE_DIALER: { in getRoleHolders() 94 case RoleManager.ROLE_SMS: { in getRoleHolders() 126 case RoleManager.ROLE_HOME: { in getRoleHolders() 133 case RoleManager.ROLE_EMERGENCY: { in getRoleHolders()
|
/frameworks/base/services/core/java/com/android/server/appbinding/finders/ |
D | CarrierMessagingClientServiceFinder.java | 21 import android.app.role.RoleManager; 46 private final RoleManager mRoleManager; 53 mRoleManager = context.getSystemService(RoleManager.class); in CarrierMessagingClientServiceFinder() 90 RoleManager.ROLE_SMS, UserHandle.of(userId))); in getTargetPackage() 122 if (RoleManager.ROLE_SMS.equals(role)) {
|
/frameworks/base/services/core/java/com/android/server/role/ |
D | RoleManagerService.java | 31 import android.app.role.RoleManager; 228 migrateRoleIfNecessary(RoleManager.ROLE_SMS, userId); in performInitialGrantsIfNecessaryAsync() 229 migrateRoleIfNecessary(RoleManager.ROLE_ASSISTANT, userId); in performInitialGrantsIfNecessaryAsync() 230 migrateRoleIfNecessary(RoleManager.ROLE_DIALER, userId); in performInitialGrantsIfNecessaryAsync() 231 migrateRoleIfNecessary(RoleManager.ROLE_EMERGENCY, userId); in performInitialGrantsIfNecessaryAsync() 404 if (RoleManager.ROLE_SMS.equals(roleName)) { in notifyRoleHoldersChanged() 477 @RoleManager.ManageHoldersFlags int flags, @UserIdInt int userId, in addRoleHolderAsUser() 497 @RoleManager.ManageHoldersFlags int flags, @UserIdInt int userId, in removeRoleHolderAsUser() 517 @RoleManager.ManageHoldersFlags int flags, @UserIdInt int userId, in clearRoleHoldersAsUser() 574 RoleManager.PERMISSION_MANAGE_ROLES_FROM_CONTROLLER, in setRoleNamesFromController() [all …]
|
/frameworks/base/core/java/android/app/role/ |
D | RoleControllerService.java | 174 @RoleManager.ManageHoldersFlags int flags, @NonNull RemoteCallback callback) { 180 @RoleManager.ManageHoldersFlags int flags, @NonNull RemoteCallback callback) { 186 @RoleManager.ManageHoldersFlags int flags, @NonNull RemoteCallback callback) { 220 @RoleManager.ManageHoldersFlags int flags); 236 @NonNull String packageName, @RoleManager.ManageHoldersFlags int flags); 250 @RoleManager.ManageHoldersFlags int flags);
|
D | RoleControllerManager.java | 131 @RoleManager.ManageHoldersFlags int flags, @NonNull RemoteCallback callback) { in onAddRoleHolder() 140 @RoleManager.ManageHoldersFlags int flags, @NonNull RemoteCallback callback) { in onRemoveRoleHolder() 149 @RoleManager.ManageHoldersFlags int flags, @NonNull RemoteCallback callback) { in onClearRoleHolders() 296 @RoleManager.ManageHoldersFlags 305 @NonNull String packageName, @RoleManager.ManageHoldersFlags int flags, in OnAddRoleHolderRequest() 351 @RoleManager.ManageHoldersFlags 360 @NonNull String packageName, @RoleManager.ManageHoldersFlags int flags, in OnRemoveRoleHolderRequest() 404 @RoleManager.ManageHoldersFlags 413 @RoleManager.ManageHoldersFlags int flags, @NonNull RemoteCallback callback) { in OnClearRoleHoldersRequest()
|
D | RoleManager.java | 70 public final class RoleManager { class 72 private static final String LOG_TAG = RoleManager.class.getSimpleName(); 181 public RoleManager(@NonNull Context context) throws ServiceManager.ServiceNotFoundException { in RoleManager() method in RoleManager
|
/frameworks/base/telecomm/java/android/telecom/ |
D | DefaultDialerManager.java | 18 import android.app.role.RoleManager; 87 context.getSystemService(RoleManager.class).addRoleHolderAsUser( in setDefaultDialerApplication() 88 RoleManager.ROLE_DIALER, packageName, 0, UserHandle.of(user), in setDefaultDialerApplication() 133 return CollectionUtils.firstOrNull(context.getSystemService(RoleManager.class) in getDefaultDialerApplication() 134 .getRoleHoldersAsUser(RoleManager.ROLE_DIALER, UserHandle.of(user))); in getDefaultDialerApplication()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | RoleObserverTest.java | 19 import static android.app.role.RoleManager.ROLE_DIALER; 20 import static android.app.role.RoleManager.ROLE_EMERGENCY; 21 import static android.app.role.RoleManager.ROLE_SMS; 40 import android.app.role.RoleManager; 94 private RoleManager mRoleManager;
|
/frameworks/base/services/core/java/com/android/server/telecom/ |
D | TelecomLoaderService.java | 19 import android.app.role.RoleManager; 220 final RoleManager roleManager = mContext.getSystemService(RoleManager.class); in registerDefaultAppNotifier()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | SmsApplication.java | 22 import android.app.role.RoleManager; 469 RoleManager roleManager = (RoleManager) context.getSystemService(Context.ROLE_SERVICE); in getApplication() 473 RoleManager.ROLE_SMS))) { in getApplication() 529 return context.getSystemService(RoleManager.class).getDefaultSmsPackage(userId); in getDefaultSmsPackage() 592 RoleManager roleManager = (RoleManager) context.getSystemService(Context.ROLE_SERVICE); in setDefaultApplicationAsUser() 596 RoleManager.ROLE_SMS))) { in setDefaultApplicationAsUser() 655 context.getSystemService(RoleManager.class).addRoleHolderAsUser( in setDefaultApplicationInternal() 656 RoleManager.ROLE_SMS, applicationData.mPackageName, 0, UserHandle.of(userId), in setDefaultApplicationInternal()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VoiceInteractionManagerService.java | 27 import android.app.role.RoleManager; 1280 private RoleManager mRm = mContext.getSystemService(RoleManager.class); 1286 onRoleHoldersChanged(RoleManager.ROLE_ASSISTANT, currentUser); in RoleObserver() 1312 if (!roleName.equals(RoleManager.ROLE_ASSISTANT)) { in onRoleHoldersChanged() 1445 context.getSystemService(RoleManager.class).clearRoleHoldersAsUser( 1446 RoleManager.ROLE_ASSISTANT, 0, UserHandle.of(userHandle),
|
/frameworks/base/core/java/android/app/ |
D | SystemServiceRegistry.java | 30 import android.app.role.RoleManager; 1255 registerService(Context.ROLE_SERVICE, RoleManager.class, in registerService() 1256 new CachedServiceFetcher<RoleManager>() { in registerService() 1258 public RoleManager createService(ContextImpl ctx) in registerService() 1260 return new RoleManager(ctx.getOuterContext()); in registerService()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 40 import android.app.role.RoleManager; 908 private RoleManager mRm; 916 mRm = (RoleManager) mContext.getSystemService(Context.ROLE_SERVICE); in register() 925 if (RoleManager.ROLE_ASSISTANT.equals(roleName)) { in onRoleHoldersChanged() 933 List<String> assistants = mRm.getRoleHolders(RoleManager.ROLE_ASSISTANT); in getAssistantRoleHolder()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 127 import android.app.role.RoleManager; 323 RoleManager.ROLE_DIALER, 324 RoleManager.ROLE_EMERGENCY 1889 mRoleObserver = new RoleObserver(getContext().getSystemService(RoleManager.class), 8256 private final RoleManager mRm; 8260 RoleObserver(@NonNull RoleManager roleManager,
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerShellCommand.java | 29 import android.app.role.RoleManager; 2542 roleManager.addRoleHolderAsUser(RoleManager.ROLE_HOME, pkgName, in runSetHomeActivity()
|
/frameworks/base/api/ |
D | test-current.txt | 558 public final class RoleManager {
|
D | system-current.txt | 1144 public final class RoleManager {
|
/frameworks/base/config/ |
D | preloaded-classes | 578 android.app.role.RoleManager
|