/frameworks/base/core/java/android/os/ |
D | IUserManager.aidl | 36 int getCredentialOwnerProfile(int userHandle); in getCredentialOwnerProfile() argument 39 UserInfo createProfileForUser(in String name, int flags, int userHandle); in createProfileForUser() argument 41 void setUserEnabled(int userHandle); in setUserEnabled() argument 42 boolean removeUser(int userHandle); in removeUser() argument 43 void setUserName(int userHandle, String name); in setUserName() argument 44 void setUserIcon(int userHandle, in Bitmap icon); in setUserIcon() argument 45 ParcelFileDescriptor getUserIcon(int userHandle); in getUserIcon() argument 48 List<UserInfo> getProfiles(int userHandle, boolean enabledOnly); in getProfiles() argument 50 boolean canAddMoreManagedProfiles(int userHandle, boolean allowedToRemoveOne); in canAddMoreManagedProfiles() argument 51 UserInfo getProfileParent(int userHandle); in getProfileParent() argument [all …]
|
D | UserManager.java | 1092 public UserInfo getUserInfo(@UserIdInt int userHandle) { in getUserInfo() argument 1094 return mService.getUserInfo(userHandle); in getUserInfo() 1113 public int getUserRestrictionSource(String restrictionKey, UserHandle userHandle) { in getUserRestrictionSource() argument 1115 return mService.getUserRestrictionSource(restrictionKey, userHandle.getIdentifier()); in getUserRestrictionSource() 1134 public Bundle getUserRestrictions(UserHandle userHandle) { in getUserRestrictions() argument 1136 return mService.getUserRestrictions(userHandle.getIdentifier()); in getUserRestrictions() 1150 public boolean hasBaseUserRestriction(String restrictionKey, UserHandle userHandle) { in hasBaseUserRestriction() argument 1152 return mService.hasBaseUserRestriction(restrictionKey, userHandle.getIdentifier()); in hasBaseUserRestriction() 1174 public void setUserRestrictions(Bundle restrictions, UserHandle userHandle) { in setUserRestrictions() argument 1206 public void setUserRestriction(String key, boolean value, UserHandle userHandle) { in setUserRestriction() argument [all …]
|
/frameworks/base/core/java/android/app/admin/ |
D | IDevicePolicyManager.aidl | 40 int getPasswordQuality(in ComponentName who, int userHandle, boolean parent); in getPasswordQuality() argument 43 int getPasswordMinimumLength(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumLength() argument 46 int getPasswordMinimumUpperCase(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumUpperCase() argument 49 int getPasswordMinimumLowerCase(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumLowerCase() argument 52 int getPasswordMinimumLetters(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumLetters() argument 55 int getPasswordMinimumNumeric(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumNumeric() argument 58 int getPasswordMinimumSymbols(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumSymbols() argument 61 int getPasswordMinimumNonLetter(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumNonLetter() argument 64 int getPasswordHistoryLength(in ComponentName who, int userHandle, boolean parent); in getPasswordHistoryLength() argument 67 long getPasswordExpirationTimeout(in ComponentName who, int userHandle, boolean parent); in getPasswordExpirationTimeout() argument [all …]
|
D | DevicePolicyManager.java | 1190 public boolean isSeparateProfileChallengeAllowed(int userHandle) { in isSeparateProfileChallengeAllowed() argument 1193 return mService.isSeparateProfileChallengeAllowed(userHandle); in isSeparateProfileChallengeAllowed() 1333 public int getPasswordQuality(@Nullable ComponentName admin, int userHandle) { in getPasswordQuality() argument 1336 return mService.getPasswordQuality(admin, userHandle, mParentInstance); in getPasswordQuality() 1398 public int getPasswordMinimumLength(@Nullable ComponentName admin, int userHandle) { in getPasswordMinimumLength() argument 1401 return mService.getPasswordMinimumLength(admin, userHandle, mParentInstance); in getPasswordMinimumLength() 1467 public int getPasswordMinimumUpperCase(@Nullable ComponentName admin, int userHandle) { in getPasswordMinimumUpperCase() argument 1470 return mService.getPasswordMinimumUpperCase(admin, userHandle, mParentInstance); in getPasswordMinimumUpperCase() 1536 public int getPasswordMinimumLowerCase(@Nullable ComponentName admin, int userHandle) { in getPasswordMinimumLowerCase() argument 1539 return mService.getPasswordMinimumLowerCase(admin, userHandle, mParentInstance); in getPasswordMinimumLowerCase() [all …]
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 400 public void onStartUser(int userHandle) { in onStartUser() argument 401 mService.onStartUser(userHandle); in onStartUser() 450 public DevicePolicyData(int userHandle) { in DevicePolicyData() argument 451 mUserHandle = userHandle; in DevicePolicyData() 463 final int userHandle = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, 467 && userHandle == mOwners.getDeviceOwnerUserId() 483 + action + " for user " + userHandle); 488 handlePasswordExpirationNotification(userHandle); 502 removeUserData(userHandle); 506 mUserData.remove(userHandle); [all …]
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VoiceInteractionManagerService.java | 133 public void onStartUser(int userHandle) { in onStartUser() argument 134 mServiceStub.initForUser(userHandle); in onStartUser() 138 public void onUnlockUser(int userHandle) { in onUnlockUser() argument 139 mServiceStub.initForUser(userHandle); in onUnlockUser() 144 public void onSwitchUser(int userHandle) { in onSwitchUser() argument 145 mServiceStub.switchUser(userHandle); in onSwitchUser() 246 public void initForUser(int userHandle) { in initForUser() argument 247 if (DEBUG) Slog.d(TAG, "**************** initForUser user=" + userHandle); in initForUser() 250 Settings.Secure.VOICE_INTERACTION_SERVICE, userHandle); in initForUser() 251 ComponentName curRecognizer = getCurRecognizer(userHandle); in initForUser() [all …]
|
/frameworks/base/core/java/android/nfc/ |
D | INfcCardEmulation.aidl | 29 boolean isDefaultServiceForCategory(int userHandle, in ComponentName service, String category); in isDefaultServiceForCategory() argument 30 boolean isDefaultServiceForAid(int userHandle, in ComponentName service, String aid); in isDefaultServiceForAid() argument 31 boolean setDefaultServiceForCategory(int userHandle, in ComponentName service, String category); in setDefaultServiceForCategory() argument 32 boolean setDefaultForNextTap(int userHandle, in ComponentName service); in setDefaultForNextTap() argument 33 …boolean registerAidGroupForService(int userHandle, in ComponentName service, in AidGroup aidGroup); in registerAidGroupForService() argument 34 AidGroup getAidGroupForService(int userHandle, in ComponentName service, String category); in getAidGroupForService() argument 35 boolean removeAidGroupForService(int userHandle, in ComponentName service, String category); in removeAidGroupForService() argument 36 List<ApduServiceInfo> getServices(int userHandle, in String category); in getServices() argument
|
D | INfcFCardEmulation.aidl | 27 String getSystemCodeForService(int userHandle, in ComponentName service); in getSystemCodeForService() argument 28 … boolean registerSystemCodeForService(int userHandle, in ComponentName service, String systemCode); in registerSystemCodeForService() argument 29 boolean removeSystemCodeForService(int userHandle, in ComponentName service); in removeSystemCodeForService() argument 30 String getNfcid2ForService(int userHandle, in ComponentName service); in getNfcid2ForService() argument 31 boolean setNfcid2ForService(int userHandle, in ComponentName service, String nfcid2); in setNfcid2ForService() argument 34 List<NfcFServiceInfo> getNfcFServices(int userHandle); in getNfcFServices() argument
|
D | BeamShareData.java | 18 public final UserHandle userHandle; field in BeamShareData 21 public BeamShareData(NdefMessage msg, Uri[] uris, UserHandle userHandle, int flags) { in BeamShareData() argument 24 this.userHandle = userHandle; in BeamShareData() 41 dest.writeParcelable(userHandle, 0); in writeToParcel() 56 UserHandle userHandle = source.readParcelable(UserHandle.class.getClassLoader()); 59 return new BeamShareData(msg, uris, userHandle, flags);
|
/frameworks/base/services/core/java/com/android/server/ |
D | SystemServiceManager.java | 155 public void startUser(final int userHandle) { in startUser() argument 162 service.onStartUser(userHandle); in startUser() 164 Slog.wtf(TAG, "Failure reporting start of user " + userHandle in startUser() 171 public void unlockUser(final int userHandle) { in unlockUser() argument 178 service.onUnlockUser(userHandle); in unlockUser() 180 Slog.wtf(TAG, "Failure reporting unlock of user " + userHandle in unlockUser() 187 public void switchUser(final int userHandle) { in switchUser() argument 194 service.onSwitchUser(userHandle); in switchUser() 196 Slog.wtf(TAG, "Failure reporting switch of user " + userHandle in switchUser() 203 public void stopUser(final int userHandle) { in stopUser() argument [all …]
|
D | SystemService.java | 133 public void onStartUser(int userHandle) {} in onStartUser() argument 142 public void onUnlockUser(int userHandle) {} in onUnlockUser() argument 150 public void onSwitchUser(int userHandle) {} in onSwitchUser() argument 159 public void onStopUser(int userHandle) {} in onStopUser() argument 167 public void onCleanupUser(int userHandle) {} in onCleanupUser() argument
|
D | BluetoothService.java | 45 public void onSwitchUser(int userHandle) { in onSwitchUser() argument 46 mBluetoothManagerService.handleOnSwitchUser(userHandle); in onSwitchUser() 50 public void onUnlockUser(int userHandle) { in onUnlockUser() argument 51 mBluetoothManagerService.handleOnUnlockUser(userHandle); in onUnlockUser()
|
D | PinnerService.java | 100 public void onSwitchUser(int userHandle) { in onSwitchUser() argument 101 mPinnerHandler.obtainMessage(PinnerHandler.PIN_CAMERA_MSG, userHandle, 0).sendToTarget(); in onSwitchUser() 130 private void handlePinCamera(int userHandle) { in handlePinCamera() argument 133 boolean success = pinCamera(userHandle); in handlePinCamera() 148 private boolean alreadyPinned(int userHandle) { in alreadyPinned() argument 149 ApplicationInfo cameraInfo = getCameraInfo(userHandle); in alreadyPinned() 175 private ApplicationInfo getCameraInfo(int userHandle) { in getCameraInfo() argument 184 userHandle); in getCameraInfo() 201 private boolean pinCamera(int userHandle){ in pinCamera() argument 204 if (alreadyPinned(userHandle)){ in pinCamera() [all …]
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetService.java | 49 public void onUnlockUser(int userHandle) { in onUnlockUser() argument 50 mImpl.onUserUnlocked(userHandle); in onUnlockUser() 54 public void onStopUser(int userHandle) { in onStopUser() argument 55 mImpl.onUserStopped(userHandle); in onStopUser() 59 public void onSwitchUser(int userHandle) { in onSwitchUser() argument 60 mImpl.reloadWidgetsMaskedStateForGroup(userHandle); in onSwitchUser()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageStats.java | 32 public int userHandle; field in PackageStats 125 userHandle = UserHandle.myUserId(); in PackageStats() 129 public PackageStats(String pkgName, int userHandle) { in PackageStats() argument 131 this.userHandle = userHandle; in PackageStats() 136 userHandle = source.readInt(); in PackageStats() 149 userHandle = pStats.userHandle; in PackageStats() 166 dest.writeInt(userHandle); in writeToParcel()
|
/frameworks/base/services/restrictions/java/com/android/server/restrictions/ |
D | RestrictionsManagerService.java | 77 int userHandle = UserHandle.getCallingUserId(); in hasRestrictionsProvider() local 81 return mDpm.getRestrictionsProvider(userHandle) != null; in hasRestrictionsProvider() 98 int userHandle = UserHandle.getUserId(callingUid); in requestPermission() local 103 mDpm.getRestrictionsProvider(userHandle); in requestPermission() 119 mContext.sendBroadcastAsUser(intent, new UserHandle(userHandle)); in requestPermission() 131 final int userHandle = UserHandle.getCallingUserId(); in createLocalApprovalIntent() local 136 mDpm.getRestrictionsProvider(userHandle); in createLocalApprovalIntent() 146 null /* resolvedType */, 0 /* flags */, userHandle); in createLocalApprovalIntent() 164 int userHandle = UserHandle.getUserId(callingUid); in notifyPermissionResponse() local 168 ComponentName permProvider = mDpm.getRestrictionsProvider(userHandle); in notifyPermissionResponse() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternUtils.java | 580 public void clearLock(int userHandle) { in clearLock() argument 581 setLong(PASSWORD_TYPE_KEY, DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED, userHandle); in clearLock() 584 getLockSettings().setLockPassword(null, null, userHandle); in clearLock() 585 getLockSettings().setLockPattern(null, null, userHandle); in clearLock() 590 if (userHandle == UserHandle.USER_SYSTEM) { in clearLock() 597 DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED, 0, 0, 0, 0, 0, 0, 0, userHandle); in clearLock() 599 onAfterChangingPassword(userHandle); in clearLock() 858 int userHandle) { in saveLockPassword() argument 866 getLockSettings().setLockPassword(password, savedPassword, userHandle); in saveLockPassword() 867 getLockSettings().setSeparateProfileChallengeEnabled(userHandle, true, null); in saveLockPassword() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerServiceTestable.java | 94 public void notifyChangeToContentObserver(Uri uri, int userHandle) { in notifyChangeToContentObserver() argument 96 .get(new Pair<Uri, Integer>(uri, userHandle)); in notifyChangeToContentObserver() 98 co.onChange(false, uri, userHandle); // notify synchronously in notifyChangeToContentObserver() 105 co.onChange(false, uri, userHandle); // notify synchronously in notifyChangeToContentObserver() 292 ContentObserver observer, int userHandle) { in registerContentObserver() argument 293 mContentObservers.put(new Pair<Uri, Integer>(uri, userHandle), observer); in registerContentObserver() 297 int settingsSecureGetIntForUser(String name, int def, int userHandle) { in settingsSecureGetIntForUser() argument 298 return context.settings.settingsSecureGetIntForUser(name, def, userHandle); in settingsSecureGetIntForUser() 302 void settingsSecurePutIntForUser(String name, int value, int userHandle) { in settingsSecurePutIntForUser() argument 303 context.settings.settingsSecurePutIntForUser(name, value, userHandle); in settingsSecurePutIntForUser() [all …]
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | ContentService.java | 105 public void onCleanupUser(int userHandle) { in onCleanupUser() argument 107 mService.mCache.remove(userHandle); in onCleanupUser() 292 IContentObserver observer, int userHandle) { in registerContentObserver() argument 302 if (callingUserHandle != userHandle) { in registerContentObserver() 303 if (checkUriPermission(uri, pid, uid, Intent.FLAG_GRANT_READ_URI_PERMISSION, userHandle) in registerContentObserver() 305 enforceCrossUserPermission(userHandle, in registerContentObserver() 310 if (userHandle < 0) { in registerContentObserver() 311 if (userHandle == UserHandle.USER_CURRENT) { in registerContentObserver() 312 userHandle = ActivityManager.getCurrentUser(); in registerContentObserver() 313 } else if (userHandle != UserHandle.USER_ALL) { in registerContentObserver() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
D | RecentLocationApps.java | 148 final UserHandle userHandle = new UserHandle(userId); in getRequestFromOps() local 150 Drawable icon = mPackageManager.getUserBadgedIcon(appIcon, userHandle); in getRequestFromOps() 152 CharSequence badgedAppLabel = mPackageManager.getUserBadgedLabel(appLabel, userHandle); in getRequestFromOps() 158 request = new Request(packageName, userHandle, icon, appLabel, highBattery, in getRequestFromOps() 170 public final UserHandle userHandle; field in RecentLocationApps.Request 176 private Request(String packageName, UserHandle userHandle, Drawable icon, in Request() argument 179 this.userHandle = userHandle; in Request()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | NightDisplayService.java | 119 public void onStartUser(int userHandle) { in onStartUser() argument 120 super.onStartUser(userHandle); in onStartUser() 123 onUserChanged(userHandle); in onStartUser() 128 public void onSwitchUser(int userHandle) { in onSwitchUser() argument 129 super.onSwitchUser(userHandle); in onSwitchUser() 131 onUserChanged(userHandle); in onSwitchUser() 135 public void onStopUser(int userHandle) { in onStopUser() argument 136 super.onStopUser(userHandle); in onStopUser() 138 if (mCurrentUser == userHandle) { in onStopUser() 143 private void onUserChanged(int userHandle) { in onUserChanged() argument [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | UidDetailProvider.java | 52 public static int buildKeyForUser(int userHandle) { in buildKeyForUser() argument 53 return OTHER_USER_RANGE_START - userHandle; in buildKeyForUser() 136 final int userHandle = getUserIdForKey(uid); in buildUidDetail() local 137 final UserInfo info = um.getUserInfo(userHandle); in buildUidDetail() 150 UserHandle userHandle = new UserHandle(userId); in buildUidDetail() local 172 detail.detailLabels[i], userHandle); in buildUidDetail() 176 detail.icon = um.getBadgedIconForUser(appInfo.loadIcon(pm), userHandle); in buildUidDetail() 181 detail.contentDescription = um.getBadgedLabelForUser(detail.label, userHandle); in buildUidDetail()
|
/frameworks/base/cmds/settings/src/com/android/commands/settings/ |
D | SettingsCmd.java | 191 private List<String> listForUser(IContentProvider provider, int userHandle, String table) { in listForUser() argument 214 System.err.println("List failed in " + table + " for user " + userHandle); in listForUser() 228 String getForUser(IContentProvider provider, int userHandle, in getForUser() argument 242 arg.putInt(Settings.CALL_METHOD_USER_KEY, userHandle); in getForUser() 248 … System.err.println("Can't read key " + key + " in " + table + " for user " + userHandle); in getForUser() 253 void putForUser(IContentProvider provider, int userHandle, in putForUser() argument 267 arg.putInt(Settings.CALL_METHOD_USER_KEY, userHandle); in putForUser() 270 System.err.println("Can't set key " + key + " in " + table + " for user " + userHandle); in putForUser() 274 int deleteForUser(IContentProvider provider, int userHandle, in deleteForUser() argument 290 + userHandle); in deleteForUser()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | PhoneAccountHandle.java | 56 @NonNull UserHandle userHandle) { in PhoneAccountHandle() argument 57 checkParameters(componentName, userHandle); in PhoneAccountHandle() 60 mUserHandle = userHandle; in PhoneAccountHandle() 144 private void checkParameters(ComponentName componentName, UserHandle userHandle) { in checkParameters() argument 149 if(userHandle == null) { in checkParameters()
|
/frameworks/base/services/core/java/com/android/server/search/ |
D | SearchManagerService.java | 88 public void onCleanupUser(int userHandle) { in onCleanupUser() argument 89 mService.onCleanupUser(userHandle); in onCleanupUser() 275 private ComponentName getLegacyAssistComponent(int userHandle) { in getLegacyAssistComponent() argument 277 userHandle = ActivityManager.handleIncomingUser(Binder.getCallingPid(), in getLegacyAssistComponent() 278 … Binder.getCallingUid(), userHandle, true, false, "getLegacyAssistComponent", null); in getLegacyAssistComponent() 284 PackageManager.MATCH_DEFAULT_ONLY, userHandle); in getLegacyAssistComponent() 300 public boolean launchLegacyAssist(String hint, int userHandle, Bundle args) { in launchLegacyAssist() argument 301 ComponentName comp = getLegacyAssistComponent(userHandle); in launchLegacyAssist() 311 userHandle, args); in launchLegacyAssist()
|