/frameworks/base/core/java/android/app/admin/ |
D | IDevicePolicyManager.aidl | 35 void setPasswordQuality(in ComponentName who, int quality, int userHandle); in setPasswordQuality() argument 36 int getPasswordQuality(in ComponentName who, int userHandle); in getPasswordQuality() argument 38 void setPasswordMinimumLength(in ComponentName who, int length, int userHandle); in setPasswordMinimumLength() argument 39 int getPasswordMinimumLength(in ComponentName who, int userHandle); in getPasswordMinimumLength() argument 41 void setPasswordMinimumUpperCase(in ComponentName who, int length, int userHandle); in setPasswordMinimumUpperCase() argument 42 int getPasswordMinimumUpperCase(in ComponentName who, int userHandle); in getPasswordMinimumUpperCase() argument 44 void setPasswordMinimumLowerCase(in ComponentName who, int length, int userHandle); in setPasswordMinimumLowerCase() argument 45 int getPasswordMinimumLowerCase(in ComponentName who, int userHandle); in getPasswordMinimumLowerCase() argument 47 void setPasswordMinimumLetters(in ComponentName who, int length, int userHandle); in setPasswordMinimumLetters() argument 48 int getPasswordMinimumLetters(in ComponentName who, int userHandle); in getPasswordMinimumLetters() argument [all …]
|
D | DevicePolicyManager.java | 711 public int getPasswordQuality(ComponentName admin, int userHandle) { in getPasswordQuality() argument 714 return mService.getPasswordQuality(admin, userHandle); in getPasswordQuality() 764 public int getPasswordMinimumLength(ComponentName admin, int userHandle) { in getPasswordMinimumLength() argument 767 return mService.getPasswordMinimumLength(admin, userHandle); in getPasswordMinimumLength() 825 public int getPasswordMinimumUpperCase(ComponentName admin, int userHandle) { in getPasswordMinimumUpperCase() argument 828 return mService.getPasswordMinimumUpperCase(admin, userHandle); in getPasswordMinimumUpperCase() 886 public int getPasswordMinimumLowerCase(ComponentName admin, int userHandle) { in getPasswordMinimumLowerCase() argument 889 return mService.getPasswordMinimumLowerCase(admin, userHandle); in getPasswordMinimumLowerCase() 944 public int getPasswordMinimumLetters(ComponentName admin, int userHandle) { in getPasswordMinimumLetters() argument 947 return mService.getPasswordMinimumLetters(admin, userHandle); in getPasswordMinimumLetters() [all …]
|
/frameworks/base/core/java/android/os/ |
D | IUserManager.aidl | 30 UserInfo createProfileForUser(in String name, int flags, int userHandle); in createProfileForUser() argument 31 void setUserEnabled(int userHandle); in setUserEnabled() argument 32 boolean removeUser(int userHandle); in removeUser() argument 33 void setUserName(int userHandle, String name); in setUserName() argument 34 void setUserIcon(int userHandle, in Bitmap icon); in setUserIcon() argument 35 Bitmap getUserIcon(int userHandle); in getUserIcon() argument 37 List<UserInfo> getProfiles(int userHandle, boolean enabledOnly); in getProfiles() argument 38 UserInfo getProfileParent(int userHandle); in getProfileParent() argument 39 UserInfo getUserInfo(int userHandle); in getUserInfo() argument 41 int getUserSerialNumber(int userHandle); in getUserSerialNumber() argument [all …]
|
D | UserManager.java | 561 public UserInfo getUserInfo(int userHandle) { in getUserInfo() argument 563 return mService.getUserInfo(userHandle); in getUserInfo() 583 public Bundle getUserRestrictions(UserHandle userHandle) { in getUserRestrictions() argument 585 return mService.getUserRestrictions(userHandle.getIdentifier()); in getUserRestrictions() 617 public void setUserRestrictions(Bundle restrictions, UserHandle userHandle) { in setUserRestrictions() argument 619 mService.setUserRestrictions(restrictions, userHandle.getIdentifier()); in setUserRestrictions() 655 public void setUserRestriction(String key, boolean value, UserHandle userHandle) { in setUserRestriction() argument 656 Bundle bundle = getUserRestrictions(userHandle); in setUserRestriction() 658 setUserRestrictions(bundle, userHandle); in setUserRestriction() 679 public boolean hasUserRestriction(String restrictionKey, UserHandle userHandle) { in hasUserRestriction() argument [all …]
|
D | UserHandle.java | 136 UserHandle userHandle = userHandles.get(userId); in getCallingUserHandle() local 138 if (userHandle == null) { in getCallingUserHandle() 139 userHandle = new UserHandle(userId); in getCallingUserHandle() 140 userHandles.put(userId, userHandle); in getCallingUserHandle() 142 return userHandle; in getCallingUserHandle()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 276 public DevicePolicyData(int userHandle) { in DevicePolicyData() argument 277 mUserHandle = userHandle; in DevicePolicyData() 289 final int userHandle = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, 294 + action + " for user " + userHandle); 297 handlePasswordExpirationNotification(userHandle); 306 removeUserData(userHandle); 313 mUserData.remove(userHandle); 316 handlePackagesChanged(null /* check all admins */, userHandle); 320 handlePackagesChanged(intent.getData().getSchemeSpecificPart(), userHandle); 323 handlePackagesChanged(intent.getData().getSchemeSpecificPart(), userHandle); [all …]
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VoiceInteractionManagerService.java | 97 public void onStartUser(int userHandle) { in onStartUser() argument 98 mServiceStub.initForUser(userHandle); in onStartUser() 102 public void onSwitchUser(int userHandle) { in onSwitchUser() argument 103 mServiceStub.switchUser(userHandle); in onSwitchUser() 132 public void initForUser(int userHandle) { in initForUser() argument 133 if (DEBUG) Slog.i(TAG, "initForUser user=" + userHandle); in initForUser() 136 Settings.Secure.VOICE_INTERACTION_SERVICE, userHandle); in initForUser() 137 ComponentName curRecognizer = getCurRecognizer(userHandle); in initForUser() 147 curInteractorInfo = findAvailInteractor(userHandle, curRecognizer); in initForUser() 160 setCurInteractor(null, userHandle); in initForUser() [all …]
|
D | DatabaseHelper.java | 121 public boolean deleteKeyphraseSoundModel(int keyphraseId, int userHandle, String bcp47Locale) { in deleteKeyphraseSoundModel() argument 125 KeyphraseSoundModel soundModel = getKeyphraseSoundModel(keyphraseId, userHandle, in deleteKeyphraseSoundModel() 149 public KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, int userHandle, in getKeyphraseSoundModel() argument 198 if (userHandle == user) { in getKeyphraseSoundModel() 209 if (DBG) Slog.d(TAG, "Found a SoundModel for user: " + userHandle); in getKeyphraseSoundModel()
|
/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 | 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 | 145 public void startUser(final int userHandle) { in startUser() argument 150 service.onStartUser(userHandle); in startUser() 152 Slog.wtf(TAG, "Failure reporting start of user " + userHandle in startUser() 158 public void switchUser(final int userHandle) { in switchUser() argument 163 service.onSwitchUser(userHandle); in switchUser() 165 Slog.wtf(TAG, "Failure reporting switch of user " + userHandle in switchUser() 171 public void stopUser(final int userHandle) { in stopUser() argument 176 service.onStopUser(userHandle); in stopUser() 178 Slog.wtf(TAG, "Failure reporting stop of user " + userHandle in stopUser() 184 public void cleanupUser(final int userHandle) { in cleanupUser() argument [all …]
|
D | SystemService.java | 133 public void onStartUser(int userHandle) {} in onStartUser() argument 141 public void onSwitchUser(int userHandle) {} in onSwitchUser() argument 150 public void onStopUser(int userHandle) {} in onStopUser() argument 158 public void onCleanupUser(int userHandle) {} in onCleanupUser() argument
|
D | LockSettingsService.java | 103 final int userHandle = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, 0); 104 final int userSysUid = UserHandle.getUid(userHandle, Process.SYSTEM_UID); 112 final UserInfo parentInfo = um.getProfileParent(userHandle); 118 final int userHandle = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, 0); 119 mStorage.prefetchUser(userHandle); 268 private void maybeUpdateKeystore(String password, int userHandle) { in maybeUpdateKeystore() argument 272 final List<UserInfo> profiles = um.getProfiles(userHandle); in maybeUpdateKeystore() 277 if (userHandle == UserHandle.USER_OWNER && profiles.size() == 1) { in maybeUpdateKeystore()
|
/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 | 92 int userHandle = UserHandle.getCallingUserId(); in hasRestrictionsProvider() local 96 return mDpm.getRestrictionsProvider(userHandle) != null; in hasRestrictionsProvider() 113 int userHandle = UserHandle.getUserId(callingUid); in requestPermission() local 118 mDpm.getRestrictionsProvider(userHandle); in requestPermission() 134 mContext.sendBroadcastAsUser(intent, new UserHandle(userHandle)); in requestPermission() 146 final int userHandle = UserHandle.getCallingUserId(); in createLocalApprovalIntent() local 151 mDpm.getRestrictionsProvider(userHandle); in createLocalApprovalIntent() 161 null /* resolvedType */, 0 /* flags */, userHandle); in createLocalApprovalIntent() 179 int userHandle = UserHandle.getUserId(callingUid); in notifyPermissionResponse() local 183 ComponentName permProvider = mDpm.getRestrictionsProvider(userHandle); in notifyPermissionResponse() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternUtils.java | 497 public void clearLock(boolean isFallback, int userHandle) { in clearLock() argument 498 if(!isFallback) deleteGallery(userHandle); in clearLock() 500 userHandle); in clearLock() 501 setLockPatternEnabled(false, userHandle); in clearLock() 502 saveLockPattern(null, isFallback, userHandle); in clearLock() 503 setLong(PASSWORD_TYPE_KEY, DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED, userHandle); in clearLock() 505 userHandle); in clearLock() 506 onAfterChangingPassword(userHandle); in clearLock() 813 public void saveLockPassword(String password, int quality, boolean isFallback, int userHandle) { in saveLockPassword() argument 817 getLockSettings().setLockPassword(password, userHandle); in saveLockPassword() [all …]
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 257 private void sendNotify(Uri uri, int userHandle) { in sendNotify() argument 290 final int notifyTarget = isGlobal ? UserHandle.USER_ALL : userHandle; in sendNotify() 342 public SettingsFileObserver(int userHandle, String path) { in SettingsFileObserver() argument 346 mUserHandle = userHandle; in SettingsFileObserver() 386 final int userHandle = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, in onCreate() 389 onUserRemoved(userHandle); in onCreate() 401 void onUserRemoved(int userHandle) { in onUserRemoved() argument 405 FileObserver observer = sObserverInstances.get(userHandle); in onUserRemoved() 408 sObserverInstances.delete(userHandle); in onUserRemoved() 411 mOpenHelpers.delete(userHandle); in onUserRemoved() [all …]
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | ContentService.java | 170 IContentObserver observer, int userHandle) { in registerContentObserver() argument 175 enforceCrossUserPermission(userHandle, in registerContentObserver() 178 if (userHandle < 0) { in registerContentObserver() 179 if (userHandle == UserHandle.USER_CURRENT) { in registerContentObserver() 180 userHandle = ActivityManager.getCurrentUser(); in registerContentObserver() 181 } else if (userHandle != UserHandle.USER_ALL) { in registerContentObserver() 183 + userHandle); in registerContentObserver() 189 Binder.getCallingUid(), Binder.getCallingPid(), userHandle); in registerContentObserver() 221 int userHandle) { in notifyChange() argument 223 Log.v(TAG, "Notifying update of " + uri + " for user " + userHandle in notifyChange() [all …]
|
/frameworks/base/core/java/android/provider/ |
D | Settings.java | 1088 final int userHandle) { in putStringForUser() argument 1092 arg.putInt(CALL_METHOD_USER_KEY, userHandle); in putStringForUser() 1102 public String getStringForUser(ContentResolver cr, String name, final int userHandle) { in getStringForUser() argument 1103 final boolean isSelf = (userHandle == UserHandle.myUserId()); in getStringForUser() 1124 if (LOCAL_LOGV) Log.v(TAG, "get setting for user " + userHandle in getStringForUser() 1139 args.putInt(CALL_METHOD_USER_KEY, userHandle); in getStringForUser() 1150 if (LOCAL_LOGV) Log.i(TAG, "call-query of user " + userHandle in getStringForUser() 1324 int userHandle) { in getStringForUser() argument 1328 return Secure.getStringForUser(resolver, name, userHandle); in getStringForUser() 1333 return Global.getStringForUser(resolver, name, userHandle); in getStringForUser() [all …]
|
/frameworks/base/cmds/settings/src/com/android/commands/settings/ |
D | SettingsCmd.java | 176 String getForUser(IContentProvider provider, int userHandle, in getForUser() argument 190 arg.putInt(Settings.CALL_METHOD_USER_KEY, userHandle); in getForUser() 196 … System.err.println("Can't read key " + key + " in " + table + " for user " + userHandle); in getForUser() 201 void putForUser(IContentProvider provider, int userHandle, in putForUser() argument 215 arg.putInt(Settings.CALL_METHOD_USER_KEY, userHandle); in putForUser() 218 System.err.println("Can't set key " + key + " in " + table + " for user " + userHandle); in putForUser() 222 int deleteForUser(IContentProvider provider, int userHandle, in deleteForUser() argument 238 + userHandle); in deleteForUser()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 133 IConnectivityManager connService, int userHandle) { in Vpn() argument 137 mUserHandle = userHandle; in Vpn() 148 if (userHandle == UserHandle.USER_OWNER) { in Vpn() 154 final int userHandle = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, in Vpn() 156 if (userHandle == UserHandle.USER_NULL) return; in Vpn() 159 onUserAdded(userHandle); in Vpn() 161 onUserRemoved(userHandle); in Vpn() 325 private int getAppUid(String app, int userHandle) { in getAppUid() argument 332 result = pm.getPackageUid(app, userHandle); in getAppUid() 589 private SortedSet<Integer> getAppsUids(List<String> packageNames, int userHandle) { in getAppsUids() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/search/ |
D | SearchManagerService.java | 243 public ComponentName getAssistIntent(int userHandle) { in getAssistIntent() argument 245 userHandle = ActivityManager.handleIncomingUser(Binder.getCallingPid(), in getAssistIntent() 246 Binder.getCallingUid(), userHandle, true, false, "getAssistIntent", null); in getAssistIntent() 252 PackageManager.MATCH_DEFAULT_ONLY, userHandle); in getAssistIntent() 268 public boolean launchAssistAction(int requestType, String hint, int userHandle) { in launchAssistAction() argument 269 ComponentName comp = getAssistIntent(userHandle); in launchAssistAction() 278 return am.launchAssistIntent(intent, requestType, hint, userHandle); in launchAssistAction()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 319 public UserInfo getProfileParent(int userHandle) { in getProfileParent() argument 322 UserInfo profile = getUserInfoLocked(userHandle); in getProfileParent() 1255 public boolean markGuestForDeletion(int userHandle) { in markGuestForDeletion() argument 1267 user = mUsers.get(userHandle); in markGuestForDeletion() 1268 if (userHandle == 0 || user == null || mRemovingUserIds.get(userHandle)) { in markGuestForDeletion() 1296 public boolean removeUser(int userHandle) { in removeUser() argument 1308 user = mUsers.get(userHandle); in removeUser() 1309 if (userHandle == 0 || user == null || mRemovingUserIds.get(userHandle)) { in removeUser() 1316 mRemovingUserIds.put(userHandle, true); in removeUser() 1319 mAppOpsService.removeUser(userHandle); in removeUser() [all …]
|
/frameworks/base/core/java/android/app/ |
D | ISearchManager.aidl | 33 ComponentName getAssistIntent(int userHandle); in getAssistIntent() argument 34 boolean launchAssistAction(int requestType, String hint, int userHandle); in launchAssistAction() argument
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | Trampoline.java | 82 public void setBackupServiceActive(final int userHandle, boolean makeActive) { in setBackupServiceActive() argument 95 if (userHandle == UserHandle.USER_OWNER) { in setBackupServiceActive() 97 if (makeActive != isBackupServiceActive(userHandle)) { in setBackupServiceActive() 99 + (makeActive ? "" : "in") + "active in user " + userHandle); in setBackupServiceActive() 122 public boolean isBackupServiceActive(final int userHandle) { in isBackupServiceActive() argument 123 if (userHandle == UserHandle.USER_OWNER) { in isBackupServiceActive()
|