/frameworks/base/core/java/android/app/usage/ |
D | UsageStatsManagerInternal.java | 19 import android.annotation.UserIdInt; 47 public abstract void reportEvent(ComponentName component, @UserIdInt int userId, int eventType, in reportEvent() 58 public abstract void reportEvent(String packageName, @UserIdInt int userId, int eventType); in reportEvent() 65 public abstract void reportConfigurationChange(Configuration config, @UserIdInt int userId); in reportConfigurationChange() 75 @UserIdInt int userId); in reportInterruptiveNotification() 87 @UserIdInt int userId); in reportShortcutUsage() 96 @UserIdInt int userId); in reportContentProviderUsage() 118 public abstract boolean isAppIdle(String packageName, int uidForAppId, @UserIdInt int userId); in isAppIdle() 131 @UserIdInt int userId, long nowElapsed); in getAppStandbyBucket() 138 public abstract int[] getIdleUidsForUser(@UserIdInt int userId); in getIdleUidsForUser() [all …]
|
/frameworks/base/services/core/java/com/android/server/infra/ |
D | ServiceNameResolver.java | 20 import android.annotation.UserIdInt; 42 void onNameResolved(@UserIdInt int userId, @Nullable String serviceName, in onNameResolved() 64 String getDefaultServiceName(@UserIdInt int userId); in getDefaultServiceName() 74 default String getServiceName(@UserIdInt int userId) { in getServiceName() 81 default boolean isTemporary(@SuppressWarnings("unused") @UserIdInt int userId) { in isTemporary() 95 default void setTemporaryService(@UserIdInt int userId, @NonNull String componentName, in setTemporaryService() 107 default void resetTemporaryService(@UserIdInt int userId) { in resetTemporaryService() 125 default boolean setDefaultServiceEnabled(@UserIdInt int userId, boolean enabled) { in setDefaultServiceEnabled() 139 default boolean isDefaultServiceEnabled(@UserIdInt int userId) { in isDefaultServiceEnabled() 153 void dumpShort(@NonNull PrintWriter pw, @UserIdInt int userId); in dumpShort()
|
D | AbstractMasterSystemService.java | 21 import android.annotation.UserIdInt; 364 public final void setTemporaryService(@UserIdInt int userId, @NonNull String componentName, in setTemporaryService() 396 public final boolean setDefaultServiceEnabled(@UserIdInt int userId, boolean enabled) { in setDefaultServiceEnabled() 428 public final boolean isDefaultServiceEnabled(@UserIdInt int userId) { in isDefaultServiceEnabled() 452 public final void resetTemporaryService(@UserIdInt int userId) { in resetTemporaryService() 485 protected abstract S newServiceLocked(@UserIdInt int resolvedUserId, boolean disabled); in newServiceLocked() 517 protected void onSettingsChanged(@UserIdInt int userId, @NonNull String property) { in onSettingsChanged() 525 protected S getServiceForUserLocked(@UserIdInt int userId) { in getServiceForUserLocked() 546 protected S peekServiceForUserLocked(@UserIdInt int userId) { in peekServiceForUserLocked() 556 protected void updateCachedServiceLocked(@UserIdInt int userId) { in updateCachedServiceLocked() [all …]
|
D | FrameworkResourcesServiceNameResolver.java | 21 import android.annotation.UserIdInt; 99 public String getDefaultServiceName(@UserIdInt int userId) { in getDefaultServiceName() 107 public String getServiceName(@UserIdInt int userId) { in getServiceName() 128 public boolean isTemporary(@UserIdInt int userId) { in isTemporary() 135 public void setTemporaryService(@UserIdInt int userId, @NonNull String componentName, in setTemporaryService() 164 public void resetTemporaryService(@UserIdInt int userId) { in resetTemporaryService() 225 public void dumpShort(@NonNull PrintWriter pw, @UserIdInt int userId) { in dumpShort() 239 private void notifyTemporaryServiceNameChangedLocked(@UserIdInt int userId, in notifyTemporaryServiceNameChangedLocked()
|
D | SecureSettingsServiceNameResolver.java | 19 import android.annotation.UserIdInt; 44 public String getDefaultServiceName(@UserIdInt int userId) { in getDefaultServiceName() 56 public void dumpShort(@NonNull PrintWriter pw, @UserIdInt int userId) { in dumpShort()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | BackupManagerService.java | 23 import android.annotation.UserIdInt; 148 private void enforceCallingPermissionOnUserId(@UserIdInt int userId, String message) { in enforceCallingPermissionOnUserId() 224 @UserIdInt int userId, String caller) { in getServiceForUserIfCallerHasPermission() 249 public void dataChanged(@UserIdInt int userId, String packageName) { in dataChanged() 262 public void agentConnected(@UserIdInt int userId, String packageName, IBinder agentBinder) { in agentConnected() 275 public void agentDisconnected(@UserIdInt int userId, String packageName) { in agentDisconnected() 288 public void opComplete(@UserIdInt int userId, int token, long result) { in opComplete() 303 @UserIdInt int userId, String[] transportNames, IBackupObserver observer) { in initializeTransports() 316 public void clearBackupData(@UserIdInt int userId, String transportName, String packageName) { in clearBackupData() 327 public String getCurrentTransport(@UserIdInt int userId) { in getCurrentTransport() [all …]
|
/frameworks/base/core/java/android/os/ |
D | UserHandle.java | 23 import android.annotation.UserIdInt; 42 public static final @UserIdInt int USER_ALL = -1; 51 public static final @UserIdInt int USER_CURRENT = -2; 62 public static final @UserIdInt int USER_CURRENT_OR_SELF = -3; 72 public static final @UserIdInt int USER_NULL = -10000; 81 public static final @UserIdInt int USER_OWNER = 0; 94 public static final @UserIdInt int USER_SYSTEM = 0; 212 public static @UserIdInt int getUserId(int uid) { in getUserId() 222 public static @UserIdInt int getCallingUserId() { in getCallingUserId() 233 public static UserHandle of(@UserIdInt int userId) { in of() [all …]
|
D | UserManager.java | 28 import android.annotation.UserIdInt; 1362 public @UserIdInt int getUserHandle() { in getUserHandle() 1454 public boolean isUserAdmin(@UserIdInt int userId) { in isUserAdmin() 1508 public boolean canHaveRestrictedProfile(@UserIdInt int userId) { in canHaveRestrictedProfile() 1601 public boolean isManagedProfile(@UserIdInt int userId) { in isManagedProfile() 1621 public int getManagedProfileBadge(@UserIdInt int userId) { in getManagedProfileBadge() 1643 public boolean isUserEphemeral(@UserIdInt int userId) { in isUserEphemeral() 1670 public boolean isUserRunning(@UserIdInt int userId) { in isUserRunning() 1746 public boolean isUserUnlocked(@UserIdInt int userId) { in isUserUnlocked() 1760 public boolean isUserUnlockingOrUnlocked(@UserIdInt int userId) { in isUserUnlockingOrUnlocked() [all …]
|
/frameworks/base/services/core/java/com/android/server/contentcapture/ |
D | ContentCaptureManagerInternal.java | 20 import android.annotation.UserIdInt; 39 public abstract boolean isContentCaptureServiceForUser(int uid, @UserIdInt int userId); in isContentCaptureServiceForUser() 46 public abstract boolean sendActivityAssistData(@UserIdInt int userId, in sendActivityAssistData() 57 public abstract ContentCaptureOptions getOptionsForPackage(@UserIdInt int userId, in getOptionsForPackage() 63 public abstract void notifyActivityEvent(@UserIdInt int userId, in notifyActivityEvent()
|
/frameworks/base/services/core/java/com/android/server/role/ |
D | RoleManagerService.java | 24 import android.annotation.UserIdInt; 115 List<String> getRoleHolders(@NonNull String roleName, @UserIdInt int userId); in getRoleHolders() 210 public void onStartUser(@UserIdInt int userId) { in onStartUser() 214 private CompletableFuture<Void> performInitialGrantsIfNecessaryAsync(@UserIdInt int userId) { in performInitialGrantsIfNecessaryAsync() 253 private void performInitialGrantsIfNecessary(@UserIdInt int userId) { in performInitialGrantsIfNecessary() 262 private void migrateRoleIfNecessary(String role, @UserIdInt int userId) { in migrateRoleIfNecessary() 280 private static String computeComponentStateHash(@UserIdInt int userId) { in computeComponentStateHash() 312 private RoleUserState getOrCreateUserState(@UserIdInt int userId) { in getOrCreateUserState() 324 private RoleControllerManager getOrCreateController(@UserIdInt int userId) { in getOrCreateController() 345 private RemoteCallbackList<IOnRoleHoldersChangedListener> getListeners(@UserIdInt int userId) { in getListeners() [all …]
|
/frameworks/base/services/core/java/com/android/server/utils/ |
D | UserTokenWatcher.java | 19 import android.annotation.UserIdInt; 65 public void acquire(IBinder token, String tag, @UserIdInt int userId) { in acquire() 84 public void release(IBinder token, @UserIdInt int userId) { in release() 98 public boolean isAcquired(@UserIdInt int userId) { in isAcquired() 131 void acquired(@UserIdInt int userId); in acquired() 136 void released(@UserIdInt int userId); in released()
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | DumpState.java | 20 import android.annotation.UserIdInt; 27 @UserIdInt private int mUserId = UserHandle.USER_ALL; 33 public void setUserId(@UserIdInt int userId) { in setUserId() 36 @UserIdInt public int getUserId() { in getUserId()
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManagerInternal.java | 19 import android.annotation.UserIdInt; 131 public abstract void reportSeparateProfileChallengeChanged(@UserIdInt int userId); in reportSeparateProfileChallengeChanged() 140 public abstract boolean canUserHaveUntrustedCredentialReset(@UserIdInt int userId); in canUserHaveUntrustedCredentialReset() 149 public abstract CharSequence getPrintingDisabledReasonForUser(@UserIdInt int userId); in getPrintingDisabledReasonForUser()
|
D | DevicePolicyCache.java | 18 import android.annotation.UserIdInt; 44 public abstract boolean getScreenCaptureDisabled(@UserIdInt int userHandle); in getScreenCaptureDisabled() 50 public abstract int getPasswordQuality(@UserIdInt int userHandle); in getPasswordQuality()
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | InputContentUriTokenHandler.java | 20 import android.annotation.UserIdInt; 40 @UserIdInt 42 @UserIdInt 51 @NonNull String targetPackage, @UserIdInt int sourceUserId, in InputContentUriTokenHandler() 52 @UserIdInt int targetUserId) { in InputContentUriTokenHandler()
|
D | InputMethodManagerInternal.java | 20 import android.annotation.UserIdInt; 49 public abstract List<InputMethodInfo> getInputMethodListAsUser(@UserIdInt int userId); in getInputMethodListAsUser() 57 public abstract List<InputMethodInfo> getEnabledInputMethodListAsUser(@UserIdInt int userId); in getEnabledInputMethodListAsUser()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | InstantAppRegistry.java | 21 import android.annotation.UserIdInt; 138 @UserIdInt int userId) { in getInstantAppCookieLPw() 162 @Nullable byte[] cookie, @UserIdInt int userId) { in setInstantAppCookieLPw() 184 @NonNull String packageName, @NonNull File cookieFile, @UserIdInt int userId) { in persistInstantApplicationCookie() 209 @UserIdInt int userId) { in getInstantAppIconLPw() 219 @UserIdInt int userId) { in getInstantAppAndroidIdLPw() 233 @UserIdInt int userId) { in generateInstantAppAndroidIdLPw() 254 public @Nullable List<InstantAppInfo> getInstantAppsLPr(@UserIdInt int userId) { in getInstantAppsLPr() 386 public boolean isInstantAccessGranted(@UserIdInt int userId, int targetAppId, in isInstantAccessGranted() 403 public void grantInstantAccessLPw(@UserIdInt int userId, @Nullable Intent intent, in grantInstantAccessLPw() [all …]
|
D | ProtectedPackages.java | 20 import android.annotation.UserIdInt; 36 @UserIdInt 117 public boolean isPackageStateProtected(@UserIdInt int userId, String packageName) { in isPackageStateProtected() 126 public boolean isPackageDataProtected(@UserIdInt int userId, String packageName) { in isPackageDataProtected()
|
/frameworks/base/core/java/com/android/internal/infra/ |
D | GlobalWhitelistState.java | 21 import android.annotation.UserIdInt; 52 public void setWhitelist(@UserIdInt int userId, @Nullable List<String> packageNames, in setWhitelist() 70 public boolean isWhitelisted(@UserIdInt int userId, @NonNull String packageName) { in isWhitelisted() 81 public boolean isWhitelisted(@UserIdInt int userId, @NonNull ComponentName componentName) { in isWhitelisted() 92 public ArraySet<ComponentName> getWhitelistedComponents(@UserIdInt int userId, in getWhitelistedComponents()
|
/frameworks/base/core/java/android/view/autofill/ |
D | AutofillManagerInternal.java | 20 import android.annotation.UserIdInt; 47 long versionCode, @UserIdInt int userId); in getAutofillOptions() 55 @UserIdInt int userId); in isAugmentedAutofillServiceForUser()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PermissionPolicyInternal.java | 21 import android.annotation.UserIdInt; 39 void onInitialized(@UserIdInt int userId); in onInitialized() 57 public abstract boolean isInitialized(@UserIdInt int userId); in isInitialized()
|
/frameworks/base/services/core/java/com/android/server/textservices/ |
D | TextServicesManagerInternal.java | 21 import android.annotation.UserIdInt; 41 public abstract SpellCheckerInfo getCurrentSpellCheckerForUser(@UserIdInt int userId); in getCurrentSpellCheckerForUser() 49 public SpellCheckerInfo getCurrentSpellCheckerForUser(@UserIdInt int userId) {
|
/frameworks/base/core/java/android/util/ |
D | IconDrawableFactory.java | 18 import android.annotation.UserIdInt; 52 protected boolean needsBadging(ApplicationInfo appInfo, @UserIdInt int userId) { in needsBadging() 61 public Drawable getBadgedIcon(ApplicationInfo appInfo, @UserIdInt int userId) { in getBadgedIcon() 67 @UserIdInt int userId) { in getBadgedIcon() 104 public static int getUserBadgeColor(UserManager um, @UserIdInt int userId) { in getUserBadgeColor()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageManagerInternal.java | 22 import android.annotation.UserIdInt; 157 String getDefaultBrowser(@UserIdInt int userId); in getDefaultBrowser() 167 boolean setDefaultBrowser(@Nullable String packageName, @UserIdInt int userId); in setDefaultBrowser() 175 void setDefaultBrowserAsync(@Nullable String packageName, @UserIdInt int userId); in setDefaultBrowserAsync() 191 String getDefaultDialer(@UserIdInt int userId); in getDefaultDialer() 207 String getDefaultHome(@UserIdInt int userId); in getDefaultHome() 216 void setDefaultHomeAsync(@Nullable String packageName, @UserIdInt int userId, in setDefaultHomeAsync() 320 @ApplicationInfoFlags int flags, @UserIdInt int userId, int callingUid); in getInstalledApplications() 866 @NonNull Consumer<PackageParser.Package> actionLocked, @UserIdInt int userId); in forEachInstalledPackage() 1004 @UserIdInt int userId); in setRuntimePermissionsFingerPrint()
|
/frameworks/base/services/systemcaptions/java/com/android/server/systemcaptions/ |
D | SystemCaptionsManagerService.java | 20 import android.annotation.UserIdInt; 47 @UserIdInt int resolvedUserId, boolean disabled) { in newServiceLocked() 56 SystemCaptionsManagerPerUserService service, @UserIdInt int userId) { in onServiceRemoved()
|