/frameworks/base/core/java/android/app/admin/ |
D | IDevicePolicyManager.aidl | 28 void setPasswordQuality(in ComponentName who, int quality, int userHandle); in setPasswordQuality() argument 29 int getPasswordQuality(in ComponentName who, int userHandle); in getPasswordQuality() argument 31 void setPasswordMinimumLength(in ComponentName who, int length, int userHandle); in setPasswordMinimumLength() argument 32 int getPasswordMinimumLength(in ComponentName who, int userHandle); in getPasswordMinimumLength() argument 34 void setPasswordMinimumUpperCase(in ComponentName who, int length, int userHandle); in setPasswordMinimumUpperCase() argument 35 int getPasswordMinimumUpperCase(in ComponentName who, int userHandle); in getPasswordMinimumUpperCase() argument 37 void setPasswordMinimumLowerCase(in ComponentName who, int length, int userHandle); in setPasswordMinimumLowerCase() argument 38 int getPasswordMinimumLowerCase(in ComponentName who, int userHandle); in getPasswordMinimumLowerCase() argument 40 void setPasswordMinimumLetters(in ComponentName who, int length, int userHandle); in setPasswordMinimumLetters() argument 41 int getPasswordMinimumLetters(in ComponentName who, int userHandle); in getPasswordMinimumLetters() argument [all …]
|
D | DevicePolicyManager.java | 320 public int getPasswordQuality(ComponentName admin, int userHandle) { in getPasswordQuality() argument 323 return mService.getPasswordQuality(admin, userHandle); in getPasswordQuality() 373 public int getPasswordMinimumLength(ComponentName admin, int userHandle) { in getPasswordMinimumLength() argument 376 return mService.getPasswordMinimumLength(admin, userHandle); in getPasswordMinimumLength() 433 public int getPasswordMinimumUpperCase(ComponentName admin, int userHandle) { in getPasswordMinimumUpperCase() argument 436 return mService.getPasswordMinimumUpperCase(admin, userHandle); in getPasswordMinimumUpperCase() 493 public int getPasswordMinimumLowerCase(ComponentName admin, int userHandle) { in getPasswordMinimumLowerCase() argument 496 return mService.getPasswordMinimumLowerCase(admin, userHandle); in getPasswordMinimumLowerCase() 551 public int getPasswordMinimumLetters(ComponentName admin, int userHandle) { in getPasswordMinimumLetters() argument 554 return mService.getPasswordMinimumLetters(admin, userHandle); in getPasswordMinimumLetters() [all …]
|
/frameworks/base/services/java/com/android/server/ |
D | RecognitionManagerService.java | 51 int userHandle = getChangingUserId(); in onSomePackagesChanged() local 52 if (DEBUG) Slog.i(TAG, "onSomePackagesChanged user=" + userHandle); in onSomePackagesChanged() 53 ComponentName comp = getCurRecognizer(userHandle); in onSomePackagesChanged() 56 comp = findAvailRecognizer(null, userHandle); in onSomePackagesChanged() 58 setCurRecognizer(comp, userHandle); in onSomePackagesChanged() 67 setCurRecognizer(findAvailRecognizer(null, userHandle), userHandle); in onSomePackagesChanged() local 70 setCurRecognizer(findAvailRecognizer(comp.getPackageName(), userHandle), in onSomePackagesChanged() local 71 userHandle); in onSomePackagesChanged() local 89 private void initForUser(int userHandle) { in initForUser() argument 90 if (DEBUG) Slog.i(TAG, "initForUser user=" + userHandle); in initForUser() [all …]
|
D | DevicePolicyManagerService.java | 172 public DevicePolicyData(int userHandle) { in DevicePolicyData() argument 173 mUserHandle = userHandle; in DevicePolicyData() 185 final int userHandle = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, 190 + action + " for user " + userHandle); 193 handlePasswordExpirationNotification(getUserData(userHandle)); 202 removeUserData(userHandle); 211 mUserData.remove(userHandle); 215 handlePackagesChanged(userHandle); 514 private void handlePackagesChanged(int userHandle) { in handlePackagesChanged() argument 516 if (DBG) Slog.d(TAG, "Handling package changes for user " + userHandle); in handlePackagesChanged() [all …]
|
/frameworks/base/core/java/android/os/ |
D | IUserManager.aidl | 31 boolean removeUser(int userHandle); in removeUser() argument 32 void setUserName(int userHandle, String name); in setUserName() argument 33 void setUserIcon(int userHandle, in Bitmap icon); in setUserIcon() argument 34 Bitmap getUserIcon(int userHandle); in getUserIcon() argument 36 UserInfo getUserInfo(int userHandle); in getUserInfo() argument 40 void wipeUser(int userHandle); in wipeUser() argument 41 int getUserSerialNumber(int userHandle); in getUserSerialNumber() argument 43 Bundle getUserRestrictions(int userHandle); in getUserRestrictions() argument 44 void setUserRestrictions(in Bundle restrictions, int userHandle); in setUserRestrictions() argument 46 int userHandle); in setApplicationRestrictions() argument [all …]
|
D | UserManager.java | 263 public UserInfo getUserInfo(int userHandle) { in getUserInfo() argument 265 return mService.getUserInfo(userHandle); in getUserInfo() 285 public Bundle getUserRestrictions(UserHandle userHandle) { in getUserRestrictions() argument 287 return mService.getUserRestrictions(userHandle.getIdentifier()); in getUserRestrictions() 309 public void setUserRestrictions(Bundle restrictions, UserHandle userHandle) { in setUserRestrictions() argument 311 mService.setUserRestrictions(restrictions, userHandle.getIdentifier()); in setUserRestrictions() 337 public void setUserRestriction(String key, boolean value, UserHandle userHandle) { in setUserRestriction() argument 338 Bundle bundle = getUserRestrictions(userHandle); in setUserRestriction() 340 setUserRestrictions(bundle, userHandle); in setUserRestriction() 360 public boolean hasUserRestriction(String restrictionKey, UserHandle userHandle) { in hasUserRestriction() argument [all …]
|
/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()
|
D | PackageManager.java | 1442 public abstract int getPackageUid(String packageName, int userHandle) in getPackageUid() argument 2926 public abstract void getPackageSizeInfo(String packageName, int userHandle, in getPackageSizeInfo() argument 3166 UserHandle userHandle); in setApplicationBlockedSettingAsUser() argument 3174 UserHandle userHandle); in getApplicationBlockedSettingAsUser() argument
|
/frameworks/base/core/java/android/nfc/ |
D | INfcCardEmulation.aidl | 28 boolean isDefaultServiceForCategory(int userHandle, in ComponentName service, String category); in isDefaultServiceForCategory() argument 29 boolean isDefaultServiceForAid(int userHandle, in ComponentName service, String aid); in isDefaultServiceForAid() argument 30 boolean setDefaultServiceForCategory(int userHandle, in ComponentName service, String category); in setDefaultServiceForCategory() argument 31 boolean setDefaultForNextTap(int userHandle, in ComponentName service); in setDefaultForNextTap() argument 32 List<ApduServiceInfo> getServices(int userHandle, in String category); in getServices() argument
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 226 private void sendNotify(Uri uri, int userHandle) { in sendNotify() argument 259 final int notifyTarget = isGlobal ? UserHandle.USER_ALL : userHandle; in sendNotify() 302 public SettingsFileObserver(int userHandle, String path) { in SettingsFileObserver() argument 306 mUserHandle = userHandle; in SettingsFileObserver() 343 final int userHandle = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, in onCreate() 345 if (userHandle != UserHandle.USER_OWNER) { in onCreate() 346 onUserRemoved(userHandle); in onCreate() 354 void onUserRemoved(int userHandle) { in onUserRemoved() argument 358 FileObserver observer = sObserverInstances.get(userHandle); in onUserRemoved() 361 sObserverInstances.delete(userHandle); in onUserRemoved() [all …]
|
/frameworks/base/core/java/android/provider/ |
D | Settings.java | 895 final int userHandle) { in putStringForUser() argument 899 arg.putInt(CALL_METHOD_USER_KEY, userHandle); in putStringForUser() 909 public String getStringForUser(ContentResolver cr, String name, final int userHandle) { in getStringForUser() argument 910 final boolean isSelf = (userHandle == UserHandle.myUserId()); in getStringForUser() 931 if (LOCAL_LOGV) Log.v(TAG, "get setting for user " + userHandle in getStringForUser() 946 args.putInt(CALL_METHOD_USER_KEY, userHandle); in getStringForUser() 957 if (LOCAL_LOGV) Log.i(TAG, "call-query of user " + userHandle in getStringForUser() 1129 int userHandle) { in getStringForUser() argument 1133 return Secure.getStringForUser(resolver, name, userHandle); in getStringForUser() 1138 return Global.getStringForUser(resolver, name, userHandle); in getStringForUser() [all …]
|
/frameworks/base/services/java/com/android/server/content/ |
D | ContentService.java | 169 IContentObserver observer, int userHandle) { in registerContentObserver() argument 175 if (callingUser != userHandle) { in registerContentObserver() 180 if (userHandle < 0) { in registerContentObserver() 181 if (userHandle == UserHandle.USER_CURRENT) { in registerContentObserver() 182 userHandle = ActivityManager.getCurrentUser(); in registerContentObserver() 183 } else if (userHandle != UserHandle.USER_ALL) { in registerContentObserver() 185 + userHandle); in registerContentObserver() 191 Binder.getCallingUid(), Binder.getCallingPid(), userHandle); in registerContentObserver() 223 int userHandle) { in notifyChange() argument 225 Log.v(TAG, "Notifying update of " + uri + " for user " + userHandle in notifyChange() [all …]
|
/frameworks/base/cmds/settings/src/com/android/commands/settings/ |
D | SettingsCmd.java | 168 String getForUser(IContentProvider provider, int userHandle, in getForUser() argument 182 arg.putInt(Settings.CALL_METHOD_USER_KEY, userHandle); in getForUser() 188 … System.err.println("Can't read key " + key + " in " + table + " for user " + userHandle); in getForUser() 193 void putForUser(IContentProvider provider, int userHandle, in putForUser() argument 207 arg.putInt(Settings.CALL_METHOD_USER_KEY, userHandle); in putForUser() 210 System.err.println("Can't set key " + key + " in " + table + " for user " + userHandle); in putForUser()
|
/frameworks/base/services/java/com/android/server/pm/ |
D | UserManagerService.java | 385 public void wipeUser(int userHandle) { in wipeUser() argument 983 public boolean removeUser(int userHandle) { in removeUser() argument 987 user = mUsers.get(userHandle); in removeUser() 988 if (userHandle == 0 || user == null) { in removeUser() 991 mRemovingUserIds.put(userHandle, true); in removeUser() 998 if (DBG) Slog.i(LOG_TAG, "Stopping user " + userHandle); in removeUser() 1001 res = ActivityManagerNative.getDefault().stopUser(userHandle, in removeUser() 1018 void finishRemoveUser(final int userHandle) { in finishRemoveUser() argument 1019 if (DBG) Slog.i(LOG_TAG, "finishRemoveUser " + userHandle); in finishRemoveUser() 1025 addedIntent.putExtra(Intent.EXTRA_USER_HANDLE, userHandle); in finishRemoveUser() [all …]
|
/frameworks/base/services/java/com/android/server/am/ |
D | UriPermission.java | 46 final int userHandle; field in UriPermission 87 this.userHandle = UserHandle.getUserId(targetUid); in UriPermission() 288 pw.print("userHandle=" + userHandle); in dump() 333 final int userHandle; field in UriPermission.Snapshot 341 this.userHandle = perm.userHandle; in Snapshot()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternUtils.java | 622 public void saveLockPassword(String password, int quality, boolean isFallback, int userHandle) { in saveLockPassword() argument 624 getLockSettings().setLockPassword(password, userHandle); in saveLockPassword() 627 if (userHandle == UserHandle.USER_OWNER) { in saveLockPassword() 635 setLong(PASSWORD_TYPE_KEY, Math.max(quality, computedQuality), userHandle); in saveLockPassword() 661 numbers, symbols, nonletter, userHandle); in saveLockPassword() local 666 0, 0, 0, 0, 0, 0, 0, userHandle); in saveLockPassword() 671 userHandle); in saveLockPassword() 673 userHandle); in saveLockPassword() 676 0, 0, 0, 0, 0, 0, 0, userHandle); in saveLockPassword() 681 String passwordHistory = getString(PASSWORD_HISTORY_KEY, userHandle); in saveLockPassword() [all …]
|
/frameworks/base/core/java/com/android/internal/view/ |
D | RotationPolicy.java | 157 RotationPolicyListener listener, int userHandle) { in registerRotationPolicyListener() argument 160 false, listener.mObserver, userHandle); in registerRotationPolicyListener() local 163 false, listener.mObserver, userHandle); in registerRotationPolicyListener() local
|
/frameworks/base/services/java/com/android/server/search/ |
D | SearchManagerService.java | 241 public ComponentName getAssistIntent(int userHandle) { in getAssistIntent() argument 243 userHandle = ActivityManager.handleIncomingUser(Binder.getCallingPid(), in getAssistIntent() 244 Binder.getCallingUid(), userHandle, true, false, "getAssistIntent", null); in getAssistIntent() 250 PackageManager.MATCH_DEFAULT_ONLY, userHandle); in getAssistIntent()
|
/frameworks/base/core/java/android/content/ |
D | IContentService.aidl | 44 IContentObserver observer, int userHandle); in registerContentObserver() argument 55 int userHandle); in notifyChange() argument
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetManager.java | 772 UserHandle userHandle) { in bindRemoteViewsService() argument 775 userHandle.getIdentifier()); in bindRemoteViewsService() 794 public void unbindRemoteViewsService(int appWidgetId, Intent intent, UserHandle userHandle) { in unbindRemoteViewsService() argument 796 sService.unbindRemoteViewsService(appWidgetId, intent, userHandle.getIdentifier()); in unbindRemoteViewsService()
|
/frameworks/base/core/java/android/app/ |
D | ISearchManager.aidl | 33 ComponentName getAssistIntent(int userHandle); in getAssistIntent() argument
|
D | TaskStackBuilder.java | 215 public void startActivities(Bundle options, UserHandle userHandle) { in startActivities() argument 221 mSourceContext.startActivitiesAsUser(getIntents(), options, userHandle); in startActivities() local
|
D | SearchManager.java | 859 public Intent getAssistIntent(Context context, boolean inclContext, int userHandle) { in getAssistIntent() argument 864 ComponentName comp = mService.getAssistIntent(userHandle); in getAssistIntent()
|
/frameworks/base/core/java/android/database/ |
D | AbstractCursor.java | 358 public void setNotificationUri(ContentResolver cr, Uri notifyUri, int userHandle) { in setNotificationUri() argument 366 mContentResolver.registerContentObserver(mNotifyUri, true, mSelfObserver, userHandle); in setNotificationUri()
|
/frameworks/base/services/java/com/android/server/print/ |
D | PrintManagerService.java | 632 UserHandle userHandle = new UserHandle(userId); in showEnableInstalledPrintServiceNotification() local 638 PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_CANCEL_CURRENT, null, userHandle); in showEnableInstalledPrintServiceNotification() 654 userHandle); in showEnableInstalledPrintServiceNotification()
|