/frameworks/base/services/backup/java/com/android/server/backup/ |
D | Trampoline.java | 144 protected File getRememberActivatedFileForNonSystemUser(int userId) { in getRememberActivatedFileForNonSystemUser() argument 145 return UserBackupManagerFiles.getStateFileInSystemDir(REMEMBER_ACTIVATED_FILENAME, userId); in getRememberActivatedFileForNonSystemUser() 149 protected File getActivatedFileForNonSystemUser(int userId) { in getActivatedFileForNonSystemUser() argument 150 return UserBackupManagerFiles.getStateFileInSystemDir(BACKUP_ACTIVATED_FILENAME, userId); in getActivatedFileForNonSystemUser() 182 private void deactivateBackupForUserLocked(int userId) throws IOException { in deactivateBackupForUserLocked() argument 183 if (userId == UserHandle.USER_SYSTEM) { in deactivateBackupForUserLocked() 186 deleteFile(getActivatedFileForNonSystemUser(userId)); in deactivateBackupForUserLocked() 197 private void activateBackupForUserLocked(int userId) throws IOException { in activateBackupForUserLocked() argument 198 if (userId == UserHandle.USER_SYSTEM) { in activateBackupForUserLocked() 201 createFile(getActivatedFileForNonSystemUser(userId)); in activateBackupForUserLocked() [all …]
|
D | BackupManagerService.java | 101 int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL); 102 if (userId > 0) { // for only non system users 103 onRemovedNonSystemUser(userId); 133 private void onRemovedNonSystemUser(int userId) { in onRemovedNonSystemUser() argument 134 Slog.i(TAG, "Removing state for non system user " + userId); in onRemovedNonSystemUser() 135 File dir = UserBackupManagerFiles.getStateDirInSystemDir(userId); in onRemovedNonSystemUser() 137 Slog.w(TAG, "Failed to delete state dir for removed user: " + userId); in onRemovedNonSystemUser() 148 private void enforceCallingPermissionOnUserId(@UserIdInt int userId, String message) { in enforceCallingPermissionOnUserId() argument 149 if (Binder.getCallingUserHandle().getIdentifier() != userId) { in enforceCallingPermissionOnUserId() 164 protected void startServiceForUser(int userId) { in startServiceForUser() argument [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/ |
D | RecoverableKeyStoreDbTest.java | 81 int userId = 12; in insertKey_replacesOldKey() local 90 mRecoverableKeyStoreDb.insertKey(userId, uid, alias, wrappedKey); in insertKey_replacesOldKey() 103 mRecoverableKeyStoreDb.insertKey(userId, uid, alias, wrappedKey); in insertKey_replacesOldKey() 114 int userId = 6; in insertKey_allowsTwoUidsToHaveSameAlias() local 127 mRecoverableKeyStoreDb.insertKey(userId, /*uid=*/ 1, alias, key1); in insertKey_allowsTwoUidsToHaveSameAlias() 128 mRecoverableKeyStoreDb.insertKey(userId, /*uid=*/ 2, alias, key2); in insertKey_allowsTwoUidsToHaveSameAlias() 140 int userId = 6; in removeKey_removesAKey() local 148 mRecoverableKeyStoreDb.insertKey(userId, uid, alias, key); in removeKey_removesAKey() 165 int userId = 12; in getKey_returnsInsertedKey() local 175 mRecoverableKeyStoreDb.insertKey(userId, uid, alias, wrappedKey); in getKey_returnsInsertedKey() [all …]
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 275 protected void handleStrongAuthRequiredChanged(int strongAuthFlags, int userId) { in handleStrongAuthRequiredChanged() argument 277 super.handleStrongAuthRequiredChanged(strongAuthFlags, userId); in handleStrongAuthRequiredChanged() 282 public int getStrongAuthForUser(int userId) { in getStrongAuthForUser() argument 284 return super.getStrongAuthForUser(userId); in getStrongAuthForUser() 296 PendingResetLockout(int userId, byte[] hat) { in PendingResetLockout() argument 297 mUserId = userId; in PendingResetLockout() 446 public boolean hasEnrolledBiometrics(int userId) { in hasEnrolledBiometrics() argument 448 return bm.hasEnrolledBiometrics(userId); in hasEnrolledBiometrics() 500 private void maybeShowEncryptionNotificationForUser(@UserIdInt int userId) { in maybeShowEncryptionNotificationForUser() argument 501 final UserInfo user = mUserManager.getUserInfo(userId); in maybeShowEncryptionNotificationForUser() [all …]
|
D | LockSettingsStorage.java | 193 public void writeKeyValue(String key, String value, int userId) { in writeKeyValue() argument 194 writeKeyValue(mOpenHelper.getWritableDatabase(), key, value, userId); in writeKeyValue() local 197 public void writeKeyValue(SQLiteDatabase db, String key, String value, int userId) { in writeKeyValue() argument 200 cv.put(COLUMN_USERID, userId); in writeKeyValue() 206 new String[] {key, Integer.toString(userId)}); in writeKeyValue() 209 mCache.putKeyValue(key, value, userId); in writeKeyValue() 216 public String readKeyValue(String key, String defaultValue, int userId) { in readKeyValue() argument 219 if (mCache.hasKeyValue(key, userId)) { in readKeyValue() 220 return mCache.peekKeyValue(key, defaultValue, userId); in readKeyValue() 230 new String[] { Integer.toString(userId), key }, in readKeyValue() [all …]
|
D | SyntheticPasswordManager.java | 424 public void removeUser(int userId) { in removeUser() argument 425 for (long handle : mStorage.listSyntheticPasswordHandlesForUser(SP_BLOB_NAME, userId)) { in removeUser() 426 destroyWeaverSlot(handle, userId); in removeUser() 431 public int getCredentialType(long handle, int userId) { in getCredentialType() argument 432 byte[] passwordData = loadState(PASSWORD_DATA_NAME, handle, userId); in getCredentialType() 434 Log.w(TAG, "getCredentialType: encountered empty password data for user " + userId); in getCredentialType() 463 byte[] hash, byte[] credential, int userId) throws RemoteException { in newSyntheticPasswordAndSid() argument 467 response = gatekeeper.enroll(userId, hash, credential, in newSyntheticPasswordAndSid() 470 Log.w(TAG, "Fail to migrate SID, assuming no SID, user " + userId); in newSyntheticPasswordAndSid() 471 clearSidForUser(userId); in newSyntheticPasswordAndSid() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionsState.java | 184 public boolean isPermissionReviewRequired(int userId) { in isPermissionReviewRequired() argument 185 return mPermissionReviewRequired != null && mPermissionReviewRequired.get(userId); in isPermissionReviewRequired() 221 public int grantRuntimePermission(BasePermission permission, int userId) { in grantRuntimePermission() argument 222 enforceValidUserId(userId); in grantRuntimePermission() 223 if (userId == UserHandle.USER_ALL) { in grantRuntimePermission() 226 return grantPermission(permission, userId); in grantRuntimePermission() 238 public int revokeRuntimePermission(BasePermission permission, int userId) { in revokeRuntimePermission() argument 239 enforceValidUserId(userId); in revokeRuntimePermission() 240 if (userId == UserHandle.USER_ALL) { in revokeRuntimePermission() 243 return revokePermission(permission, userId); in revokeRuntimePermission() [all …]
|
D | DefaultPermissionGrantPolicy.java | 288 public boolean wereDefaultPermissionsGrantedSinceBoot(int userId) { in wereDefaultPermissionsGrantedSinceBoot() argument 290 return mDefaultPermissionsGrantedUsers.indexOfKey(userId) >= 0; in wereDefaultPermissionsGrantedSinceBoot() 294 public void grantDefaultPermissions(int userId) { in grantDefaultPermissions() argument 295 grantPermissionsToSysComponentsAndPrivApps(userId); in grantDefaultPermissions() 296 grantDefaultSystemHandlerPermissions(userId); in grantDefaultPermissions() 297 grantDefaultPermissionExceptions(userId); in grantDefaultPermissions() 299 mDefaultPermissionsGrantedUsers.put(userId, userId); in grantDefaultPermissions() 303 private void grantRuntimePermissionsForSystemPackage(int userId, PackageInfo pkg) { in grantRuntimePermissionsForSystemPackage() argument 315 grantRuntimePermissions(pkg, permissions, true /*systemFixed*/, userId); in grantRuntimePermissionsForSystemPackage() 323 private void grantPermissionsToSysComponentsAndPrivApps(int userId) { in grantPermissionsToSysComponentsAndPrivApps() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | PlatformKeyManager.java | 128 public int getGenerationId(int userId) { in getGenerationId() argument 129 return mDatabase.getPlatformKeyGenerationId(userId); in getGenerationId() 140 public boolean isAvailable(int userId) { in isAvailable() argument 141 return mContext.getSystemService(KeyguardManager.class).isDeviceSecure(userId); in isAvailable() 153 public void invalidatePlatformKey(int userId, int generationId) { in invalidatePlatformKey() argument 156 mKeyStore.deleteEntry(getEncryptAlias(userId, generationId)); in invalidatePlatformKey() 157 mKeyStore.deleteEntry(getDecryptAlias(userId, generationId)); in invalidatePlatformKey() 179 void regenerate(int userId) in regenerate() argument 182 if (!isAvailable(userId)) { in regenerate() 184 Locale.US, "%d does not have a lock screen set.", userId)); in regenerate() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternUtils.java | 189 public boolean isTrustUsuallyManaged(int userId) { in isTrustUsuallyManaged() argument 195 return getLockSettings().getBoolean(IS_TRUST_USUALLY_MANAGED, false, userId); in isTrustUsuallyManaged() 201 public void setTrustUsuallyManaged(boolean managed, int userId) { in setTrustUsuallyManaged() argument 203 getLockSettings().setBoolean(IS_TRUST_USUALLY_MANAGED, managed, userId); in setTrustUsuallyManaged() 209 public void userPresent(int userId) { in userPresent() argument 211 getLockSettings().userPresent(userId); in userPresent() 284 public int getRequestedMinimumPasswordLength(int userId) { in getRequestedMinimumPasswordLength() argument 285 return getDevicePolicyManager().getPasswordMinimumLength(null, userId); in getRequestedMinimumPasswordLength() 296 public int getRequestedPasswordQuality(int userId) { in getRequestedPasswordQuality() argument 297 return getDevicePolicyManager().getPasswordQuality(null, userId); in getRequestedPasswordQuality() [all …]
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerServiceImpl.java | 178 mSettings.remove(oi.packageName, oi.userId); in updateOverlaysForUser() 246 void onUserRemoved(final int userId) { in onUserRemoved() argument 248 Slog.d(TAG, "onUserRemoved userId=" + userId); in onUserRemoved() 250 mSettings.removeUser(userId); in onUserRemoved() 253 void onTargetPackageAdded(@NonNull final String packageName, final int userId) { in onTargetPackageAdded() argument 255 Slog.d(TAG, "onTargetPackageAdded packageName=" + packageName + " userId=" + userId); in onTargetPackageAdded() 258 updateAndRefreshOverlaysForTarget(packageName, userId, 0); in onTargetPackageAdded() 261 void onTargetPackageChanged(@NonNull final String packageName, final int userId) { in onTargetPackageChanged() argument 263 Slog.d(TAG, "onTargetPackageChanged packageName=" + packageName + " userId=" + userId); in onTargetPackageChanged() 266 updateAndRefreshOverlaysForTarget(packageName, userId, 0); in onTargetPackageChanged() [all …]
|
D | OverlayManagerService.java | 380 for (final int userId : userIds) { in onPackageAdded() 382 final PackageInfo pi = mPackageManager.getPackageInfo(packageName, userId, in onPackageAdded() 385 mPackageManager.cachePackageInfo(packageName, userId, pi); in onPackageAdded() 387 mImpl.onOverlayPackageAdded(packageName, userId); in onPackageAdded() 389 mImpl.onTargetPackageAdded(packageName, userId); in onPackageAdded() 403 for (int userId : userIds) { in onPackageChanged() 405 final PackageInfo pi = mPackageManager.getPackageInfo(packageName, userId, in onPackageChanged() 408 mPackageManager.cachePackageInfo(packageName, userId, pi); in onPackageChanged() 410 mImpl.onOverlayPackageChanged(packageName, userId); in onPackageChanged() 412 mImpl.onTargetPackageChanged(packageName, userId); in onPackageChanged() [all …]
|
/frameworks/base/media/java/android/media/tv/ |
D | ITvInputManager.aidl | 43 List<TvInputInfo> getTvInputList(int userId); in getTvInputList() argument 44 TvInputInfo getTvInputInfo(in String inputId, int userId); in getTvInputInfo() argument 45 void updateTvInputInfo(in TvInputInfo inputInfo, int userId); in updateTvInputInfo() argument 46 int getTvInputState(in String inputId, int userId); in getTvInputState() argument 48 List<TvContentRatingSystemInfo> getTvContentRatingSystemList(int userId); in getTvContentRatingSystemList() argument 50 void registerCallback(in ITvInputManagerCallback callback, int userId); in registerCallback() argument 51 void unregisterCallback(in ITvInputManagerCallback callback, int userId); in unregisterCallback() argument 53 boolean isParentalControlsEnabled(int userId); in isParentalControlsEnabled() argument 54 void setParentalControlsEnabled(boolean enabled, int userId); in setParentalControlsEnabled() argument 55 boolean isRatingBlocked(in String rating, int userId); in isRatingBlocked() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/infra/ |
D | AbstractMasterSystemService.java | 260 final int userId = users.get(i).id; in AbstractMasterSystemService() local 261 final boolean disabled = umi.getUserRestriction(userId, disallowProperty); in AbstractMasterSystemService() 263 Slog.i(mTag, "Disabling by restrictions user " + userId); in AbstractMasterSystemService() 264 mDisabledByUserRestriction.put(userId, disabled); in AbstractMasterSystemService() 267 umi.addUserRestrictionsListener((userId, newRestrictions, prevRestrictions) -> { in AbstractMasterSystemService() argument 271 final boolean disabledBefore = mDisabledByUserRestriction.get(userId); in AbstractMasterSystemService() 275 Slog.d(mTag, "Restriction did not change for user " + userId); in AbstractMasterSystemService() 279 Slog.i(mTag, "Updating for user " + userId + ": disabled=" + disabledNow); in AbstractMasterSystemService() 280 mDisabledByUserRestriction.put(userId, disabledNow); in AbstractMasterSystemService() 281 updateCachedServiceLocked(userId, disabledNow); in AbstractMasterSystemService() [all …]
|
D | FrameworkResourcesServiceNameResolver.java | 99 public String getDefaultServiceName(@UserIdInt int userId) { in getDefaultServiceName() argument 107 public String getServiceName(@UserIdInt int userId) { in getServiceName() argument 109 final String temporaryName = mTemporaryServiceNames.get(userId); in getServiceName() 113 + " for user " + userId); in getServiceName() 116 final boolean disabled = mDefaultServicesDisabled.get(userId); in getServiceName() 120 + "user " + userId); in getServiceName() 123 return getDefaultServiceName(userId); in getServiceName() 128 public boolean isTemporary(@UserIdInt int userId) { in isTemporary() argument 130 return mTemporaryServiceNames.get(userId) != null; in isTemporary() 135 public void setTemporaryService(@UserIdInt int userId, @NonNull String componentName, in setTemporaryService() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/role/ |
D | RoleManagerService.java | 115 List<String> getRoleHolders(@NonNull String roleName, @UserIdInt int userId); in getRoleHolders() argument 172 int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, 0); in registerUserRemovedReceiver() 173 onRemoveUser(userId); in registerUserRemovedReceiver() 194 int userId = UserHandle.getUserId(intent.getIntExtra(Intent.EXTRA_UID, -1)); in onStart() 197 + userId); in onStart() 204 performInitialGrantsIfNecessaryAsync(userId); in onStart() 210 public void onStartUser(@UserIdInt int userId) { in onStartUser() argument 211 performInitialGrantsIfNecessary(userId); in onStartUser() 214 private CompletableFuture<Void> performInitialGrantsIfNecessaryAsync(@UserIdInt int userId) { in performInitialGrantsIfNecessaryAsync() argument 216 userState = getOrCreateUserState(userId); in performInitialGrantsIfNecessaryAsync() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageManagerInternal.java | 102 int checkPermission(String permName, String pkgName, int userId, in checkPermission() argument 127 public String[] getPackages(int userId); in getPackages() argument 141 public String[] getPackages(String authority, int userId); in getPackages() argument 157 String getDefaultBrowser(@UserIdInt int userId); in getDefaultBrowser() argument 167 boolean setDefaultBrowser(@Nullable String packageName, @UserIdInt int userId); in setDefaultBrowser() argument 175 void setDefaultBrowserAsync(@Nullable String packageName, @UserIdInt int userId); in setDefaultBrowserAsync() argument 191 String getDefaultDialer(@UserIdInt int userId); in getDefaultDialer() argument 207 String getDefaultHome(@UserIdInt int userId); in getDefaultHome() argument 216 void setDefaultHomeAsync(@Nullable String packageName, @UserIdInt int userId, in setDefaultHomeAsync() argument 256 public void onDefaultSmsAppChanged(String packageName, int userId) {} in onDefaultSmsAppChanged() argument [all …]
|
D | IPackageManager.aidl | 66 void checkPackageStartable(String packageName, int userId); in checkPackageStartable() argument 68 boolean isPackageAvailable(String packageName, int userId); in isPackageAvailable() argument 70 PackageInfo getPackageInfo(String packageName, int flags, int userId); in getPackageInfo() argument 72 int flags, int userId); in getPackageInfoVersioned() argument 74 int getPackageUid(String packageName, int flags, int userId); in getPackageUid() argument 75 int[] getPackageGids(String packageName, int flags, int userId); in getPackageGids() argument 92 ApplicationInfo getApplicationInfo(String packageName, int flags ,int userId); in getApplicationInfo() argument 95 ActivityInfo getActivityInfo(in ComponentName className, int flags, int userId); in getActivityInfo() argument 101 ActivityInfo getReceiverInfo(in ComponentName className, int flags, int userId); in getReceiverInfo() argument 104 ServiceInfo getServiceInfo(in ComponentName className, int flags, int userId); in getServiceInfo() argument [all …]
|
D | IShortcutService.aidl | 30 int userId); in setDynamicShortcuts() argument 32 ParceledListSlice getDynamicShortcuts(String packageName, int userId); in getDynamicShortcuts() argument 34 ParceledListSlice getManifestShortcuts(String packageName, int userId); in getManifestShortcuts() argument 37 int userId); in addDynamicShortcuts() argument 39 void removeDynamicShortcuts(String packageName, in List shortcutIds, int userId); in removeDynamicShortcuts() argument 41 void removeAllDynamicShortcuts(String packageName, int userId); in removeAllDynamicShortcuts() argument 43 ParceledListSlice getPinnedShortcuts(String packageName, int userId); in getPinnedShortcuts() argument 45 boolean updateShortcuts(String packageName, in ParceledListSlice shortcuts, int userId); in updateShortcuts() argument 48 in IntentSender resultIntent, int userId); in requestPinShortcut() argument 50 Intent createShortcutResultIntent(String packageName, in ShortcutInfo shortcut, int userId); in createShortcutResultIntent() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/trust/ |
D | TrustManagerService.java | 298 private void maybeLockScreen(int userId) { in maybeLockScreen() argument 299 if (userId != mCurrentUser) { in maybeLockScreen() 313 TrustTimeoutAlarmListener alarm = mTrustTimeoutAlarmListenerForUser.get(userId); in maybeLockScreen() 321 private void scheduleTrustTimeout(int userId, boolean override) { in scheduleTrustTimeout() argument 326 mHandler.obtainMessage(MSG_SCHEDULE_TRUST_TIMEOUT, userId, shouldOverride).sendToTarget(); in scheduleTrustTimeout() 329 private void handleScheduleTrustTimeout(int userId, int shouldOverride) { in handleScheduleTrustTimeout() argument 331 userId = mCurrentUser; in handleScheduleTrustTimeout() 332 TrustTimeoutAlarmListener alarm = mTrustTimeoutAlarmListenerForUser.get(userId); in handleScheduleTrustTimeout() 342 alarm = new TrustTimeoutAlarmListener(userId); in handleScheduleTrustTimeout() 343 mTrustTimeoutAlarmListenerForUser.put(userId, alarm); in handleScheduleTrustTimeout() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageSettingBase.java | 274 PackageUserState modifyUserState(int userId) { in modifyUserState() argument 275 PackageUserState state = mUserState.get(userId); in modifyUserState() 278 mUserState.put(userId, state); in modifyUserState() 283 public PackageUserState readUserState(int userId) { in readUserState() argument 284 PackageUserState state = mUserState.get(userId); in readUserState() 292 void setEnabled(int state, int userId, String callingPackage) { in setEnabled() argument 293 PackageUserState st = modifyUserState(userId); in setEnabled() 298 int getEnabled(int userId) { in getEnabled() argument 299 return readUserState(userId).enabled; in getEnabled() 302 String getLastDisabledAppCaller(int userId) { in getLastDisabledAppCaller() argument [all …]
|
/frameworks/base/core/java/android/print/ |
D | IPrintManager.aidl | 40 List<PrintJobInfo> getPrintJobInfos(int appId, int userId); in getPrintJobInfos() argument 41 PrintJobInfo getPrintJobInfo(in PrintJobId printJobId, int appId, int userId); in getPrintJobInfo() argument 43 in PrintAttributes attributes, String packageName, int appId, int userId); in print() argument 44 void cancelPrintJob(in PrintJobId printJobId, int appId, int userId); in cancelPrintJob() argument 45 void restartPrintJob(in PrintJobId printJobId, int appId, int userId); in restartPrintJob() argument 48 int appId, int userId); in addPrintJobStateChangeListener() argument 50 int userId); in removePrintJobStateChangeListener() argument 61 int userId); in addPrintServicesChangeListener() argument 72 int userId); in removePrintServicesChangeListener() argument 82 List<PrintServiceInfo> getPrintServices(int selectionFlags, int userId); in getPrintServices() argument [all …]
|
/frameworks/base/core/java/android/app/backup/ |
D | IBackupManager.aidl | 52 void dataChangedForUser(int userId, String packageName); in dataChangedForUser() argument 72 void clearBackupDataForUser(int userId, String transportName, String packageName); in clearBackupDataForUser() argument 91 void initializeTransportsForUser(int userId, in String[] transportNames, in initializeTransportsForUser() argument 103 void agentConnectedForUser(int userId, String packageName, IBinder agent); in agentConnectedForUser() argument 119 void agentDisconnectedForUser(int userId, String packageName); in agentDisconnectedForUser() argument 135 void restoreAtInstallForUser(int userId, String packageName, int token); in restoreAtInstallForUser() argument 155 void setBackupEnabledForUser(int userId, boolean isEnabled); in setBackupEnabledForUser() argument 179 void setAutoRestoreForUser(int userId, boolean doAutoRestore); in setAutoRestoreForUser() argument 196 boolean isBackupEnabledForUser(int userId); in isBackupEnabledForUser() argument 235 void backupNowForUser(int userId); in backupNowForUser() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 295 for (Integer userId : mUserLru) { in getRunningUsersLU() 296 UserState uss = mStartedUsers.get(userId); in getRunningUsersLU() 306 if (userId == UserHandle.USER_SYSTEM) { in getRunningUsersLU() 308 if (UserInfo.isSystemOnly(userId)) { in getRunningUsersLU() 312 runningUsers.add(userId); in getRunningUsersLU() 322 Integer userId = iterator.next(); in stopRunningUsersLU() local 323 if (userId == UserHandle.USER_SYSTEM || userId == mCurrentUserId) { in stopRunningUsersLU() 327 if (stopUsersLU(userId, false, null, null) == USER_OP_SUCCESS) { in stopRunningUsersLU() 347 final int userId = uss.mHandle.getIdentifier(); in finishUserBoot() local 349 Slog.d(TAG, "Finishing user boot " + userId); in finishUserBoot() [all …]
|
/frameworks/base/core/java/android/os/ |
D | UserManagerInternal.java | 39 void onUserRestrictionsChanged(int userId, Bundle newRestrictions, Bundle prevRestrictions); in onUserRestrictionsChanged() argument 53 public abstract void setDevicePolicyUserRestrictions(int userId, @Nullable Bundle restrictions, in setDevicePolicyUserRestrictions() argument 62 public abstract Bundle getBaseUserRestrictions(int userId); in getBaseUserRestrictions() argument 68 public abstract void setBaseUserRestrictionsByDpmsForMigration(int userId, in setBaseUserRestrictionsByDpmsForMigration() argument 72 public abstract boolean getUserRestriction(int userId, String key); in getUserRestriction() argument 90 public abstract void setUserManaged(int userId, boolean isManaged); in setUserManaged() argument 99 public abstract void setUserIcon(int userId, Bitmap bitmap); in setUserIcon() argument 125 public abstract void onEphemeralUserStop(int userId); in onEphemeralUserStop() argument 143 public abstract boolean removeUserEvenWhenDisallowed(int userId); in removeUserEvenWhenDisallowed() argument 150 public abstract boolean isUserUnlockingOrUnlocked(int userId); in isUserUnlockingOrUnlocked() argument [all …]
|