Home
last modified time | relevance | path

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

123456

/frameworks/base/core/java/android/os/
DIUserManager.aidl37 int getCredentialOwnerProfile(int userHandle); in getCredentialOwnerProfile()
38 int getProfileParentId(int userHandle); in getProfileParentId()
45 UserInfo createProfileForUser(in String name, int flags, int userHandle, in createProfileForUser()
48 void setUserEnabled(int userHandle); in setUserEnabled()
50 void evictCredentialEncryptionKey(int userHandle); in evictCredentialEncryptionKey()
51 boolean removeUser(int userHandle); in removeUser()
52 boolean removeUserEvenWhenDisallowed(int userHandle); in removeUserEvenWhenDisallowed()
53 void setUserName(int userHandle, String name); in setUserName()
54 void setUserIcon(int userHandle, in Bitmap icon); in setUserIcon()
55 ParcelFileDescriptor getUserIcon(int userHandle); in getUserIcon()
[all …]
DUserManager.java1806 public UserInfo getUserInfo(@UserIdInt int userHandle) { in getUserInfo()
1829 public int getUserRestrictionSource(String restrictionKey, UserHandle userHandle) { in getUserRestrictionSource()
1848 String restrictionKey, UserHandle userHandle) { in getUserRestrictionSources()
1869 public Bundle getUserRestrictions(UserHandle userHandle) { in getUserRestrictions()
1887 public boolean hasBaseUserRestriction(String restrictionKey, UserHandle userHandle) { in hasBaseUserRestriction()
1911 public void setUserRestrictions(Bundle restrictions, UserHandle userHandle) { in setUserRestrictions()
1943 public void setUserRestriction(String key, boolean value, UserHandle userHandle) { in setUserRestriction()
1970 public boolean hasUserRestriction(String restrictionKey, UserHandle userHandle) { in hasUserRestriction()
2120 public UserInfo createProfileForUser(String name, int flags, @UserIdInt int userHandle) { in createProfileForUser()
2138 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 …boolean setOffHostForService(int userHandle, in ComponentName service, in String offHostSecureElem… in setOffHostForService()
35 boolean unsetOffHostForService(int userHandle, in ComponentName service); in unsetOffHostForService()
36 AidGroup getAidGroupForService(int userHandle, in ComponentName service, String category); in getAidGroupForService()
37 boolean removeAidGroupForService(int userHandle, in ComponentName service, String category); in removeAidGroupForService()
38 List<ApduServiceInfo> getServices(int userHandle, in String category); in getServices()
[all …]
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/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyCacheImpl.java47 public void onUserRemoved(int userHandle) { in onUserRemoved()
55 public boolean getScreenCaptureDisabled(int userHandle) { in getScreenCaptureDisabled()
61 public void setScreenCaptureDisabled(int userHandle, boolean disabled) { in setScreenCaptureDisabled()
68 public int getPasswordQuality(@UserIdInt int userHandle) { in getPasswordQuality()
76 public void setPasswordQuality(int userHandle, int quality) { in setPasswordQuality()
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.java664 public void onStartUser(int userHandle) { in onStartUser()
669 public void onUnlockUser(int userHandle) { in onUnlockUser()
674 public void onStopUser(int userHandle) { in onStopUser()
735 public DevicePolicyData(int userHandle) { in DevicePolicyData()
1783 private void handlePackagesChanged(@Nullable String packageName, int userHandle) { in handlePackagesChanged()
1847 private boolean isRemovedPackage(String changedPackage, String targetPackage, int userHandle) { in isRemovedPackage()
2116 ContentObserver observer, int userHandle) { in registerContentObserver()
2121 int settingsSecureGetIntForUser(String name, int def, int userHandle) { in settingsSecureGetIntForUser()
2126 String settingsSecureGetStringForUser(String name, int userHandle) { in settingsSecureGetStringForUser()
2131 void settingsSecurePutIntForUser(String name, int value, int userHandle) { in settingsSecurePutIntForUser()
[all …]
/frameworks/base/core/java/android/app/admin/
DDevicePolicyCache.java44 public abstract boolean getScreenCaptureDisabled(@UserIdInt int userHandle); in getScreenCaptureDisabled()
50 public abstract int getPasswordQuality(@UserIdInt int userHandle); in getPasswordQuality()
59 public boolean getScreenCaptureDisabled(int userHandle) { in getScreenCaptureDisabled()
64 public int getPasswordQuality(int userHandle) { in getPasswordQuality()
DIDevicePolicyManager.aidl52 int getPasswordQuality(in ComponentName who, int userHandle, boolean parent); in getPasswordQuality()
55 int getPasswordMinimumLength(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumLength()
58 int getPasswordMinimumUpperCase(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumUpperCase()
61 int getPasswordMinimumLowerCase(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumLowerCase()
64 int getPasswordMinimumLetters(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumLetters()
67 int getPasswordMinimumNumeric(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumNumeric()
70 int getPasswordMinimumSymbols(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumSymbols()
73 int getPasswordMinimumNonLetter(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumNonLetter()
76 int getPasswordHistoryLength(in ComponentName who, int userHandle, boolean parent); in getPasswordHistoryLength()
79 long getPasswordExpirationTimeout(in ComponentName who, int userHandle, boolean parent); in getPasswordExpirationTimeout()
[all …]
DDevicePolicyManager.java2470 public boolean isSeparateProfileChallengeAllowed(int userHandle) { in isSeparateProfileChallengeAllowed()
2652 public int getPasswordQuality(@Nullable ComponentName admin, int userHandle) { in getPasswordQuality()
2723 public int getPasswordMinimumLength(@Nullable ComponentName admin, int userHandle) { in getPasswordMinimumLength()
2799 public int getPasswordMinimumUpperCase(@Nullable ComponentName admin, int userHandle) { in getPasswordMinimumUpperCase()
2875 public int getPasswordMinimumLowerCase(@Nullable ComponentName admin, int userHandle) { in getPasswordMinimumLowerCase()
2950 public int getPasswordMinimumLetters(@Nullable ComponentName admin, int userHandle) { in getPasswordMinimumLetters()
3025 public int getPasswordMinimumNumeric(@Nullable ComponentName admin, int userHandle) { in getPasswordMinimumNumeric()
3099 public int getPasswordMinimumSymbols(@Nullable ComponentName admin, int userHandle) { in getPasswordMinimumSymbols()
3174 public int getPasswordMinimumNonLetter(@Nullable ComponentName admin, int userHandle) { in getPasswordMinimumNonLetter()
3347 public int getPasswordHistoryLength(@Nullable ComponentName admin, int userHandle) { in getPasswordHistoryLength()
[all …]
/frameworks/base/services/core/java/com/android/server/
DSystemService.java152 public void onStartUser(int userHandle) {} in onStartUser()
168 public void onUnlockUser(int userHandle) {} in onUnlockUser()
176 public void onSwitchUser(int userHandle) {} in onSwitchUser()
188 public void onStopUser(int userHandle) {} in onStopUser()
200 public void onCleanupUser(int userHandle) {} in onCleanupUser()
DBluetoothService.java56 public void onSwitchUser(int userHandle) { in onSwitchUser()
65 public void onUnlockUser(int userHandle) { in onUnlockUser()
DSystemServiceManager.java181 public void startUser(final int userHandle) { in startUser()
202 public void unlockUser(final int userHandle) { in unlockUser()
223 public void switchUser(final int userHandle) { in switchUser()
244 public void stopUser(final int userHandle) { in stopUser()
265 public void cleanupUser(final int userHandle) { in cleanupUser()
DPinnerService.java205 public void onSwitchUser(int userHandle) { in onSwitchUser()
212 public void onUnlockUser(int userHandle) { in onUnlockUser()
369 private ApplicationInfo getCameraInfo(int userHandle) { in getCameraInfo()
395 private ApplicationInfo getHomeInfo(int userHandle) { in getHomeInfo()
400 private ApplicationInfo getApplicationInfoForIntent(Intent intent, int userHandle, in getApplicationInfoForIntent()
442 private void sendPinAppsMessage(int userHandle) { in sendPinAppsMessage()
447 private void pinApps(int userHandle) { in pinApps()
457 private void sendPinAppMessage(int key, int userHandle, boolean force) { in sendPinAppMessage()
468 private void pinApp(int key, int userHandle, boolean force) { in pinApp()
506 private @Nullable ApplicationInfo getInfoForKey(@AppKey int key, int userHandle) { in getInfoForKey()
/frameworks/base/core/java/android/content/pm/
DCrossProfileApps.java137 public @NonNull CharSequence getProfileSwitchingLabel(@NonNull UserHandle userHandle) { in getProfileSwitchingLabel()
159 public @NonNull Drawable getProfileSwitchingIconDrawable(@NonNull UserHandle userHandle) { in getProfileSwitchingIconDrawable()
172 private void verifyCanAccessUser(UserHandle userHandle) { in verifyCanAccessUser()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetService.java51 public void onStopUser(int userHandle) { in onStopUser()
56 public void onSwitchUser(int userHandle) { in onSwitchUser()
/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/opt/car/services/src/com/android/internal/car/
DCarServiceHelperService.java168 public void onUnlockUser(int userHandle) { in onUnlockUser()
176 public void onStopUser(int userHandle) { in onStopUser()
181 public void onCleanupUser(int userHandle) { in onCleanupUser()
186 public void onSwitchUser(int userHandle) { in onSwitchUser()
239 private void handleUserLockStatusChange(int userHandle, boolean unlocked) { in handleUserLockStatusChange()
494 private void sendSetUserLockStatusBinderCall(int userHandle, boolean unlocked) { in sendSetUserLockStatusBinderCall()
503 private void sendSwitchUserBindercall(int userHandle) { in sendSwitchUserBindercall()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DUidDetailProvider.java53 public static int buildKeyForUser(int userHandle) { in buildKeyForUser()
141 final int userHandle = getUserIdForKey(uid); in buildUidDetail() local
155 UserHandle userHandle = new UserHandle(userId); in buildUidDetail() local
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java684 public boolean clearLock(byte[] savedCredential, int userHandle) { in clearLock()
691 public boolean clearLock(byte[] savedCredential, int userHandle, boolean allowUntrustedChange) { in clearLock()
921 int userHandle) { in saveLockPassword()
940 int userHandle) { in saveLockPassword()
961 int requestedQuality, int userHandle, boolean allowUntrustedChange) { in saveLockPassword()
1013 private void updateEncryptionPasswordIfNeeded(byte[] password, int quality, int userHandle) { in updateEncryptionPasswordIfNeeded()
1033 private void updatePasswordHistory(byte[] password, int userHandle) { in updatePasswordHistory()
1102 public int getKeyguardStoredPasswordQuality(int userHandle) { in getKeyguardStoredPasswordQuality()
1106 private void setKeyguardStoredPasswordQuality(int quality, int userHandle) { in setKeyguardStoredPasswordQuality()
1119 public void setSeparateProfileChallengeEnabled(int userHandle, boolean enabled, in setSeparateProfileChallengeEnabled()
[all …]
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerService.java160 public void onStartUser(int userHandle) { in onStartUser()
165 public void onUnlockUser(int userHandle) { in onUnlockUser()
171 public void onSwitchUser(int userHandle) { in onSwitchUser()
275 public void initForUser(@UserIdInt int userHandle) { in initForUser()
285 private void initForUserNoTracing(@UserIdInt int userHandle) { in initForUserNoTracing()
384 int userHandle) { in initSimpleRecognizer()
425 public void switchUser(int userHandle) { in switchUser()
500 VoiceInteractionServiceInfo findAvailInteractor(int userHandle, String packageName) { in findAvailInteractor()
552 ComponentName getCurInteractor(int userHandle) { in getCurInteractor()
564 void setCurInteractor(ComponentName comp, int userHandle) { in setCurInteractor()
[all …]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsService.java299 List<String> listForUser(IContentProvider provider, int userHandle, String table) { in listForUser()
322 String getForUser(IContentProvider provider, int userHandle, in getForUser()
348 void putForUser(IContentProvider provider, int userHandle, final String table, in putForUser()
382 int deleteForUser(IContentProvider provider, int userHandle, in deleteForUser()
407 void resetForUser(IContentProvider provider, int userHandle, in resetForUser()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationTestHelper.java105 public ExpandableNotificationRow createRow(String pkg, int uid, UserHandle userHandle) in createRow()
208 UserHandle userHandle, in createRow()
273 UserHandle userHandle, in generateRow()
284 UserHandle userHandle, in generateRow()
/frameworks/base/startop/iorap/src/com/google/android/startop/iorap/
DSystemServiceUserEvent.java63 public final int userHandle; field in SystemServiceUserEvent
65 public SystemServiceUserEvent(@Type int type, int userHandle) { in SystemServiceUserEvent()

123456