/frameworks/base/services/core/java/com/android/server/policy/role/ |
D | LegacyRoleResolutionPolicy.java | 21 import android.app.role.RoleManager; 66 case RoleManager.ROLE_ASSISTANT: { in getRoleHolders() 87 case RoleManager.ROLE_BROWSER: { in getRoleHolders() 94 case RoleManager.ROLE_DIALER: { in getRoleHolders() 111 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/role/ |
D | RoleManagerService.java | 31 import android.app.role.RoleManager; 226 migrateRoleIfNecessary(RoleManager.ROLE_ASSISTANT, userId); in performInitialGrantsIfNecessaryAsync() 227 migrateRoleIfNecessary(RoleManager.ROLE_BROWSER, userId); in performInitialGrantsIfNecessaryAsync() 228 migrateRoleIfNecessary(RoleManager.ROLE_DIALER, userId); in performInitialGrantsIfNecessaryAsync() 229 migrateRoleIfNecessary(RoleManager.ROLE_SMS, userId); in performInitialGrantsIfNecessaryAsync() 230 migrateRoleIfNecessary(RoleManager.ROLE_EMERGENCY, userId); in performInitialGrantsIfNecessaryAsync() 403 if (RoleManager.ROLE_SMS.equals(roleName)) { in notifyRoleHoldersChanged() 476 @RoleManager.ManageHoldersFlags int flags, @UserIdInt int userId, in addRoleHolderAsUser() 496 @RoleManager.ManageHoldersFlags int flags, @UserIdInt int userId, in removeRoleHolderAsUser() 516 @RoleManager.ManageHoldersFlags int flags, @UserIdInt int userId, in clearRoleHoldersAsUser() [all …]
|
/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/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(); 180 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; 95 private RoleManager mRoleManager;
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | SmsApplication.java | 22 import android.app.role.RoleManager; 473 RoleManager roleManager = (RoleManager) context.getSystemService(Context.ROLE_SERVICE); in getApplication() 477 RoleManager.ROLE_SMS))) { in getApplication() 533 return context.getSystemService(RoleManager.class).getDefaultSmsPackage(userId); in getDefaultSmsPackage() 600 RoleManager roleManager = (RoleManager) context.getSystemService(Context.ROLE_SERVICE); in setDefaultApplicationAsUser() 604 RoleManager.ROLE_SMS))) { in setDefaultApplicationAsUser() 663 context.getSystemService(RoleManager.class).addRoleHolderAsUser( in setDefaultApplicationInternal() 664 RoleManager.ROLE_SMS, applicationData.mPackageName, 0, UserHandle.of(userId), in setDefaultApplicationInternal()
|
/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/tests/TelephonyCommonTests/src/com/android/internal/telephony/tests/ |
D | SmsApplicationTest.java | 34 import android.app.role.RoleManager; 104 @Mock private RoleManager mRoleManager; 114 when(mContext.getSystemService(RoleManager.class)).thenReturn(mRoleManager); in setUp() 132 when(mRoleManager.isRoleAvailable(RoleManager.ROLE_SMS)).thenReturn(true); in setUp()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VoiceInteractionManagerService.java | 28 import android.app.role.RoleManager; 1303 private RoleManager mRm = mContext.getSystemService(RoleManager.class); 1308 if (mRm.isRoleAvailable(RoleManager.ROLE_ASSISTANT)) { in RoleObserver() 1311 onRoleHoldersChanged(RoleManager.ROLE_ASSISTANT, currentUser); in RoleObserver() 1338 if (!roleName.equals(RoleManager.ROLE_ASSISTANT)) { in onRoleHoldersChanged() 1471 context.getSystemService(RoleManager.class).clearRoleHoldersAsUser( 1472 RoleManager.ROLE_ASSISTANT, 0, UserHandle.of(userHandle),
|
/frameworks/base/core/java/android/app/ |
D | SystemServiceRegistry.java | 30 import android.app.role.RoleManager; 1327 registerService(Context.ROLE_SERVICE, RoleManager.class, in registerService() 1328 new CachedServiceFetcher<RoleManager>() { in registerService() 1330 public RoleManager createService(ContextImpl ctx) in registerService() 1332 return new RoleManager(ctx.getOuterContext()); in registerService()
|
/frameworks/base/api/ |
D | test-lint-baseline.txt | 2605 SamShouldBeLast: android.app.role.RoleManager#addOnRoleHoldersChangedListenerAsUser(java.util.concu… 2607 SamShouldBeLast: android.app.role.RoleManager#removeOnRoleHoldersChangedListenerAsUser(android.app.… 2697 UserHandle: android.app.role.RoleManager#addOnRoleHoldersChangedListenerAsUser(java.util.concurrent… 2699 UserHandle: android.app.role.RoleManager#addRoleHolderAsUser(String, String, int, android.os.UserHa… 2701 UserHandle: android.app.role.RoleManager#clearRoleHoldersAsUser(String, int, android.os.UserHandle,… 2703 UserHandle: android.app.role.RoleManager#getRoleHoldersAsUser(String, android.os.UserHandle): 2705 UserHandle: android.app.role.RoleManager#removeOnRoleHoldersChangedListenerAsUser(android.app.role.… 2707 UserHandle: android.app.role.RoleManager#removeRoleHolderAsUser(String, String, int, android.os.Use…
|
D | test-current.txt | 567 public final class RoleManager {
|
D | system-current.txt | 1179 public final class RoleManager {
|
D | current.txt | 7460 public final class RoleManager {
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 40 import android.app.role.RoleManager; 912 private RoleManager mRm; 920 mRm = (RoleManager) mContext.getSystemService(Context.ROLE_SERVICE); in register() 929 if (RoleManager.ROLE_ASSISTANT.equals(roleName)) { in onRoleHoldersChanged() 937 List<String> assistants = mRm.getRoleHolders(RoleManager.ROLE_ASSISTANT); in getAssistantRoleHolder()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 128 import android.app.role.RoleManager; 328 RoleManager.ROLE_DIALER, 329 RoleManager.ROLE_EMERGENCY 1962 mRoleObserver = new RoleObserver(getContext().getSystemService(RoleManager.class), 8518 private final RoleManager mRm; 8522 RoleObserver(@NonNull RoleManager roleManager,
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerShellCommand.java | 29 import android.app.role.RoleManager; 2726 roleManager.addRoleHolderAsUser(RoleManager.ROLE_HOME, pkgName, in runSetHomeActivity()
|
/frameworks/base/config/ |
D | preloaded-classes | 578 android.app.role.RoleManager
|
D | boot-image-profile.txt | 2197 …/SystemServiceRegistry$113;->createService(Landroid/app/ContextImpl;)Landroid/app/role/RoleManager; 2839 HSPLandroid/app/role/RoleManager$OnRoleHoldersChangedListenerDelegate;->onRoleHoldersChanged(Ljava/… 2840 HSPLandroid/app/role/RoleManager;->addOnRoleHoldersChangedListenerAsUser(Ljava/util/concurrent/Exec… 2841 HSPLandroid/app/role/RoleManager;->getDefaultSmsPackage(I)Ljava/lang/String; 2842 HSPLandroid/app/role/RoleManager;->getRoleHoldersAsUser(Ljava/lang/String;Landroid/os/UserHandle;)L… 32647 Landroid/app/role/RoleManager$OnRoleHoldersChangedListenerDelegate; 32648 Landroid/app/role/RoleManager;
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 1179 public final class RoleManager {
|
D | current.txt | 7460 public final class RoleManager {
|