Home
last modified time | relevance | path

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

123456789

/frameworks/base/core/java/android/app/admin/
DDevicePolicyCache.java44 public abstract boolean isScreenCaptureAllowed(@UserIdInt int userHandle); in isScreenCaptureAllowed()
50 public abstract int getPasswordQuality(@UserIdInt int userHandle); in getPasswordQuality()
56 public abstract int getPermissionPolicy(@UserIdInt int userHandle); in getPermissionPolicy()
62 public abstract boolean canAdminGrantSensorsPermissionsForUser(@UserIdInt int userHandle); in canAdminGrantSensorsPermissionsForUser()
72 public boolean isScreenCaptureAllowed(int userHandle) { in isScreenCaptureAllowed()
77 public int getPasswordQuality(int userHandle) { in getPasswordQuality()
82 public int getPermissionPolicy(int userHandle) { in getPermissionPolicy()
87 public boolean canAdminGrantSensorsPermissionsForUser(int userHandle) { in canAdminGrantSensorsPermissionsForUser()
DIDevicePolicyManager.aidl63 int getPasswordQuality(in ComponentName who, int userHandle, boolean parent); in getPasswordQuality()
66 int getPasswordMinimumLength(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumLength()
69 int getPasswordMinimumUpperCase(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumUpperCase()
72 int getPasswordMinimumLowerCase(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumLowerCase()
75 int getPasswordMinimumLetters(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumLetters()
78 int getPasswordMinimumNumeric(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumNumeric()
81 int getPasswordMinimumSymbols(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumSymbols()
84 int getPasswordMinimumNonLetter(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumNonLetter()
86 PasswordMetrics getPasswordMinimumMetrics(int userHandle, boolean deviceWideOnly); in getPasswordMinimumMetrics()
89 int getPasswordHistoryLength(in ComponentName who, int userHandle, boolean parent); in getPasswordHistoryLength()
[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.java63 public void onUserRemoved(int userHandle) { in onUserRemoved()
72 public boolean isScreenCaptureAllowed(int userHandle) { in isScreenCaptureAllowed()
85 public void setScreenCaptureDisallowedUser(int userHandle) { in setScreenCaptureDisallowedUser()
92 public int getPasswordQuality(@UserIdInt int userHandle) { in getPasswordQuality()
100 public void setPasswordQuality(int userHandle, int quality) { in setPasswordQuality()
107 public int getPermissionPolicy(@UserIdInt int userHandle) { in getPermissionPolicy()
115 public void setPermissionPolicy(@UserIdInt int userHandle, int policy) { in setPermissionPolicy()
DCertificateMonitor.java77 public String installCaCert(final UserHandle userHandle, byte[] certBuffer) { in installCaCert()
99 public void uninstallCaCerts(final UserHandle userHandle, final String[] aliases) { in uninstallCaCerts()
112 private List<String> getInstalledCaCertificates(UserHandle userHandle) in getInstalledCaCertificates()
139 private void updateInstalledCertificates(final UserHandle userHandle) { in updateInstalledCertificates()
167 private Notification buildNotification(UserHandle userHandle, int pendingCertificateCount) { in buildNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/settings/
DSettingsProxy.java67 default int getRealUserHandle(int userHandle) { in getRealUserHandle()
127 String name, ContentObserver settingsObserver, int userHandle) { in registerContentObserverForUser()
129 getUriFor(name), settingsObserver, userHandle); in registerContentObserverForUser() local
137 Uri uri, ContentObserver settingsObserver, int userHandle) { in registerContentObserverForUser()
150 int userHandle) { in registerContentObserverForUser()
152 getUriFor(name), notifyForDescendants, settingsObserver, userHandle); in registerContentObserverForUser() local
161 int userHandle) { in registerContentObserverForUser()
181 String getStringForUser(String name, int userHandle); in getStringForUser()
204 boolean putStringForUser(String name, String value, int userHandle); in putStringForUser()
208 boolean makeDefault, @UserIdInt int userHandle, boolean overrideableByRestore); in putStringForUser()
[all …]
DSecureSettingsImpl.java53 public String getStringForUser(String name, int userHandle) { in getStringForUser()
64 public boolean putStringForUser(String name, String value, int userHandle) { in putStringForUser()
71 int userHandle, boolean overrideableByRestore) { in putStringForUser()
DGlobalSettingsImpl.java53 public String getStringForUser(String name, int userHandle) { in getStringForUser()
65 public boolean putStringForUser(String name, String value, int userHandle) { in putStringForUser()
72 int userHandle, boolean overrideableByRestore) { in putStringForUser()
DSystemSettingsImpl.java53 public String getStringForUser(String name, int userHandle) { in getStringForUser()
64 public boolean putStringForUser(String name, String value, int userHandle) { in putStringForUser()
71 int userHandle, boolean overrideableByRestore) { in putStringForUser()
/frameworks/base/packages/SettingsLib/DeviceStateRotationLock/src/com.android.settingslib.devicestate/
DAndroidSecureSettings.java36 public void putStringForUser(String name, String value, int userHandle) { in putStringForUser()
41 public String getStringForUser(String name, int userHandle) { in getStringForUser()
47 ContentObserver observer, int userHandle) { in registerContentObserver()
52 userHandle); in registerContentObserver() local
DSecureSettings.java24 void putStringForUser(String name, String value, int userHandle); in putStringForUser()
26 String getStringForUser(String name, int userHandle); in getStringForUser()
29 ContentObserver settingsObserver, int userHandle); in registerContentObserver()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/devicestate/
DFakeSecureSettings.java35 public void putStringForUser(String name, String value, int userHandle) { in putStringForUser()
44 public String getStringForUser(String name, int userHandle) { in getStringForUser()
50 ContentObserver settingsObserver, int userHandle) { in registerContentObserver()
56 SettingsKey(Integer userHandle, String settingName) { in SettingsKey()
/frameworks/base/services/core/java/com/android/server/audio/
DSettingsAdapter.java59 public int getSystemIntForUser(ContentResolver cr, String name, int def, int userHandle) { in getSystemIntForUser()
64 public boolean putSystemIntForUser(ContentResolver cr, String name, int value, int userHandle) { in putSystemIntForUser()
73 public int getSecureIntForUser(ContentResolver cr, String name, int def, int userHandle) { in getSecureIntForUser()
78 public String getSecureStringForUser(ContentResolver resolver, String name, int userHandle) { in getSecureStringForUser()
83 public boolean putSecureIntForUser(ContentResolver cr, String name, int value, int userHandle) { in putSecureIntForUser()
89 int userHandle) { in putSecureStringForUser()
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DNoOpSettingsAdapter.java62 public int getSystemIntForUser(ContentResolver cr, String name, int def, int userHandle) { in getSystemIntForUser()
67 public boolean putSystemIntForUser(ContentResolver cr, String name, int value, int userHandle) { in putSystemIntForUser()
80 public int getSecureIntForUser(ContentResolver cr, String name, int def, int userHandle) { in getSecureIntForUser()
85 public String getSecureStringForUser(ContentResolver resolver, String name, int userHandle) { in getSecureStringForUser()
90 public boolean putSecureIntForUser(ContentResolver cr, String name, int value, int userHandle) { in putSecureIntForUser()
97 int userHandle) { in putSecureStringForUser()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/enterprise/
DActionDisabledLearnMoreButtonLauncher.java46 PackageManager packageManager, String url, UserHandle userHandle); in canResolveActivityAsUser()
69 Context context, String url, UserHandle userHandle) { in setupLearnMoreButtonToLaunchHelpPage()
120 public void showHelpPage(Context context, String url, UserHandle userHandle) { in showHelpPage()
121 context.startActivityAsUser(createLearnMoreIntent(url), userHandle); in showHelpPage() local
128 UserHandle userHandle, in canLaunchHelpPage()
/frameworks/base/core/java/android/hardware/biometrics/
DParentalControlsUtilsInternal.java60 @NonNull UserHandle userHandle) { in parentConsentRequired()
72 @BiometricAuthenticator.Modality int modality, @NonNull UserHandle userHandle) { in parentConsentRequired()
102 @NonNull UserHandle userHandle) { in getSupervisionComponentName()
/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/packages/SettingsLib/src/com/android/settingslib/net/
DUidDetailProvider.java54 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/services/usage/java/com/android/server/usage/
DStorageStatsManagerLocal.java52 @NonNull UserHandle userHandle, in augmentStatsForPackageForUser()
76 void augmentStatsForUser(@NonNull PackageStats stats, @NonNull UserHandle userHandle); in augmentStatsForUser()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserWrapperActivity.java168 protected ResolverListController createListController(UserHandle userHandle) { in createListController()
277 protected boolean isQuietModeEnabled(UserHandle userHandle) { in isQuietModeEnabled()
282 protected boolean isUserRunning(UserHandle userHandle) { in isUserRunning()
290 protected boolean isUserUnlocked(UserHandle userHandle) { in isUserUnlocked()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/settings/
DFakeSettings.java68 ContentObserver settingsObserver, int userHandle) { in registerContentObserverForUser()
113 public String getStringForUser(String name, int userHandle) { in getStringForUser()
128 public boolean putStringForUser(String name, String value, int userHandle) { in putStringForUser()
134 int userHandle, boolean overrideableByRestore) { in putStringForUser()
/frameworks/base/services/core/java/com/android/server/
DPinnerService.java455 private ApplicationInfo getCameraInfo(int userHandle) { in getCameraInfo()
481 private ApplicationInfo getHomeInfo(int userHandle) { in getHomeInfo()
486 private ApplicationInfo getAssistantInfo(int userHandle) { in getAssistantInfo()
494 private ApplicationInfo getApplicationInfoForIntent(Intent intent, int userHandle, in getApplicationInfoForIntent()
536 private void sendPinAppsMessage(int userHandle) { in sendPinAppsMessage()
541 private void sendPinAppsWithUpdatedKeysMessage(int userHandle) { in sendPinAppsWithUpdatedKeysMessage()
577 private void pinApps(int userHandle) { in pinApps()
581 private void pinAppsWithUpdatedKeys(int userHandle) { in pinAppsWithUpdatedKeys()
589 private void pinAppsInternal(int userHandle, boolean updateKeys) { in pinAppsInternal()
614 private void sendPinAppMessage(int key, int userHandle, boolean force) { in sendPinAppMessage()
[all …]
/frameworks/base/services/companion/java/com/android/server/companion/
DRolesUtils.java61 final UserHandle userHandle = UserHandle.of(userId); in addRoleHolderForAssociation() local
86 final UserHandle userHandle = UserHandle.of(userId); in removeRoleHolderForAssociation() local

123456789