Home
last modified time | relevance | path

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

1234

/frameworks/base/core/java/android/os/
DIUserManager.aidl36 int getCredentialOwnerProfile(int userHandle); in getCredentialOwnerProfile()
39 UserInfo createProfileForUser(in String name, int flags, int userHandle); in createProfileForUser()
41 void setUserEnabled(int userHandle); in setUserEnabled()
42 boolean removeUser(int userHandle); in removeUser()
43 void setUserName(int userHandle, String name); in setUserName()
44 void setUserIcon(int userHandle, in Bitmap icon); in setUserIcon()
45 ParcelFileDescriptor getUserIcon(int userHandle); in getUserIcon()
48 List<UserInfo> getProfiles(int userHandle, boolean enabledOnly); in getProfiles()
50 boolean canAddMoreManagedProfiles(int userHandle, boolean allowedToRemoveOne); in canAddMoreManagedProfiles()
51 UserInfo getProfileParent(int userHandle); in getProfileParent()
[all …]
DUserManager.java1056 public UserInfo getUserInfo(@UserIdInt int userHandle) { in getUserInfo()
1077 public int getUserRestrictionSource(String restrictionKey, UserHandle userHandle) { in getUserRestrictionSource()
1098 public Bundle getUserRestrictions(UserHandle userHandle) { in getUserRestrictions()
1114 public boolean hasBaseUserRestriction(String restrictionKey, UserHandle userHandle) { in hasBaseUserRestriction()
1138 public void setUserRestrictions(Bundle restrictions, UserHandle userHandle) { in setUserRestrictions()
1170 public void setUserRestriction(String key, boolean value, UserHandle userHandle) { in setUserRestriction()
1196 public boolean hasUserRestriction(String restrictionKey, UserHandle userHandle) { in hasUserRestriction()
1292 public UserInfo createProfileForUser(String name, int flags, @UserIdInt int userHandle) { in createProfileForUser()
1462 public boolean markGuestForDeletion(@UserIdInt int userHandle) { in markGuestForDeletion()
1482 public void setUserEnabled(@UserIdInt int userHandle) { in setUserEnabled()
[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.aidl40 int getPasswordQuality(in ComponentName who, int userHandle, boolean parent); in getPasswordQuality()
43 int getPasswordMinimumLength(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumLength()
46 int getPasswordMinimumUpperCase(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumUpperCase()
49 int getPasswordMinimumLowerCase(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumLowerCase()
52 int getPasswordMinimumLetters(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumLetters()
55 int getPasswordMinimumNumeric(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumNumeric()
58 int getPasswordMinimumSymbols(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumSymbols()
61 int getPasswordMinimumNonLetter(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumNonLetter()
64 int getPasswordHistoryLength(in ComponentName who, int userHandle, boolean parent); in getPasswordHistoryLength()
67 long getPasswordExpirationTimeout(in ComponentName who, int userHandle, boolean parent); in getPasswordExpirationTimeout()
[all …]
DDevicePolicyManager.java1190 public boolean isSeparateProfileChallengeAllowed(int userHandle) { in isSeparateProfileChallengeAllowed()
1333 public int getPasswordQuality(@Nullable ComponentName admin, int userHandle) { in getPasswordQuality()
1398 public int getPasswordMinimumLength(@Nullable ComponentName admin, int userHandle) { in getPasswordMinimumLength()
1467 public int getPasswordMinimumUpperCase(@Nullable ComponentName admin, int userHandle) { in getPasswordMinimumUpperCase()
1536 public int getPasswordMinimumLowerCase(@Nullable ComponentName admin, int userHandle) { in getPasswordMinimumLowerCase()
1604 public int getPasswordMinimumLetters(@Nullable ComponentName admin, int userHandle) { in getPasswordMinimumLetters()
1672 public int getPasswordMinimumNumeric(@Nullable ComponentName admin, int userHandle) { in getPasswordMinimumNumeric()
1739 public int getPasswordMinimumSymbols(@Nullable ComponentName admin, int userHandle) { in getPasswordMinimumSymbols()
1807 public int getPasswordMinimumNonLetter(@Nullable ComponentName admin, int userHandle) { in getPasswordMinimumNonLetter()
1958 public int getPasswordHistoryLength(@Nullable ComponentName admin, int userHandle) { in getPasswordHistoryLength()
[all …]
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetService.java49 public void onUnlockUser(int userHandle) { in onUnlockUser()
54 public void onStopUser(int userHandle) { in onStopUser()
59 public void onSwitchUser(int userHandle) { in onSwitchUser()
/frameworks/base/services/core/java/com/android/server/
DSystemService.java133 public void onStartUser(int userHandle) {} in onStartUser()
142 public void onUnlockUser(int userHandle) {} in onUnlockUser()
150 public void onSwitchUser(int userHandle) {} in onSwitchUser()
159 public void onStopUser(int userHandle) {} in onStopUser()
167 public void onCleanupUser(int userHandle) {} in onCleanupUser()
DSystemServiceManager.java155 public void startUser(final int userHandle) { in startUser()
168 public void unlockUser(final int userHandle) { in unlockUser()
181 public void switchUser(final int userHandle) { in switchUser()
194 public void stopUser(final int userHandle) { in stopUser()
207 public void cleanupUser(final int userHandle) { in cleanupUser()
DBluetoothService.java45 public void onSwitchUser(int userHandle) { in onSwitchUser()
50 public void onUnlockUser(int userHandle) { in onUnlockUser()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java397 public void onStartUser(int userHandle) { in onStartUser()
445 public DevicePolicyData(int userHandle) { in DevicePolicyData()
1268 private void handlePackagesChanged(String packageName, int userHandle) { in handlePackagesChanged()
1316 private boolean isRemovedPackage(String changedPackage, String targetPackage, int userHandle) { in isRemovedPackage()
1493 ContentObserver observer, int userHandle) { in registerContentObserver()
1498 int settingsSecureGetIntForUser(String name, int def, int userHandle) { in settingsSecureGetIntForUser()
1503 void settingsSecurePutIntForUser(String name, int value, int userHandle) { in settingsSecurePutIntForUser()
1505 name, value, userHandle); in settingsSecurePutIntForUser() local
1508 void settingsSecurePutStringForUser(String name, String value, int userHandle) { in settingsSecurePutStringForUser()
1510 name, value, userHandle); in settingsSecurePutStringForUser() local
[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.java128 public void onStartUser(int userHandle) { in onStartUser()
133 public void onUnlockUser(int userHandle) { in onUnlockUser()
139 public void onSwitchUser(int userHandle) { in onSwitchUser()
241 public void initForUser(int userHandle) { in initForUser()
366 public void switchUser(int userHandle) { in switchUser()
414 VoiceInteractionServiceInfo findAvailInteractor(int userHandle, String packageName) { in findAvailInteractor()
466 ComponentName getCurInteractor(int userHandle) { in getCurInteractor()
478 void setCurInteractor(ComponentName comp, int userHandle) { in setCurInteractor()
486 ComponentName findAvailRecognizer(String prefPackage, int userHandle) { in findAvailRecognizer()
513 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/cmds/settings/src/com/android/commands/settings/
DSettingsCmd.java191 private List<String> listForUser(IContentProvider provider, int userHandle, String table) { in listForUser()
228 String getForUser(IContentProvider provider, int userHandle, in getForUser()
253 void putForUser(IContentProvider provider, int userHandle, in putForUser()
274 int deleteForUser(IContentProvider provider, int userHandle, in deleteForUser()
/frameworks/base/services/core/java/com/android/server/search/
DSearchManagerService.java75 public void onUnlockUser(int userHandle) { in onUnlockUser()
80 public void onCleanupUser(int userHandle) { in onCleanupUser()
261 private ComponentName getLegacyAssistComponent(int userHandle) { in getLegacyAssistComponent()
286 public boolean launchLegacyAssist(String hint, int userHandle, Bundle args) { in launchLegacyAssist()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceTestable.java94 public void notifyChangeToContentObserver(Uri uri, int userHandle) { in notifyChangeToContentObserver()
292 ContentObserver observer, int userHandle) { in registerContentObserver()
297 int settingsSecureGetIntForUser(String name, int def, int userHandle) { in settingsSecureGetIntForUser()
302 void settingsSecurePutIntForUser(String name, int value, int userHandle) { in settingsSecurePutIntForUser()
307 void settingsSecurePutStringForUser(String name, String value, int userHandle) { in settingsSecurePutStringForUser()
312 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/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationApps.java148 final UserHandle userHandle = new UserHandle(userId); in getRequestFromOps() local
170 public final UserHandle userHandle; field in RecentLocationApps.Request
176 private Request(String packageName, UserHandle userHandle, Drawable icon, in Request()
/frameworks/base/core/java/android/content/pm/
DPackageStats.java32 public int userHandle; field in PackageStats
129 public PackageStats(String pkgName, int userHandle) { in PackageStats()
/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/services/print/java/com/android/server/print/
DRemotePrintServiceRecommendationService.java83 private Intent getServiceIntent(@NonNull UserHandle userHandle) throws Exception { in getServiceIntent()
133 @NonNull UserHandle userHandle, in RemotePrintServiceRecommendationService()
/frameworks/base/tools/layoutlib/bridge/src/android/text/format/
DDateFormat_Delegate.java39 /*package*/ static boolean is24HourFormat(Context context, int userHandle) { in is24HourFormat()
/frameworks/base/services/core/java/com/android/server/camera/
DCameraService.java178 public void onStartUser(int userHandle) { in onStartUser()
188 public void onSwitchUser(int userHandle) { in onSwitchUser()
213 private void switchUserLocked(int userHandle) { in switchUserLocked()

1234