Home
last modified time | relevance | path

Searched defs:userHandle (Results 1 – 25 of 109) sorted by relevance

12345

/frameworks/base/core/java/android/os/
DIUserManager.aidl37 int getCredentialOwnerProfile(int userHandle); in getCredentialOwnerProfile()
40 UserInfo createProfileForUser(in String name, int flags, int userHandle, in createProfileForUser()
43 void setUserEnabled(int userHandle); in setUserEnabled()
44 void evictCredentialEncryptionKey(int userHandle); in evictCredentialEncryptionKey()
45 boolean removeUser(int userHandle); in removeUser()
46 boolean removeUserEvenWhenDisallowed(int userHandle); in removeUserEvenWhenDisallowed()
47 void setUserName(int userHandle, String name); in setUserName()
48 void setUserIcon(int userHandle, in Bitmap icon); in setUserIcon()
49 ParcelFileDescriptor getUserIcon(int userHandle); in getUserIcon()
52 List<UserInfo> getProfiles(int userHandle, boolean enabledOnly); in getProfiles()
[all …]
DUserManager.java1246 public UserInfo getUserInfo(@UserIdInt int userHandle) { in getUserInfo()
1269 public int getUserRestrictionSource(String restrictionKey, UserHandle userHandle) { in getUserRestrictionSource()
1288 String restrictionKey, UserHandle userHandle) { in getUserRestrictionSources()
1309 public Bundle getUserRestrictions(UserHandle userHandle) { in getUserRestrictions()
1325 public boolean hasBaseUserRestriction(String restrictionKey, UserHandle userHandle) { in hasBaseUserRestriction()
1349 public void setUserRestrictions(Bundle restrictions, UserHandle userHandle) { in setUserRestrictions()
1381 public void setUserRestriction(String key, boolean value, UserHandle userHandle) { in setUserRestriction()
1407 public boolean hasUserRestriction(String restrictionKey, UserHandle userHandle) { in hasUserRestriction()
1503 public UserInfo createProfileForUser(String name, int flags, @UserIdInt int userHandle) { in createProfileForUser()
1521 public UserInfo createProfileForUser(String name, int flags, @UserIdInt int userHandle, in createProfileForUser()
[all …]
/frameworks/base/core/java/android/nfc/
DINfcCardEmulation.aidl29 boolean isDefaultServiceForCategory(int userHandle, in ComponentName service, String category); in isDefaultServiceForCategory()
30 boolean isDefaultServiceForAid(int userHandle, in ComponentName service, String aid); in isDefaultServiceForAid()
31 boolean setDefaultServiceForCategory(int userHandle, in ComponentName service, String category); in setDefaultServiceForCategory()
32 boolean setDefaultForNextTap(int userHandle, in ComponentName service); in setDefaultForNextTap()
33 …boolean registerAidGroupForService(int userHandle, in ComponentName service, in AidGroup aidGroup); in registerAidGroupForService()
34 AidGroup getAidGroupForService(int userHandle, in ComponentName service, String category); in getAidGroupForService()
35 boolean removeAidGroupForService(int userHandle, in ComponentName service, String category); in removeAidGroupForService()
36 List<ApduServiceInfo> getServices(int userHandle, in String category); in getServices()
DINfcFCardEmulation.aidl27 String getSystemCodeForService(int userHandle, in ComponentName service); in getSystemCodeForService()
28 … boolean registerSystemCodeForService(int userHandle, in ComponentName service, String systemCode); in registerSystemCodeForService()
29 boolean removeSystemCodeForService(int userHandle, in ComponentName service); in removeSystemCodeForService()
30 String getNfcid2ForService(int userHandle, in ComponentName service); in getNfcid2ForService()
31 boolean setNfcid2ForService(int userHandle, in ComponentName service, String nfcid2); in setNfcid2ForService()
34 List<NfcFServiceInfo> getNfcFServices(int userHandle); in getNfcFServices()
DBeamShareData.java18 public final UserHandle userHandle; field in BeamShareData
21 public BeamShareData(NdefMessage msg, Uri[] uris, UserHandle userHandle, int flags) { in BeamShareData()
/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl47 int getPasswordQuality(in ComponentName who, int userHandle, boolean parent); in getPasswordQuality()
50 int getPasswordMinimumLength(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumLength()
53 int getPasswordMinimumUpperCase(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumUpperCase()
56 int getPasswordMinimumLowerCase(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumLowerCase()
59 int getPasswordMinimumLetters(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumLetters()
62 int getPasswordMinimumNumeric(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumNumeric()
65 int getPasswordMinimumSymbols(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumSymbols()
68 int getPasswordMinimumNonLetter(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumNonLetter()
71 int getPasswordHistoryLength(in ComponentName who, int userHandle, boolean parent); in getPasswordHistoryLength()
74 long getPasswordExpirationTimeout(in ComponentName who, int userHandle, boolean parent); in getPasswordExpirationTimeout()
[all …]
DDevicePolicyManager.java1679 public boolean isSeparateProfileChallengeAllowed(int userHandle) { in isSeparateProfileChallengeAllowed()
1853 public int getPasswordQuality(@Nullable ComponentName admin, int userHandle) { in getPasswordQuality()
1918 public int getPasswordMinimumLength(@Nullable ComponentName admin, int userHandle) { in getPasswordMinimumLength()
1987 public int getPasswordMinimumUpperCase(@Nullable ComponentName admin, int userHandle) { in getPasswordMinimumUpperCase()
2056 public int getPasswordMinimumLowerCase(@Nullable ComponentName admin, int userHandle) { in getPasswordMinimumLowerCase()
2124 public int getPasswordMinimumLetters(@Nullable ComponentName admin, int userHandle) { in getPasswordMinimumLetters()
2192 public int getPasswordMinimumNumeric(@Nullable ComponentName admin, int userHandle) { in getPasswordMinimumNumeric()
2259 public int getPasswordMinimumSymbols(@Nullable ComponentName admin, int userHandle) { in getPasswordMinimumSymbols()
2327 public int getPasswordMinimumNonLetter(@Nullable ComponentName admin, int userHandle) { in getPasswordMinimumNonLetter()
2478 public int getPasswordHistoryLength(@Nullable ComponentName admin, int userHandle) { in getPasswordHistoryLength()
[all …]
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetService.java50 public void onUnlockUser(int userHandle) { in onUnlockUser()
55 public void onStopUser(int userHandle) { in onStopUser()
60 public void onSwitchUser(int userHandle) { in onSwitchUser()
/frameworks/base/services/core/java/com/android/server/
DSystemService.java145 public void onStartUser(int userHandle) {} in onStartUser()
161 public void onUnlockUser(int userHandle) {} in onUnlockUser()
169 public void onSwitchUser(int userHandle) {} in onSwitchUser()
181 public void onStopUser(int userHandle) {} in onStopUser()
193 public void onCleanupUser(int userHandle) {} in onCleanupUser()
DBluetoothService.java45 public void onSwitchUser(int userHandle) { in onSwitchUser()
50 public void onUnlockUser(int userHandle) { in onUnlockUser()
DSystemServiceManager.java174 public void startUser(final int userHandle) { in startUser()
193 public void unlockUser(final int userHandle) { in unlockUser()
212 public void switchUser(final int userHandle) { in switchUser()
231 public void stopUser(final int userHandle) { in stopUser()
250 public void cleanupUser(final int userHandle) { in cleanupUser()
DPinnerService.java124 public void onSwitchUser(int userHandle) { in onSwitchUser()
168 private void handlePinCamera(int userHandle) { in handlePinCamera()
186 private boolean alreadyPinned(int userHandle) { in alreadyPinned()
213 private ApplicationInfo getCameraInfo(int userHandle) { in getCameraInfo()
245 private boolean pinCamera(int userHandle){ in pinCamera()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java463 public void onStartUser(int userHandle) { in onStartUser()
468 public void onUnlockUser(int userHandle) { in onUnlockUser()
473 public void onStopUser(int userHandle) { in onStopUser()
530 public DevicePolicyData(int userHandle) { in DevicePolicyData()
1450 private void handlePackagesChanged(@Nullable String packageName, int userHandle) { in handlePackagesChanged()
1512 private boolean isRemovedPackage(String changedPackage, String targetPackage, int userHandle) { in isRemovedPackage()
1730 ContentObserver observer, int userHandle) { in registerContentObserver()
1735 int settingsSecureGetIntForUser(String name, int def, int userHandle) { in settingsSecureGetIntForUser()
1740 String settingsSecureGetStringForUser(String name, int userHandle) { in settingsSecureGetStringForUser()
1745 void settingsSecurePutIntForUser(String name, int value, int userHandle) { in settingsSecurePutIntForUser()
[all …]
DCertificateMonitor.java79 public String installCaCert(final UserHandle userHandle, byte[] certBuffer) { in installCaCert()
101 public void uninstallCaCerts(final UserHandle userHandle, final String[] aliases) { in uninstallCaCerts()
114 public List<String> getInstalledCaCertificates(UserHandle userHandle) in getInstalledCaCertificates()
144 private void updateInstalledCertificates(final UserHandle userHandle) { in updateInstalledCertificates()
170 private Notification buildNotification(UserHandle userHandle, int pendingCertificateCount) { in buildNotification()
/frameworks/base/services/restrictions/java/com/android/server/restrictions/
DRestrictionsManagerService.java77 int userHandle = UserHandle.getCallingUserId(); in hasRestrictionsProvider() local
98 int userHandle = UserHandle.getUserId(callingUid); in requestPermission() local
131 final int userHandle = UserHandle.getCallingUserId(); in createLocalApprovalIntent() local
164 int userHandle = UserHandle.getUserId(callingUid); in notifyPermissionResponse() local
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerService.java134 public void onStartUser(int userHandle) { in onStartUser()
139 public void onUnlockUser(int userHandle) { in onUnlockUser()
145 public void onSwitchUser(int userHandle) { in onSwitchUser()
247 public void initForUser(int userHandle) { in initForUser()
376 public void switchUser(int userHandle) { in switchUser()
424 VoiceInteractionServiceInfo findAvailInteractor(int userHandle, String packageName) { in findAvailInteractor()
476 ComponentName getCurInteractor(int userHandle) { in getCurInteractor()
488 void setCurInteractor(ComponentName comp, int userHandle) { in setCurInteractor()
496 ComponentName findAvailRecognizer(String prefPackage, int userHandle) { in findAvailRecognizer()
525 ComponentName getCurRecognizer(int userHandle) { in getCurRecognizer()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DUidDetailProvider.java52 public static int buildKeyForUser(int userHandle) { in buildKeyForUser()
136 final int userHandle = getUserIdForKey(uid); in buildUidDetail() local
150 UserHandle userHandle = new UserHandle(userId); in buildUidDetail() local
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceTestable.java102 public void notifyChangeToContentObserver(Uri uri, int userHandle) { in notifyChangeToContentObserver()
317 ContentObserver observer, int userHandle) { in registerContentObserver()
322 int settingsSecureGetIntForUser(String name, int def, int userHandle) { in settingsSecureGetIntForUser()
327 String settingsSecureGetStringForUser(String name, int userHandle) { in settingsSecureGetStringForUser()
332 void settingsSecurePutIntForUser(String name, int value, int userHandle) { in settingsSecurePutIntForUser()
337 void settingsSecurePutStringForUser(String name, String value, int userHandle) { in settingsSecurePutStringForUser()
342 void settingsGlobalPutStringForUser(String name, String value, int userHandle) { in settingsGlobalPutStringForUser()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsService.java307 private List<String> listForUser(IContentProvider provider, int userHandle, String table) { in listForUser()
335 String getForUser(IContentProvider provider, int userHandle, in getForUser()
360 void putForUser(IContentProvider provider, int userHandle, final String table, in putForUser()
393 int deleteForUser(IContentProvider provider, int userHandle, in deleteForUser()
413 void resetForUser(IContentProvider provider, int userHandle, in resetForUser()
/frameworks/base/core/java/com/android/internal/view/
DRotationPolicy.java167 RotationPolicyListener listener, int userHandle) { in registerRotationPolicyListener()
170 false, listener.mObserver, userHandle); in registerRotationPolicyListener() local
173 false, listener.mObserver, userHandle); in registerRotationPolicyListener() local
/frameworks/base/core/java/android/service/autofill/
DAutofillServiceInfo.java47 private static ServiceInfo getServiceInfoOrThrow(ComponentName comp, int userHandle) in getServiceInfoOrThrow()
68 public AutofillServiceInfo(PackageManager pm, ComponentName comp, int userHandle) in AutofillServiceInfo()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationApps.java151 final UserHandle userHandle = new UserHandle(userId); in getRequestFromOps() local
172 public final UserHandle userHandle; field in RecentLocationApps.Request
178 private Request(String packageName, UserHandle userHandle, Drawable icon, in Request()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java576 public void clearLock(String savedCredential, int userHandle) { in clearLock()
764 int userHandle) { in saveLockPassword()
788 private void updateEncryptionPasswordIfNeeded(String password, int quality, int userHandle) { in updateEncryptionPasswordIfNeeded()
805 private void updatePasswordHistory(String password, int userHandle) { in updatePasswordHistory()
860 public int getKeyguardStoredPasswordQuality(int userHandle) { in getKeyguardStoredPasswordQuality()
874 public void setSeparateProfileChallengeEnabled(int userHandle, boolean enabled, in setSeparateProfileChallengeEnabled()
891 public boolean isSeparateProfileChallengeEnabled(int userHandle) { in isSeparateProfileChallengeEnabled()
908 public boolean isSeparateProfileChallengeAllowed(int userHandle) { in isSeparateProfileChallengeAllowed()
919 public boolean isSeparateProfileChallengeAllowedToUnify(int userHandle) { in isSeparateProfileChallengeAllowedToUnify()
1213 private long getLong(String secureSettingKey, long defaultValue, int userHandle) { in getLong()
[all …]
/frameworks/base/telecomm/java/android/telecom/
DPhoneAccountHandle.java56 @NonNull UserHandle userHandle) { in PhoneAccountHandle()
144 private void checkParameters(ComponentName componentName, UserHandle userHandle) { in checkParameters()
/frameworks/base/core/java/android/content/pm/
DPackageStats.java40 public int userHandle; field in PackageStats
137 public PackageStats(String pkgName, int userHandle) { in PackageStats()

12345