/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 | 1088 public UserInfo getUserInfo(@UserIdInt int userHandle) { in getUserInfo() argument 1090 return mService.getUserInfo(userHandle); in getUserInfo() 1109 public int getUserRestrictionSource(String restrictionKey, UserHandle userHandle) { in getUserRestrictionSource() argument 1111 return mService.getUserRestrictionSource(restrictionKey, userHandle.getIdentifier()); in getUserRestrictionSource() 1130 public Bundle getUserRestrictions(UserHandle userHandle) { in getUserRestrictions() argument 1132 return mService.getUserRestrictions(userHandle.getIdentifier()); in getUserRestrictions() 1146 public boolean hasBaseUserRestriction(String restrictionKey, UserHandle userHandle) { in hasBaseUserRestriction() argument 1148 return mService.hasBaseUserRestriction(restrictionKey, userHandle.getIdentifier()); in hasBaseUserRestriction() 1170 public void setUserRestrictions(Bundle restrictions, UserHandle userHandle) { in setUserRestrictions() argument 1202 public void setUserRestriction(String key, boolean value, UserHandle userHandle) { in setUserRestriction() argument [all …]
|
/frameworks/base/core/java/android/app/admin/ |
D | IDevicePolicyManager.aidl | 41 int getPasswordQuality(in ComponentName who, int userHandle, boolean parent); in getPasswordQuality() argument 44 int getPasswordMinimumLength(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumLength() argument 47 int getPasswordMinimumUpperCase(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumUpperCase() argument 50 int getPasswordMinimumLowerCase(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumLowerCase() argument 53 int getPasswordMinimumLetters(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumLetters() argument 56 int getPasswordMinimumNumeric(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumNumeric() argument 59 int getPasswordMinimumSymbols(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumSymbols() argument 62 int getPasswordMinimumNonLetter(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumNonLetter() argument 65 int getPasswordHistoryLength(in ComponentName who, int userHandle, boolean parent); in getPasswordHistoryLength() argument 68 long getPasswordExpirationTimeout(in ComponentName who, int userHandle, boolean parent); in getPasswordExpirationTimeout() argument [all …]
|
D | DevicePolicyManager.java | 1208 public boolean isSeparateProfileChallengeAllowed(int userHandle) { in isSeparateProfileChallengeAllowed() argument 1211 return mService.isSeparateProfileChallengeAllowed(userHandle); in isSeparateProfileChallengeAllowed() 1378 public int getPasswordQuality(@Nullable ComponentName admin, int userHandle) { in getPasswordQuality() argument 1381 return mService.getPasswordQuality(admin, userHandle, mParentInstance); in getPasswordQuality() 1443 public int getPasswordMinimumLength(@Nullable ComponentName admin, int userHandle) { in getPasswordMinimumLength() argument 1446 return mService.getPasswordMinimumLength(admin, userHandle, mParentInstance); in getPasswordMinimumLength() 1512 public int getPasswordMinimumUpperCase(@Nullable ComponentName admin, int userHandle) { in getPasswordMinimumUpperCase() argument 1515 return mService.getPasswordMinimumUpperCase(admin, userHandle, mParentInstance); in getPasswordMinimumUpperCase() 1581 public int getPasswordMinimumLowerCase(@Nullable ComponentName admin, int userHandle) { in getPasswordMinimumLowerCase() argument 1584 return mService.getPasswordMinimumLowerCase(admin, userHandle, mParentInstance); in getPasswordMinimumLowerCase() [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/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 421 public void onStartUser(int userHandle) { in onStartUser() argument 422 mService.onStartUser(userHandle); in onStartUser() 472 public DevicePolicyData(int userHandle) { in DevicePolicyData() argument 473 mUserHandle = userHandle; in DevicePolicyData() 485 final int userHandle = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, 494 && userHandle == mOwners.getDeviceOwnerUserId()) { 502 && userHandle == mOwners.getDeviceOwnerUserId() 518 + action + " for user " + userHandle); 523 handlePasswordExpirationNotification(userHandle); 537 removeUserData(userHandle); [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 | 156 public void startUser(final int userHandle) { in startUser() argument 163 service.onStartUser(userHandle); in startUser() 165 Slog.wtf(TAG, "Failure reporting start of user " + userHandle in startUser() 172 public void unlockUser(final int userHandle) { in unlockUser() argument 179 service.onUnlockUser(userHandle); in unlockUser() 181 Slog.wtf(TAG, "Failure reporting unlock of user " + userHandle in unlockUser() 188 public void switchUser(final int userHandle) { in switchUser() argument 195 service.onSwitchUser(userHandle); in switchUser() 197 Slog.wtf(TAG, "Failure reporting switch of user " + userHandle in switchUser() 204 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() 204 private boolean pinCamera(int userHandle){ in pinCamera() argument 207 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/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/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() 596 onAfterChangingPassword(userHandle); in clearLock() 853 int userHandle) { in saveLockPassword() argument 862 setLong(PASSWORD_TYPE_KEY, Math.max(quality, computedQuality), userHandle); in saveLockPassword() 863 getLockSettings().setLockPassword(password, savedPassword, userHandle); in saveLockPassword() 866 if (userHandle == UserHandle.USER_SYSTEM in saveLockPassword() [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/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/display/ |
D | NightDisplayService.java | 159 public void onStartUser(int userHandle) { in onStartUser() argument 160 super.onStartUser(userHandle); in onStartUser() 163 onUserChanged(userHandle); in onStartUser() 168 public void onSwitchUser(int userHandle) { in onSwitchUser() argument 169 super.onSwitchUser(userHandle); in onSwitchUser() 171 onUserChanged(userHandle); in onSwitchUser() 175 public void onStopUser(int userHandle) { in onStopUser() argument 176 super.onStopUser(userHandle); in onStopUser() 178 if (mCurrentUser == userHandle) { in onStopUser() 183 private void onUserChanged(int userHandle) { in onUserChanged() argument [all …]
|
/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()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | ContentService.java | 104 public void onCleanupUser(int userHandle) { in onCleanupUser() argument 106 mService.mCache.remove(userHandle); in onCleanupUser() 291 IContentObserver observer, int userHandle) { in registerContentObserver() argument 299 userHandle = handleIncomingUser(uri, pid, uid, in registerContentObserver() 300 Intent.FLAG_GRANT_READ_URI_PERMISSION, userHandle); in registerContentObserver() 303 .checkContentProviderAccess(uri.getAuthority(), userHandle); in registerContentObserver() 311 uid, pid, userHandle); in registerContentObserver() 345 int userHandle) { in notifyChange() argument 346 if (DEBUG) Slog.d(TAG, "Notifying update of " + uri + " for user " + userHandle in notifyChange() 357 userHandle = handleIncomingUser(uri, pid, uid, in notifyChange() [all …]
|