Home
last modified time | relevance | path

Searched defs:userHandle (Results 1 – 25 of 113) 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.java1248 public UserInfo getUserInfo(@UserIdInt int userHandle) { in getUserInfo()
1271 public int getUserRestrictionSource(String restrictionKey, UserHandle userHandle) { in getUserRestrictionSource()
1290 String restrictionKey, UserHandle userHandle) { in getUserRestrictionSources()
1311 public Bundle getUserRestrictions(UserHandle userHandle) { in getUserRestrictions()
1327 public boolean hasBaseUserRestriction(String restrictionKey, UserHandle userHandle) { in hasBaseUserRestriction()
1351 public void setUserRestrictions(Bundle restrictions, UserHandle userHandle) { in setUserRestrictions()
1383 public void setUserRestriction(String key, boolean value, UserHandle userHandle) { in setUserRestriction()
1409 public boolean hasUserRestriction(String restrictionKey, UserHandle userHandle) { in hasUserRestriction()
1505 public UserInfo createProfileForUser(String name, int flags, @UserIdInt int userHandle) { in createProfileForUser()
1523 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/services/appwidget/java/com/android/server/appwidget/
DAppWidgetService.java51 public void onUnlockUser(int userHandle) { in onUnlockUser()
56 public void onStopUser(int userHandle) { in onStopUser()
61 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()
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()
DSystemServiceManager.java175 public void startUser(final int userHandle) { in startUser()
194 public void unlockUser(final int userHandle) { in unlockUser()
213 public void switchUser(final int userHandle) { in switchUser()
232 public void stopUser(final int userHandle) { in stopUser()
251 public void cleanupUser(final int userHandle) { in cleanupUser()
/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.java1696 public boolean isSeparateProfileChallengeAllowed(int userHandle) { in isSeparateProfileChallengeAllowed()
1870 public int getPasswordQuality(@Nullable ComponentName admin, int userHandle) { in getPasswordQuality()
1935 public int getPasswordMinimumLength(@Nullable ComponentName admin, int userHandle) { in getPasswordMinimumLength()
2004 public int getPasswordMinimumUpperCase(@Nullable ComponentName admin, int userHandle) { in getPasswordMinimumUpperCase()
2073 public int getPasswordMinimumLowerCase(@Nullable ComponentName admin, int userHandle) { in getPasswordMinimumLowerCase()
2141 public int getPasswordMinimumLetters(@Nullable ComponentName admin, int userHandle) { in getPasswordMinimumLetters()
2209 public int getPasswordMinimumNumeric(@Nullable ComponentName admin, int userHandle) { in getPasswordMinimumNumeric()
2276 public int getPasswordMinimumSymbols(@Nullable ComponentName admin, int userHandle) { in getPasswordMinimumSymbols()
2344 public int getPasswordMinimumNonLetter(@Nullable ComponentName admin, int userHandle) { in getPasswordMinimumNonLetter()
2495 public int getPasswordHistoryLength(@Nullable ComponentName admin, int userHandle) { in getPasswordHistoryLength()
[all …]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
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()
DDevicePolicyManagerService.java468 public void onStartUser(int userHandle) { in onStartUser()
473 public void onUnlockUser(int userHandle) { in onUnlockUser()
478 public void onStopUser(int userHandle) { in onStopUser()
537 public DevicePolicyData(int userHandle) { in DevicePolicyData()
1457 private void handlePackagesChanged(@Nullable String packageName, int userHandle) { in handlePackagesChanged()
1519 private boolean isRemovedPackage(String changedPackage, String targetPackage, int userHandle) { in isRemovedPackage()
1737 ContentObserver observer, int userHandle) { in registerContentObserver()
1742 int settingsSecureGetIntForUser(String name, int def, int userHandle) { in settingsSecureGetIntForUser()
1747 String settingsSecureGetStringForUser(String name, int userHandle) { in settingsSecureGetStringForUser()
1752 void settingsSecurePutIntForUser(String name, int value, int userHandle) { in settingsSecurePutIntForUser()
[all …]
/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()
381 public void switchUser(int userHandle) { in switchUser()
429 VoiceInteractionServiceInfo findAvailInteractor(int userHandle, String packageName) { in findAvailInteractor()
481 ComponentName getCurInteractor(int userHandle) { in getCurInteractor()
493 void setCurInteractor(ComponentName comp, int userHandle) { in setCurInteractor()
501 ComponentName findAvailRecognizer(String prefPackage, int userHandle) { in findAvailRecognizer()
530 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/core/java/com/android/internal/widget/
DLockPatternUtils.java607 public void clearLock(String savedCredential, int userHandle) { in clearLock()
799 int userHandle) { in saveLockPassword()
825 private void updateEncryptionPasswordIfNeeded(String password, int quality, int userHandle) { in updateEncryptionPasswordIfNeeded()
842 private void updatePasswordHistory(String password, int userHandle) { in updatePasswordHistory()
897 public int getKeyguardStoredPasswordQuality(int userHandle) { in getKeyguardStoredPasswordQuality()
929 public void setSeparateProfileChallengeEnabled(int userHandle, boolean enabled, in setSeparateProfileChallengeEnabled()
946 public boolean isSeparateProfileChallengeEnabled(int userHandle) { in isSeparateProfileChallengeEnabled()
953 public boolean isManagedProfileWithUnifiedChallenge(int userHandle) { in isManagedProfileWithUnifiedChallenge()
960 public boolean isSeparateProfileChallengeAllowed(int userHandle) { in isSeparateProfileChallengeAllowed()
968 public boolean isSeparateProfileChallengeAllowedToUnify(int userHandle) { in isSeparateProfileChallengeAllowedToUnify()
[all …]
/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/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceTestable.java103 public void notifyChangeToContentObserver(Uri uri, int userHandle) { in notifyChangeToContentObserver()
315 ContentObserver observer, int userHandle) { in registerContentObserver()
320 int settingsSecureGetIntForUser(String name, int def, int userHandle) { in settingsSecureGetIntForUser()
325 String settingsSecureGetStringForUser(String name, int userHandle) { in settingsSecureGetStringForUser()
330 void settingsSecurePutIntForUser(String name, int value, int userHandle) { in settingsSecurePutIntForUser()
335 void settingsSecurePutStringForUser(String name, String value, int userHandle) { in settingsSecurePutStringForUser()
340 void settingsGlobalPutStringForUser(String name, String value, int userHandle) { in settingsGlobalPutStringForUser()
/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.java48 private static ServiceInfo getServiceInfoOrThrow(ComponentName comp, int userHandle) in getServiceInfoOrThrow()
69 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/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